Lines Matching refs:mode
100 int __init init_chmod(const char *filename, umode_t mode) in init_chmod() argument
108 error = chmod_common(&path, mode); in init_chmod()
141 int __init init_mknod(const char *filename, umode_t mode, unsigned int dev) in init_mknod() argument
147 if (S_ISFIFO(mode) || S_ISSOCK(mode)) in init_mknod()
149 else if (!(S_ISBLK(mode) || S_ISCHR(mode))) in init_mknod()
157 mode &= ~current_umask(); in init_mknod()
158 error = security_path_mknod(&path, dentry, mode, dev); in init_mknod()
161 dentry, mode, new_decode_dev(dev)); in init_mknod()
223 int __init init_mkdir(const char *pathname, umode_t mode) in init_mkdir() argument
233 mode &= ~current_umask(); in init_mkdir()
234 error = security_path_mkdir(&path, dentry, mode); in init_mkdir()
237 dentry, mode); in init_mkdir()