• Home
  • Raw
  • Download

Lines Matching refs:mode

101 	int		mode)  in xfs_dentry_to_name()  argument
105 namep->type = xfs_mode_to_ftype[(mode & S_IFMT) >> S_SHIFT]; in xfs_dentry_to_name()
130 umode_t mode, in xfs_generic_create() argument
144 if (S_ISCHR(mode) || S_ISBLK(mode)) { in xfs_generic_create()
152 error = posix_acl_create(dir, &mode, &default_acl, &acl); in xfs_generic_create()
157 xfs_dentry_to_name(&name, dentry, mode); in xfs_generic_create()
158 error = xfs_create(XFS_I(dir), &name, mode, rdev, &ip); in xfs_generic_create()
160 error = xfs_create_tmpfile(XFS_I(dir), dentry, mode, &ip); in xfs_generic_create()
210 umode_t mode, in xfs_vn_mknod() argument
213 return xfs_generic_create(dir, dentry, mode, rdev, false); in xfs_vn_mknod()
220 umode_t mode, in xfs_vn_create() argument
223 return xfs_vn_mknod(dir, dentry, mode, 0); in xfs_vn_create()
230 umode_t mode) in xfs_vn_mkdir() argument
232 return xfs_vn_mknod(dir, dentry, mode|S_IFDIR, 0); in xfs_vn_mkdir()
355 umode_t mode; in xfs_vn_symlink() local
357 mode = S_IFLNK | in xfs_vn_symlink()
359 xfs_dentry_to_name(&name, dentry, mode); in xfs_vn_symlink()
361 error = xfs_symlink(XFS_I(dir), &name, symname, mode, &cip); in xfs_vn_symlink()
457 stat->mode = ip->i_d.di_mode; in xfs_vn_getattr()
500 umode_t mode = iattr->ia_mode; in xfs_setattr_mode() local
505 ip->i_d.di_mode |= mode & ~S_IFMT; in xfs_setattr_mode()
508 inode->i_mode |= mode & ~S_IFMT; in xfs_setattr_mode()
1099 umode_t mode) in xfs_vn_tmpfile() argument
1101 return xfs_generic_create(dir, dentry, mode, 0, true); in xfs_vn_tmpfile()