Home
last modified time | relevance | path

Searched refs:bests (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/fs/xfs/
Dxfs_dir2_node.c103 (uint)((char *)&free->bests[first] - (char *)free), in xfs_dir2_free_log_bests()
104 (uint)((char *)&free->bests[last] - (char *)free + in xfs_dir2_free_log_bests()
105 sizeof(free->bests[0]) - 1)); in xfs_dir2_free_log_bests()
182 for (i = n = 0, from = XFS_DIR2_LEAF_BESTS_P_ARCH(ltp, ARCH_CONVERT), to = free->bests; in xfs_dir2_leaf_to_node()
548 if (unlikely(INT_GET(free->bests[fi], ARCH_CONVERT) == NULLDATAOFF)) { in xfs_dir2_leafn_lookup_int()
553 if (INT_GET(free->bests[fi], ARCH_CONVERT) >= length) { in xfs_dir2_leafn_lookup_int()
1006 i >= 0 && INT_GET(free->bests[i], ARCH_CONVERT) == NULLDATAOFF; in xfs_dir2_leafn_remove()
1016 INT_SET(free->bests[findex], ARCH_CONVERT, NULLDATAOFF); in xfs_dir2_leafn_remove()
1042 INT_SET(free->bests[findex], ARCH_CONVERT, longest); in xfs_dir2_leafn_remove()
1431 ASSERT(INT_GET(free->bests[findex], ARCH_CONVERT) != NULLDATAOFF); in xfs_dir2_node_addname_int()
[all …]
Dxfs_dir2_node.h73 xfs_dir2_data_off_t bests[1]; /* best free counts */ member
Dxfs_dir2_leaf.h107 xfs_dir2_data_off_t bests[1]; /* best free counts */ member
Dxfs_dir2_leaf.c278 (use_block != -1 ? 0 : (uint)sizeof(leaf->bests[0])); in xfs_dir2_leaf_addname()
1845 INT_GET(free->hdr.nvalid, ARCH_CONVERT) * (uint)sizeof(leaf->bests[0]) + in xfs_dir2_node_to_leaf()
1868 memcpy(XFS_DIR2_LEAF_BESTS_P_ARCH(ltp, ARCH_CONVERT), free->bests, in xfs_dir2_node_to_leaf()
1869 INT_GET(ltp->bestcount, ARCH_CONVERT) * sizeof(leaf->bests[0])); in xfs_dir2_node_to_leaf()