Home
last modified time | relevance | path

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

/linux-6.1.9/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.1.9/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-6.1.9/net/rxrpc/
Dconn_object.c387 LIST_HEAD(graveyard); in rxrpc_service_connection_reaper()
431 list_move_tail(&conn->link, &graveyard); in rxrpc_service_connection_reaper()
441 while (!list_empty(&graveyard)) { in rxrpc_service_connection_reaper()
442 conn = list_entry(graveyard.next, struct rxrpc_connection, in rxrpc_service_connection_reaper()
Dconn_client.c1106 LIST_HEAD(graveyard); in rxrpc_clean_up_local_conns()
1116 list_move(&conn->cache_link, &graveyard); in rxrpc_clean_up_local_conns()
1122 while (!list_empty(&graveyard)) { in rxrpc_clean_up_local_conns()
1123 conn = list_entry(graveyard.next, in rxrpc_clean_up_local_conns()
/linux-6.1.9/fs/afs/
Dwrite.c954 LIST_HEAD(graveyard); in afs_prune_wb_keys()
964 list_move(&wbk->vnode_link, &graveyard); in afs_prune_wb_keys()
970 while (!list_empty(&graveyard)) { in afs_prune_wb_keys()
971 wbk = list_entry(graveyard.next, struct afs_wb_key, vnode_link); in afs_prune_wb_keys()
/linux-6.1.9/fs/
Dnamespace.c3141 LIST_HEAD(graveyard); in mark_mounts_for_expiry()
3159 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry()
3161 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry()
3162 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
3178 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument
3203 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts()
3226 LIST_HEAD(graveyard); in shrink_submounts()
3230 while (select_submounts(mnt, &graveyard)) { in shrink_submounts()
3231 while (!list_empty(&graveyard)) { in shrink_submounts()
3232 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
/linux-6.1.9/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