Lines Matching refs:xfs_dir_leaf_entry_t
645 xfs_dir_leaf_entry_t *entry; in xfs_dir_leaf_to_shortform()
890 tablesize = (INT_GET(hdr->count, ARCH_CONVERT) + 1) * (uint)sizeof(xfs_dir_leaf_entry_t) in xfs_dir_leaf_add()
902 tmp += (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_add()
927 (uint)sizeof(xfs_dir_leaf_entry_t) : 0, in xfs_dir_leaf_add()
936 (entsize + (uint)sizeof(xfs_dir_leaf_entry_t))) in xfs_dir_leaf_add()
953 xfs_dir_leaf_entry_t *entry; in xfs_dir_leaf_add_work()
972 tmp *= (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_add_work()
1009 tmp = (INT_GET(hdr->count, ARCH_CONVERT)-1) * (uint)sizeof(xfs_dir_leaf_entry_t) in xfs_dir_leaf_add_work()
1014 INT_MOD(map->base, ARCH_CONVERT, (uint)sizeof(xfs_dir_leaf_entry_t)); in xfs_dir_leaf_add_work()
1015 INT_MOD(map->size, ARCH_CONVERT, -((uint)sizeof(xfs_dir_leaf_entry_t))); in xfs_dir_leaf_add_work()
1156 space += count * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_rebalance()
1162 max -= INT_GET(hdr2->count, ARCH_CONVERT) * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_rebalance()
1186 space += count * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_rebalance()
1192 max -= INT_GET(hdr1->count, ARCH_CONVERT) * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_rebalance()
1240 xfs_dir_leaf_entry_t *entry; in xfs_dir_leaf_figure_balance()
1259 half = (max+1) * (uint)(sizeof(*entry)+sizeof(xfs_dir_leaf_entry_t)-1); in xfs_dir_leaf_figure_balance()
1305 count * (uint)(sizeof(*entry)+sizeof(xfs_dir_leaf_entry_t)-1); in xfs_dir_leaf_figure_balance()
1307 totallen -= (sizeof(*entry)+sizeof(xfs_dir_leaf_entry_t)-1) + in xfs_dir_leaf_figure_balance()
1350 count * (uint)sizeof(xfs_dir_leaf_entry_t) + in xfs_dir_leaf_toosmall()
1414 bytes -= count * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_toosmall()
1461 xfs_dir_leaf_entry_t *entry; in xfs_dir_leaf_remove()
1484 tablesize = INT_GET(hdr->count, ARCH_CONVERT) * (uint)sizeof(xfs_dir_leaf_entry_t) in xfs_dir_leaf_remove()
1495 INT_MOD(map->base, ARCH_CONVERT, -((uint)sizeof(xfs_dir_leaf_entry_t))); in xfs_dir_leaf_remove()
1496 INT_MOD(map->size, ARCH_CONVERT, (uint)sizeof(xfs_dir_leaf_entry_t)); in xfs_dir_leaf_remove()
1555 tmp = (INT_GET(hdr->count, ARCH_CONVERT) - index) * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_remove()
1561 memset((char *)entry, 0, sizeof(xfs_dir_leaf_entry_t)); in xfs_dir_leaf_remove()
1592 tmp += INT_GET(leaf->hdr.count, ARCH_CONVERT) * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_remove()
1710 xfs_dir_leaf_entry_t *entry; in xfs_dir_leaf_lookup_int()
1791 xfs_dir_leaf_entry_t *entry_s, *entry_d; in xfs_dir_leaf_moveents()
1823 tmp *= (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_moveents()
1852 tmp = INT_GET(hdr_d->count, ARCH_CONVERT) * (uint)sizeof(xfs_dir_leaf_entry_t) in xfs_dir_leaf_moveents()
1862 tmp = count * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_moveents()
1872 tmp *= (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_moveents()
1877 tmp = count * (uint)sizeof(xfs_dir_leaf_entry_t); in xfs_dir_leaf_moveents()
1887 …p[0].base, ARCH_CONVERT, INT_GET(hdr_d->count, ARCH_CONVERT) * (uint)sizeof(xfs_dir_leaf_entry_t)); in xfs_dir_leaf_moveents()
1948 xfs_dir_leaf_entry_t *entry; in xfs_dir_leaf_getdents_int()