Searched refs:main_bm_inode (Results 1 – 3 of 3) sorted by relevance
/fs/ocfs2/ |
D | resize.c | 270 struct inode *main_bm_inode = NULL; in ocfs2_group_extend() local 286 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_group_extend() 289 if (!main_bm_inode) { in ocfs2_group_extend() 295 mutex_lock(&main_bm_inode->i_mutex); in ocfs2_group_extend() 297 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_group_extend() 319 lgd_blkno = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_group_extend() 322 ret = ocfs2_read_group_descriptor(main_bm_inode, fe, lgd_blkno, in ocfs2_group_extend() 349 ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode, in ocfs2_group_extend() 358 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend() 366 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_group_extend() [all …]
|
D | localalloc.c | 63 struct inode *main_bm_inode, 385 struct inode *main_bm_inode = NULL; in ocfs2_shutdown_local_alloc() local 409 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_shutdown_local_alloc() 412 if (!main_bm_inode) { in ocfs2_shutdown_local_alloc() 418 mutex_lock(&main_bm_inode->i_mutex); in ocfs2_shutdown_local_alloc() 420 status = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_shutdown_local_alloc() 459 main_bm_inode, main_bm_bh); in ocfs2_shutdown_local_alloc() 469 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_shutdown_local_alloc() 472 mutex_unlock(&main_bm_inode->i_mutex); in ocfs2_shutdown_local_alloc() 473 iput(main_bm_inode); in ocfs2_shutdown_local_alloc() [all …]
|
D | alloc.c | 7314 struct inode *main_bm_inode = NULL; in ocfs2_trim_fs() local 7326 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_trim_fs() 7329 if (!main_bm_inode) { in ocfs2_trim_fs() 7335 mutex_lock(&main_bm_inode->i_mutex); in ocfs2_trim_fs() 7337 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 0); in ocfs2_trim_fs() 7356 first_group = ocfs2_which_cluster_group(main_bm_inode, start); in ocfs2_trim_fs() 7361 last_group = ocfs2_which_cluster_group(main_bm_inode, start + len - 1); in ocfs2_trim_fs() 7371 ret = ocfs2_read_group_descriptor(main_bm_inode, in ocfs2_trim_fs() 7400 ocfs2_inode_unlock(main_bm_inode, 0); in ocfs2_trim_fs() 7403 mutex_unlock(&main_bm_inode->i_mutex); in ocfs2_trim_fs() [all …]
|