Home
last modified time | relevance | path

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

/Linux-v5.4/fs/ocfs2/
Dnamei.c78 struct inode *orphan_dir_inode,
2085 struct inode *orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir() local
2089 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_lookup_lock_orphan_dir()
2092 if (!orphan_dir_inode) { in ocfs2_lookup_lock_orphan_dir()
2098 inode_lock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2100 ret = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_lookup_lock_orphan_dir()
2102 inode_unlock(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2103 iput(orphan_dir_inode); in ocfs2_lookup_lock_orphan_dir()
2109 *ret_orphan_dir = orphan_dir_inode; in ocfs2_lookup_lock_orphan_dir()
2115 static int __ocfs2_prepare_orphan_dir(struct inode *orphan_dir_inode, in __ocfs2_prepare_orphan_dir() argument
[all …]
Dinode.c638 struct inode *orphan_dir_inode, in ocfs2_remove_inode() argument
675 status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode, in ocfs2_remove_inode()
754 struct inode *orphan_dir_inode = NULL; in ocfs2_wipe_inode() local
766 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_wipe_inode()
769 if (!orphan_dir_inode) { in ocfs2_wipe_inode()
778 inode_lock(orphan_dir_inode); in ocfs2_wipe_inode()
779 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1); in ocfs2_wipe_inode()
781 inode_unlock(orphan_dir_inode); in ocfs2_wipe_inode()
820 status = ocfs2_remove_inode(inode, di_bh, orphan_dir_inode, in ocfs2_wipe_inode()
829 ocfs2_inode_unlock(orphan_dir_inode, 1); in ocfs2_wipe_inode()
[all …]
Dnamei.h24 struct inode *orphan_dir_inode,
Djournal.c2077 struct inode *orphan_dir_inode = NULL; in ocfs2_queue_orphans() local
2085 orphan_dir_inode = ocfs2_get_system_file_inode(osb, in ocfs2_queue_orphans()
2088 if (!orphan_dir_inode) { in ocfs2_queue_orphans()
2094 inode_lock(orphan_dir_inode); in ocfs2_queue_orphans()
2095 status = ocfs2_inode_lock(orphan_dir_inode, NULL, 0); in ocfs2_queue_orphans()
2101 status = ocfs2_dir_foreach(orphan_dir_inode, &priv.ctx); in ocfs2_queue_orphans()
2110 ocfs2_inode_unlock(orphan_dir_inode, 0); in ocfs2_queue_orphans()
2112 inode_unlock(orphan_dir_inode); in ocfs2_queue_orphans()
2113 iput(orphan_dir_inode); in ocfs2_queue_orphans()