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

/linux-4.1.27/drivers/usb/gadget/
H A Dconfigfs.c1082 char *vlabuf; ext_prop_make() local
1088 vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); ext_prop_make()
1089 if (!vlabuf) ext_prop_make()
1092 ext_prop = vla_ptr(vlabuf, data_chunk, ext_prop); ext_prop_make()
1093 ext_prop_type = vla_ptr(vlabuf, data_chunk, ext_prop_type); ext_prop_make()
1104 kfree(vlabuf); ext_prop_make()
1230 char *vlabuf = kzalloc(vla_group_size(data_chunk), GFP_KERNEL); usb_os_desc_prepare_interf_dir() local
1231 if (!vlabuf) usb_os_desc_prepare_interf_dir()
1234 f_default_groups = vla_ptr(vlabuf, data_chunk, f_default_groups); usb_os_desc_prepare_interf_dir()
1235 os_desc_group = vla_ptr(vlabuf, data_chunk, os_desc_group); usb_os_desc_prepare_interf_dir()
1236 os_desc_type = vla_ptr(vlabuf, data_chunk, os_desc_type); usb_os_desc_prepare_interf_dir()
1237 interface_groups = vla_ptr(vlabuf, data_chunk, interface_groups); usb_os_desc_prepare_interf_dir()
1238 interface_type = vla_ptr(vlabuf, data_chunk, interface_type); usb_os_desc_prepare_interf_dir()
/linux-4.1.27/drivers/usb/gadget/function/
H A Df_fs.c2280 char *vlabuf = kmalloc(vla_group_size(d), GFP_KERNEL); __ffs_data_got_strings() local
2282 if (unlikely(!vlabuf)) { __ffs_data_got_strings()
2288 stringtabs = vla_ptr(vlabuf, d, stringtabs); __ffs_data_got_strings()
2289 t = vla_ptr(vlabuf, d, stringtab); __ffs_data_got_strings()
2296 /* stringtabs = vlabuf = d_stringtabs for later kfree */ __ffs_data_got_strings()
2297 stringtabs = vla_ptr(vlabuf, d, stringtabs); __ffs_data_got_strings()
2298 t = vla_ptr(vlabuf, d, stringtab); __ffs_data_got_strings()
2299 s = vla_ptr(vlabuf, d, strings); __ffs_data_got_strings()
2767 char *vlabuf; _ffs_func_bind() local
2776 vlabuf = kzalloc(vla_group_size(d), GFP_KERNEL); _ffs_func_bind()
2777 if (unlikely(!vlabuf)) _ffs_func_bind()
2780 ffs->ms_os_descs_ext_prop_avail = vla_ptr(vlabuf, d, ext_prop); _ffs_func_bind()
2782 vla_ptr(vlabuf, d, ext_prop_name); _ffs_func_bind()
2784 vla_ptr(vlabuf, d, ext_prop_data); _ffs_func_bind()
2787 memcpy(vla_ptr(vlabuf, d, raw_descs), ffs->raw_descs, _ffs_func_bind()
2790 memset(vla_ptr(vlabuf, d, inums), 0xff, d_inums__sz); _ffs_func_bind()
2794 ptr = vla_ptr(vlabuf, d, eps); _ffs_func_bind()
2799 * d_eps == vlabuf, func->eps used to kfree vlabuf later _ffs_func_bind()
2801 func->eps = vla_ptr(vlabuf, d, eps); _ffs_func_bind()
2802 func->interfaces_nums = vla_ptr(vlabuf, d, inums); _ffs_func_bind()
2810 func->function.fs_descriptors = vla_ptr(vlabuf, d, fs_descs); _ffs_func_bind()
2812 vla_ptr(vlabuf, d, raw_descs), _ffs_func_bind()
2824 func->function.hs_descriptors = vla_ptr(vlabuf, d, hs_descs); _ffs_func_bind()
2826 vla_ptr(vlabuf, d, raw_descs) + fs_len, _ffs_func_bind()
2838 func->function.ss_descriptors = vla_ptr(vlabuf, d, ss_descs); _ffs_func_bind()
2840 vla_ptr(vlabuf, d, raw_descs) + fs_len + hs_len, _ffs_func_bind()
2859 vla_ptr(vlabuf, d, raw_descs), d_raw_descs__sz, _ffs_func_bind()
2864 func->function.os_desc_table = vla_ptr(vlabuf, d, os_desc_table); _ffs_func_bind()
2870 vla_ptr(vlabuf, d, os_desc) + _ffs_func_bind()
2873 vla_ptr(vlabuf, d, ext_compat) + i * 16; _ffs_func_bind()
2877 vla_ptr(vlabuf, d, raw_descs) + _ffs_func_bind()

Completed in 94 milliseconds