Lines Matching refs:new_cmd
2870 struct ecore_pending_mcast_cmd *new_cmd; in ecore_mcast_enqueue_cmd() local
2880 total_sz = sizeof(*new_cmd) + in ecore_mcast_enqueue_cmd()
2884 new_cmd = ECORE_ZALLOC(total_sz, GFP_ATOMIC, sc); in ecore_mcast_enqueue_cmd()
2886 if (!new_cmd) in ecore_mcast_enqueue_cmd()
2892 ECORE_LIST_INIT(&new_cmd->data.macs_head); in ecore_mcast_enqueue_cmd()
2894 new_cmd->type = cmd; in ecore_mcast_enqueue_cmd()
2895 new_cmd->done = FALSE; in ecore_mcast_enqueue_cmd()
2900 ((uint8_t *)new_cmd + sizeof(*new_cmd)); in ecore_mcast_enqueue_cmd()
2909 &new_cmd->data.macs_head); in ecore_mcast_enqueue_cmd()
2916 new_cmd->data.macs_num = p->mcast_list_len; in ecore_mcast_enqueue_cmd()
2920 new_cmd->data.next_bin = 0; in ecore_mcast_enqueue_cmd()
2924 ECORE_FREE(sc, new_cmd, total_sz); in ecore_mcast_enqueue_cmd()
2930 ECORE_LIST_PUSH_TAIL(&new_cmd->link, &o->pending_cmds_head); in ecore_mcast_enqueue_cmd()