Lines Matching refs:trap
1009 struct inode *trap; in ovl_lookup_trap_inode() local
1012 trap = ilookup5(sb, (unsigned long) key, ovl_inode_test, key); in ovl_lookup_trap_inode()
1013 if (!trap) in ovl_lookup_trap_inode()
1016 res = IS_DEADDIR(trap) && !ovl_inode_upper(trap) && in ovl_lookup_trap_inode()
1017 !ovl_inode_lower(trap); in ovl_lookup_trap_inode()
1019 iput(trap); in ovl_lookup_trap_inode()
1031 struct inode *trap; in ovl_get_trap_inode() local
1036 trap = iget5_locked(sb, (unsigned long) key, ovl_inode_test, in ovl_get_trap_inode()
1038 if (!trap) in ovl_get_trap_inode()
1041 if (!(trap->i_state & I_NEW)) { in ovl_get_trap_inode()
1043 iput(trap); in ovl_get_trap_inode()
1047 trap->i_mode = S_IFDIR; in ovl_get_trap_inode()
1048 trap->i_flags = S_DEAD; in ovl_get_trap_inode()
1049 unlock_new_inode(trap); in ovl_get_trap_inode()
1051 return trap; in ovl_get_trap_inode()