Searched refs:cmdarray (Results 1 – 2 of 2) sorted by relevance
450 struct cmd_ctrl_node *cmdarray; in lbtf_allocate_cmd_buffer() local456 cmdarray = kzalloc(bufsize, GFP_KERNEL); in lbtf_allocate_cmd_buffer()457 if (!cmdarray) { in lbtf_allocate_cmd_buffer()462 priv->cmd_array = cmdarray; in lbtf_allocate_cmd_buffer()466 cmdarray[i].cmdbuf = kzalloc(LBS_CMD_BUFFER_SIZE, GFP_KERNEL); in lbtf_allocate_cmd_buffer()467 if (!cmdarray[i].cmdbuf) { in lbtf_allocate_cmd_buffer()475 init_waitqueue_head(&cmdarray[i].cmdwait_q); in lbtf_allocate_cmd_buffer()476 lbtf_cleanup_and_insert_cmd(priv, &cmdarray[i]); in lbtf_allocate_cmd_buffer()495 struct cmd_ctrl_node *cmdarray; in lbtf_free_cmd_buffer() local506 cmdarray = priv->cmd_array; in lbtf_free_cmd_buffer()[all …]
1192 struct cmd_ctrl_node *cmdarray; in lbs_allocate_cmd_buffer() local1198 if (!(cmdarray = kzalloc(bufsize, GFP_KERNEL))) { in lbs_allocate_cmd_buffer()1203 priv->cmd_array = cmdarray; in lbs_allocate_cmd_buffer()1207 cmdarray[i].cmdbuf = kzalloc(LBS_CMD_BUFFER_SIZE, GFP_KERNEL); in lbs_allocate_cmd_buffer()1208 if (!cmdarray[i].cmdbuf) { in lbs_allocate_cmd_buffer()1216 init_waitqueue_head(&cmdarray[i].cmdwait_q); in lbs_allocate_cmd_buffer()1217 lbs_cleanup_and_insert_cmd(priv, &cmdarray[i]); in lbs_allocate_cmd_buffer()1235 struct cmd_ctrl_node *cmdarray; in lbs_free_cmd_buffer() local1246 cmdarray = priv->cmd_array; in lbs_free_cmd_buffer()1250 if (cmdarray[i].cmdbuf) { in lbs_free_cmd_buffer()[all …]