Searched refs:cqp_request (Results 1 - 6 of 6) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/infiniband/hw/nes/ |
H A D | nes_utils.c | 538 struct nes_cqp_request *cqp_request = NULL; local 543 cqp_request = list_entry(nesdev->cqp_avail_reqs.next, 545 list_del_init(&cqp_request->list); 549 if (cqp_request == NULL) { 550 cqp_request = kzalloc(sizeof(struct nes_cqp_request), GFP_ATOMIC); 551 if (cqp_request) { 552 cqp_request->dynamic = 1; 553 INIT_LIST_HEAD(&cqp_request->list); 557 if (cqp_request) { 558 init_waitqueue_head(&cqp_request 572 nes_free_cqp_request(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument 590 nes_put_cqp_request(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument 600 nes_post_cqp_request(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument [all...] |
H A D | nes_verbs.c | 63 struct nes_cqp_request *cqp_request; local 102 cqp_request = nes_get_cqp_request(nesdev); 103 if (cqp_request == NULL) { 109 cqp_request->waiting = 1; 110 cqp_wqe = &cqp_request->cqp_wqe; 121 atomic_set(&cqp_request->refcount, 2); 122 nes_post_cqp_request(nesdev, cqp_request); 125 ret = wait_event_timeout(cqp_request->waitq, (cqp_request->request_done != 0), 129 stag, ret, cqp_request 162 struct nes_cqp_request *cqp_request; local 286 struct nes_cqp_request *cqp_request; local 1121 struct nes_cqp_request *cqp_request; local 1541 struct nes_cqp_request *cqp_request; local 1795 struct nes_cqp_request *cqp_request; local 1934 struct nes_cqp_request *cqp_request; local 2656 struct nes_cqp_request *cqp_request; local 2848 struct nes_cqp_request *cqp_request; local [all...] |
H A D | nes_hw.c | 2897 struct nes_cqp_request *cqp_request; local 2935 cqp_request = *((struct nes_cqp_request **)&u64temp); 2936 if (cqp_request) { 2937 if (cqp_request->waiting) { 2939 cqp_request->major_code = (u16)(error_code >> 16); 2940 cqp_request->minor_code = (u16)error_code; 2942 cqp_request->request_done = 1; 2943 wake_up(&cqp_request->waitq); 2944 nes_put_cqp_request(nesdev, cqp_request); 2946 if (cqp_request 3659 struct nes_cqp_request *cqp_request; local 3714 struct nes_cqp_request *cqp_request; local 3765 struct nes_cqp_request *cqp_request; local [all...] |
H A D | nes.c | 257 static void nes_cqp_rem_ref_callback(struct nes_device *nesdev, struct nes_cqp_request *cqp_request) argument 260 struct nes_qp *nesqp = cqp_request->cqp_callback_pointer; 297 struct nes_cqp_request *cqp_request; local 310 cqp_request = nes_get_cqp_request(nesdev); 311 if (cqp_request == NULL) { 312 nes_debug(NES_DBG_QP, "Failed to get a cqp_request.\n"); 315 cqp_request->waiting = 0; 316 cqp_request->callback = 1; 317 cqp_request->cqp_callback = nes_cqp_rem_ref_callback; 318 cqp_request [all...] |
H A D | nes.h | 543 struct nes_cqp_request *cqp_request); 545 struct nes_cqp_request *cqp_request);
|
H A D | nes_hw.h | 867 void (*cqp_callback)(struct nes_device *nesdev, struct nes_cqp_request *cqp_request);
|
Completed in 143 milliseconds