Searched refs:main_bm_inode (Results 1 – 3 of 3) sorted by relevance
/fs/ocfs2/ |
D | resize.c | 265 struct inode *main_bm_inode = NULL; in ocfs2_group_extend() local 281 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_group_extend() 284 if (!main_bm_inode) { in ocfs2_group_extend() 290 inode_lock(main_bm_inode); in ocfs2_group_extend() 292 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_group_extend() 314 lgd_blkno = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_group_extend() 317 ret = ocfs2_read_group_descriptor(main_bm_inode, fe, lgd_blkno, in ocfs2_group_extend() 344 ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode, in ocfs2_group_extend() 353 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend() 361 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_group_extend() [all …]
|
D | localalloc.c | 49 struct inode *main_bm_inode, 375 struct inode *main_bm_inode = NULL; in ocfs2_shutdown_local_alloc() local 400 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_shutdown_local_alloc() 403 if (!main_bm_inode) { in ocfs2_shutdown_local_alloc() 409 inode_lock(main_bm_inode); in ocfs2_shutdown_local_alloc() 411 status = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_shutdown_local_alloc() 449 main_bm_inode, main_bm_bh); in ocfs2_shutdown_local_alloc() 459 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_shutdown_local_alloc() 462 inode_unlock(main_bm_inode); in ocfs2_shutdown_local_alloc() 463 iput(main_bm_inode); in ocfs2_shutdown_local_alloc() [all …]
|
D | alloc.c | 7547 struct inode *main_bm_inode = NULL; in ocfs2_trim_mainbm() local 7562 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_trim_mainbm() 7565 if (!main_bm_inode) { in ocfs2_trim_mainbm() 7571 inode_lock(main_bm_inode); in ocfs2_trim_mainbm() 7573 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 0); in ocfs2_trim_mainbm() 7596 first_group = ocfs2_which_cluster_group(main_bm_inode, start); in ocfs2_trim_mainbm() 7602 last_group = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_trim_mainbm() 7613 ret = ocfs2_read_group_descriptor(main_bm_inode, in ocfs2_trim_mainbm() 7642 ocfs2_inode_unlock(main_bm_inode, 0); in ocfs2_trim_mainbm() 7646 inode_unlock(main_bm_inode); in ocfs2_trim_mainbm() [all …]
|