Lines Matching refs:ldev_num
391 int ldev_num, ldev_cnt = cb->enquiry->ldev_count; in myrb_get_ldev_info() local
399 for (ldev_num = 0; ldev_num < ldev_cnt; ldev_num++) { in myrb_get_ldev_info()
401 struct myrb_ldev_info *new = cb->ldev_info_buf + ldev_num; in myrb_get_ldev_info()
405 ldev_num, 0); in myrb_get_ldev_info()
411 ldev_num, myrb_devstate_name(new->state)); in myrb_get_ldev_info()
413 ldev_num, 0); in myrb_get_ldev_info()
420 ldev_num, myrb_devstate_name(new->state)); in myrb_get_ldev_info()
488 rbld_buf.ldev_num, 0); in myrb_update_rbld_progress()
554 unsigned int ldev_num = rbld_buf->ldev_num; in myrb_get_cc_progress() local
562 ldev_num, 0); in myrb_get_cc_progress()
605 bgi->ldev_num, 0); in myrb_bgi_control()
621 bgi->ldev_num == last_bgi->ldev_num) in myrb_bgi_control()
684 int ldev_num = old.ldev_count - 1; in myrb_hba_enquiry() local
686 while (++ldev_num < new->ldev_count) in myrb_hba_enquiry()
689 ldev_num); in myrb_hba_enquiry()
692 int ldev_num = new->ldev_count - 1; in myrb_hba_enquiry() local
694 while (++ldev_num < old.ldev_count) in myrb_hba_enquiry()
697 ldev_num); in myrb_hba_enquiry()
1594 mbox->type5.ld.ldev_num = sdev->id; in myrb_ldev_queuecommand()
1615 mbox->type5.ld.ldev_num = sdev->id; in myrb_ldev_queuecommand()
1654 unsigned short ldev_num = sdev->id; in myrb_ldev_slave_alloc() local
1657 ldev_info = cb->ldev_info_buf + ldev_num; in myrb_ldev_slave_alloc()
1666 ldev_num, ldev_info->state); in myrb_ldev_slave_alloc()
1937 if (rbld_buf.ldev_num != sdev->id || in rebuild_show()
2059 unsigned short ldev_num = 0xFFFF; in consistency_check_store() local
2084 mbox->type3C.ldev_num = sdev->id; in consistency_check_store()
2094 if (ldev_num != sdev->id) { in consistency_check_store()
2273 if (rbld_buf.ldev_num == sdev->id) { in myrb_get_resync()
3324 int ldev_num = mbox->type5.ld.ldev_num; in myrb_translate_to_rw_command() local
3328 mbox->bytes[7] = ldev_num; in myrb_translate_to_rw_command()
3334 int ldev_num = mbox->bytes[7]; in myrb_translate_from_rw_command() local
3338 mbox->bytes[3] |= ldev_num << 3; in myrb_translate_from_rw_command()