Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ocfs2/
Dnamei.c77 struct inode *orphan_dir_inode,
2114 struct inode *orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir() local
2118 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_lookup_lock_orphan_dir()
2121 if (!orphan_dir_inode) { in ocfs2_lookup_lock_orphan_dir()
2127 inode_lock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2129 ret = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_lookup_lock_orphan_dir()
2131 inode_unlock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2132 iput(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2138 *ret_orphan_dir = orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir()
2144 static int __ocfs2_prepare_orphan_dir(struct inode *orphan_dir_inode, in __ocfs2_prepare_orphan_dir() argument
[all …]
Dinode.c636 struct inode *orphan_dir_inode, in ocfs2_remove_inode() argument
673 status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode, in ocfs2_remove_inode()
752 struct inode *orphan_dir_inode = NULL; in ocfs2_wipe_inode() local
764 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_wipe_inode()
767 if (!orphan_dir_inode) { in ocfs2_wipe_inode()
776 inode_lock(orphan_dir_inode); in ocfs2_wipe_inode()
777 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_wipe_inode()
779 inode_unlock(orphan_dir_inode); in ocfs2_wipe_inode()
818 status = ocfs2_remove_inode(inode, di_bh, orphan_dir_inode, in ocfs2_wipe_inode()
827 ocfs2_inode_unlock(orphan_dir_inode, 1); in ocfs2_wipe_inode()
[all …]
Dnamei.h22 struct inode *orphan_dir_inode,
Djournal.c2162 struct inode *orphan_dir_inode = NULL; in ocfs2_queue_orphans() local
2170 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_queue_orphans()
2173 if (!orphan_dir_inode) { in ocfs2_queue_orphans()
2179 inode_lock(orphan_dir_inode); in ocfs2_queue_orphans()
2180 status = ocfs2_inode_lock(orphan_dir_inode, NULL, 0); in ocfs2_queue_orphans()
2186 status = ocfs2_dir_foreach(orphan_dir_inode, &priv.ctx); in ocfs2_queue_orphans()
2195 ocfs2_inode_unlock(orphan_dir_inode, 0); in ocfs2_queue_orphans()
2197 inode_unlock(orphan_dir_inode); in ocfs2_queue_orphans()
2198 iput(orphan_dir_inode); in ocfs2_queue_orphans()