Lines Matching refs:mode
57 umode_t mode;
69 static char __init *find_link(int major, int minor, int ino, umode_t mode, char *name)
82 if (((*p)->mode ^ mode) & S_IFMT) {
94 q->mode = mode;
160 static __initdata umode_t mode;
178 mode = parsed[0x1];
274 if (S_ISLNK(mode)) {
284 if (S_ISREG(mode) || !body_len) {
317 if (!init_stat(path, &st, AT_SYMLINK_NOFOLLOW) && (st.mode ^ fmode) & S_IFMT) {
318 if (S_ISDIR(st.mode)) {
329 char *old = find_link(major, minor, ino, mode, collected);
349 clean_path(collected, mode);
350 if (S_ISREG(mode)) {
357 wfile = filp_open(collected, openflags, mode);
364 vfs_fchmod(wfile, mode);
370 } else if (S_ISDIR(mode)) {
371 init_mkdir(collected, mode);
373 init_chmod(collected, mode);
375 } else if (S_ISBLK(mode) || S_ISCHR(mode) || S_ISFIFO(mode) || S_ISSOCK(mode)) {
377 init_mknod(collected, mode, rdev);
379 init_chmod(collected, mode);