Lines Matching refs:namelen

65 	int			namelen;	/* total name bytes */  in xfs_dir2_block_sfsize()  local
80 count = i8count = namelen = 0; in xfs_dir2_block_sfsize()
100 isdot = dep->namelen == 1 && dep->name[0] == '.'; in xfs_dir2_block_sfsize()
102 dep->namelen == 2 && in xfs_dir2_block_sfsize()
111 namelen += dep->namelen + has_ftype; in xfs_dir2_block_sfsize()
119 namelen + /* name */ in xfs_dir2_block_sfsize()
202 if (dep->namelen == 1 && dep->name[0] == '.') in xfs_dir2_block_to_sf()
207 else if (dep->namelen == 2 && in xfs_dir2_block_to_sf()
215 sfep->namelen = dep->namelen; in xfs_dir2_block_to_sf()
219 memcpy(sfep->name, dep->name, dep->namelen); in xfs_dir2_block_to_sf()
227 ptr += dp->d_ops->data_entsize(dep->namelen); in xfs_dir2_block_to_sf()
297 incr_isize = dp->d_ops->sf_entsize(sfp, args->namelen); in xfs_dir2_sf_addname()
381 xfs_idata_realloc(dp, dp->d_ops->sf_entsize(sfp, args->namelen), in xfs_dir2_sf_addname_easy()
391 sfep->namelen = args->namelen; in xfs_dir2_sf_addname_easy()
393 memcpy(sfep->name, args->name, sfep->namelen); in xfs_dir2_sf_addname_easy()
452 add_datasize = dp->d_ops->data_entsize(args->namelen), in xfs_dir2_sf_addname_hard()
455 offset = new_offset + dp->d_ops->data_entsize(oldsfep->namelen), in xfs_dir2_sf_addname_hard()
482 sfep->namelen = args->namelen; in xfs_dir2_sf_addname_hard()
484 memcpy(sfep->name, args->name, sfep->namelen); in xfs_dir2_sf_addname_hard()
528 size = dp->d_ops->data_entsize(args->namelen); in xfs_dir2_sf_addname_pick()
541 dp->d_ops->data_entsize(sfep->namelen); in xfs_dir2_sf_addname_pick()
607 dp->d_ops->data_entsize(sfep->namelen); in xfs_dir2_sf_check()
678 if (sfep->namelen == 0) in xfs_dir2_sf_verify()
707 dops->data_entsize(sfep->namelen); in xfs_dir2_sf_verify()
813 if (args->namelen == 1 && args->name[0] == '.') { in xfs_dir2_sf_lookup()
822 if (args->namelen == 2 && in xfs_dir2_sf_lookup()
841 sfep->namelen); in xfs_dir2_sf_lookup()
859 error = xfs_dir_cilookup_result(args, ci_sfep->name, ci_sfep->namelen); in xfs_dir2_sf_lookup()
902 if (xfs_da_compname(args, sfep->name, sfep->namelen) == in xfs_dir2_sf_removename()
918 entsize = dp->d_ops->sf_entsize(sfp, args->namelen); in xfs_dir2_sf_removename()
1008 ASSERT(args->namelen != 1 || args->name[0] != '.'); in xfs_dir2_sf_replace()
1012 if (args->namelen == 2 && in xfs_dir2_sf_replace()
1024 if (xfs_da_compname(args, sfep->name, sfep->namelen) == in xfs_dir2_sf_replace()
1131 sfep->namelen = oldsfep->namelen; in xfs_dir2_sf_toino4()
1133 memcpy(sfep->name, oldsfep->name, sfep->namelen); in xfs_dir2_sf_toino4()
1204 sfep->namelen = oldsfep->namelen; in xfs_dir2_sf_toino8()
1206 memcpy(sfep->name, oldsfep->name, sfep->namelen); in xfs_dir2_sf_toino8()