Lines Matching refs:darr
1264 struct gfs2_dirent **darr, u32 entries, in do_filldir_main() argument
1273 sort(&darr[sort_start], entries - sort_start, in do_filldir_main()
1276 dent_next = darr[0]; in do_filldir_main()
1284 dent_next = darr[y]; in do_filldir_main()
1334 unsigned leaf_nr, struct gfs2_dirent **darr, in gfs2_set_cookies() argument
1343 darr[i]->de_cookie = be32_to_cpu(darr[i]->de_hash); in gfs2_set_cookies()
1344 darr[i]->de_cookie = gfs2_disk_hash2offset(darr[i]->de_cookie); in gfs2_set_cookies()
1348 offset = (char *)(darr[i]) - in gfs2_set_cookies()
1354 darr[i]->de_cookie |= GFS2_USE_HASH_FLAG; in gfs2_set_cookies()
1359 darr[i]->de_cookie &= GFS2_HASH_INDEX_MASK; in gfs2_set_cookies()
1360 darr[i]->de_cookie |= offset; in gfs2_set_cookies()
1376 struct gfs2_dirent **darr, *dent; in gfs2_dir_read_leaf() local
1413 darr = (struct gfs2_dirent **)(larr + leaves); in gfs2_dir_read_leaf()
1414 g.pdent = (const struct gfs2_dirent **)darr; in gfs2_dir_read_leaf()
1443 sort_id = gfs2_set_cookies(sdp, bh, leaf, &darr[offset], in gfs2_dir_read_leaf()
1457 error = do_filldir_main(ip, ctx, darr, entries, need_sort ? in gfs2_dir_read_leaf()
1573 struct gfs2_dirent **darr, *dent; in gfs2_dir_read() local
1595 darr = kmalloc_array(96, sizeof(struct gfs2_dirent *), GFP_NOFS); in gfs2_dir_read()
1596 if (darr) { in gfs2_dir_read()
1597 g.pdent = (const struct gfs2_dirent **)darr; in gfs2_dir_read()
1615 gfs2_set_cookies(sdp, dibh, 0, darr, dip->i_entries); in gfs2_dir_read()
1616 error = do_filldir_main(dip, ctx, darr, in gfs2_dir_read()
1619 kfree(darr); in gfs2_dir_read()