Home
last modified time | relevance | path

Searched refs:graveyard (Results 1 – 5 of 5) sorted by relevance

/fs/cachefiles/
Dbind.c86 struct dentry *graveyard, *cachedir, *root; in cachefiles_daemon_add_cache() local
203 graveyard = cachefiles_get_directory(cache, root, "graveyard"); in cachefiles_daemon_add_cache()
204 if (IS_ERR(graveyard)) { in cachefiles_daemon_add_cache()
205 ret = PTR_ERR(graveyard); in cachefiles_daemon_add_cache()
209 cache->graveyard = graveyard; in cachefiles_daemon_add_cache()
236 dput(cache->graveyard); in cachefiles_daemon_add_cache()
237 cache->graveyard = NULL; in cachefiles_daemon_add_cache()
266 dput(cache->graveyard); in cachefiles_daemon_unbind()
Dnamei.c340 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
346 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
351 if (!d_can_lookup(cache->graveyard)) { in cachefiles_bury_object()
352 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
358 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
364 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
369 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object()
371 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
384 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
392 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
[all …]
Dinternal.h58 struct dentry *graveyard; /* directory into which dead objects go */ member
/fs/afs/
Dwrite.c824 LIST_HEAD(graveyard); in afs_prune_wb_keys()
834 list_move(&wbk->vnode_link, &graveyard); in afs_prune_wb_keys()
840 while (!list_empty(&graveyard)) { in afs_prune_wb_keys()
841 wbk = list_entry(graveyard.next, struct afs_wb_key, vnode_link); in afs_prune_wb_keys()
/fs/
Dnamespace.c2913 LIST_HEAD(graveyard); in mark_mounts_for_expiry()
2931 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry()
2933 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry()
2934 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
2950 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument
2975 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts()
2998 LIST_HEAD(graveyard); in shrink_submounts()
3002 while (select_submounts(mnt, &graveyard)) { in shrink_submounts()
3003 while (!list_empty(&graveyard)) { in shrink_submounts()
3004 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()