Lines Matching refs:entries
1077 /* Copy the entries */
1205 * compare_dents - compare directory entries by hash value
1209 * When comparing the hash entries of @a to @b:
1247 * do_filldir_main - read out directory entries
1249 * @ctx: what to feed the entries to
1251 * @entries: the number of entries in darr
1264 struct gfs2_dirent **darr, u32 entries,
1272 if (sort_start < entries)
1273 sort(&darr[sort_start], entries - sort_start,
1279 for (x = 0, y = 1; x < entries; x++, y++) {
1283 if (y < entries) {
1335 unsigned entries)
1340 for (i = 0; i < entries; i++) {
1374 unsigned entries = 0, entries2 = 0;
1389 entries += be16_to_cpu(lf->lf_entries);
1400 if (!entries)
1405 * The extra 99 entries are not normally used, but are a buffer
1406 * zone in case the number of entries in the leaf is corrupt.
1407 * 99 is the maximum number of entries that can fit in a single
1410 larr = gfs2_alloc_sort_buffer((leaves + entries + 99) * sizeof(void *));
1433 fs_warn(sdp, "Number of entries corrupt in dir "
1456 BUG_ON(entries2 != entries);
1457 error = do_filldir_main(ip, ctx, darr, entries, need_sort ?
1458 sort_offset : entries, copied);
1520 * dir_e_read - Reads the entries from a directory into a filldir buffer
1522 * @ctx: actor to feed the entries to
1606 fs_warn(sdp, "Number of entries corrupt in dir %llu, "
1902 u16 entries = be16_to_cpu(leaf->lf_entries);
1903 if (!entries)
1905 leaf->lf_entries = cpu_to_be16(--entries);