• Home
  • Raw
  • Download

Lines Matching refs:raw_inode

892 #define EXT4_INODE_SET_XTIME(xtime, inode, raw_inode)				\  argument
894 if (EXT4_FITS_IN_INODE(raw_inode, EXT4_I(inode), xtime ## _extra)) {\
895 (raw_inode)->xtime = cpu_to_le32((inode)->xtime.tv_sec); \
896 (raw_inode)->xtime ## _extra = \
900 (raw_inode)->xtime = cpu_to_le32(clamp_t(int32_t, (inode)->xtime.tv_sec, S32_MIN, S32_MAX)); \
903 #define EXT4_EINODE_SET_XTIME(xtime, einode, raw_inode) \ argument
905 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime)) \
906 (raw_inode)->xtime = cpu_to_le32((einode)->xtime.tv_sec); \
907 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime ## _extra)) \
908 (raw_inode)->xtime ## _extra = \
912 #define EXT4_INODE_GET_XTIME(xtime, inode, raw_inode) \ argument
914 (inode)->xtime.tv_sec = (signed)le32_to_cpu((raw_inode)->xtime); \
915 if (EXT4_FITS_IN_INODE(raw_inode, EXT4_I(inode), xtime ## _extra)) { \
917 raw_inode->xtime ## _extra); \
924 #define EXT4_EINODE_GET_XTIME(xtime, einode, raw_inode) \ argument
926 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime)) \
928 (signed)le32_to_cpu((raw_inode)->xtime); \
931 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime ## _extra)) \
933 raw_inode->xtime ## _extra); \
3195 struct ext4_inode *raw_inode) in ext4_isize() argument
3198 S_ISREG(le16_to_cpu(raw_inode->i_mode))) in ext4_isize()
3199 return ((loff_t)le32_to_cpu(raw_inode->i_size_high) << 32) | in ext4_isize()
3200 le32_to_cpu(raw_inode->i_size_lo); in ext4_isize()
3202 return (loff_t) le32_to_cpu(raw_inode->i_size_lo); in ext4_isize()
3205 static inline void ext4_isize_set(struct ext4_inode *raw_inode, loff_t i_size) in ext4_isize_set() argument
3207 raw_inode->i_size_lo = cpu_to_le32(i_size); in ext4_isize_set()
3208 raw_inode->i_size_high = cpu_to_le32(i_size >> 32); in ext4_isize_set()