Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dnamei.c92 struct inode *orphan_dir_inode,
2102 struct inode *orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir() local
2106 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_lookup_lock_orphan_dir()
2109 if (!orphan_dir_inode) { in ocfs2_lookup_lock_orphan_dir()
2115 inode_lock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2117 ret = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_lookup_lock_orphan_dir()
2119 inode_unlock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2120 iput(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2126 *ret_orphan_dir = orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir()
2132 static int __ocfs2_prepare_orphan_dir(struct inode *orphan_dir_inode, in __ocfs2_prepare_orphan_dir() argument
[all …]
Dinode.c652 struct inode *orphan_dir_inode, in ocfs2_remove_inode() argument
689 status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode, in ocfs2_remove_inode()
768 struct inode *orphan_dir_inode = NULL; in ocfs2_wipe_inode() local
780 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_wipe_inode()
783 if (!orphan_dir_inode) { in ocfs2_wipe_inode()
792 inode_lock(orphan_dir_inode); in ocfs2_wipe_inode()
793 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_wipe_inode()
795 inode_unlock(orphan_dir_inode); in ocfs2_wipe_inode()
834 status = ocfs2_remove_inode(inode, di_bh, orphan_dir_inode, in ocfs2_wipe_inode()
843 ocfs2_inode_unlock(orphan_dir_inode, 1); in ocfs2_wipe_inode()
[all …]
Dnamei.h38 struct inode *orphan_dir_inode,
Djournal.c2099 struct inode *orphan_dir_inode = NULL; in ocfs2_queue_orphans() local
2107 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_queue_orphans()
2110 if (!orphan_dir_inode) { in ocfs2_queue_orphans()
2116 inode_lock(orphan_dir_inode); in ocfs2_queue_orphans()
2117 status = ocfs2_inode_lock(orphan_dir_inode, NULL, 0); in ocfs2_queue_orphans()
2123 status = ocfs2_dir_foreach(orphan_dir_inode, &priv.ctx); in ocfs2_queue_orphans()
2132 ocfs2_inode_unlock(orphan_dir_inode, 0); in ocfs2_queue_orphans()
2134 inode_unlock(orphan_dir_inode); in ocfs2_queue_orphans()
2135 iput(orphan_dir_inode); in ocfs2_queue_orphans()