Lines Matching refs:dep
44 xfs_dir2_data_entry_t *dep; /* data entry */ in __xfs_dir3_data_check() local
175 dep = (xfs_dir2_data_entry_t *)p; in __xfs_dir3_data_check()
176 if (dep->namelen == 0) in __xfs_dir3_data_check()
178 if (xfs_dir_ino_validate(mp, be64_to_cpu(dep->inumber))) in __xfs_dir3_data_check()
180 if (endp < p + ops->data_entsize(dep->namelen)) in __xfs_dir3_data_check()
182 if (be16_to_cpu(*ops->data_entry_tag_p(dep)) != in __xfs_dir3_data_check()
183 (char *)dep - (char *)hdr) in __xfs_dir3_data_check()
185 if (ops->data_get_ftype(dep) >= XFS_DIR3_FT_MAX) in __xfs_dir3_data_check()
193 ((char *)dep - (char *)hdr)); in __xfs_dir3_data_check()
194 name.name = dep->name; in __xfs_dir3_data_check()
195 name.len = dep->namelen; in __xfs_dir3_data_check()
205 p += ops->data_entsize(dep->namelen); in __xfs_dir3_data_check()
572 xfs_dir2_data_entry_t *dep; /* active data entry */ in xfs_dir2_data_freescan_int() local
612 dep = (xfs_dir2_data_entry_t *)p; in xfs_dir2_data_freescan_int()
613 ASSERT((char *)dep - (char *)hdr == in xfs_dir2_data_freescan_int()
614 be16_to_cpu(*ops->data_entry_tag_p(dep))); in xfs_dir2_data_freescan_int()
615 p += ops->data_entsize(dep->namelen); in xfs_dir2_data_freescan_int()
713 xfs_dir2_data_entry_t *dep) /* data entry pointer */ in xfs_dir2_data_log_entry() argument
722 xfs_trans_log_buf(args->trans, bp, (uint)((char *)dep - (char *)hdr), in xfs_dir2_data_log_entry()
723 (uint)((char *)(args->dp->d_ops->data_entry_tag_p(dep) + 1) - in xfs_dir2_data_log_entry()