Lines Matching refs:xtime
919 #define EXT4_INODE_SET_XTIME(xtime, inode, raw_inode) \ argument
921 if (EXT4_FITS_IN_INODE(raw_inode, EXT4_I(inode), xtime ## _extra)) {\
922 (raw_inode)->xtime = cpu_to_le32((inode)->xtime.tv_sec); \
923 (raw_inode)->xtime ## _extra = \
924 ext4_encode_extra_time(&(inode)->xtime); \
927 (raw_inode)->xtime = cpu_to_le32(clamp_t(int32_t, (inode)->xtime.tv_sec, S32_MIN, S32_MAX)); \
930 #define EXT4_EINODE_SET_XTIME(xtime, einode, raw_inode) \ argument
932 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime)) \
933 (raw_inode)->xtime = cpu_to_le32((einode)->xtime.tv_sec); \
934 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime ## _extra)) \
935 (raw_inode)->xtime ## _extra = \
936 ext4_encode_extra_time(&(einode)->xtime); \
939 #define EXT4_INODE_GET_XTIME(xtime, inode, raw_inode) \ argument
941 (inode)->xtime.tv_sec = (signed)le32_to_cpu((raw_inode)->xtime); \
942 if (EXT4_FITS_IN_INODE(raw_inode, EXT4_I(inode), xtime ## _extra)) { \
943 ext4_decode_extra_time(&(inode)->xtime, \
944 raw_inode->xtime ## _extra); \
947 (inode)->xtime.tv_nsec = 0; \
951 #define EXT4_EINODE_GET_XTIME(xtime, einode, raw_inode) \ argument
953 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime)) \
954 (einode)->xtime.tv_sec = \
955 (signed)le32_to_cpu((raw_inode)->xtime); \
957 (einode)->xtime.tv_sec = 0; \
958 if (EXT4_FITS_IN_INODE(raw_inode, einode, xtime ## _extra)) \
959 ext4_decode_extra_time(&(einode)->xtime, \
960 raw_inode->xtime ## _extra); \
962 (einode)->xtime.tv_nsec = 0; \