Lines Matching refs:opt_vg_ptr
529 struct opt_rio *opt_vg_ptr = NULL; in first_slot_num() local
534 list_for_each_entry(opt_vg_ptr, &opt_vg_head, opt_rio_list) { in first_slot_num()
535 if ((first_slot < opt_vg_ptr->first_slot_num) && (slot_num >= opt_vg_ptr->first_slot_num)) { in first_slot_num()
565 struct opt_rio *opt_vg_ptr; in find_chassis_num() local
567 list_for_each_entry(opt_vg_ptr, &opt_vg_head, opt_rio_list) { in find_chassis_num()
569 …if ((slot_num >= opt_vg_ptr->first_slot_num) && (!first_slot_num(slot_num, opt_vg_ptr->first_slot_… in find_chassis_num()
570 return opt_vg_ptr; in find_chassis_num()
597 struct opt_rio *opt_vg_ptr = NULL; in create_file_name() local
617 opt_vg_ptr = find_chassis_num(slot_num); in create_file_name()
621 if (opt_vg_ptr) { in create_file_name()
623 if ((slot_num - opt_vg_ptr->first_slot_num) > (slot_num - opt_lo_ptr->first_slot_num)) { in create_file_name()
628 first_slot = opt_vg_ptr->first_slot_num; in create_file_name()
629 number = opt_vg_ptr->chassis_num; in create_file_name()
633 first_slot = opt_vg_ptr->first_slot_num; in create_file_name()
634 number = opt_vg_ptr->chassis_num; in create_file_name()