/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
H A D | f_fs.c | 2655 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); in __ffs_data_got_strings() local 2657 if (unlikely(!vlabuf)) { in __ffs_data_got_strings() 2663 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2664 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2671 /* stringtabs = vlabuf = d_stringtabs for later kfree */ in __ffs_data_got_strings() 2672 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2673 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2674 s = vla_ptr(vlabuf, d, strings); in __ffs_data_got_strings() 3154 char *vlabuf; in _ffs_func_bind() local 3163 vlabuf in _ffs_func_bind() [all...] |
H A D | f_generic.c | 2494 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); in __ffs_data_got_strings() local 2496 if (unlikely(!vlabuf)) { in __ffs_data_got_strings() 2502 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2503 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2510 /* stringtabs = vlabuf = d_stringtabs for later kfree */ in __ffs_data_got_strings() 2511 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2512 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2513 s = vla_ptr(vlabuf, d, strings); in __ffs_data_got_strings() 2977 char *vlabuf = NULL; in _ffs_func_bind() local 2986 vlabuf in _ffs_func_bind() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/function/ |
H A D | f_fs.c | 2585 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); in __ffs_data_got_strings() local 2587 if (!vlabuf) { in __ffs_data_got_strings() 2593 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2594 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2601 /* stringtabs = vlabuf = d_stringtabs for later kfree */ in __ffs_data_got_strings() 2602 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2603 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2604 s = vla_ptr(vlabuf, d, strings); in __ffs_data_got_strings() 3082 char *vlabuf; in _ffs_func_bind() local 3089 vlabuf in _ffs_func_bind() [all...] |
H A D | f_generic.c | 2496 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); in __ffs_data_got_strings() local 2498 if (unlikely(!vlabuf)) { in __ffs_data_got_strings() 2504 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2505 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2512 /* stringtabs = vlabuf = d_stringtabs for later kfree */ in __ffs_data_got_strings() 2513 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings() 2514 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings() 2515 s = vla_ptr(vlabuf, d, strings); in __ffs_data_got_strings() 2979 char *vlabuf = NULL; in _ffs_func_bind() local 2988 vlabuf in _ffs_func_bind() [all...] |
/kernel/linux/linux-5.10/drivers/usb/gadget/ |
H A D | configfs.c | 1079 char *vlabuf; in ext_prop_make() local 1085 vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in ext_prop_make() 1086 if (!vlabuf) in ext_prop_make() 1089 ext_prop = vla_ptr(vlabuf, data_chunk, ext_prop); in ext_prop_make() 1090 ext_prop_type = vla_ptr(vlabuf, data_chunk, ext_prop_type); in ext_prop_make() 1101 kfree(vlabuf); in ext_prop_make() 1214 char *vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in usb_os_desc_prepare_interf_dir() local 1215 if (!vlabuf) in usb_os_desc_prepare_interf_dir() 1218 os_desc_group = vla_ptr(vlabuf, data_chunk, os_desc_group); in usb_os_desc_prepare_interf_dir() 1219 os_desc_type = vla_ptr(vlabuf, data_chun in usb_os_desc_prepare_interf_dir() [all...] |
/kernel/linux/linux-6.6/drivers/usb/gadget/ |
H A D | configfs.c | 1391 char *vlabuf; in ext_prop_make() local 1397 vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in ext_prop_make() 1398 if (!vlabuf) in ext_prop_make() 1401 ext_prop = vla_ptr(vlabuf, data_chunk, ext_prop); in ext_prop_make() 1402 ext_prop_type = vla_ptr(vlabuf, data_chunk, ext_prop_type); in ext_prop_make() 1413 kfree(vlabuf); in ext_prop_make() 1526 char *vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in usb_os_desc_prepare_interf_dir() local 1527 if (!vlabuf) in usb_os_desc_prepare_interf_dir() 1530 os_desc_group = vla_ptr(vlabuf, data_chunk, os_desc_group); in usb_os_desc_prepare_interf_dir() 1531 os_desc_type = vla_ptr(vlabuf, data_chun in usb_os_desc_prepare_interf_dir() [all...] |