Home
last modified time | relevance | path

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

/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 …]
/drivers/vfio/pci/
Dvfio_pci_config.c564 u16 new_cmd = 0; in vfio_basic_config_write() local
577 new_cmd = le32_to_cpu(val); in vfio_basic_config_write()
581 new_io = !!(new_cmd & PCI_COMMAND_IO); in vfio_basic_config_write()
585 new_mem = !!(new_cmd & PCI_COMMAND_MEMORY); in vfio_basic_config_write()
623 *virt_cmd |= cpu_to_le16(new_cmd & mask); in vfio_basic_config_write()