Home
last modified time | relevance | path

Searched refs:orphan_dir_inode (Results 1 – 4 of 4) sorted by relevance

/linux/fs/ocfs2/
H A Dnamei.c78 struct inode *orphan_dir_inode,
2119 struct inode *orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir() local
2123 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_lookup_lock_orphan_dir()
2126 if (!orphan_dir_inode) { in ocfs2_lookup_lock_orphan_dir()
2132 inode_lock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2134 ret = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_lookup_lock_orphan_dir()
2136 inode_unlock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2137 iput(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2143 *ret_orphan_dir = orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir()
2149 static int __ocfs2_prepare_orphan_dir(struct inode *orphan_dir_inode, in __ocfs2_prepare_orphan_dir() argument
[all …]
H A Dinode.c714 struct inode *orphan_dir_inode, in ocfs2_remove_inode() argument
751 status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode, in ocfs2_remove_inode()
830 struct inode *orphan_dir_inode = NULL; in ocfs2_wipe_inode() local
842 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_wipe_inode()
845 if (!orphan_dir_inode) { in ocfs2_wipe_inode()
854 inode_lock(orphan_dir_inode); in ocfs2_wipe_inode()
855 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_wipe_inode()
857 inode_unlock(orphan_dir_inode); in ocfs2_wipe_inode()
896 status = ocfs2_remove_inode(inode, di_bh, orphan_dir_inode, in ocfs2_wipe_inode()
905 ocfs2_inode_unlock(orphan_dir_inode, 1); in ocfs2_wipe_inode()
[all …]
H A Dnamei.h22 struct inode *orphan_dir_inode,
H A Djournal.c2188 struct inode *orphan_dir_inode = NULL; in ocfs2_queue_orphans() local
2196 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_queue_orphans()
2199 if (!orphan_dir_inode) { in ocfs2_queue_orphans()
2205 inode_lock(orphan_dir_inode); in ocfs2_queue_orphans()
2206 status = ocfs2_inode_lock(orphan_dir_inode, NULL, 0); in ocfs2_queue_orphans()
2212 status = ocfs2_dir_foreach(orphan_dir_inode, &priv.ctx); in ocfs2_queue_orphans()
2221 ocfs2_inode_unlock(orphan_dir_inode, 0); in ocfs2_queue_orphans()
2223 inode_unlock(orphan_dir_inode); in ocfs2_queue_orphans()
2224 iput(orphan_dir_inode); in ocfs2_queue_orphans()