Home
last modified time | relevance | path

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

/linux-6.6.21/tools/testing/selftests/resctrl/
Dcmt_test.c74 const char *new_cmd[BENCHMARK_ARGS]; in cmt_resctrl_val() local
118 new_cmd[i] = benchmark_cmd[i]; in cmt_resctrl_val()
119 new_cmd[i] = NULL; in cmt_resctrl_val()
124 new_cmd[1] = span_str; in cmt_resctrl_val()
125 cmd = new_cmd; in cmt_resctrl_val()
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sp.c2676 struct bnx2x_pending_mcast_cmd *new_cmd; in bnx2x_mcast_enqueue_cmd() local
2691 new_cmd = kzalloc(sizeof(*new_cmd), GFP_ATOMIC); in bnx2x_mcast_enqueue_cmd()
2692 if (!new_cmd) in bnx2x_mcast_enqueue_cmd()
2695 INIT_LIST_HEAD(&new_cmd->data.macs_head); in bnx2x_mcast_enqueue_cmd()
2696 INIT_LIST_HEAD(&new_cmd->group_head); in bnx2x_mcast_enqueue_cmd()
2697 new_cmd->type = cmd; in bnx2x_mcast_enqueue_cmd()
2698 new_cmd->done = false; in bnx2x_mcast_enqueue_cmd()
2719 bnx2x_free_groups(&new_cmd->group_head); in bnx2x_mcast_enqueue_cmd()
2720 kfree(new_cmd); in bnx2x_mcast_enqueue_cmd()
2725 &new_cmd->group_head); in bnx2x_mcast_enqueue_cmd()
[all …]
/linux-6.6.21/drivers/vfio/pci/
Dvfio_pci_config.c565 u16 new_cmd = 0; in vfio_basic_config_write() local
578 new_cmd = le32_to_cpu(val); in vfio_basic_config_write()
582 new_io = !!(new_cmd & PCI_COMMAND_IO); in vfio_basic_config_write()
586 new_mem = !!(new_cmd & PCI_COMMAND_MEMORY); in vfio_basic_config_write()
624 *virt_cmd |= cpu_to_le16(new_cmd & mask); in vfio_basic_config_write()