Home
last modified time | relevance | path

Searched refs:tl_tmr (Results 1 – 1 of 1) sorted by relevance

/linux-4.4.14/drivers/target/loopback/
Dtcm_loop.c224 struct tcm_loop_tmr *tl_tmr = NULL; in tcm_loop_issue_tmr() local
243 tl_tmr = kzalloc(sizeof(struct tcm_loop_tmr), GFP_KERNEL); in tcm_loop_issue_tmr()
244 if (!tl_tmr) { in tcm_loop_issue_tmr()
248 init_waitqueue_head(&tl_tmr->tl_tmr_wait); in tcm_loop_issue_tmr()
260 rc = core_tmr_alloc_req(se_cmd, tl_tmr, tmr, GFP_KERNEL); in tcm_loop_issue_tmr()
279 wait_event(tl_tmr->tl_tmr_wait, atomic_read(&tl_tmr->tmr_complete)); in tcm_loop_issue_tmr()
290 kfree(tl_tmr); in tcm_loop_issue_tmr()
683 struct tcm_loop_tmr *tl_tmr = se_tmr->fabric_tmr_ptr; in tcm_loop_queue_tm_rsp() local
688 atomic_set(&tl_tmr->tmr_complete, 1); in tcm_loop_queue_tm_rsp()
689 wake_up(&tl_tmr->tl_tmr_wait); in tcm_loop_queue_tm_rsp()