Home
last modified time | relevance | path

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

/linux-4.4.14/fs/cachefiles/
Dbind.c89 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()
239 dput(cache->graveyard); in cachefiles_daemon_add_cache()
240 cache->graveyard = NULL; in cachefiles_daemon_add_cache()
269 dput(cache->graveyard); in cachefiles_daemon_unbind()
Dnamei.c318 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
324 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
329 if (!d_can_lookup(cache->graveyard)) { in cachefiles_bury_object()
330 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
336 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
342 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
347 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object()
349 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
362 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
370 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
[all …]
Dinternal.h61 struct dentry *graveyard; /* directory into which dead objects go */ member
/linux-4.4.14/security/keys/
Dgc.c177 static LIST_HEAD(graveyard); in key_garbage_collector()
284 !list_empty(&graveyard)) { in key_garbage_collector()
294 if (!list_empty(&graveyard)) { in key_garbage_collector()
296 key_gc_unused_keys(&graveyard); in key_garbage_collector()
333 list_add_tail(&key->graveyard_link, &graveyard); in key_garbage_collector()
/linux-4.4.14/net/rxrpc/
Dar-transport.c225 LIST_HEAD(graveyard); in rxrpc_transport_reaper()
244 list_move_tail(&trans->link, &graveyard); in rxrpc_transport_reaper()
258 while (!list_empty(&graveyard)) { in rxrpc_transport_reaper()
259 trans = list_entry(graveyard.next, struct rxrpc_transport, in rxrpc_transport_reaper()
Dar-connection.c851 LIST_HEAD(graveyard); in rxrpc_connection_reaper()
874 list_move_tail(&conn->link, &graveyard); in rxrpc_connection_reaper()
903 while (!list_empty(&graveyard)) { in rxrpc_connection_reaper()
904 conn = list_entry(graveyard.next, struct rxrpc_connection, in rxrpc_connection_reaper()
/linux-4.4.14/fs/
Dnamespace.c2477 LIST_HEAD(graveyard); in mark_mounts_for_expiry()
2495 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry()
2497 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry()
2498 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
2514 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument
2539 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts()
2562 LIST_HEAD(graveyard); in shrink_submounts()
2566 while (select_submounts(mnt, &graveyard)) { in shrink_submounts()
2567 while (!list_empty(&graveyard)) { in shrink_submounts()
2568 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
/linux-4.4.14/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