Home
last modified time | relevance | path

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

/linux-4.1.27/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.c315 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
321 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
326 if (!d_can_lookup(cache->graveyard)) { in cachefiles_bury_object()
327 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
333 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
339 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
344 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object()
346 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
359 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
367 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object()
[all …]
Dinternal.h62 struct dentry *graveyard; /* directory into which dead objects go */ member
/linux-4.1.27/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.1.27/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.1.27/fs/
Dnamespace.c2468 LIST_HEAD(graveyard); in mark_mounts_for_expiry()
2486 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry()
2488 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry()
2489 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry()
2505 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument
2530 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts()
2553 LIST_HEAD(graveyard); in shrink_submounts()
2557 while (select_submounts(mnt, &graveyard)) { in shrink_submounts()
2558 while (!list_empty(&graveyard)) { in shrink_submounts()
2559 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
/linux-4.1.27/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