Lines Matching refs:dep
103 xfs_dir2_data_entry_t *dep; /* data entry in the block */ in xfs_dir2_block_sfsize() local
128 dep = (xfs_dir2_data_entry_t *) in xfs_dir2_block_sfsize()
135 isdot = dep->namelen == 1 && dep->name[0] == '.'; in xfs_dir2_block_sfsize()
137 dep->namelen == 2 && in xfs_dir2_block_sfsize()
138 dep->name[0] == '.' && dep->name[1] == '.'; in xfs_dir2_block_sfsize()
141 i8count += INT_GET(dep->inumber, ARCH_CONVERT) > XFS_DIR2_MAX_SHORT_INUM; in xfs_dir2_block_sfsize()
145 namelen += dep->namelen; in xfs_dir2_block_sfsize()
147 parent = INT_GET(dep->inumber, ARCH_CONVERT); in xfs_dir2_block_sfsize()
183 xfs_dir2_data_entry_t *dep; /* data entry pointer */ in xfs_dir2_block_to_sf() local
248 dep = (xfs_dir2_data_entry_t *)ptr; in xfs_dir2_block_to_sf()
252 if (dep->namelen == 1 && dep->name[0] == '.') in xfs_dir2_block_to_sf()
253 ASSERT(INT_GET(dep->inumber, ARCH_CONVERT) == dp->i_ino); in xfs_dir2_block_to_sf()
257 else if (dep->namelen == 2 && in xfs_dir2_block_to_sf()
258 dep->name[0] == '.' && dep->name[1] == '.') in xfs_dir2_block_to_sf()
259 ASSERT(INT_GET(dep->inumber, ARCH_CONVERT) == in xfs_dir2_block_to_sf()
265 sfep->namelen = dep->namelen; in xfs_dir2_block_to_sf()
268 ((char *)dep - (char *)block), ARCH_CONVERT); in xfs_dir2_block_to_sf()
269 memcpy(sfep->name, dep->name, dep->namelen); in xfs_dir2_block_to_sf()
270 temp=INT_GET(dep->inumber, ARCH_CONVERT); in xfs_dir2_block_to_sf()
275 ptr += XFS_DIR2_DATA_ENTSIZE(dep->namelen); in xfs_dir2_block_to_sf()