Searched refs:tcmu_cmd (Results 1 – 1 of 1) sorted by relevance
119 struct tcmu_cmd { struct157 static struct tcmu_cmd *tcmu_alloc_cmd(struct se_cmd *se_cmd) in tcmu_alloc_cmd()161 struct tcmu_cmd *tcmu_cmd; in tcmu_alloc_cmd() local164 tcmu_cmd = kmem_cache_zalloc(tcmu_cmd_cache, GFP_KERNEL); in tcmu_alloc_cmd()165 if (!tcmu_cmd) in tcmu_alloc_cmd()168 tcmu_cmd->se_cmd = se_cmd; in tcmu_alloc_cmd()169 tcmu_cmd->tcmu_dev = udev; in tcmu_alloc_cmd()170 tcmu_cmd->data_length = se_cmd->data_length; in tcmu_alloc_cmd()174 tcmu_cmd->data_length += se_cmd->t_bidi_data_sg->length; in tcmu_alloc_cmd()177 tcmu_cmd->deadline = jiffies + msecs_to_jiffies(TCMU_TIME_OUT); in tcmu_alloc_cmd()[all …]