Lines Matching refs:ilf
333 struct xfs_inode_log_format *ilf, in xfs_inode_item_format_data_fork() argument
358 ilf->ilf_dsize = data_bytes; in xfs_inode_item_format_data_fork()
359 ilf->ilf_size++; in xfs_inode_item_format_data_fork()
374 ilf->ilf_dsize = ip->i_df.if_broot_bytes; in xfs_inode_item_format_data_fork()
375 ilf->ilf_size++; in xfs_inode_item_format_data_fork()
391 ilf->ilf_dsize = (unsigned)ip->i_df.if_bytes; in xfs_inode_item_format_data_fork()
392 ilf->ilf_size++; in xfs_inode_item_format_data_fork()
401 ilf->ilf_u.ilfu_rdev = sysv_encode_dev(VFS_I(ip)->i_rdev); in xfs_inode_item_format_data_fork()
412 struct xfs_inode_log_format *ilf, in xfs_inode_item_format_attr_fork() argument
436 ilf->ilf_asize = data_bytes; in xfs_inode_item_format_attr_fork()
437 ilf->ilf_size++; in xfs_inode_item_format_attr_fork()
453 ilf->ilf_asize = ip->i_af.if_broot_bytes; in xfs_inode_item_format_attr_fork()
454 ilf->ilf_size++; in xfs_inode_item_format_attr_fork()
468 ilf->ilf_asize = (unsigned)ip->i_af.if_bytes; in xfs_inode_item_format_attr_fork()
469 ilf->ilf_size++; in xfs_inode_item_format_attr_fork()
640 struct xfs_inode_log_format *ilf; in xfs_inode_item_format() local
642 ilf = xlog_prepare_iovec(lv, &vecp, XLOG_REG_TYPE_IFORMAT); in xfs_inode_item_format()
643 ilf->ilf_type = XFS_LI_INODE; in xfs_inode_item_format()
644 ilf->ilf_ino = ip->i_ino; in xfs_inode_item_format()
645 ilf->ilf_blkno = ip->i_imap.im_blkno; in xfs_inode_item_format()
646 ilf->ilf_len = ip->i_imap.im_len; in xfs_inode_item_format()
647 ilf->ilf_boffset = ip->i_imap.im_boffset; in xfs_inode_item_format()
648 ilf->ilf_fields = XFS_ILOG_CORE; in xfs_inode_item_format()
649 ilf->ilf_size = 2; /* format + core */ in xfs_inode_item_format()
655 ilf->ilf_dsize = 0; in xfs_inode_item_format()
656 ilf->ilf_asize = 0; in xfs_inode_item_format()
657 ilf->ilf_pad = 0; in xfs_inode_item_format()
658 memset(&ilf->ilf_u, 0, sizeof(ilf->ilf_u)); in xfs_inode_item_format()
660 xlog_finish_iovec(lv, vecp, sizeof(*ilf)); in xfs_inode_item_format()
663 xfs_inode_item_format_data_fork(iip, ilf, lv, &vecp); in xfs_inode_item_format()
665 xfs_inode_item_format_attr_fork(iip, ilf, lv, &vecp); in xfs_inode_item_format()
672 ilf->ilf_fields |= (iip->ili_fields & ~XFS_ILOG_TIMESTAMP); in xfs_inode_item_format()