Home
last modified time | relevance | path

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

/Linux-v4.19/fs/ocfs2/
Dnamei.c92 struct inode *orphan_dir_inode,
2099 struct inode *orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir() local
2103 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_lookup_lock_orphan_dir()
2106 if (!orphan_dir_inode) { in ocfs2_lookup_lock_orphan_dir()
2112 inode_lock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2114 ret = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_lookup_lock_orphan_dir()
2116 inode_unlock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2117 iput(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2123 *ret_orphan_dir = orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir()
2129 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.c2075 struct inode *orphan_dir_inode = NULL; in ocfs2_queue_orphans() local
2083 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_queue_orphans()
2086 if (!orphan_dir_inode) { in ocfs2_queue_orphans()
2092 inode_lock(orphan_dir_inode); in ocfs2_queue_orphans()
2093 status = ocfs2_inode_lock(orphan_dir_inode, NULL, 0); in ocfs2_queue_orphans()
2099 status = ocfs2_dir_foreach(orphan_dir_inode, &priv.ctx); in ocfs2_queue_orphans()
2108 ocfs2_inode_unlock(orphan_dir_inode, 0); in ocfs2_queue_orphans()
2110 inode_unlock(orphan_dir_inode); in ocfs2_queue_orphans()
2111 iput(orphan_dir_inode); in ocfs2_queue_orphans()