[go: nahoru, domu]

Searched refs:work_list (Results 1 - 25 of 30) sorted by relevance

12

/drivers/infiniband/core/
H A Diwcm.h53 struct list_head work_list; member in struct:iwcm_id_private
H A Diwcm.c181 BUG_ON(!list_empty(&cm_id_priv->work_list));
209 BUG_ON(!list_empty(&cm_id_priv->work_list));
237 INIT_LIST_HEAD(&cm_id_priv->work_list);
862 * Process events on the work_list for the cm_id. If the callback
881 empty = list_empty(&cm_id_priv->work_list);
883 work = list_entry(cm_id_priv->work_list.next,
886 empty = list_empty(&cm_id_priv->work_list);
900 BUG_ON(!list_empty(&cm_id_priv->work_list));
916 * work_list. If this is the first event on the work_list, th
[all...]
H A Dcm.c243 struct list_head work_list; member in struct:cm_id_private
721 INIT_LIST_HEAD(&cm_id_priv->work_list);
736 if (list_empty(&cm_id_priv->work_list))
739 work = list_entry(cm_id_priv->work_list.next, struct cm_work, list);
1891 list_add_tail(&work->list, &cm_id_priv->work_list);
1924 list_add_tail(&work->list, &cm_id_priv->work_list);
1964 list_add_tail(&work->list, &cm_id_priv->work_list);
2187 list_add_tail(&work->list, &cm_id_priv->work_list);
2226 list_add_tail(&work->list, &cm_id_priv->work_list);
2400 list_add_tail(&work->list, &cm_id_priv->work_list);
[all...]
/drivers/staging/lustre/lustre/ldlm/
H A Dldlm_internal.h140 void ldlm_grant_lock(struct ldlm_lock *lock, struct list_head *work_list);
155 struct list_head *work_list);
187 struct list_head *work_list);
H A Dldlm_flock.c208 struct list_head *work_list)
223 ldlm_add_ast_work_item(lock, NULL, work_list);
247 ldlm_error_t *err, struct list_head *work_list)
319 work_list);
207 ldlm_flock_cancel_on_deadlock(struct ldlm_lock *lock, struct list_head *work_list) argument
246 ldlm_process_flock_lock(struct ldlm_lock *req, __u64 *flags, int first_enq, ldlm_error_t *err, struct list_head *work_list) argument
H A Dldlm_lock.c631 struct list_head *work_list)
641 list_add(&lock->l_bl_ast, work_list);
651 void ldlm_add_cp_work_item(struct ldlm_lock *lock, struct list_head *work_list) argument
657 list_add(&lock->l_cp_ast, work_list);
669 struct list_head *work_list)
673 ldlm_add_bl_work_item(lock, new, work_list);
675 ldlm_add_cp_work_item(lock, work_list);
1047 void ldlm_grant_lock(struct ldlm_lock *lock, struct list_head *work_list) argument
1064 if (work_list && lock->l_completion_ast != NULL)
1065 ldlm_add_ast_work_item(lock, NULL, work_list);
630 ldlm_add_bl_work_item(struct ldlm_lock *lock, struct ldlm_lock *new, struct list_head *work_list) argument
668 ldlm_add_ast_work_item(struct ldlm_lock *lock, struct ldlm_lock *new, struct list_head *work_list) argument
[all...]
/drivers/block/drbd/
H A Ddrbd_worker.c1989 static bool dequeue_work_batch(struct drbd_work_queue *queue, struct list_head *work_list) argument
1992 list_splice_tail_init(&queue->q, work_list);
1994 return !list_empty(work_list);
1997 static void wait_for_work(struct drbd_connection *connection, struct list_head *work_list) argument
2003 dequeue_work_batch(&connection->sender_work, work_list);
2004 if (!list_empty(work_list))
2030 list_splice_tail_init(&connection->sender_work.q, work_list);
2032 if (!list_empty(work_list) || signal_pending(current)) {
2087 LIST_HEAD(work_list);
2093 if (list_empty(&work_list)) {
[all...]
H A Ddrbd_receiver.c404 LIST_HEAD(work_list);
410 list_splice_init(list, &work_list);
413 list_for_each_entry_safe(peer_req, t, &work_list, w.list) {
425 LIST_HEAD(work_list);
432 list_splice_init(&device->done_ee, &work_list);
442 list_for_each_entry_safe(peer_req, t, &work_list, w.list) {
/drivers/vhost/
H A Dvhost.h124 struct list_head work_list; member in struct:vhost_dev
H A Dvhost.c161 list_add_tail(&work->node, &dev->work_list);
230 if (!list_empty(&dev->work_list)) {
231 work = list_first_entry(&dev->work_list,
308 INIT_LIST_HEAD(&dev->work_list);
475 WARN_ON(!list_empty(&dev->work_list));
/drivers/staging/lustre/lustre/obdclass/
H A Dgenops.c1255 * to work_list later when this export is cleaned up. */
1277 struct list_head work_list; local
1280 INIT_LIST_HEAD(&work_list);
1282 list_splice_init(&obd->obd_exports, &work_list);
1283 list_splice_init(&obd->obd_delayed_exports, &work_list);
1286 if (!list_empty(&work_list)) {
1289 class_disconnect_export_list(&work_list,
1302 struct list_head work_list; local
1306 INIT_LIST_HEAD(&work_list);
1328 list_move(&exp->exp_obd_chain, &work_list);
[all...]
/drivers/scsi/bnx2i/
H A Dbnx2i_init.c452 list_for_each_entry_safe(work, tmp, &p->work_list, list) {
537 INIT_LIST_HEAD(&p->work_list);
H A Dbnx2i_hwi.c1873 LIST_HEAD(work_list);
1879 while (!list_empty(&p->work_list)) {
1880 list_splice_init(&p->work_list, &work_list);
1883 list_for_each_entry_safe(work, tmp, &work_list, list) {
1955 list_add_tail(&bnx2i_work->list, &p->work_list);
H A Dbnx2i.h779 struct list_head work_list; member in struct:bnx2i_percpu_s
H A Dbnx2i_iscsi.c1493 &p->work_list, list) {
/drivers/dma/
H A Dpl330.c391 * Also may be sitting on the work_list.
395 * Sitting on the work_list and already submitted
401 * Sitting on the channel work_list but xfer done
417 struct list_head work_list; member in struct:dma_pl330_chan
1934 list_for_each_entry(desc, &pch->work_list, node) {
1965 list_for_each_entry_safe(desc, _dt, &pch->work_list, node)
1992 list_move_tail(&desc->node, &pch->work_list);
2092 list_for_each_entry(desc, &pch->work_list , node) {
2103 list_splice_tail_init(&pch->work_list, &pl330->desc_pool);
2147 list_splice_tail_init(&pch->work_list,
[all...]
/drivers/scsi/bnx2fc/
H A Dbnx2fc_fcoe.c603 LIST_HEAD(work_list);
610 while (!list_empty(&p->work_list)) {
611 list_splice_init(&p->work_list, &work_list);
614 list_for_each_entry_safe(work, tmp, &work_list, list) {
2490 list_for_each_entry_safe(work, tmp, &p->work_list, list) {
2591 INIT_LIST_HEAD(&p->work_list);
H A Dbnx2fc.h172 struct list_head work_list; member in struct:bnx2fc_percpu_s
/drivers/staging/lustre/lustre/ptlrpc/
H A Dservice.c1389 struct list_head work_list; local
1420 INIT_LIST_HEAD(&work_list);
1441 * don't add entry to work_list
1444 list_add(&rq->rq_timed_list, &work_list);
1474 while (!list_empty(&work_list)) {
1475 rq = list_entry(work_list.next, struct ptlrpc_request,
/drivers/scsi/lpfc/
H A Dlpfc.h754 struct list_head work_list; member in struct:lpfc_hba
H A Dlpfc_hbadisc.c193 list_add_tail(&evtp->evt_listp, &phba->work_list);
542 while (!list_empty(&phba->work_list)) {
543 list_remove_head((&phba->work_list), evtp, typeof(*evtp),
814 list_add_tail(&evtp->evt_listp, &phba->work_list);
H A Dlpfc_scsi.c292 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list);
3764 list_add_tail(&fast_path_evt->work_evt.evt_listp, &phba->work_list);
4102 &phba->work_list);
/drivers/scsi/qla4xxx/
H A Dql4_def.h815 struct list_head work_list; member in struct:scsi_qla_host
/drivers/staging/lustre/lustre/include/
H A Dlustre_dlm.h1105 struct list_head *work_list);
/drivers/scsi/qla2xxx/
H A Dqla_os.c3836 INIT_LIST_HEAD(&vha->work_list);
3881 list_add_tail(&e->list, &vha->work_list);
3997 list_splice_init(&vha->work_list, &work);
5312 if (!list_empty(&vha->work_list))

Completed in 2472 milliseconds

12