Home
last modified time | relevance | path

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

/fs/overlayfs/
Dinode.c790 struct inode *trap; in ovl_lookup_trap_inode() local
793 trap = ilookup5(sb, (unsigned long) key, ovl_inode_test, key); in ovl_lookup_trap_inode()
794 if (!trap) in ovl_lookup_trap_inode()
797 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode()
798 !ovl_inode_lower(trap); in ovl_lookup_trap_inode()
800 iput(trap); in ovl_lookup_trap_inode()
812 struct inode *trap; in ovl_get_trap_inode() local
817 trap = iget5_locked(sb, (unsigned long) key, ovl_inode_test, in ovl_get_trap_inode()
819 if (!trap) in ovl_get_trap_inode()
822 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode()
[all …]
Dsuper.c236 iput(ofs->lower_layers[i].trap); in ovl_free_fs()
1022 struct inode *trap; in ovl_setup_trap() local
1025 trap = ovl_get_trap_inode(sb, dir); in ovl_setup_trap()
1026 err = PTR_ERR_OR_ZERO(trap); in ovl_setup_trap()
1033 *ptrap = trap; in ovl_setup_trap()
1382 struct inode *trap; in ovl_get_lower_layers() local
1396 err = ovl_setup_trap(sb, stack[i].dentry, &trap, "lowerdir"); in ovl_get_lower_layers()
1403 iput(trap); in ovl_get_lower_layers()
1412 iput(trap); in ovl_get_lower_layers()
1422 ofs->lower_layers[ofs->numlower].trap = trap; in ovl_get_lower_layers()
Dovl_entry.h34 struct inode *trap; member
Ddir.c1047 struct dentry *trap; in ovl_rename() local
1150 trap = lock_rename(new_upperdir, old_upperdir); in ovl_rename()
1190 if (olddentry == trap) in ovl_rename()
1192 if (newdentry == trap) in ovl_rename()
/fs/debugfs/
Dinode.c859 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
869 trap = lock_rename(new_dir, old_dir); in debugfs_rename()
874 if (d_really_is_negative(old_dentry) || old_dentry == trap || in debugfs_rename()
879 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
/fs/cachefiles/
Dnamei.c294 struct dentry *grave, *trap; in cachefiles_bury_object() local
340 trap = lock_rename(cache->graveyard, dir); in cachefiles_bury_object()
357 if (trap == rep) { in cachefiles_bury_object()
399 if (trap == grave) { in cachefiles_bury_object()
/fs/ecryptfs/
Dinode.c599 struct dentry *trap; in ecryptfs_rename() local
613 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in ecryptfs_rename()
623 if (trap == lower_old_dentry) in ecryptfs_rename()
626 if (trap == lower_new_dentry) { in ecryptfs_rename()
/fs/nfsd/
Dvfs.c1669 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1707 trap = lock_rename(tdentry, fdentry); in nfsd_rename()
1721 if (odentry == trap) in nfsd_rename()
1729 if (ndentry == trap) in nfsd_rename()
/fs/incfs/
Dvfs.c1845 struct dentry *trap; in dir_rename() local
1867 trap = lock_rename(backing_old_dir_dentry, backing_new_dir_dentry); in dir_rename()
1869 if (trap == backing_old_dentry) { in dir_rename()
1873 if (trap == backing_new_dentry) { in dir_rename()
/fs/
Dnamei.c4694 struct dentry *trap; in do_renameat2() local
4751 trap = lock_rename(new_path.dentry, old_path.dentry); in do_renameat2()
4789 if (old_dentry == trap) in do_renameat2()
4794 if (new_dentry == trap) in do_renameat2()