Lines Matching refs:hdr1
1298 xfs_attr_leaf_hdr_t *hdr1, *hdr2;
1327 hdr1 = &leaf1->hdr;
1346 if (count < be16_to_cpu(hdr1->count)) {
1351 count = be16_to_cpu(hdr1->count) - count;
1352 space = be16_to_cpu(hdr1->usedbytes) - totallen;
1368 xfs_attr_leaf_moveents(leaf1, be16_to_cpu(hdr1->count) - count,
1373 } else if (count > be16_to_cpu(hdr1->count)) {
1383 count -= be16_to_cpu(hdr1->count);
1384 space = totallen - be16_to_cpu(hdr1->usedbytes);
1390 max = be16_to_cpu(hdr1->firstused)
1392 max -= be16_to_cpu(hdr1->count) * sizeof(xfs_attr_leaf_entry_t);
1401 be16_to_cpu(hdr1->count), count, state->mp);
1465 xfs_attr_leaf_hdr_t *hdr1, *hdr2;
1475 hdr1 = &leaf1->hdr;
1484 max = be16_to_cpu(hdr1->count) + be16_to_cpu(hdr2->count);
1486 half += be16_to_cpu(hdr1->usedbytes) +
1517 if (count == be16_to_cpu(hdr1->count)) {