Lines Matching refs:dep

43 	struct xfs_dir2_data_entry	*dep)  in xfs_dir2_data_entry_tag_p()  argument
45 return (__be16 *)((char *)dep + in xfs_dir2_data_entry_tag_p()
46 xfs_dir2_data_entsize(mp, dep->namelen) - sizeof(__be16)); in xfs_dir2_data_entry_tag_p()
52 struct xfs_dir2_data_entry *dep) in xfs_dir2_data_get_ftype() argument
55 uint8_t ftype = dep->name[dep->namelen]; in xfs_dir2_data_get_ftype()
67 struct xfs_dir2_data_entry *dep, in xfs_dir2_data_put_ftype() argument
71 ASSERT(dep->namelen != 0); in xfs_dir2_data_put_ftype()
74 dep->name[dep->namelen] = ftype; in xfs_dir2_data_put_ftype()
179 struct xfs_dir2_data_entry *dep = bp->b_addr + offset; in __xfs_dir3_data_check() local
219 if (dep->namelen == 0) in __xfs_dir3_data_check()
221 if (!xfs_verify_dir_ino(mp, be64_to_cpu(dep->inumber))) in __xfs_dir3_data_check()
223 if (offset + xfs_dir2_data_entsize(mp, dep->namelen) > end) in __xfs_dir3_data_check()
225 if (be16_to_cpu(*xfs_dir2_data_entry_tag_p(mp, dep)) != offset) in __xfs_dir3_data_check()
227 if (xfs_dir2_data_get_ftype(mp, dep) >= XFS_DIR3_FT_MAX) in __xfs_dir3_data_check()
235 ((char *)dep - (char *)hdr)); in __xfs_dir3_data_check()
236 name.name = dep->name; in __xfs_dir3_data_check()
237 name.len = dep->namelen; in __xfs_dir3_data_check()
247 offset += xfs_dir2_data_entsize(mp, dep->namelen); in __xfs_dir3_data_check()
663 struct xfs_dir2_data_entry *dep = addr + offset; in xfs_dir2_data_freescan() local
680 be16_to_cpu(*xfs_dir2_data_entry_tag_p(mp, dep))); in xfs_dir2_data_freescan()
681 offset += xfs_dir2_data_entsize(mp, dep->namelen); in xfs_dir2_data_freescan()
764 xfs_dir2_data_entry_t *dep) /* data entry pointer */ in xfs_dir2_data_log_entry() argument
774 xfs_trans_log_buf(args->trans, bp, (uint)((char *)dep - (char *)hdr), in xfs_dir2_data_log_entry()
775 (uint)((char *)(xfs_dir2_data_entry_tag_p(mp, dep) + 1) - in xfs_dir2_data_log_entry()