Lines Matching refs:st_mode
33 if (S_ISREG(st->st_mode)) return st->st_size == 0 ? "regular empty file" : "regular file";
34 if (S_ISDIR(st->st_mode)) return "directory";
35 if (S_ISBLK(st->st_mode)) return "block special file";
36 if (S_ISCHR(st->st_mode)) return "character special file";
37 if (S_ISFIFO(st->st_mode)) return "fifo";
38 if (S_ISLNK(st->st_mode)) return "symbolic link";
39 if (S_ISSOCK(st->st_mode)) return "socket";
184 if (S_ISLNK(statbuf->st_mode)) {
208 printf(pformat, (unsigned long) (statbuf->st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)));
211 printf(pformat, bb_mode_string(statbuf->st_mode));
214 printf(pformat, (unsigned long) statbuf->st_mode);
475 if (S_ISBLK(statbuf.st_mode) || S_ISCHR(statbuf.st_mode)) {
498 if (S_ISBLK(statbuf.st_mode) || S_ISCHR(statbuf.st_mode)) {
538 (unsigned long) statbuf.st_mode,
567 if (S_ISLNK(statbuf.st_mode))
584 if (S_ISBLK(statbuf.st_mode) || S_ISCHR(statbuf.st_mode))
591 (unsigned long) (statbuf.st_mode & (S_ISUID|S_ISGID|S_ISVTX|S_IRWXU|S_IRWXG|S_IRWXO)),
592 bb_mode_string(statbuf.st_mode),