Lines Matching refs:l
110 struct list_head *l; in __queue_add() local
118 l = queue->free.next; in __queue_add()
119 list_del(l); in __queue_add()
121 q = list_entry(l, QE_t, list); in __queue_add()
128 list_add(l, &queue->head); in __queue_add()
130 list_add_tail(l, &queue->head); in __queue_add()
165 struct list_head *l; in queue_remove_exclude() local
169 list_for_each(l, &queue->head) { in queue_remove_exclude()
170 QE_t *q = list_entry(l, QE_t, list); in queue_remove_exclude()
173 SCpnt = __queue_remove(queue, l); in queue_remove_exclude()
214 struct list_head *l; in queue_remove_tgtluntag() local
218 list_for_each(l, &queue->head) { in queue_remove_tgtluntag()
219 QE_t *q = list_entry(l, QE_t, list); in queue_remove_tgtluntag()
222 SCpnt = __queue_remove(queue, l); in queue_remove_tgtluntag()
241 struct list_head *l; in queue_remove_all_target() local
244 list_for_each(l, &queue->head) { in queue_remove_all_target()
245 QE_t *q = list_entry(l, QE_t, list); in queue_remove_all_target()
247 __queue_remove(queue, l); in queue_remove_all_target()
264 struct list_head *l; in queue_probetgtlun() local
268 list_for_each(l, &queue->head) { in queue_probetgtlun()
269 QE_t *q = list_entry(l, QE_t, list); in queue_probetgtlun()
290 struct list_head *l; in queue_remove_cmd() local
294 list_for_each(l, &queue->head) { in queue_remove_cmd()
295 QE_t *q = list_entry(l, QE_t, list); in queue_remove_cmd()
297 __queue_remove(queue, l); in queue_remove_cmd()