Searched refs:cmdarray (Results 1 – 3 of 3) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas_tf/ |
D | cmd.c | 446 struct cmd_ctrl_node *cmdarray; in lbtf_allocate_cmd_buffer() local 452 cmdarray = kzalloc(bufsize, GFP_KERNEL); in lbtf_allocate_cmd_buffer() 453 if (!cmdarray) { in lbtf_allocate_cmd_buffer() 458 priv->cmd_array = cmdarray; in lbtf_allocate_cmd_buffer() 462 cmdarray[i].cmdbuf = kzalloc(LBS_CMD_BUFFER_SIZE, GFP_KERNEL); in lbtf_allocate_cmd_buffer() 463 if (!cmdarray[i].cmdbuf) { in lbtf_allocate_cmd_buffer() 471 init_waitqueue_head(&cmdarray[i].cmdwait_q); in lbtf_allocate_cmd_buffer() 472 lbtf_cleanup_and_insert_cmd(priv, &cmdarray[i]); in lbtf_allocate_cmd_buffer() 491 struct cmd_ctrl_node *cmdarray; in lbtf_free_cmd_buffer() local 502 cmdarray = priv->cmd_array; in lbtf_free_cmd_buffer() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/ |
D | cmd.c | 1119 struct cmd_ctrl_node *cmdarray; in lbs_allocate_cmd_buffer() local 1123 if (!(cmdarray = kzalloc(bufsize, GFP_KERNEL))) { in lbs_allocate_cmd_buffer() 1128 priv->cmd_array = cmdarray; in lbs_allocate_cmd_buffer() 1132 cmdarray[i].cmdbuf = kzalloc(LBS_CMD_BUFFER_SIZE, GFP_KERNEL); in lbs_allocate_cmd_buffer() 1133 if (!cmdarray[i].cmdbuf) { in lbs_allocate_cmd_buffer() 1141 init_waitqueue_head(&cmdarray[i].cmdwait_q); in lbs_allocate_cmd_buffer() 1142 lbs_cleanup_and_insert_cmd(priv, &cmdarray[i]); in lbs_allocate_cmd_buffer() 1159 struct cmd_ctrl_node *cmdarray; in lbs_free_cmd_buffer() local 1168 cmdarray = priv->cmd_array; in lbs_free_cmd_buffer() 1172 if (cmdarray[i].cmdbuf) { in lbs_free_cmd_buffer() [all …]
|
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/ |
D | 0038_linux_drivers_mxc.patch | 178411 +static struct idr *cmdarray, *retarray; 178458 + idr_for_each_entry(cmdarray, obj, id) { 178460 + idr_remove(cmdarray, id); 178464 + idr_destroy(cmdarray); 178465 + kfree(cmdarray); 178488 + idr_for_each_entry(cmdarray, obj, id) { 178493 + idr_remove(cmdarray, id); 178522 + idr_for_each_entry(cmdarray, obj, id) { 178531 + idr_remove(cmdarray, id); 178598 + idr_alloc(cmdarray, (void *)msghdr, 1, 0, GFP_KERNEL); [all …]
|