Lines Matching refs:from

127 	struct xfs_log_dinode		*from,  in xfs_log_dinode_to_disk_ts()  argument
134 if (xfs_log_dinode_has_bigtime(from)) in xfs_log_dinode_to_disk_ts()
147 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk() argument
151 to->di_magic = cpu_to_be16(from->di_magic); in xfs_log_dinode_to_disk()
152 to->di_mode = cpu_to_be16(from->di_mode); in xfs_log_dinode_to_disk()
153 to->di_version = from->di_version; in xfs_log_dinode_to_disk()
154 to->di_format = from->di_format; in xfs_log_dinode_to_disk()
156 to->di_uid = cpu_to_be32(from->di_uid); in xfs_log_dinode_to_disk()
157 to->di_gid = cpu_to_be32(from->di_gid); in xfs_log_dinode_to_disk()
158 to->di_nlink = cpu_to_be32(from->di_nlink); in xfs_log_dinode_to_disk()
159 to->di_projid_lo = cpu_to_be16(from->di_projid_lo); in xfs_log_dinode_to_disk()
160 to->di_projid_hi = cpu_to_be16(from->di_projid_hi); in xfs_log_dinode_to_disk()
161 memcpy(to->di_pad, from->di_pad, sizeof(to->di_pad)); in xfs_log_dinode_to_disk()
163 to->di_atime = xfs_log_dinode_to_disk_ts(from, from->di_atime); in xfs_log_dinode_to_disk()
164 to->di_mtime = xfs_log_dinode_to_disk_ts(from, from->di_mtime); in xfs_log_dinode_to_disk()
165 to->di_ctime = xfs_log_dinode_to_disk_ts(from, from->di_ctime); in xfs_log_dinode_to_disk()
167 to->di_size = cpu_to_be64(from->di_size); in xfs_log_dinode_to_disk()
168 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk()
169 to->di_extsize = cpu_to_be32(from->di_extsize); in xfs_log_dinode_to_disk()
170 to->di_nextents = cpu_to_be32(from->di_nextents); in xfs_log_dinode_to_disk()
171 to->di_anextents = cpu_to_be16(from->di_anextents); in xfs_log_dinode_to_disk()
172 to->di_forkoff = from->di_forkoff; in xfs_log_dinode_to_disk()
173 to->di_aformat = from->di_aformat; in xfs_log_dinode_to_disk()
174 to->di_dmevmask = cpu_to_be32(from->di_dmevmask); in xfs_log_dinode_to_disk()
175 to->di_dmstate = cpu_to_be16(from->di_dmstate); in xfs_log_dinode_to_disk()
176 to->di_flags = cpu_to_be16(from->di_flags); in xfs_log_dinode_to_disk()
177 to->di_gen = cpu_to_be32(from->di_gen); in xfs_log_dinode_to_disk()
179 if (from->di_version == 3) { in xfs_log_dinode_to_disk()
180 to->di_changecount = cpu_to_be64(from->di_changecount); in xfs_log_dinode_to_disk()
181 to->di_crtime = xfs_log_dinode_to_disk_ts(from, in xfs_log_dinode_to_disk()
182 from->di_crtime); in xfs_log_dinode_to_disk()
183 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_log_dinode_to_disk()
184 to->di_cowextsize = cpu_to_be32(from->di_cowextsize); in xfs_log_dinode_to_disk()
185 to->di_ino = cpu_to_be64(from->di_ino); in xfs_log_dinode_to_disk()
187 memcpy(to->di_pad2, from->di_pad2, sizeof(to->di_pad2)); in xfs_log_dinode_to_disk()
188 uuid_copy(&to->di_uuid, &from->di_uuid); in xfs_log_dinode_to_disk()
191 to->di_flushiter = cpu_to_be16(from->di_flushiter); in xfs_log_dinode_to_disk()