Lines Matching defs:mode
428 * The following routine will lock n inodes in exclusive mode. We assume the
708 umode_t mode = VFS_I(ip)->i_mode;
710 if (S_ISDIR(mode)) {
719 } else if (S_ISREG(mode)) {
765 * The in-core inode is locked exclusively. Set mode, nlink, and rdev
798 umode_t mode,
818 error = xfs_dialloc(tp, pip ? pip->i_ino : 0, mode,
859 inode->i_mode = mode;
861 inode_init_owner(inode, dir, mode);
895 switch (mode & S_IFMT) {
950 umode_t mode,
982 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid, &ialloc_context,
1052 code = xfs_ialloc(tp, dp, mode, nlink, rdev, prid,
1113 umode_t mode,
1117 int is_dir = S_ISDIR(mode);
1185 error = xfs_dir_ialloc(&tp, dp, mode, is_dir ? 2 : 1, rdev, prid, &ip);
1267 umode_t mode,
1307 error = xfs_dir_ialloc(&tp, dp, mode, 0, 0, prid, &ip);
2747 * in at least shared mode so that the buffer cannot be subsequently pinned