/drivers/target/ |
H A D | target_core_tmr.c | 48 struct se_tmr_req *tmr; local 50 tmr = kzalloc(sizeof(struct se_tmr_req), gfp_flags); 51 if (!tmr) { 57 se_cmd->se_tmr_req = tmr; 58 tmr->task_cmd = se_cmd; 59 tmr->fabric_tmr_ptr = fabric_tmr_ptr; 60 tmr->function = function; 61 INIT_LIST_HEAD(&tmr->tmr_list); 67 void core_tmr_release_req(struct se_tmr_req *tmr) argument 69 struct se_device *dev = tmr 113 core_tmr_abort_task( struct se_device *dev, struct se_tmr_req *tmr, struct se_session *se_sess) argument 172 core_tmr_drain_tmr_list( struct se_device *dev, struct se_tmr_req *tmr, struct list_head *preempt_and_abort_list) argument 326 core_tmr_lun_reset( struct se_device *dev, struct se_tmr_req *tmr, struct list_head *preempt_and_abort_list, struct se_cmd *prout_cmd) argument [all...] |
H A D | target_core_transport.c | 2914 struct se_tmr_req *tmr = cmd->se_tmr_req; local 2917 switch (tmr->function) { 2919 core_tmr_abort_task(dev, tmr, cmd->se_sess); 2924 tmr->response = TMR_TASK_MGMT_FUNCTION_NOT_SUPPORTED; 2927 ret = core_tmr_lun_reset(dev, tmr, NULL, NULL); 2928 tmr->response = (!ret) ? TMR_FUNCTION_COMPLETE : 2932 tmr->response = TMR_FUNCTION_REJECTED; 2935 tmr->response = TMR_FUNCTION_REJECTED; 2939 tmr->function); 2940 tmr [all...] |
/drivers/scsi/isci/ |
H A D | isci.h | 501 void sci_init_timer(struct sci_timer *tmr, void (*fn)(unsigned long)) argument 503 tmr->timer.function = fn; 504 tmr->timer.data = (unsigned long) tmr; 505 tmr->cancel = 0; 506 init_timer(&tmr->timer); 509 static inline void sci_mod_timer(struct sci_timer *tmr, unsigned long msec) argument 511 tmr->cancel = 0; 512 mod_timer(&tmr->timer, jiffies + msecs_to_jiffies(msec)); 515 static inline void sci_del_timer(struct sci_timer *tmr) argument [all...] |
H A D | port_config.c | 325 struct sci_timer *tmr = (struct sci_timer *)data; local 331 port_agent = container_of(tmr, typeof(*port_agent), timer); 336 if (tmr->cancel) 660 struct sci_timer *tmr = (struct sci_timer *)data; local 666 port_agent = container_of(tmr, typeof(*port_agent), timer); 671 if (tmr->cancel)
|
H A D | host.c | 963 struct sci_timer *tmr = (struct sci_timer *)data; local 964 struct isci_host *ihost = container_of(tmr, typeof(*ihost), phy_timer); 970 if (tmr->cancel) 1597 struct sci_timer *tmr = (struct sci_timer *)data; local 1598 struct isci_host *ihost = container_of(tmr, typeof(*ihost), timer); 1604 if (tmr->cancel) 1742 struct sci_timer *tmr = (struct sci_timer *)data; local 1743 struct isci_host *ihost = container_of(tmr, typeof(*ihost), power_control.timer); 1750 if (tmr->cancel) 1807 sci_mod_timer(tmr, SCIC_SDS_CONTROLLER_POWER_CONTROL_INTERVA [all...] |
H A D | phy.c | 320 struct sci_timer *tmr = (struct sci_timer *)data; local 321 struct isci_phy *iphy = container_of(tmr, typeof(*iphy), sata_timer); 327 if (tmr->cancel)
|
H A D | port.c | 774 struct sci_timer *tmr = (struct sci_timer *)data; local 775 struct isci_port *iport = container_of(tmr, typeof(*iport), timer); 782 if (tmr->cancel)
|
/drivers/tty/ |
H A D | n_r3964.c | 398 mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); 422 mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); 472 mod_timer(&pInfo->tmr, jiffies + R3964_TO_QVZ); 504 mod_timer(&pInfo->tmr, jiffies + R3964_TO_RX_PANIC); 515 del_timer_sync(&pInfo->tmr); 588 mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); 612 mod_timer(&pInfo->tmr, 623 mod_timer(&pInfo->tmr, jiffies + R3964_TO_ZVZ); 644 mod_timer(&pInfo->tmr, 653 mod_timer(&pInfo->tmr, jiffie [all...] |
/drivers/infiniband/hw/qib/ |
H A D | qib_keys.c | 62 struct qib_mregion *tmr; local 64 tmr = rcu_access_pointer(dev->dma_mr); 65 if (!tmr) {
|
/drivers/tty/serial/ |
H A D | altera_uart.c | 83 struct timer_list tmr; member in struct:altera_uart 297 mod_timer(&pp->tmr, jiffies + uart_poll_timeout(port)); 317 setup_timer(&pp->tmr, altera_uart_timer, (unsigned long)port); 318 mod_timer(&pp->tmr, jiffies + uart_poll_timeout(port)); 357 del_timer_sync(&pp->tmr);
|
/drivers/xen/ |
H A D | xen-scsiback.c | 604 struct scsiback_tmr *tmr; local 606 tmr = kzalloc(sizeof(struct scsiback_tmr), GFP_KERNEL); 607 if (!tmr) 610 init_waitqueue_head(&tmr->tmr_wait); 616 rc = core_tmr_alloc_req(se_cmd, tmr, act, GFP_KERNEL); 626 wait_event(tmr->tmr_wait, atomic_read(&tmr->tmr_complete)); 632 if (tmr) { 634 kfree(tmr); 1571 struct scsiback_tmr *tmr local [all...] |
/drivers/target/tcm_fc/ |
H A D | tfc_cmd.c | 416 struct se_tmr_req *tmr = se_cmd->se_tmr_req; local 421 switch (tmr->response) { 437 pr_debug("tmr fn %d resp %d fcp code %d\n", 438 tmr->function, tmr->response, code);
|
/drivers/target/loopback/ |
H A D | tcm_loop.c | 274 int lun, int task, enum tcm_tmreq_table tmr) 306 rc = core_tmr_alloc_req(se_cmd, tl_tmr, tmr, GFP_KERNEL); 310 if (tmr == TMR_ABORT_TASK) 272 tcm_loop_issue_tmr(struct tcm_loop_tpg *tl_tpg, struct tcm_loop_nexus *tl_nexus, int lun, int task, enum tcm_tmreq_table tmr) argument
|
/drivers/video/fbdev/ |
H A D | cg14.c | 108 u32 tmr; /* Test Mode Read Back */ member in struct:cg14_regs
|