Home
last modified time | relevance | path

Searched refs:vlabuf (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/usb/gadget/function/
Df_fs.c2614 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); in __ffs_data_got_strings() local
2616 if (unlikely(!vlabuf)) { in __ffs_data_got_strings()
2622 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings()
2623 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings()
2631 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings()
2632 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings()
2633 s = vla_ptr(vlabuf, d, strings); in __ffs_data_got_strings()
3113 char *vlabuf; in _ffs_func_bind() local
3122 vlabuf = kzalloc(vla_group_size(d), GFP_KERNEL); in _ffs_func_bind()
3123 if (unlikely(!vlabuf)) in _ffs_func_bind()
[all …]
Df_generic.c2491 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); in __ffs_data_got_strings() local
2493 if (unlikely(!vlabuf)) { in __ffs_data_got_strings()
2499 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings()
2500 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings()
2508 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings()
2509 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings()
2510 s = vla_ptr(vlabuf, d, strings); in __ffs_data_got_strings()
2974 char *vlabuf = NULL; in _ffs_func_bind() local
2983 vlabuf = kzalloc(vla_group_size(d), GFP_KERNEL); in _ffs_func_bind()
2984 if (unlikely(!vlabuf)) in _ffs_func_bind()
[all …]
/kernel/linux/linux-5.10/drivers/usb/gadget/
Dconfigfs.c1076 char *vlabuf; in ext_prop_make() local
1082 vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in ext_prop_make()
1083 if (!vlabuf) in ext_prop_make()
1086 ext_prop = vla_ptr(vlabuf, data_chunk, ext_prop); in ext_prop_make()
1087 ext_prop_type = vla_ptr(vlabuf, data_chunk, ext_prop_type); in ext_prop_make()
1098 kfree(vlabuf); in ext_prop_make()
1211 char *vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in usb_os_desc_prepare_interf_dir() local
1212 if (!vlabuf) in usb_os_desc_prepare_interf_dir()
1215 os_desc_group = vla_ptr(vlabuf, data_chunk, os_desc_group); in usb_os_desc_prepare_interf_dir()
1216 os_desc_type = vla_ptr(vlabuf, data_chunk, os_desc_type); in usb_os_desc_prepare_interf_dir()
[all …]
/kernel/linux/patches/linux-5.10/unionpi_tiger_pacth/
Dlinux-5.10.patch17600 - char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL);
17602 - if (unlikely(!vlabuf)) {
17608 - stringtabs = vla_ptr(vlabuf, d, stringtabs);
17609 - t = vla_ptr(vlabuf, d, stringtab);
17616 - /* stringtabs = vlabuf = d_stringtabs for later kfree */
17617 - stringtabs = vla_ptr(vlabuf, d, stringtabs);
17618 - t = vla_ptr(vlabuf, d, stringtab);
17619 - s = vla_ptr(vlabuf, d, strings);
18083 - char *vlabuf = NULL;
18092 - vlabuf = kzalloc(vla_group_size(d), GFP_KERNEL);
[all …]