Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/usb/gadget/function/
H A Df_fs.c2661 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); in __ffs_data_got_strings() local
2663 if (unlikely(!vlabuf)) { in __ffs_data_got_strings()
2669 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings()
2670 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings()
2678 stringtabs = vla_ptr(vlabuf, d, stringtabs); in __ffs_data_got_strings()
2679 t = vla_ptr(vlabuf, d, stringtab); in __ffs_data_got_strings()
2680 s = vla_ptr(vlabuf, d, strings); in __ffs_data_got_strings()
3161 char *vlabuf; in _ffs_func_bind() local
3170 vlabuf = kzalloc(vla_group_size(d), GFP_KERNEL); in _ffs_func_bind()
3171 if (unlikely(!vlabuf)) in _ffs_func_bind()
[all …]
/OK3568_Linux_fs/kernel/drivers/usb/gadget/
H A Dconfigfs.c1108 char *vlabuf; in ext_prop_make() local
1114 vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in ext_prop_make()
1115 if (!vlabuf) in ext_prop_make()
1118 ext_prop = vla_ptr(vlabuf, data_chunk, ext_prop); in ext_prop_make()
1119 ext_prop_type = vla_ptr(vlabuf, data_chunk, ext_prop_type); in ext_prop_make()
1130 kfree(vlabuf); in ext_prop_make()
1243 char *vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); in usb_os_desc_prepare_interf_dir() local
1244 if (!vlabuf) in usb_os_desc_prepare_interf_dir()
1247 os_desc_group = vla_ptr(vlabuf, data_chunk, os_desc_group); in usb_os_desc_prepare_interf_dir()
1248 os_desc_type = vla_ptr(vlabuf, data_chunk, os_desc_type); in usb_os_desc_prepare_interf_dir()
[all …]