Lines Matching refs:dep
786 xfs_dir2_data_entry_t *dep; /* data block entry */ in xfs_dir2_leafn_lookup_for_entry() local
873 dep = (xfs_dir2_data_entry_t *)((char *)curbp->b_addr + in xfs_dir2_leafn_lookup_for_entry()
881 cmp = xfs_dir2_compname(args, dep->name, dep->namelen); in xfs_dir2_leafn_lookup_for_entry()
888 args->inumber = be64_to_cpu(dep->inumber); in xfs_dir2_leafn_lookup_for_entry()
889 args->filetype = xfs_dir2_data_get_ftype(mp, dep); in xfs_dir2_leafn_lookup_for_entry()
894 state->extrablk.index = (int)((char *)dep - in xfs_dir2_leafn_lookup_for_entry()
1272 xfs_dir2_data_entry_t *dep; /* data block entry */ in xfs_dir2_leafn_remove() local
1321 dep = (xfs_dir2_data_entry_t *)((char *)hdr + off); in xfs_dir2_leafn_remove()
1326 xfs_dir2_data_entsize(dp->i_mount, dep->namelen), &needlog, in xfs_dir2_leafn_remove()
1899 struct xfs_dir2_data_entry *dep; /* data entry pointer */ in xfs_dir2_node_addname_int() local
1970 dep = (xfs_dir2_data_entry_t *)dup; in xfs_dir2_node_addname_int()
1971 dep->inumber = cpu_to_be64(args->inumber); in xfs_dir2_node_addname_int()
1972 dep->namelen = args->namelen; in xfs_dir2_node_addname_int()
1973 memcpy(dep->name, args->name, dep->namelen); in xfs_dir2_node_addname_int()
1974 xfs_dir2_data_put_ftype(dp->i_mount, dep, args->filetype); in xfs_dir2_node_addname_int()
1975 tagp = xfs_dir2_data_entry_tag_p(dp->i_mount, dep); in xfs_dir2_node_addname_int()
1976 *tagp = cpu_to_be16((char *)dep - (char *)hdr); in xfs_dir2_node_addname_int()
1977 xfs_dir2_data_log_entry(args, dbp, dep); in xfs_dir2_node_addname_int()
2097 xfs_dir2_data_entry_t *dep; in xfs_dir2_node_lookup() local
2099 dep = (xfs_dir2_data_entry_t *) in xfs_dir2_node_lookup()
2102 rval = xfs_dir_cilookup_result(args, dep->name, dep->namelen); in xfs_dir2_node_lookup()
2191 xfs_dir2_data_entry_t *dep; /* data entry changed */ in xfs_dir2_node_replace() local
2242 dep = (xfs_dir2_data_entry_t *) in xfs_dir2_node_replace()
2246 ASSERT(inum != be64_to_cpu(dep->inumber)); in xfs_dir2_node_replace()
2250 dep->inumber = cpu_to_be64(inum); in xfs_dir2_node_replace()
2251 xfs_dir2_data_put_ftype(state->mp, dep, ftype); in xfs_dir2_node_replace()
2252 xfs_dir2_data_log_entry(args, state->extrablk.bp, dep); in xfs_dir2_node_replace()