Lines Matching full:schemes
195 static void free_schemes_arr(struct damos **schemes, ssize_t nr_schemes) in free_schemes_arr() argument
200 kfree(schemes[i]); in free_schemes_arr()
201 kfree(schemes); in free_schemes_arr()
237 struct damos *scheme, **schemes; in str_to_schemes() local
243 schemes = kmalloc_array(max_nr_schemes, sizeof(scheme), in str_to_schemes()
245 if (!schemes) in str_to_schemes()
288 schemes[*nr_schemes] = scheme; in str_to_schemes()
291 return schemes; in str_to_schemes()
293 free_schemes_arr(schemes, *nr_schemes); in str_to_schemes()
302 struct damos **schemes; in dbgfs_schemes_write() local
309 schemes = str_to_schemes(kbuf, count, &nr_schemes); in dbgfs_schemes_write()
310 if (!schemes) { in dbgfs_schemes_write()
321 damon_set_schemes(ctx, schemes, nr_schemes); in dbgfs_schemes_write()
327 free_schemes_arr(schemes, nr_schemes); in dbgfs_schemes_write()
763 const char * const file_names[] = {"attrs", "schemes", "target_ids", in dbgfs_fill_ctx_dir()