Lines Matching refs:new_cmd
2676 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()
2727 elem_group = list_first_entry(&new_cmd->group_head, in bnx2x_mcast_enqueue_cmd()
2737 &new_cmd->data.macs_head); in bnx2x_mcast_enqueue_cmd()
2748 new_cmd->data.macs_num = p->mcast_list_len; in bnx2x_mcast_enqueue_cmd()
2752 new_cmd->data.next_bin = 0; in bnx2x_mcast_enqueue_cmd()
2756 kfree(new_cmd); in bnx2x_mcast_enqueue_cmd()
2762 list_add_tail(&new_cmd->link, &o->pending_cmds_head); in bnx2x_mcast_enqueue_cmd()