Lines Matching refs:p_defs
317 struct bdb_general_definitions *p_defs; in parse_sdvo_device_mapping() local
322 p_defs = find_section(bdb, BDB_GENERAL_DEFINITIONS); in parse_sdvo_device_mapping()
323 if (!p_defs) { in parse_sdvo_device_mapping()
332 if (p_defs->child_dev_size != sizeof(*p_child)) { in parse_sdvo_device_mapping()
338 block_size = get_blocksize(p_defs); in parse_sdvo_device_mapping()
340 child_device_num = (block_size - sizeof(*p_defs)) / in parse_sdvo_device_mapping()
344 p_child = &(p_defs->devices[i]); in parse_sdvo_device_mapping()
507 struct bdb_general_definitions *p_defs; in parse_device_mapping() local
512 p_defs = find_section(bdb, BDB_GENERAL_DEFINITIONS); in parse_device_mapping()
513 if (!p_defs) { in parse_device_mapping()
522 if (p_defs->child_dev_size != sizeof(*p_child)) { in parse_device_mapping()
528 block_size = get_blocksize(p_defs); in parse_device_mapping()
530 child_device_num = (block_size - sizeof(*p_defs)) / in parse_device_mapping()
535 p_child = &(p_defs->devices[i]); in parse_device_mapping()
555 p_child = &(p_defs->devices[i]); in parse_device_mapping()