Searched refs:cmd_array (Results 1 – 5 of 5) sorted by relevance
288 struct cmd_ctrl_node *cmd_array; in mwifiex_alloc_cmd_buffer() local294 cmd_array = kzalloc(buf_size, GFP_KERNEL); in mwifiex_alloc_cmd_buffer()295 if (!cmd_array) { in mwifiex_alloc_cmd_buffer()301 adapter->cmd_pool = cmd_array; in mwifiex_alloc_cmd_buffer()306 cmd_array[i].skb = dev_alloc_skb(MWIFIEX_SIZE_OF_CMD_BUFFER); in mwifiex_alloc_cmd_buffer()307 if (!cmd_array[i].skb) { in mwifiex_alloc_cmd_buffer()314 mwifiex_insert_cmd_to_free_q(adapter, &cmd_array[i]); in mwifiex_alloc_cmd_buffer()327 struct cmd_ctrl_node *cmd_array; in mwifiex_free_cmd_buffer() local336 cmd_array = adapter->cmd_pool; in mwifiex_free_cmd_buffer()340 if (cmd_array[i].skb) { in mwifiex_free_cmd_buffer()[all …]
462 priv->cmd_array = cmdarray; in lbtf_allocate_cmd_buffer()501 if (priv->cmd_array == NULL) { in lbtf_free_cmd_buffer()506 cmdarray = priv->cmd_array; in lbtf_free_cmd_buffer()515 kfree(priv->cmd_array); in lbtf_free_cmd_buffer()516 priv->cmd_array = NULL; in lbtf_free_cmd_buffer()
209 struct cmd_ctrl_node *cmd_array; member
1185 priv->cmd_array = cmdarray; in lbs_allocate_cmd_buffer()1223 if (priv->cmd_array == NULL) { in lbs_free_cmd_buffer()1228 cmdarray = priv->cmd_array; in lbs_free_cmd_buffer()1239 if (priv->cmd_array) { in lbs_free_cmd_buffer()1240 kfree(priv->cmd_array); in lbs_free_cmd_buffer()1241 priv->cmd_array = NULL; in lbs_free_cmd_buffer()
123 struct cmd_ctrl_node *cmd_array; member