Searched refs:graveyard (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/fs/cachefiles/ |
D | bind.c | 86 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()
|
D | namei.c | 339 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object() 345 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 350 if (!d_can_lookup(cache->graveyard)) { in cachefiles_bury_object() 351 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 357 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 363 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 368 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object() 370 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 383 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 391 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() [all …]
|
D | internal.h | 58 struct dentry *graveyard; /* directory into which dead objects go */ member
|
/Linux-v5.15/security/keys/ |
D | gc.c | 175 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.15/net/rxrpc/ |
D | conn_object.c | 386 LIST_HEAD(graveyard); in rxrpc_service_connection_reaper() 430 list_move_tail(&conn->link, &graveyard); in rxrpc_service_connection_reaper() 440 while (!list_empty(&graveyard)) { in rxrpc_service_connection_reaper() 441 conn = list_entry(graveyard.next, struct rxrpc_connection, in rxrpc_service_connection_reaper()
|
D | conn_client.c | 1092 LIST_HEAD(graveyard); in rxrpc_clean_up_local_conns() 1102 list_move(&conn->cache_link, &graveyard); in rxrpc_clean_up_local_conns() 1108 while (!list_empty(&graveyard)) { in rxrpc_clean_up_local_conns() 1109 conn = list_entry(graveyard.next, in rxrpc_clean_up_local_conns()
|
/Linux-v5.15/fs/afs/ |
D | write.c | 924 LIST_HEAD(graveyard); in afs_prune_wb_keys() 934 list_move(&wbk->vnode_link, &graveyard); in afs_prune_wb_keys() 940 while (!list_empty(&graveyard)) { in afs_prune_wb_keys() 941 wbk = list_entry(graveyard.next, struct afs_wb_key, vnode_link); in afs_prune_wb_keys()
|
/Linux-v5.15/fs/ |
D | namespace.c | 3089 LIST_HEAD(graveyard); in mark_mounts_for_expiry() 3107 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry() 3109 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry() 3110 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry() 3126 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument 3151 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts() 3174 LIST_HEAD(graveyard); in shrink_submounts() 3178 while (select_submounts(mnt, &graveyard)) { in shrink_submounts() 3179 while (!list_empty(&graveyard)) { in shrink_submounts() 3180 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
|
/Linux-v5.15/Documentation/filesystems/caching/ |
D | cachefiles.rst | 217 * 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
|