• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ocfs2/

Lines Matching refs:orphan_dir_inode

90 			    struct inode *orphan_dir_inode);
1878 struct inode *orphan_dir_inode;
1882 orphan_dir_inode = ocfs2_get_system_file_inode(osb,
1885 if (!orphan_dir_inode) {
1891 mutex_lock(&orphan_dir_inode->i_mutex);
1893 ret = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1);
1895 mutex_unlock(&orphan_dir_inode->i_mutex);
1896 iput(orphan_dir_inode);
1902 *ret_orphan_dir = orphan_dir_inode;
1908 static int __ocfs2_prepare_orphan_dir(struct inode *orphan_dir_inode,
1915 struct ocfs2_super *osb = OCFS2_SB(orphan_dir_inode->i_sb);
1923 ret = ocfs2_prepare_dir_for_insert(osb, orphan_dir_inode,
1954 struct inode *orphan_dir_inode = NULL;
1958 ret = ocfs2_lookup_lock_orphan_dir(osb, &orphan_dir_inode,
1965 ret = __ocfs2_prepare_orphan_dir(orphan_dir_inode, orphan_dir_bh,
1972 *ret_orphan_dir = orphan_dir_inode;
1978 ocfs2_inode_unlock(orphan_dir_inode, 1);
1979 mutex_unlock(&orphan_dir_inode->i_mutex);
1980 iput(orphan_dir_inode);
1993 struct inode *orphan_dir_inode)
2002 status = ocfs2_read_inode_block(orphan_dir_inode, &orphan_dir_bh);
2009 INODE_CACHE(orphan_dir_inode),
2022 orphan_dir_inode->i_nlink = ocfs2_read_links_count(orphan_fe);
2025 status = __ocfs2_add_entry(handle, orphan_dir_inode, name,
2072 struct inode *orphan_dir_inode,
2090 name, (unsigned long long)OCFS2_I(orphan_dir_inode)->ip_blkno,
2094 status = ocfs2_find_entry(name, OCFS2_ORPHAN_NAMELEN, orphan_dir_inode,
2102 status = ocfs2_delete_entry(handle, orphan_dir_inode, &lookup);
2109 INODE_CACHE(orphan_dir_inode),
2121 orphan_dir_inode->i_nlink = ocfs2_read_links_count(orphan_fe);
2356 struct inode *orphan_dir_inode = NULL;
2392 orphan_dir_inode = ocfs2_get_system_file_inode(osb,
2395 if (!orphan_dir_inode) {
2401 mutex_lock(&orphan_dir_inode->i_mutex);
2403 status = ocfs2_inode_lock(orphan_dir_inode, &orphan_dir_bh, 1);
2406 mutex_unlock(&orphan_dir_inode->i_mutex);
2407 iput(orphan_dir_inode);
2432 status = ocfs2_orphan_del(osb, handle, orphan_dir_inode, inode,
2467 ocfs2_inode_unlock(orphan_dir_inode, 1);
2468 mutex_unlock(&orphan_dir_inode->i_mutex);
2469 iput(orphan_dir_inode);