Lines Matching refs:base
270 int base, size=0, end, totsize, i;
276 base = sizeof(xfs_attr_sf_hdr_t);
281 base += size, i++) {
301 end = base + size;
304 memmove(&((char *)sf)[base], &((char *)sf)[end], totsize - end);
919 hdr->freemap[0].base = cpu_to_be16(sizeof(xfs_attr_leaf_hdr_t));
1016 if (be16_to_cpu(map->base) < be16_to_cpu(hdr->firstused))
1089 ASSERT(be16_to_cpu(map->base) < XFS_LBSIZE(mp));
1090 ASSERT((be16_to_cpu(map->base) & 0x3) == 0);
1099 entry->nameidx = cpu_to_be16(be16_to_cpu(map->base) +
1163 if (be16_to_cpu(map->base) == tmp) {
1164 be16_add(&map->base, sizeof(xfs_attr_leaf_entry_t));
1209 hdr_d->freemap[0].base = cpu_to_be16(sizeof(xfs_attr_leaf_hdr_t));
1674 ASSERT(be16_to_cpu(map->base) < XFS_LBSIZE(mp));
1676 if (be16_to_cpu(map->base) == tablesize) {
1677 be16_add(&map->base,
1682 if ((be16_to_cpu(map->base) + be16_to_cpu(map->size))
1685 } else if (be16_to_cpu(map->base)
1704 hdr->freemap[after].base = 0;
1712 map->base = entry->nameidx;
1721 map->base = cpu_to_be16(be16_to_cpu(entry->nameidx));
2205 hdr_d->freemap[0].base = cpu_to_be16(sizeof(xfs_attr_leaf_hdr_t));
2206 be16_add(&hdr_d->freemap[0].base, be16_to_cpu(hdr_d->count) *
2209 - be16_to_cpu(hdr_d->freemap[0].base));
2210 hdr_d->freemap[1].base = 0;
2211 hdr_d->freemap[2].base = 0;