Lines Matching refs:new_cmd
2636 struct bnx2x_pending_mcast_cmd *new_cmd; in bnx2x_mcast_enqueue_cmd() local
2646 total_sz = sizeof(*new_cmd) + in bnx2x_mcast_enqueue_cmd()
2650 new_cmd = kzalloc(total_sz, GFP_ATOMIC); in bnx2x_mcast_enqueue_cmd()
2652 if (!new_cmd) in bnx2x_mcast_enqueue_cmd()
2658 INIT_LIST_HEAD(&new_cmd->data.macs_head); in bnx2x_mcast_enqueue_cmd()
2660 new_cmd->type = cmd; in bnx2x_mcast_enqueue_cmd()
2661 new_cmd->done = false; in bnx2x_mcast_enqueue_cmd()
2666 ((u8 *)new_cmd + sizeof(*new_cmd)); in bnx2x_mcast_enqueue_cmd()
2673 list_add_tail(&cur_mac->link, &new_cmd->data.macs_head); in bnx2x_mcast_enqueue_cmd()
2680 new_cmd->data.macs_num = p->mcast_list_len; in bnx2x_mcast_enqueue_cmd()
2684 new_cmd->data.next_bin = 0; in bnx2x_mcast_enqueue_cmd()
2688 kfree(new_cmd); in bnx2x_mcast_enqueue_cmd()
2694 list_add_tail(&new_cmd->link, &o->pending_cmds_head); in bnx2x_mcast_enqueue_cmd()