Lines Matching refs:qdata
270 struct rdac_queue_data *qdata; in rdac_failover_get() local
300 list_for_each_entry(qdata, list, entry) { in rdac_failover_get()
301 lun_table[qdata->h->lun] = 0x81; in rdac_failover_get()
534 struct rdac_queue_data *tmp, *qdata; in send_mode_select() local
574 list_for_each_entry_safe(qdata, tmp, &list, entry) { in send_mode_select()
575 list_del(&qdata->entry); in send_mode_select()
577 qdata->h->state = RDAC_STATE_ACTIVE; in send_mode_select()
578 if (qdata->callback_fn) in send_mode_select()
579 qdata->callback_fn(qdata->callback_data, err); in send_mode_select()
580 kfree(qdata); in send_mode_select()
588 struct rdac_queue_data *qdata; in queue_mode_select() local
591 qdata = kzalloc(sizeof(*qdata), GFP_KERNEL); in queue_mode_select()
592 if (!qdata) in queue_mode_select()
595 qdata->h = sdev->handler_data; in queue_mode_select()
596 qdata->callback_fn = fn; in queue_mode_select()
597 qdata->callback_data = data; in queue_mode_select()
599 ctlr = qdata->h->ctlr; in queue_mode_select()
601 list_add_tail(&qdata->entry, &ctlr->ms_head); in queue_mode_select()