Searched refs:graveyard (Results 1 – 4 of 4) sorted by relevance
/fs/cachefiles/ |
D | bind.c | 89 struct dentry *graveyard, *cachedir, *root; in cachefiles_daemon_add_cache() local 208 graveyard = cachefiles_get_directory(cache, root, "graveyard"); in cachefiles_daemon_add_cache() 209 if (IS_ERR(graveyard)) { in cachefiles_daemon_add_cache() 210 ret = PTR_ERR(graveyard); in cachefiles_daemon_add_cache() 214 cache->graveyard = graveyard; in cachefiles_daemon_add_cache() 242 dput(cache->graveyard); in cachefiles_daemon_add_cache() 243 cache->graveyard = NULL; in cachefiles_daemon_add_cache() 273 dput(cache->graveyard); in cachefiles_daemon_unbind()
|
D | namei.c | 324 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object() 330 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 335 if (!S_ISDIR(cache->graveyard->d_inode->i_mode)) { in cachefiles_bury_object() 336 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 342 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 348 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 353 grave = lookup_one_len(nbuffer, cache->graveyard, strlen(nbuffer)); in cachefiles_bury_object() 355 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 368 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() 376 unlock_rename(cache->graveyard, dir); in cachefiles_bury_object() [all …]
|
D | internal.h | 53 struct dentry *graveyard; /* directory into which dead objects go */ member
|
/fs/ |
D | namespace.c | 1981 LIST_HEAD(graveyard); in mark_mounts_for_expiry() 2000 list_move(&mnt->mnt_expire, &graveyard); in mark_mounts_for_expiry() 2002 while (!list_empty(&graveyard)) { in mark_mounts_for_expiry() 2003 mnt = list_first_entry(&graveyard, struct mount, mnt_expire); in mark_mounts_for_expiry() 2021 static int select_submounts(struct mount *parent, struct list_head *graveyard) in select_submounts() argument 2046 list_move_tail(&mnt->mnt_expire, graveyard); in select_submounts() 2069 LIST_HEAD(graveyard); in shrink_submounts() 2073 while (select_submounts(mnt, &graveyard)) { in shrink_submounts() 2074 while (!list_empty(&graveyard)) { in shrink_submounts() 2075 m = list_first_entry(&graveyard, struct mount, in shrink_submounts()
|