Lines Matching defs:mode
73 umode_t mode;
86 umode_t mode, char *name)
96 if (((*p)->mode ^ mode) & S_IFMT)
106 q->mode = mode;
180 static __initdata umode_t mode;
199 mode = parsed[1];
295 if (S_ISLNK(mode)) {
304 if (S_ISREG(mode) || !body_len)
335 (st.mode ^ fmode) & S_IFMT) {
336 if (S_ISDIR(st.mode))
346 char *old = find_link(major, minor, ino, mode, collected);
366 clean_path(collected, mode);
367 if (S_ISREG(mode)) {
373 wfile = filp_open(collected, openflags, mode);
380 vfs_fchmod(wfile, mode);
385 } else if (S_ISDIR(mode)) {
386 init_mkdir(collected, mode);
388 init_chmod(collected, mode);
390 } else if (S_ISBLK(mode) || S_ISCHR(mode) ||
391 S_ISFIFO(mode) || S_ISSOCK(mode)) {
393 init_mknod(collected, mode, rdev);
395 init_chmod(collected, mode);