Searched refs:dup_buf (Results 1 – 2 of 2) sorted by relevance
82 void *dup_buf = NULL; in iwl_pcie_gen2_enqueue_hcmd() local127 if (WARN_ON(dup_buf)) { in iwl_pcie_gen2_enqueue_hcmd()132 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_gen2_enqueue_hcmd()134 if (!dup_buf) in iwl_pcie_gen2_enqueue_hcmd()271 data = dup_buf; in iwl_pcie_gen2_enqueue_hcmd()286 txq->entries[idx].free_buf = dup_buf; in iwl_pcie_gen2_enqueue_hcmd()304 kfree(dup_buf); in iwl_pcie_gen2_enqueue_hcmd()
1172 void *dup_buf = NULL; in iwl_pcie_enqueue_hcmd() local1231 if (WARN_ON(dup_buf)) { in iwl_pcie_enqueue_hcmd()1236 dup_buf = kmemdup(cmddata[i], cmdlen[i], in iwl_pcie_enqueue_hcmd()1238 if (!dup_buf) in iwl_pcie_enqueue_hcmd()1389 data = dup_buf; in iwl_pcie_enqueue_hcmd()1406 txq->entries[idx].free_buf = dup_buf; in iwl_pcie_enqueue_hcmd()1432 kfree(dup_buf); in iwl_pcie_enqueue_hcmd()