Home
last modified time | relevance | path

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

/fs/overlayfs/
Dinode.c788 struct inode *trap; in ovl_lookup_trap_inode() local
791 trap = ilookup5(sb, (unsigned long) key, ovl_inode_test, key); in ovl_lookup_trap_inode()
792 if (!trap) in ovl_lookup_trap_inode()
795 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode()
796 !ovl_inode_lower(trap); in ovl_lookup_trap_inode()
798 iput(trap); in ovl_lookup_trap_inode()
810 struct inode *trap; in ovl_get_trap_inode() local
815 trap = iget5_locked(sb, (unsigned long) key, ovl_inode_test, in ovl_get_trap_inode()
817 if (!trap) in ovl_get_trap_inode()
820 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode()
[all …]
Dsuper.c233 iput(ofs->lower_layers[i].trap); in ovl_free_fs()
1015 struct inode *trap; in ovl_setup_trap() local
1018 trap = ovl_get_trap_inode(sb, dir); in ovl_setup_trap()
1019 err = PTR_ERR_OR_ZERO(trap); in ovl_setup_trap()
1026 *ptrap = trap; in ovl_setup_trap()
1363 struct inode *trap; in ovl_get_lower_layers() local
1370 err = ovl_setup_trap(sb, stack[i].dentry, &trap, "lowerdir"); in ovl_get_lower_layers()
1384 iput(trap); in ovl_get_lower_layers()
1394 ofs->lower_layers[ofs->numlower].trap = trap; in ovl_get_lower_layers()
Dovl_entry.h33 struct inode *trap; member
Ddir.c1032 struct dentry *trap; in ovl_rename() local
1135 trap = lock_rename(new_upperdir, old_upperdir); in ovl_rename()
1171 if (olddentry == trap) in ovl_rename()
1173 if (newdentry == trap) in ovl_rename()
/fs/debugfs/
Dinode.c838 struct dentry *dentry = NULL, *trap; in debugfs_rename() local
848 trap = lock_rename(new_dir, old_dir); in debugfs_rename()
853 if (d_really_is_negative(old_dentry) || old_dentry == trap || in debugfs_rename()
858 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
/fs/sdcardfs/
Dinode.c408 struct dentry *trap = NULL; in sdcardfs_rename() local
435 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in sdcardfs_rename()
437 if (trap == lower_old_dentry) { in sdcardfs_rename()
442 if (trap == lower_new_dentry) { in sdcardfs_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.c591 struct dentry *trap; in ecryptfs_rename() local
605 trap = lock_rename(lower_old_dir_dentry, lower_new_dir_dentry); in ecryptfs_rename()
615 if (trap == lower_old_dentry) in ecryptfs_rename()
618 if (trap == lower_new_dentry) { in ecryptfs_rename()
/fs/nfsd/
Dvfs.c1653 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local
1685 trap = lock_rename(tdentry, fdentry); in nfsd_rename()
1699 if (odentry == trap) in nfsd_rename()
1707 if (ndentry == trap) in nfsd_rename()
/fs/incfs/
Dvfs.c1746 struct dentry *trap; in dir_rename() local
1768 trap = lock_rename(backing_old_dir_dentry, backing_new_dir_dentry); in dir_rename()
1770 if (trap == backing_old_dentry) { in dir_rename()
1774 if (trap == backing_new_dentry) { in dir_rename()
/fs/
Dnamei.c4678 struct dentry *trap; in do_renameat2() local
4735 trap = lock_rename(new_path.dentry, old_path.dentry); in do_renameat2()
4773 if (old_dentry == trap) in do_renameat2()
4778 if (new_dentry == trap) in do_renameat2()