Home
last modified time | relevance | path

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

/drivers/target/
Dtarget_core_user.c122 struct tcmu_cmd { struct
160 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd()
164 struct tcmu_cmd *tcmu_cmd; in tcmu_alloc_cmd() local
167 tcmu_cmd = kmem_cache_zalloc(tcmu_cmd_cache, GFP_KERNEL); in tcmu_alloc_cmd()
168 if (!tcmu_cmd) in tcmu_alloc_cmd()
171 tcmu_cmd->se_cmd = se_cmd; in tcmu_alloc_cmd()
172 tcmu_cmd->tcmu_dev = udev; in tcmu_alloc_cmd()
173 tcmu_cmd->data_length = se_cmd->data_length; in tcmu_alloc_cmd()
175 tcmu_cmd->deadline = jiffies + msecs_to_jiffies(TCMU_TIME_OUT); in tcmu_alloc_cmd()
179 cmd_id = idr_alloc(&udev->commands, tcmu_cmd, 0, in tcmu_alloc_cmd()
[all …]