Lines Matching refs:trap
790 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()
824 iput(trap); in ovl_get_trap_inode()
828 trap->i_mode = S_IFDIR; in ovl_get_trap_inode()
829 trap->i_flags = S_DEAD; in ovl_get_trap_inode()
830 unlock_new_inode(trap); in ovl_get_trap_inode()
832 return trap; in ovl_get_trap_inode()