Home
last modified time | relevance | path

Searched refs:main_bm_inode (Results 1 – 3 of 3) sorted by relevance

/fs/ocfs2/
Dresize.c265 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 …]
Dlocalalloc.c49 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 …]
Dalloc.c7528 struct inode *main_bm_inode = NULL; in ocfs2_trim_mainbm() local
7543 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_trim_mainbm()
7546 if (!main_bm_inode) { in ocfs2_trim_mainbm()
7552 inode_lock(main_bm_inode); in ocfs2_trim_mainbm()
7554 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 0); in ocfs2_trim_mainbm()
7577 first_group = ocfs2_which_cluster_group(main_bm_inode, start); in ocfs2_trim_mainbm()
7583 last_group = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_trim_mainbm()
7594 ret = ocfs2_read_group_descriptor(main_bm_inode, in ocfs2_trim_mainbm()
7623 ocfs2_inode_unlock(main_bm_inode, 0); in ocfs2_trim_mainbm()
7627 inode_unlock(main_bm_inode); in ocfs2_trim_mainbm()
[all …]