Home
last modified time | relevance | path

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

/linux-6.6.21/fs/cachefiles/ !
Dcache.c21 struct dentry *graveyard, *cachedir, *root; in cachefiles_add_cache() local
135 graveyard = cachefiles_get_directory(cache, root, "graveyard", NULL); in cachefiles_add_cache()
136 if (IS_ERR(graveyard)) { in cachefiles_add_cache()
137 ret = PTR_ERR(graveyard); in cachefiles_add_cache()
141 cache->graveyard = graveyard; in cachefiles_add_cache()
161 cachefiles_put_directory(cache->graveyard); in cachefiles_add_cache()
162 cache->graveyard = NULL; in cachefiles_add_cache()
Dnamei.c307 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
313 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
318 if (!d_can_lookup(cache->graveyard)) { in cachefiles_bury_object()
319 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
325 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
331 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
336 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object()
338 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
339 trace_cachefiles_vfs_error(object, d_inode(cache->graveyard), in cachefiles_bury_object()
353 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
[all …]
Dinternal.h77 struct dentry *graveyard; /* directory into which dead objects go */ member
Ddaemon.c805 cachefiles_put_directory(cache->graveyard); in cachefiles_daemon_unbind()
/linux-6.6.21/security/keys/ !
Dgc.c188 static LIST_HEAD(graveyard); in key_garbage_collector()
296 !list_empty(&graveyard)) { in key_garbage_collector()
306 if (!list_empty(&graveyard)) { in key_garbage_collector()
308 key_gc_unused_keys(&graveyard); in key_garbage_collector()
345 list_add_tail(&key->graveyard_link, &graveyard); in key_garbage_collector()
/linux-6.6.21/net/rxrpc/ !
Dconn_object.c389 LIST_HEAD(graveyard); in rxrpc_service_connection_reaper()
434 list_move_tail(&conn->link, &graveyard); in rxrpc_service_connection_reaper()
444 while (!list_empty(&graveyard)) { in rxrpc_service_connection_reaper()
445 conn = list_entry(graveyard.next, struct rxrpc_connection, in rxrpc_service_connection_reaper()
/linux-6.6.21/fs/afs/ !
Dwrite.c972 LIST_HEAD(graveyard); in afs_prune_wb_keys()
982 list_move(&wbk->vnode_link, &graveyard); in afs_prune_wb_keys()
988 while (!list_empty(&graveyard)) { in afs_prune_wb_keys()
989 wbk = list_entry(graveyard.next, struct afs_wb_key, vnode_link); in afs_prune_wb_keys()
/linux-6.6.21/fs/ !
Dnamespace.c3444 LIST_HEAD(graveyard); in mark_mounts_for_expiry()
3462 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry()
3464 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry()
3465 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
3481 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument
3506 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts()
3529 LIST_HEAD(graveyard); in shrink_submounts()
3533 while (select_submounts(mnt, &graveyard)) { in shrink_submounts()
3534 while (!list_empty(&graveyard)) { in shrink_submounts()
3535 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
/linux-6.6.21/Documentation/filesystems/caching/ !
Dcachefiles.rst218 * graveyard/
222 to the graveyard from which the daemon will actually delete them.
224 The daemon uses dnotify to monitor the graveyard directory, and will delete