Lines Matching refs:p_defs
399 struct bdb_general_definitions *p_defs;
404 p_defs = find_section(bdb, BDB_GENERAL_DEFINITIONS);
405 if (!p_defs) {
414 if (p_defs->child_dev_size != sizeof(*p_child)) {
420 block_size = get_blocksize(p_defs);
422 child_device_num = (block_size - sizeof(*p_defs)) /
426 p_child = &(((struct __bdb_general_definitions *)p_defs)->devices[i]);
583 struct bdb_general_definitions *p_defs;
588 p_defs = find_section(bdb, BDB_GENERAL_DEFINITIONS);
589 if (!p_defs) {
598 if (p_defs->child_dev_size != sizeof(*p_child)) {
604 block_size = get_blocksize(p_defs);
606 child_device_num = (block_size - sizeof(*p_defs)) /
611 p_child = &(((struct __bdb_general_definitions *)p_defs)->devices[i]);
631 p_child = &(((struct __bdb_general_definitions *)p_defs)->devices[i]);