Lines Matching refs:ldev_num
390 int ldev_num, ldev_cnt = cb->enquiry->ldev_count; in myrb_get_ldev_info() local
398 for (ldev_num = 0; ldev_num < ldev_cnt; ldev_num++) { in myrb_get_ldev_info()
400 struct myrb_ldev_info *new = cb->ldev_info_buf + ldev_num; in myrb_get_ldev_info()
404 ldev_num, 0); in myrb_get_ldev_info()
410 ldev_num, myrb_devstate_name(new->state)); in myrb_get_ldev_info()
412 ldev_num, 0); in myrb_get_ldev_info()
419 ldev_num, myrb_devstate_name(new->state)); in myrb_get_ldev_info()
486 rbld_buf.ldev_num, 0); in myrb_update_rbld_progress()
552 unsigned int ldev_num = rbld_buf->ldev_num; in myrb_get_cc_progress() local
560 ldev_num, 0); in myrb_get_cc_progress()
603 bgi->ldev_num, 0); in myrb_bgi_control()
619 bgi->ldev_num == last_bgi->ldev_num) in myrb_bgi_control()
682 int ldev_num = old.ldev_count - 1; in myrb_hba_enquiry() local
684 while (++ldev_num < new->ldev_count) in myrb_hba_enquiry()
687 ldev_num); in myrb_hba_enquiry()
690 int ldev_num = new->ldev_count - 1; in myrb_hba_enquiry() local
692 while (++ldev_num < old.ldev_count) in myrb_hba_enquiry()
695 ldev_num); in myrb_hba_enquiry()
1567 mbox->type5.ld.ldev_num = sdev->id; in myrb_ldev_queuecommand()
1588 mbox->type5.ld.ldev_num = sdev->id; in myrb_ldev_queuecommand()
1627 unsigned short ldev_num = sdev->id; in myrb_ldev_slave_alloc() local
1630 ldev_info = cb->ldev_info_buf + ldev_num; in myrb_ldev_slave_alloc()
1639 ldev_num, ldev_info->state); in myrb_ldev_slave_alloc()
1910 if (rbld_buf.ldev_num != sdev->id || in rebuild_show()
2032 unsigned short ldev_num = 0xFFFF; in consistency_check_store() local
2057 mbox->type3C.ldev_num = sdev->id; in consistency_check_store()
2067 if (ldev_num != sdev->id) { in consistency_check_store()
2250 if (rbld_buf.ldev_num == sdev->id) { in myrb_get_resync()
3222 int ldev_num = mbox->type5.ld.ldev_num; in myrb_translate_to_rw_command() local
3226 mbox->bytes[7] = ldev_num; in myrb_translate_to_rw_command()
3232 int ldev_num = mbox->bytes[7]; in myrb_translate_from_rw_command() local
3236 mbox->bytes[3] |= ldev_num << 3; in myrb_translate_from_rw_command()