• Home
  • Raw
  • Download

Lines Matching refs:to

345 	struct xfs_log_dinode	*to)  in xfs_copy_dm_fields_to_log_dinode()  argument
353 to->di_dmevmask = be32_to_cpu(dip->di_dmevmask); in xfs_copy_dm_fields_to_log_dinode()
354 to->di_dmstate = be16_to_cpu(dip->di_dmstate); in xfs_copy_dm_fields_to_log_dinode()
356 to->di_dmevmask = 0; in xfs_copy_dm_fields_to_log_dinode()
357 to->di_dmstate = 0; in xfs_copy_dm_fields_to_log_dinode()
364 struct xfs_log_dinode *to, in xfs_inode_to_log_dinode() argument
369 to->di_magic = XFS_DINODE_MAGIC; in xfs_inode_to_log_dinode()
370 to->di_format = xfs_ifork_format(&ip->i_df); in xfs_inode_to_log_dinode()
371 to->di_uid = i_uid_read(inode); in xfs_inode_to_log_dinode()
372 to->di_gid = i_gid_read(inode); in xfs_inode_to_log_dinode()
373 to->di_projid_lo = ip->i_projid & 0xffff; in xfs_inode_to_log_dinode()
374 to->di_projid_hi = ip->i_projid >> 16; in xfs_inode_to_log_dinode()
376 memset(to->di_pad, 0, sizeof(to->di_pad)); in xfs_inode_to_log_dinode()
377 memset(to->di_pad3, 0, sizeof(to->di_pad3)); in xfs_inode_to_log_dinode()
378 to->di_atime = xfs_inode_to_log_dinode_ts(ip, inode->i_atime); in xfs_inode_to_log_dinode()
379 to->di_mtime = xfs_inode_to_log_dinode_ts(ip, inode->i_mtime); in xfs_inode_to_log_dinode()
380 to->di_ctime = xfs_inode_to_log_dinode_ts(ip, inode->i_ctime); in xfs_inode_to_log_dinode()
381 to->di_nlink = inode->i_nlink; in xfs_inode_to_log_dinode()
382 to->di_gen = inode->i_generation; in xfs_inode_to_log_dinode()
383 to->di_mode = inode->i_mode; in xfs_inode_to_log_dinode()
385 to->di_size = ip->i_disk_size; in xfs_inode_to_log_dinode()
386 to->di_nblocks = ip->i_nblocks; in xfs_inode_to_log_dinode()
387 to->di_extsize = ip->i_extsize; in xfs_inode_to_log_dinode()
388 to->di_nextents = xfs_ifork_nextents(&ip->i_df); in xfs_inode_to_log_dinode()
389 to->di_anextents = xfs_ifork_nextents(ip->i_afp); in xfs_inode_to_log_dinode()
390 to->di_forkoff = ip->i_forkoff; in xfs_inode_to_log_dinode()
391 to->di_aformat = xfs_ifork_format(ip->i_afp); in xfs_inode_to_log_dinode()
392 to->di_flags = ip->i_diflags; in xfs_inode_to_log_dinode()
394 xfs_copy_dm_fields_to_log_dinode(ip, to); in xfs_inode_to_log_dinode()
397 to->di_next_unlinked = NULLAGINO; in xfs_inode_to_log_dinode()
400 to->di_version = 3; in xfs_inode_to_log_dinode()
401 to->di_changecount = inode_peek_iversion(inode); in xfs_inode_to_log_dinode()
402 to->di_crtime = xfs_inode_to_log_dinode_ts(ip, ip->i_crtime); in xfs_inode_to_log_dinode()
403 to->di_flags2 = ip->i_diflags2; in xfs_inode_to_log_dinode()
404 to->di_cowextsize = ip->i_cowextsize; in xfs_inode_to_log_dinode()
405 to->di_ino = ip->i_ino; in xfs_inode_to_log_dinode()
406 to->di_lsn = lsn; in xfs_inode_to_log_dinode()
407 memset(to->di_pad2, 0, sizeof(to->di_pad2)); in xfs_inode_to_log_dinode()
408 uuid_copy(&to->di_uuid, &ip->i_mount->m_sb.sb_meta_uuid); in xfs_inode_to_log_dinode()
409 to->di_flushiter = 0; in xfs_inode_to_log_dinode()
411 to->di_version = 2; in xfs_inode_to_log_dinode()
412 to->di_flushiter = ip->i_flushiter; in xfs_inode_to_log_dinode()