Lines Matching refs:opt_lo_ptr
530 struct opt_rio_lo *opt_lo_ptr = NULL; in first_slot_num() local
541 list_for_each_entry(opt_lo_ptr, &opt_lo_head, opt_rio_lo_list) { in first_slot_num()
542 if ((first_slot < opt_lo_ptr->first_slot_num) && (slot_num >= opt_lo_ptr->first_slot_num)) { in first_slot_num()
553 struct opt_rio_lo *opt_lo_ptr; in find_rxe_num() local
555 list_for_each_entry(opt_lo_ptr, &opt_lo_head, opt_rio_lo_list) { in find_rxe_num()
557 …if ((slot_num >= opt_lo_ptr->first_slot_num) && (!first_slot_num(slot_num, opt_lo_ptr->first_slot_… in find_rxe_num()
558 return opt_lo_ptr; in find_rxe_num()
598 struct opt_rio_lo *opt_lo_ptr = NULL; in create_file_name() local
618 opt_lo_ptr = find_rxe_num(slot_num); in create_file_name()
622 if (opt_lo_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()
624 number = opt_lo_ptr->chassis_num; in create_file_name()
625 first_slot = opt_lo_ptr->first_slot_num; in create_file_name()
638 } else if (opt_lo_ptr) { in create_file_name()
639 number = opt_lo_ptr->chassis_num; in create_file_name()
640 first_slot = opt_lo_ptr->first_slot_num; in create_file_name()