Lines Matching refs:hdr1
1249 xfs_attr_leaf_hdr_t *hdr1, *hdr2;
1278 hdr1 = &leaf1->hdr;
1297 if (count < be16_to_cpu(hdr1->count)) {
1302 count = be16_to_cpu(hdr1->count) - count;
1303 space = be16_to_cpu(hdr1->usedbytes) - totallen;
1319 xfs_attr_leaf_moveents(leaf1, be16_to_cpu(hdr1->count) - count,
1324 } else if (count > be16_to_cpu(hdr1->count)) {
1334 count -= be16_to_cpu(hdr1->count);
1335 space = totallen - be16_to_cpu(hdr1->usedbytes);
1341 max = be16_to_cpu(hdr1->firstused)
1343 max -= be16_to_cpu(hdr1->count) * sizeof(xfs_attr_leaf_entry_t);
1352 be16_to_cpu(hdr1->count), count, state->mp);
1416 xfs_attr_leaf_hdr_t *hdr1, *hdr2;
1426 hdr1 = &leaf1->hdr;
1435 max = be16_to_cpu(hdr1->count) + be16_to_cpu(hdr2->count);
1437 half += be16_to_cpu(hdr1->usedbytes) +
1468 if (count == be16_to_cpu(hdr1->count)) {