Searched refs:new_cmd (Results 1 – 2 of 2) sorted by relevance
2430 struct bnx2x_pending_mcast_cmd *new_cmd; in bnx2x_mcast_enqueue_cmd() local2440 total_sz = sizeof(*new_cmd) + in bnx2x_mcast_enqueue_cmd()2444 new_cmd = kzalloc(total_sz, GFP_ATOMIC); in bnx2x_mcast_enqueue_cmd()2446 if (!new_cmd) in bnx2x_mcast_enqueue_cmd()2452 INIT_LIST_HEAD(&new_cmd->data.macs_head); in bnx2x_mcast_enqueue_cmd()2454 new_cmd->type = cmd; in bnx2x_mcast_enqueue_cmd()2455 new_cmd->done = false; in bnx2x_mcast_enqueue_cmd()2460 ((u8 *)new_cmd + sizeof(*new_cmd)); in bnx2x_mcast_enqueue_cmd()2467 list_add_tail(&cur_mac->link, &new_cmd->data.macs_head); in bnx2x_mcast_enqueue_cmd()2474 new_cmd->data.macs_num = p->mcast_list_len; in bnx2x_mcast_enqueue_cmd()[all …]
2199 static int __transport_execute_tasks(struct se_device *dev, struct se_cmd *new_cmd) in __transport_execute_tasks() argument2208 if (new_cmd != NULL) in __transport_execute_tasks()2209 __transport_add_tasks_from_cmd(new_cmd); in __transport_execute_tasks()2245 new_cmd = NULL; in __transport_execute_tasks()