Searched refs:tcmu_cmd (Results 1 – 1 of 1) sorted by relevance
116 struct tcmu_cmd { struct154 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd()158 struct tcmu_cmd *tcmu_cmd; in tcmu_alloc_cmd() local161 tcmu_cmd = kmem_cache_zalloc(tcmu_cmd_cache, GFP_KERNEL); in tcmu_alloc_cmd()162 if (!tcmu_cmd) in tcmu_alloc_cmd()165 tcmu_cmd->se_cmd = se_cmd; in tcmu_alloc_cmd()166 tcmu_cmd->tcmu_dev = udev; in tcmu_alloc_cmd()167 tcmu_cmd->data_length = se_cmd->data_length; in tcmu_alloc_cmd()169 tcmu_cmd->deadline = jiffies + msecs_to_jiffies(TCMU_TIME_OUT); in tcmu_alloc_cmd()173 cmd_id = idr_alloc(&udev->commands, tcmu_cmd, 0, in tcmu_alloc_cmd()[all …]