Lines Matching refs:entries
1080 /* Copy the entries */
1208 * compare_dents - compare directory entries by hash value
1212 * When comparing the hash entries of @a to @b:
1250 * do_filldir_main - read out directory entries
1252 * @ctx: what to feed the entries to
1254 * @entries: the number of entries in darr
1266 struct gfs2_dirent **darr, u32 entries,
1274 if (sort_start < entries)
1275 sort(&darr[sort_start], entries - sort_start,
1281 for (x = 0, y = 1; x < entries; x++, y++) {
1285 if (y < entries) {
1337 unsigned entries)
1342 for (i = 0; i < entries; i++) {
1376 unsigned entries = 0, entries2 = 0;
1391 entries += be16_to_cpu(lf->lf_entries);
1402 if (!entries)
1407 * The extra 99 entries are not normally used, but are a buffer
1408 * zone in case the number of entries in the leaf is corrupt.
1409 * 99 is the maximum number of entries that can fit in a single
1412 larr = gfs2_alloc_sort_buffer((leaves + entries + 99) * sizeof(void *));
1435 fs_warn(sdp, "Number of entries corrupt in dir "
1458 BUG_ON(entries2 != entries);
1459 error = do_filldir_main(ip, ctx, darr, entries, need_sort ?
1460 sort_offset : entries, copied);
1519 * dir_e_read - Reads the entries from a directory into a filldir buffer
1521 * @ctx: actor to feed the entries to
1604 fs_warn(sdp, "Number of entries corrupt in dir %llu, "
1899 u16 entries = be16_to_cpu(leaf->lf_entries);
1900 if (!entries)
1902 leaf->lf_entries = cpu_to_be16(--entries);