Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cachefiles/
Dbind.c90 struct dentry *graveyard, *cachedir, *root; in cachefiles_daemon_add_cache() local
207 graveyard = cachefiles_get_directory(cache, root, "graveyard"); in cachefiles_daemon_add_cache()
208 if (IS_ERR(graveyard)) { in cachefiles_daemon_add_cache()
209 ret = PTR_ERR(graveyard); in cachefiles_daemon_add_cache()
213 cache->graveyard = graveyard; in cachefiles_daemon_add_cache()
240 dput(cache->graveyard); in cachefiles_daemon_add_cache()
241 cache->graveyard = NULL; in cachefiles_daemon_add_cache()
270 dput(cache->graveyard); in cachefiles_daemon_unbind()
Dnamei.c343 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
349 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
354 if (!d_can_lookup(cache->graveyard)) { in cachefiles_bury_object()
355 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
361 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
367 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
372 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object()
374 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
387 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
395 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
[all …]
Dinternal.h62 struct dentry *graveyard; /* directory into which dead objects go */ member
/Linux-v4.19/security/keys/
Dgc.c175 static LIST_HEAD(graveyard); in key_garbage_collector()
285 !list_empty(&graveyard)) { in key_garbage_collector()
295 if (!list_empty(&graveyard)) { in key_garbage_collector()
297 key_gc_unused_keys(&graveyard); in key_garbage_collector()
334 list_add_tail(&key->graveyard_link, &graveyard); in key_garbage_collector()
/Linux-v4.19/net/rxrpc/
Dconn_object.c389 LIST_HEAD(graveyard); in rxrpc_service_connection_reaper()
433 list_move_tail(&conn->link, &graveyard); in rxrpc_service_connection_reaper()
443 while (!list_empty(&graveyard)) { in rxrpc_service_connection_reaper()
444 conn = list_entry(graveyard.next, struct rxrpc_connection, in rxrpc_service_connection_reaper()
/Linux-v4.19/fs/afs/
Dwrite.c804 LIST_HEAD(graveyard); in afs_prune_wb_keys()
814 list_move(&wbk->vnode_link, &graveyard); in afs_prune_wb_keys()
820 while (!list_empty(&graveyard)) { in afs_prune_wb_keys()
821 wbk = list_entry(graveyard.next, struct afs_wb_key, vnode_link); in afs_prune_wb_keys()
/Linux-v4.19/fs/
Dnamespace.c2530 LIST_HEAD(graveyard); in mark_mounts_for_expiry()
2548 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry()
2550 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry()
2551 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
2567 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument
2592 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts()
2615 LIST_HEAD(graveyard); in shrink_submounts()
2619 while (select_submounts(mnt, &graveyard)) { in shrink_submounts()
2620 while (!list_empty(&graveyard)) { in shrink_submounts()
2621 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
/Linux-v4.19/Documentation/filesystems/caching/
Dcachefiles.txt238 (*) graveyard/
242 to the graveyard from which the daemon will actually delete them.
244 The daemon uses dnotify to monitor the graveyard directory, and will delete