Lines Matching refs:darr

1267 			   struct gfs2_dirent **darr, u32 entries,  in do_filldir_main()  argument
1276 sort(&darr[sort_start], entries - sort_start, in do_filldir_main()
1279 dent_next = darr[0]; in do_filldir_main()
1287 dent_next = darr[y]; in do_filldir_main()
1337 unsigned leaf_nr, struct gfs2_dirent **darr, in gfs2_set_cookies() argument
1346 darr[i]->de_cookie = be32_to_cpu(darr[i]->de_hash); in gfs2_set_cookies()
1347 darr[i]->de_cookie = gfs2_disk_hash2offset(darr[i]->de_cookie); in gfs2_set_cookies()
1351 offset = (char *)(darr[i]) - in gfs2_set_cookies()
1357 darr[i]->de_cookie |= GFS2_USE_HASH_FLAG; in gfs2_set_cookies()
1362 darr[i]->de_cookie &= GFS2_HASH_INDEX_MASK; in gfs2_set_cookies()
1363 darr[i]->de_cookie |= offset; in gfs2_set_cookies()
1379 struct gfs2_dirent **darr, *dent; in gfs2_dir_read_leaf() local
1416 darr = (struct gfs2_dirent **)(larr + leaves); in gfs2_dir_read_leaf()
1417 g.pdent = (const struct gfs2_dirent **)darr; in gfs2_dir_read_leaf()
1446 sort_id = gfs2_set_cookies(sdp, bh, leaf, &darr[offset], in gfs2_dir_read_leaf()
1460 error = do_filldir_main(ip, ctx, darr, entries, need_sort ? in gfs2_dir_read_leaf()
1576 struct gfs2_dirent **darr, *dent; in gfs2_dir_read() local
1598 darr = kmalloc_array(96, sizeof(struct gfs2_dirent *), GFP_NOFS); in gfs2_dir_read()
1599 if (darr) { in gfs2_dir_read()
1600 g.pdent = (const struct gfs2_dirent **)darr; in gfs2_dir_read()
1618 gfs2_set_cookies(sdp, dibh, 0, darr, dip->i_entries); in gfs2_dir_read()
1619 error = do_filldir_main(dip, ctx, darr, in gfs2_dir_read()
1622 kfree(darr); in gfs2_dir_read()