Home
last modified time | relevance | path

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

/Linux-v5.10/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
/Linux-v5.10/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-v5.10/net/rxrpc/
Dconn_object.c388 LIST_HEAD(graveyard); in rxrpc_service_connection_reaper()
432 list_move_tail(&conn->link, &graveyard); in rxrpc_service_connection_reaper()
442 while (!list_empty(&graveyard)) { in rxrpc_service_connection_reaper()
443 conn = list_entry(graveyard.next, struct rxrpc_connection, in rxrpc_service_connection_reaper()
Dconn_client.c1098 LIST_HEAD(graveyard); in rxrpc_clean_up_local_conns()
1108 list_move(&conn->cache_link, &graveyard); in rxrpc_clean_up_local_conns()
1114 while (!list_empty(&graveyard)) { in rxrpc_clean_up_local_conns()
1115 conn = list_entry(graveyard.next, in rxrpc_clean_up_local_conns()
/Linux-v5.10/fs/afs/
Dwrite.c886 LIST_HEAD(graveyard); in afs_prune_wb_keys()
896 list_move(&wbk->vnode_link, &graveyard); in afs_prune_wb_keys()
902 while (!list_empty(&graveyard)) { in afs_prune_wb_keys()
903 wbk = list_entry(graveyard.next, struct afs_wb_key, vnode_link); in afs_prune_wb_keys()
/Linux-v5.10/fs/
Dnamespace.c2976 LIST_HEAD(graveyard); in mark_mounts_for_expiry()
2994 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry()
2996 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry()
2997 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
3013 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument
3038 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts()
3061 LIST_HEAD(graveyard); in shrink_submounts()
3065 while (select_submounts(mnt, &graveyard)) { in shrink_submounts()
3066 while (!list_empty(&graveyard)) { in shrink_submounts()
3067 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
/Linux-v5.10/Documentation/filesystems/caching/
Dcachefiles.rst217 * graveyard/
221 to the graveyard from which the daemon will actually delete them.
223 The daemon uses dnotify to monitor the graveyard directory, and will delete