• Home
  • Raw
  • Download

Lines Matching refs:base

172 			to->freemap[i].base = be16_to_cpu(hdr3->freemap[i].base);  in xfs_attr3_leaf_hdr_from_disk()
186 to->freemap[i].base = be16_to_cpu(from->hdr.freemap[i].base); in xfs_attr3_leaf_hdr_from_disk()
215 hdr3->freemap[i].base = cpu_to_be16(from->freemap[i].base); in xfs_attr3_leaf_hdr_to_disk()
230 to->hdr.freemap[i].base = cpu_to_be16(from->freemap[i].base); in xfs_attr3_leaf_hdr_to_disk()
351 if (ichdr.freemap[i].base > mp->m_attr_geo->blksize) in xfs_attr3_leaf_verify()
353 if (ichdr.freemap[i].base & 0x3) in xfs_attr3_leaf_verify()
361 end = (uint32_t)ichdr.freemap[i].base + ichdr.freemap[i].size; in xfs_attr3_leaf_verify()
362 if (end < ichdr.freemap[i].base) in xfs_attr3_leaf_verify()
685 unsigned int base = sizeof(struct xfs_attr_sf_hdr); in xfs_attr_sf_findname() local
694 base += size, i++) { in xfs_attr_sf_findname()
706 *basep = base; in xfs_attr_sf_findname()
787 unsigned int base; in xfs_attr_shortform_remove() local
798 error = xfs_attr_sf_findname(args, &sfe, &base); in xfs_attr_shortform_remove()
806 end = base + size; in xfs_attr_shortform_remove()
809 memmove(&((char *)sf)[base], &((char *)sf)[end], totsize - end); in xfs_attr_shortform_remove()
1280 ichdr.freemap[0].base = sizeof(struct xfs_attr3_leaf_hdr); in xfs_attr3_leaf_create()
1283 ichdr.freemap[0].base = sizeof(struct xfs_attr_leaf_hdr); in xfs_attr3_leaf_create()
1285 ichdr.freemap[0].size = ichdr.firstused - ichdr.freemap[0].base; in xfs_attr3_leaf_create()
1390 if (ichdr.freemap[i].base < ichdr.firstused) in xfs_attr3_leaf_add()
1473 ASSERT(ichdr->freemap[mapindex].base < args->geo->blksize); in xfs_attr3_leaf_add_work()
1474 ASSERT((ichdr->freemap[mapindex].base & 0x3) == 0); in xfs_attr3_leaf_add_work()
1482 entry->nameidx = cpu_to_be16(ichdr->freemap[mapindex].base + in xfs_attr3_leaf_add_work()
1544 if (ichdr->freemap[i].base == tmp) { in xfs_attr3_leaf_add_work()
1545 ichdr->freemap[i].base += sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_add_work()
1591 ichdr_dst->freemap[0].base = xfs_attr3_leaf_hdr_size(leaf_src); in xfs_attr3_leaf_compact()
1593 ichdr_dst->freemap[0].base; in xfs_attr3_leaf_compact()
2126 ASSERT(ichdr.freemap[i].base < args->geo->blksize); in xfs_attr3_leaf_remove()
2128 if (ichdr.freemap[i].base == tablesize) { in xfs_attr3_leaf_remove()
2129 ichdr.freemap[i].base -= sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_remove()
2133 if (ichdr.freemap[i].base + ichdr.freemap[i].size == in xfs_attr3_leaf_remove()
2136 } else if (ichdr.freemap[i].base == in xfs_attr3_leaf_remove()
2153 ichdr.freemap[after].base = 0; in xfs_attr3_leaf_remove()
2158 ichdr.freemap[after].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
2166 ichdr.freemap[smallest].base = be16_to_cpu(entry->nameidx); in xfs_attr3_leaf_remove()
2645 ichdr_d->freemap[0].base = xfs_attr3_leaf_hdr_size(leaf_d); in xfs_attr3_leaf_moveents()
2646 ichdr_d->freemap[0].base += ichdr_d->count * sizeof(xfs_attr_leaf_entry_t); in xfs_attr3_leaf_moveents()
2647 ichdr_d->freemap[0].size = ichdr_d->firstused - ichdr_d->freemap[0].base; in xfs_attr3_leaf_moveents()
2648 ichdr_d->freemap[1].base = 0; in xfs_attr3_leaf_moveents()
2649 ichdr_d->freemap[2].base = 0; in xfs_attr3_leaf_moveents()