• Home
  • Raw
  • Download

Lines Matching refs:mode

73 	uint16_t		mode,  in xchk_inode_extsize()  argument
79 mode, flags); in xchk_inode_extsize()
95 uint16_t mode, in xchk_inode_cowextsize() argument
102 be32_to_cpu(dip->di_cowextsize), mode, flags, in xchk_inode_cowextsize()
114 uint16_t mode, in xchk_inode_flags() argument
136 !S_ISDIR(mode)) in xchk_inode_flags()
141 !S_ISREG(mode)) in xchk_inode_flags()
159 uint16_t mode, in xchk_inode_flags2() argument
177 if ((flags2 & XFS_DIFLAG2_DAX) && !(S_ISREG(mode) || S_ISDIR(mode))) in xchk_inode_flags2()
181 if ((flags2 & XFS_DIFLAG2_REFLINK) && !S_ISREG(mode)) in xchk_inode_flags2()
229 uint16_t mode; in xchk_dinode() local
238 mode = be16_to_cpu(dip->di_mode); in xchk_dinode()
239 switch (mode & S_IFMT) { in xchk_dinode()
291 if (!S_ISCHR(mode) && !S_ISBLK(mode) && in xchk_dinode()
292 !S_ISFIFO(mode) && !S_ISSOCK(mode)) in xchk_dinode()
296 if (!S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode()
300 if (!S_ISREG(mode) && !S_ISDIR(mode) && !S_ISLNK(mode)) in xchk_dinode()
304 if (!S_ISREG(mode) && !S_ISDIR(mode)) in xchk_dinode()
328 if (!S_ISDIR(mode) && !S_ISREG(mode) && !S_ISLNK(mode) && isize != 0) in xchk_dinode()
332 if (S_ISDIR(mode) && (isize == 0 || isize >= XFS_DIR2_SPACE_SIZE)) in xchk_dinode()
336 if (S_ISLNK(mode) && (isize == 0 || isize >= XFS_SYMLINK_MAXLEN)) in xchk_dinode()
367 xchk_inode_flags(sc, dip, ino, mode, flags); in xchk_dinode()
369 xchk_inode_extsize(sc, dip, ino, mode, flags); in xchk_dinode()
422 xchk_inode_flags2(sc, dip, ino, mode, flags, flags2); in xchk_dinode()
423 xchk_inode_cowextsize(sc, dip, ino, mode, flags, in xchk_dinode()