Searched refs:flex_array_prealloc (Results 1 - 6 of 6) sorted by relevance

/linux-4.4.14/include/linux/
H A Dflex_array.h66 int flex_array_prealloc(struct flex_array *fa, unsigned int start,
/linux-4.4.14/lib/
H A Dflex_array.c255 * flex_array_prealloc - guarantee that array space exists
268 int flex_array_prealloc(struct flex_array *fa, unsigned int start, flex_array_prealloc() function
301 EXPORT_SYMBOL(flex_array_prealloc); variable
/linux-4.4.14/net/openvswitch/
H A Dflow_table.c130 err = flex_array_prealloc(buckets, 0, n_buckets, GFP_KERNEL); alloc_buckets()
/linux-4.4.14/security/selinux/ss/
H A Dpolicydb.c571 rc = flex_array_prealloc(p->type_val_to_struct_array, 0, policydb_index()
588 rc = flex_array_prealloc(p->sym_val_to_name[i], policydb_index()
2486 rc = flex_array_prealloc(p->type_attr_map_array, 0, p->p_types.nprim, policydb_read()
/linux-4.4.14/fs/proc/
H A Dbase.c2097 if (!fa || flex_array_prealloc(fa, 0, nr_files, proc_map_files_readdir()
/linux-4.4.14/drivers/md/
H A Draid5.c2073 if (flex_array_prealloc(ret, 0, cnt, flags)) { scribble_alloc()

Completed in 120 milliseconds