• Home
  • Raw
  • Download

Lines Matching refs:args

59 	int (*handler)(struct cachefiles_cache *cache, char *args);
219 char *data, *args, *cp; in cachefiles_daemon_write() local
252 for (args = data; *args; args++) in cachefiles_daemon_write()
253 if (isspace(*args)) in cachefiles_daemon_write()
255 if (*args) { in cachefiles_daemon_write()
256 if (args == data) in cachefiles_daemon_write()
258 *args = '\0'; in cachefiles_daemon_write()
259 args = skip_spaces(++args); in cachefiles_daemon_write()
277 ret = cmd->handler(cache, args); in cachefiles_daemon_write()
313 char *args) in cachefiles_daemon_range_error() argument
324 static int cachefiles_daemon_frun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_frun() argument
328 _enter(",%s", args); in cachefiles_daemon_frun()
330 if (!*args) in cachefiles_daemon_frun()
333 frun = simple_strtoul(args, &args, 10); in cachefiles_daemon_frun()
334 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_frun()
338 return cachefiles_daemon_range_error(cache, args); in cachefiles_daemon_frun()
348 static int cachefiles_daemon_fcull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fcull() argument
352 _enter(",%s", args); in cachefiles_daemon_fcull()
354 if (!*args) in cachefiles_daemon_fcull()
357 fcull = simple_strtoul(args, &args, 10); in cachefiles_daemon_fcull()
358 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_fcull()
362 return cachefiles_daemon_range_error(cache, args); in cachefiles_daemon_fcull()
372 static int cachefiles_daemon_fstop(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_fstop() argument
376 _enter(",%s", args); in cachefiles_daemon_fstop()
378 if (!*args) in cachefiles_daemon_fstop()
381 fstop = simple_strtoul(args, &args, 10); in cachefiles_daemon_fstop()
382 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_fstop()
386 return cachefiles_daemon_range_error(cache, args); in cachefiles_daemon_fstop()
396 static int cachefiles_daemon_brun(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_brun() argument
400 _enter(",%s", args); in cachefiles_daemon_brun()
402 if (!*args) in cachefiles_daemon_brun()
405 brun = simple_strtoul(args, &args, 10); in cachefiles_daemon_brun()
406 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_brun()
410 return cachefiles_daemon_range_error(cache, args); in cachefiles_daemon_brun()
420 static int cachefiles_daemon_bcull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bcull() argument
424 _enter(",%s", args); in cachefiles_daemon_bcull()
426 if (!*args) in cachefiles_daemon_bcull()
429 bcull = simple_strtoul(args, &args, 10); in cachefiles_daemon_bcull()
430 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_bcull()
434 return cachefiles_daemon_range_error(cache, args); in cachefiles_daemon_bcull()
444 static int cachefiles_daemon_bstop(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_bstop() argument
448 _enter(",%s", args); in cachefiles_daemon_bstop()
450 if (!*args) in cachefiles_daemon_bstop()
453 bstop = simple_strtoul(args, &args, 10); in cachefiles_daemon_bstop()
454 if (args[0] != '%' || args[1] != '\0') in cachefiles_daemon_bstop()
458 return cachefiles_daemon_range_error(cache, args); in cachefiles_daemon_bstop()
468 static int cachefiles_daemon_dir(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_dir() argument
472 _enter(",%s", args); in cachefiles_daemon_dir()
474 if (!*args) { in cachefiles_daemon_dir()
484 dir = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_dir()
496 static int cachefiles_daemon_secctx(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_secctx() argument
500 _enter(",%s", args); in cachefiles_daemon_secctx()
502 if (!*args) { in cachefiles_daemon_secctx()
512 secctx = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_secctx()
524 static int cachefiles_daemon_tag(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_tag() argument
528 _enter(",%s", args); in cachefiles_daemon_tag()
530 if (!*args) { in cachefiles_daemon_tag()
538 tag = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_tag()
550 static int cachefiles_daemon_cull(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_cull() argument
556 _enter(",%s", args); in cachefiles_daemon_cull()
558 if (strchr(args, '/')) in cachefiles_daemon_cull()
578 ret = cachefiles_cull(cache, path.dentry, args); in cachefiles_daemon_cull()
599 static int cachefiles_daemon_debug(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_debug() argument
603 _enter(",%s", args); in cachefiles_daemon_debug()
605 mask = simple_strtoul(args, &args, 0); in cachefiles_daemon_debug()
606 if (args[0] != '\0') in cachefiles_daemon_debug()
622 static int cachefiles_daemon_inuse(struct cachefiles_cache *cache, char *args) in cachefiles_daemon_inuse() argument
630 if (strchr(args, '/')) in cachefiles_daemon_inuse()
650 ret = cachefiles_check_in_use(cache, path.dentry, args); in cachefiles_daemon_inuse()