Lines Matching refs:size
91 static int val_mask_to_str(char *str, size_t size, in val_mask_to_str() argument
99 int len = scnprintf(str, size, "%s%s", total ? "," : "", in val_mask_to_str()
101 size -= len; in val_mask_to_str()
124 if (t->size == newsize) in aa_resize_str_table()
129 for (i = 0; i < min(t->size, newsize); i++) in aa_resize_str_table()
131 for (; i < t->size; i++) in aa_resize_str_table()
133 if (newsize > t->size) in aa_resize_str_table()
134 memset(&n[t->size], 0, (newsize-t->size)*sizeof(*n)); in aa_resize_str_table()
137 t->size = newsize; in aa_resize_str_table()
154 for (i = 0; i < t->size; i++) in aa_free_str_table()
158 t->size = 0; in aa_free_str_table()
232 __counted char *aa_str_alloc(int size, gfp_t gfp) in aa_str_alloc() argument
236 str = kmalloc(struct_size(str, name, size), gfp); in aa_str_alloc()