Lines Matching refs:filename

260 		const char *const filename, const void *data
265 printfs(pformat, filename);
308 const char *const filename, const void *data
317 printfs(pformat, filename);
321 char *linkname = xmalloc_readlink_or_warn(filename);
324 printf("'%s' -> '%s'", filename, linkname);
327 printf(pformat, filename);
410 const char *filename,
456 print_func(dest, *p, filename, data IF_SELINUX(,scontext));
469 #define do_statfs(filename, format) do_statfs(filename) argument
471 static bool do_statfs(const char *filename, const char *format) in do_statfs() argument
482 ? lgetfilecon(filename, &scontext) in do_statfs()
483 : getfilecon(filename, &scontext) in do_statfs()
486 bb_simple_perror_msg(filename); in do_statfs()
491 if (statfs(filename, &statfsbuf) != 0) { in do_statfs()
492 bb_perror_msg("can't read file system information for '%s'", filename); in do_statfs()
526 print_it(format, filename, print_statfs, &statfsbuf IF_SELINUX(, scontext)); in do_statfs()
533 filename, in do_statfs()
587 #define do_stat(filename, format) do_stat(filename) argument
589 static bool do_stat(const char *filename, const char *format) in do_stat() argument
597 ? lgetfilecon(filename, &scontext) in do_stat()
598 : getfilecon(filename, &scontext) in do_stat()
601 bb_simple_perror_msg(filename); in do_stat()
606 if ((option_mask32 & OPT_DEREFERENCE ? stat : lstat) (filename, &statbuf) != 0) { in do_stat()
607 bb_perror_msg("can't stat '%s'", filename); in do_stat()
678 print_it(format, filename, print_stat, &statbuf IF_SELINUX(, scontext)); in do_stat()
683 filename, in do_stat()
715 linkname = xmalloc_readlink_or_warn(filename); in do_stat()
717 printf(" File: '%s' -> '%s'\n", filename, linkname); in do_stat()
720 printf(" File: '%s'\n", filename); in do_stat()