Searched refs:trap (Results 1 – 10 of 10) sorted by relevance
/fs/overlayfs/ |
D | inode.c | 866 struct inode *trap; in ovl_lookup_trap_inode() local 869 trap = ilookup5(sb, (unsigned long) key, ovl_inode_test, key); in ovl_lookup_trap_inode() 870 if (!trap) in ovl_lookup_trap_inode() 873 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode() 874 !ovl_inode_lower(trap); in ovl_lookup_trap_inode() 876 iput(trap); in ovl_lookup_trap_inode() 888 struct inode *trap; in ovl_get_trap_inode() local 893 trap = iget5_locked(sb, (unsigned long) key, ovl_inode_test, in ovl_get_trap_inode() 895 if (!trap) in ovl_get_trap_inode() 898 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode() [all …]
|
D | super.c | 246 iput(ofs->layers[i].trap); in ovl_free_fs() 1110 struct inode *trap; in ovl_setup_trap() local 1113 trap = ovl_get_trap_inode(sb, dir); in ovl_setup_trap() 1114 err = PTR_ERR_OR_ZERO(trap); in ovl_setup_trap() 1121 *ptrap = trap; in ovl_setup_trap() 1165 err = ovl_setup_trap(sb, upperpath->dentry, &upper_layer->trap, in ovl_get_upper() 1643 struct inode *trap; in ovl_get_layers() local 1657 err = ovl_setup_trap(sb, stack[i].dentry, &trap, "lowerdir"); in ovl_get_layers() 1664 iput(trap); in ovl_get_layers() 1673 iput(trap); in ovl_get_layers() [all …]
|
D | ovl_entry.h | 37 struct inode *trap; member
|
D | dir.c | 1098 struct dentry *trap; in ovl_rename() local 1201 trap = lock_rename(new_upperdir, old_upperdir); in ovl_rename() 1241 if (olddentry == trap) in ovl_rename() 1243 if (newdentry == trap) in ovl_rename()
|
/fs/debugfs/ |
D | inode.c | 791 struct dentry *dentry = NULL, *trap; in debugfs_rename() local 801 trap = lock_rename(new_dir, old_dir); in debugfs_rename() 806 if (d_really_is_negative(old_dentry) || old_dentry == trap || in debugfs_rename() 811 if (IS_ERR(dentry) || dentry == trap || d_really_is_positive(dentry)) in debugfs_rename()
|
/fs/cachefiles/ |
D | namei.c | 294 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/ |
D | inode.c | 599 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/incfs/ |
D | vfs.c | 1359 struct dentry *trap; in dir_rename() local 1390 trap = lock_rename(backing_old_dir_dentry, backing_new_dir_dentry); in dir_rename() 1392 if (trap == backing_old_dentry) { in dir_rename() 1396 if (trap == backing_new_dentry) { in dir_rename()
|
/fs/nfsd/ |
D | vfs.c | 1738 struct dentry *fdentry, *tdentry, *odentry, *ndentry, *trap; in nfsd_rename() local 1776 trap = lock_rename(tdentry, fdentry); in nfsd_rename() 1790 if (odentry == trap) in nfsd_rename() 1798 if (ndentry == trap) in nfsd_rename()
|
/fs/ |
D | namei.c | 4517 struct dentry *trap; in do_renameat2() local 4569 trap = lock_rename(new_path.dentry, old_path.dentry); in do_renameat2() 4607 if (old_dentry == trap) in do_renameat2() 4612 if (new_dentry == trap) in do_renameat2()
|