Lines Matching refs:qdata
106 struct alua_queue_data *qdata, bool force);
892 struct alua_queue_data *qdata, *tmp; in alua_rtpg_work() local
974 list_for_each_entry_safe(qdata, tmp, &qdata_list, entry) { in alua_rtpg_work()
975 list_del(&qdata->entry); in alua_rtpg_work()
976 if (qdata->callback_fn) in alua_rtpg_work()
977 qdata->callback_fn(qdata->callback_data, err); in alua_rtpg_work()
978 kfree(qdata); in alua_rtpg_work()
1009 struct alua_queue_data *qdata, bool force) in alua_rtpg_queue() argument
1018 if (qdata) { in alua_rtpg_queue()
1019 list_add_tail(&qdata->entry, &pg->rtpg_list); in alua_rtpg_queue()
1137 struct alua_queue_data *qdata; in alua_activate() local
1140 qdata = kzalloc(sizeof(*qdata), GFP_KERNEL); in alua_activate()
1141 if (!qdata) { in alua_activate()
1145 qdata->callback_fn = fn; in alua_activate()
1146 qdata->callback_data = data; in alua_activate()
1153 kfree(qdata); in alua_activate()
1161 if (alua_rtpg_queue(pg, sdev, qdata, true)) { in alua_activate()
1164 kfree(qdata); in alua_activate()