Lines Matching refs:namest

646 	xfs_dir_leaf_name_t *namest;  in xfs_dir_leaf_to_shortform()  local
674 namest = XFS_DIR_LEAF_NAMESTRUCT(leaf, INT_GET(entry->nameidx, ARCH_CONVERT)); in xfs_dir_leaf_to_shortform()
676 (namest->name[0] == '.') && in xfs_dir_leaf_to_shortform()
677 (namest->name[1] == '.')) { in xfs_dir_leaf_to_shortform()
678 XFS_DIR_SF_GET_DIRINO_ARCH(&namest->inumber, &parent, ARCH_CONVERT); in xfs_dir_leaf_to_shortform()
680 } else if ((entry->namelen == 1) && (namest->name[0] == '.')) { in xfs_dir_leaf_to_shortform()
706 namest = XFS_DIR_LEAF_NAMESTRUCT(leaf, INT_GET(entry->nameidx, ARCH_CONVERT)); in xfs_dir_leaf_to_shortform()
707 args.name = (char *)(namest->name); in xfs_dir_leaf_to_shortform()
710 XFS_DIR_SF_GET_DIRINO_ARCH(&namest->inumber, &args.inumber, ARCH_CONVERT); in xfs_dir_leaf_to_shortform()
954 xfs_dir_leaf_name_t *namest; in xfs_dir_leaf_add_work() local
997 namest = XFS_DIR_LEAF_NAMESTRUCT(leaf, INT_GET(entry->nameidx, ARCH_CONVERT)); in xfs_dir_leaf_add_work()
998 XFS_DIR_SF_PUT_DIRINO_ARCH(&args->inumber, &namest->inumber, ARCH_CONVERT); in xfs_dir_leaf_add_work()
999 memcpy(namest->name, args->name, args->namelen); in xfs_dir_leaf_add_work()
1001 XFS_DA_LOGRANGE(leaf, namest, XFS_DIR_LEAF_ENTSIZE_BYENTRY(entry))); in xfs_dir_leaf_add_work()
1462 xfs_dir_leaf_name_t *namest; in xfs_dir_leaf_remove() local
1550 namest = XFS_DIR_LEAF_NAMESTRUCT(leaf, INT_GET(entry->nameidx, ARCH_CONVERT)); in xfs_dir_leaf_remove()
1551 memset((char *)namest, 0, entsize); in xfs_dir_leaf_remove()
1552 xfs_da_log_buf(trans, bp, XFS_DA_LOGRANGE(leaf, namest, entsize)); in xfs_dir_leaf_remove()
1711 xfs_dir_leaf_name_t *namest; in xfs_dir_leaf_lookup_int() local
1760 namest = XFS_DIR_LEAF_NAMESTRUCT(leaf, INT_GET(entry->nameidx, ARCH_CONVERT)); in xfs_dir_leaf_lookup_int()
1762 namest->name[0] == args->name[0] && in xfs_dir_leaf_lookup_int()
1763 memcmp(args->name, namest->name, args->namelen) == 0) { in xfs_dir_leaf_lookup_int()
1764 XFS_DIR_SF_GET_DIRINO_ARCH(&namest->inumber, &args->inumber, ARCH_CONVERT); in xfs_dir_leaf_lookup_int()
1949 xfs_dir_leaf_name_t *namest; in xfs_dir_leaf_getdents_int() local
1979 namest = XFS_DIR_LEAF_NAMESTRUCT(leaf, in xfs_dir_leaf_getdents_int()
1983 ((char *)namest < (char *)leaf) || in xfs_dir_leaf_getdents_int()
1984 ((char *)namest >= (char *)leaf + XFS_LBSIZE(mp)))) { in xfs_dir_leaf_getdents_int()
2042 namest = XFS_DIR_LEAF_NAMESTRUCT(leaf, in xfs_dir_leaf_getdents_int()
2046 ((char *)namest < (char *)leaf) || in xfs_dir_leaf_getdents_int()
2047 ((char *)namest >= (char *)leaf + XFS_LBSIZE(mp)))) { in xfs_dir_leaf_getdents_int()
2143 p.ino = XFS_GET_DIR_INO_ARCH(mp, namest->inumber, ARCH_CONVERT); in xfs_dir_leaf_getdents_int()
2147 p.name = (char *)namest->name; in xfs_dir_leaf_getdents_int()