Lines Matching refs:darr
1266 struct gfs2_dirent **darr, u32 entries, in do_filldir_main() argument
1275 sort(&darr[sort_start], entries - sort_start, in do_filldir_main()
1278 dent_next = darr[0]; in do_filldir_main()
1286 dent_next = darr[y]; in do_filldir_main()
1336 unsigned leaf_nr, struct gfs2_dirent **darr, in gfs2_set_cookies() argument
1345 darr[i]->de_cookie = be32_to_cpu(darr[i]->de_hash); in gfs2_set_cookies()
1346 darr[i]->de_cookie = gfs2_disk_hash2offset(darr[i]->de_cookie); in gfs2_set_cookies()
1350 offset = (char *)(darr[i]) - in gfs2_set_cookies()
1356 darr[i]->de_cookie |= GFS2_USE_HASH_FLAG; in gfs2_set_cookies()
1361 darr[i]->de_cookie &= GFS2_HASH_INDEX_MASK; in gfs2_set_cookies()
1362 darr[i]->de_cookie |= offset; in gfs2_set_cookies()
1378 struct gfs2_dirent **darr, *dent; in gfs2_dir_read_leaf() local
1415 darr = (struct gfs2_dirent **)(larr + leaves); in gfs2_dir_read_leaf()
1416 g.pdent = (const struct gfs2_dirent **)darr; in gfs2_dir_read_leaf()
1445 sort_id = gfs2_set_cookies(sdp, bh, leaf, &darr[offset], in gfs2_dir_read_leaf()
1459 error = do_filldir_main(ip, ctx, darr, entries, need_sort ? in gfs2_dir_read_leaf()
1571 struct gfs2_dirent **darr, *dent; in gfs2_dir_read() local
1593 darr = kmalloc_array(96, sizeof(struct gfs2_dirent *), GFP_NOFS); in gfs2_dir_read()
1594 if (darr) { in gfs2_dir_read()
1595 g.pdent = (const struct gfs2_dirent **)darr; in gfs2_dir_read()
1613 gfs2_set_cookies(sdp, dibh, 0, darr, dip->i_entries); in gfs2_dir_read()
1614 error = do_filldir_main(dip, ctx, darr, in gfs2_dir_read()
1617 kfree(darr); in gfs2_dir_read()