Home
last modified time | relevance | path

Searched refs:rlist (Results 1 – 8 of 8) sorted by relevance

/fs/gfs2/
Drgrp.c2563 void gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist, in gfs2_rlist_add() argument
2572 if (gfs2_assert_warn(sdp, !rlist->rl_ghs)) in gfs2_rlist_add()
2579 if (rlist->rl_rgrps) { in gfs2_rlist_add()
2580 rgd = rlist->rl_rgd[rlist->rl_rgrps - 1]; in gfs2_rlist_add()
2596 for (x = 0; x < rlist->rl_rgrps; x++) { in gfs2_rlist_add()
2597 if (rlist->rl_rgd[x] == rgd) { in gfs2_rlist_add()
2598 swap(rlist->rl_rgd[x], in gfs2_rlist_add()
2599 rlist->rl_rgd[rlist->rl_rgrps - 1]); in gfs2_rlist_add()
2604 if (rlist->rl_rgrps == rlist->rl_space) { in gfs2_rlist_add()
2605 new_space = rlist->rl_space + 10; in gfs2_rlist_add()
[all …]
Drgrp.h65 extern void gfs2_rlist_add(struct gfs2_inode *ip, struct gfs2_rgrp_list *rlist,
67 extern void gfs2_rlist_alloc(struct gfs2_rgrp_list *rlist);
68 extern void gfs2_rlist_free(struct gfs2_rgrp_list *rlist);
Dxattr.c1254 struct gfs2_rgrp_list rlist; in ea_dealloc_indirect() local
1269 memset(&rlist, 0, sizeof(struct gfs2_rgrp_list)); in ea_dealloc_indirect()
1294 gfs2_rlist_add(ip, &rlist, bstart); in ea_dealloc_indirect()
1301 gfs2_rlist_add(ip, &rlist, bstart); in ea_dealloc_indirect()
1305 gfs2_rlist_alloc(&rlist); in ea_dealloc_indirect()
1307 for (x = 0; x < rlist.rl_rgrps; x++) { in ea_dealloc_indirect()
1308 rgd = gfs2_glock2rgrp(rlist.rl_ghs[x].gh_gl); in ea_dealloc_indirect()
1312 error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); in ea_dealloc_indirect()
1363 gfs2_glock_dq_m(rlist.rl_rgrps, rlist.rl_ghs); in ea_dealloc_indirect()
1365 gfs2_rlist_free(&rlist); in ea_dealloc_indirect()
Ddir.c1974 struct gfs2_rgrp_list rlist; in leaf_dealloc() local
1986 memset(&rlist, 0, sizeof(struct gfs2_rgrp_list)); in leaf_dealloc()
2012 gfs2_rlist_add(dip, &rlist, blk); in leaf_dealloc()
2016 gfs2_rlist_alloc(&rlist); in leaf_dealloc()
2018 for (x = 0; x < rlist.rl_rgrps; x++) { in leaf_dealloc()
2019 struct gfs2_rgrpd *rgd = gfs2_glock2rgrp(rlist.rl_ghs[x].gh_gl); in leaf_dealloc()
2024 error = gfs2_glock_nq_m(rlist.rl_rgrps, rlist.rl_ghs); in leaf_dealloc()
2077 gfs2_glock_dq_m(rlist.rl_rgrps, rlist.rl_ghs); in leaf_dealloc()
2079 gfs2_rlist_free(&rlist); in leaf_dealloc()
/fs/cifs/
Ddfs_cache.c55 struct list_head rlist; member
1628 list_add_tail(&vi->rlist, &vols); in refresh_cache_worker()
1634 list_for_each_entry_safe(vi, nvi, &vols, rlist) { in refresh_cache_worker()
1660 list_del_init(&vi->rlist); in refresh_cache_worker()
Dcifsglob.h1092 struct list_head rlist; /* reconnect list */ member
1317 struct list_head rlist; /* reconnect list */ member
Dsmb2pdu.c3685 list_add_tail(&tcon->rlist, &tmp_list); in smb2_reconnect_server()
3694 list_add_tail(&ses->tcon_ipc->rlist, &tmp_list); in smb2_reconnect_server()
3708 list_for_each_entry_safe(tcon, tcon2, &tmp_list, rlist) { in smb2_reconnect_server()
3714 list_del_init(&tcon->rlist); in smb2_reconnect_server()
Dfile.c874 list_add_tail(&open_file->rlist, &tmp_list); in cifs_reopen_persistent_handles()
879 open_file = list_entry(tmp, struct cifsFileInfo, rlist); in cifs_reopen_persistent_handles()
882 list_del_init(&open_file->rlist); in cifs_reopen_persistent_handles()