Home
last modified time | relevance | path

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

/linux-4.19.296/fs/ocfs2/
Dresize.c279 struct inode *main_bm_inode = NULL; in ocfs2_group_extend() local
295 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_group_extend()
298 if (!main_bm_inode) { in ocfs2_group_extend()
304 inode_lock(main_bm_inode); in ocfs2_group_extend()
306 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_group_extend()
328 lgd_blkno = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_group_extend()
331 ret = ocfs2_read_group_descriptor(main_bm_inode, fe, lgd_blkno, in ocfs2_group_extend()
358 ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode, in ocfs2_group_extend()
367 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend()
375 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_group_extend()
[all …]
Dlocalalloc.c63 struct inode *main_bm_inode,
389 struct inode *main_bm_inode = NULL; in ocfs2_shutdown_local_alloc() local
414 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_shutdown_local_alloc()
417 if (!main_bm_inode) { in ocfs2_shutdown_local_alloc()
423 inode_lock(main_bm_inode); in ocfs2_shutdown_local_alloc()
425 status = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_shutdown_local_alloc()
464 main_bm_inode, main_bm_bh); in ocfs2_shutdown_local_alloc()
474 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_shutdown_local_alloc()
477 inode_unlock(main_bm_inode); in ocfs2_shutdown_local_alloc()
478 iput(main_bm_inode); in ocfs2_shutdown_local_alloc()
[all …]
Dalloc.c7528 struct inode *main_bm_inode = NULL; in ocfs2_trim_fs() local
7541 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_trim_fs()
7544 if (!main_bm_inode) { in ocfs2_trim_fs()
7550 inode_lock(main_bm_inode); in ocfs2_trim_fs()
7552 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 0); in ocfs2_trim_fs()
7607 first_group = ocfs2_which_cluster_group(main_bm_inode, start); in ocfs2_trim_fs()
7612 last_group = ocfs2_which_cluster_group(main_bm_inode, start + len - 1); in ocfs2_trim_fs()
7622 ret = ocfs2_read_group_descriptor(main_bm_inode, in ocfs2_trim_fs()
7658 ocfs2_inode_unlock(main_bm_inode, 0); in ocfs2_trim_fs()
7661 inode_unlock(main_bm_inode); in ocfs2_trim_fs()
[all …]