Lines Matching defs:mode
54 umode_t mode;
67 umode_t mode, char *name)
77 if (((*p)->mode ^ mode) & S_IFMT)
87 q->mode = mode;
151 static __initdata umode_t mode;
169 mode = parsed[1];
261 if (S_ISLNK(mode)) {
270 if (S_ISREG(mode) || !body_len)
301 (st.mode ^ fmode) & S_IFMT) {
302 if (S_ISDIR(st.mode))
312 char *old = find_link(major, minor, ino, mode, collected);
332 clean_path(collected, mode);
333 if (S_ISREG(mode)) {
339 wfile = filp_open(collected, openflags, mode);
345 vfs_fchmod(wfile, mode);
350 } else if (S_ISDIR(mode)) {
351 init_mkdir(collected, mode);
353 init_chmod(collected, mode);
355 } else if (S_ISBLK(mode) || S_ISCHR(mode) ||
356 S_ISFIFO(mode) || S_ISSOCK(mode)) {
358 init_mknod(collected, mode, rdev);
360 init_chmod(collected, mode);