Lines Matching refs:ldev_num
389 int ldev_num, ldev_cnt = cb->enquiry->ldev_count; in myrb_get_ldev_info() local
397 for (ldev_num = 0; ldev_num < ldev_cnt; ldev_num++) { in myrb_get_ldev_info()
399 struct myrb_ldev_info *new = cb->ldev_info_buf + ldev_num; in myrb_get_ldev_info()
403 ldev_num, 0); in myrb_get_ldev_info()
409 ldev_num, myrb_devstate_name(new->state)); in myrb_get_ldev_info()
411 ldev_num, 0); in myrb_get_ldev_info()
418 ldev_num, myrb_devstate_name(new->state)); in myrb_get_ldev_info()
485 rbld_buf.ldev_num, 0); in myrb_update_rbld_progress()
551 unsigned int ldev_num = rbld_buf->ldev_num; in myrb_get_cc_progress() local
559 ldev_num, 0); in myrb_get_cc_progress()
602 bgi->ldev_num, 0); in myrb_bgi_control()
618 bgi->ldev_num == last_bgi->ldev_num) in myrb_bgi_control()
681 int ldev_num = old.ldev_count - 1; in myrb_hba_enquiry() local
683 while (++ldev_num < new->ldev_count) in myrb_hba_enquiry()
686 ldev_num); in myrb_hba_enquiry()
689 int ldev_num = new->ldev_count - 1; in myrb_hba_enquiry() local
691 while (++ldev_num < old.ldev_count) in myrb_hba_enquiry()
694 ldev_num); in myrb_hba_enquiry()
1566 mbox->type5.ld.ldev_num = sdev->id; in myrb_ldev_queuecommand()
1587 mbox->type5.ld.ldev_num = sdev->id; in myrb_ldev_queuecommand()
1626 unsigned short ldev_num = sdev->id; in myrb_ldev_slave_alloc() local
1629 ldev_info = cb->ldev_info_buf + ldev_num; in myrb_ldev_slave_alloc()
1638 ldev_num, ldev_info->state); in myrb_ldev_slave_alloc()
1909 if (rbld_buf.ldev_num != sdev->id || in rebuild_show()
2031 unsigned short ldev_num = 0xFFFF; in consistency_check_store() local
2056 mbox->type3C.ldev_num = sdev->id; in consistency_check_store()
2066 if (ldev_num != sdev->id) { in consistency_check_store()
2249 if (rbld_buf.ldev_num == sdev->id) { in myrb_get_resync()
3221 int ldev_num = mbox->type5.ld.ldev_num; in myrb_translate_to_rw_command() local
3225 mbox->bytes[7] = ldev_num; in myrb_translate_to_rw_command()
3231 int ldev_num = mbox->bytes[7]; in myrb_translate_from_rw_command() local
3235 mbox->bytes[3] |= ldev_num << 3; in myrb_translate_from_rw_command()