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()
154 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk_iext_counters() argument
157 if (xfs_log_dinode_has_large_extent_counts(from)) { in xfs_log_dinode_to_disk_iext_counters()
158 to->di_big_nextents = cpu_to_be64(from->di_big_nextents); in xfs_log_dinode_to_disk_iext_counters()
159 to->di_big_anextents = cpu_to_be32(from->di_big_anextents); in xfs_log_dinode_to_disk_iext_counters()
160 to->di_nrext64_pad = cpu_to_be16(from->di_nrext64_pad); in xfs_log_dinode_to_disk_iext_counters()
162 to->di_nextents = cpu_to_be32(from->di_nextents); in xfs_log_dinode_to_disk_iext_counters()
163 to->di_anextents = cpu_to_be16(from->di_anextents); in xfs_log_dinode_to_disk_iext_counters()
170 struct xfs_log_dinode *from, in xfs_log_dinode_to_disk() argument
174 to->di_magic = cpu_to_be16(from->di_magic); in xfs_log_dinode_to_disk()
175 to->di_mode = cpu_to_be16(from->di_mode); in xfs_log_dinode_to_disk()
176 to->di_version = from->di_version; in xfs_log_dinode_to_disk()
177 to->di_format = from->di_format; in xfs_log_dinode_to_disk()
179 to->di_uid = cpu_to_be32(from->di_uid); in xfs_log_dinode_to_disk()
180 to->di_gid = cpu_to_be32(from->di_gid); in xfs_log_dinode_to_disk()
181 to->di_nlink = cpu_to_be32(from->di_nlink); in xfs_log_dinode_to_disk()
182 to->di_projid_lo = cpu_to_be16(from->di_projid_lo); in xfs_log_dinode_to_disk()
183 to->di_projid_hi = cpu_to_be16(from->di_projid_hi); in xfs_log_dinode_to_disk()
185 to->di_atime = xfs_log_dinode_to_disk_ts(from, from->di_atime); in xfs_log_dinode_to_disk()
186 to->di_mtime = xfs_log_dinode_to_disk_ts(from, from->di_mtime); in xfs_log_dinode_to_disk()
187 to->di_ctime = xfs_log_dinode_to_disk_ts(from, from->di_ctime); in xfs_log_dinode_to_disk()
189 to->di_size = cpu_to_be64(from->di_size); in xfs_log_dinode_to_disk()
190 to->di_nblocks = cpu_to_be64(from->di_nblocks); in xfs_log_dinode_to_disk()
191 to->di_extsize = cpu_to_be32(from->di_extsize); in xfs_log_dinode_to_disk()
192 to->di_forkoff = from->di_forkoff; in xfs_log_dinode_to_disk()
193 to->di_aformat = from->di_aformat; in xfs_log_dinode_to_disk()
194 to->di_dmevmask = cpu_to_be32(from->di_dmevmask); in xfs_log_dinode_to_disk()
195 to->di_dmstate = cpu_to_be16(from->di_dmstate); in xfs_log_dinode_to_disk()
196 to->di_flags = cpu_to_be16(from->di_flags); in xfs_log_dinode_to_disk()
197 to->di_gen = cpu_to_be32(from->di_gen); in xfs_log_dinode_to_disk()
199 if (from->di_version == 3) { in xfs_log_dinode_to_disk()
200 to->di_changecount = cpu_to_be64(from->di_changecount); in xfs_log_dinode_to_disk()
201 to->di_crtime = xfs_log_dinode_to_disk_ts(from, in xfs_log_dinode_to_disk()
202 from->di_crtime); in xfs_log_dinode_to_disk()
203 to->di_flags2 = cpu_to_be64(from->di_flags2); in xfs_log_dinode_to_disk()
204 to->di_cowextsize = cpu_to_be32(from->di_cowextsize); in xfs_log_dinode_to_disk()
205 to->di_ino = cpu_to_be64(from->di_ino); in xfs_log_dinode_to_disk()
208 uuid_copy(&to->di_uuid, &from->di_uuid); in xfs_log_dinode_to_disk()
211 to->di_flushiter = cpu_to_be16(from->di_flushiter); in xfs_log_dinode_to_disk()
215 xfs_log_dinode_to_disk_iext_counters(from, to); in xfs_log_dinode_to_disk()