/kernel/linux/linux-5.10/fs/ocfs2/ |
H A 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, in ocfs2_group_extend() 453 struct inode *main_bm_inode = NULL; ocfs2_group_add() local [all...] |
H A 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() 554 struct inode *main_bm_inode; ocfs2_complete_local_alloc_recovery() local 949 ocfs2_sync_local_to_main(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_dinode *alloc, struct inode *main_bm_inode, struct buffer_head *main_bm_bh) ocfs2_sync_local_to_main() argument 1241 struct inode *main_bm_inode = NULL; ocfs2_local_alloc_slide_window() local [all...] |
H A D | alloc.c | 7528 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...] |
/kernel/linux/linux-6.6/fs/ocfs2/ |
H A D | resize.c | 263 struct inode *main_bm_inode = NULL; in ocfs2_group_extend() local 279 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_group_extend() 282 if (!main_bm_inode) { in ocfs2_group_extend() 288 inode_lock(main_bm_inode); in ocfs2_group_extend() 290 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_group_extend() 312 lgd_blkno = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_group_extend() 315 ret = ocfs2_read_group_descriptor(main_bm_inode, fe, lgd_blkno, in ocfs2_group_extend() 342 ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode, in ocfs2_group_extend() 351 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend() 359 ocfs2_inode_unlock(main_bm_inode, in ocfs2_group_extend() 451 struct inode *main_bm_inode = NULL; ocfs2_group_add() local [all...] |
H A D | localalloc.c | 47 struct inode *main_bm_inode, 373 struct inode *main_bm_inode = NULL; in ocfs2_shutdown_local_alloc() local 398 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_shutdown_local_alloc() 401 if (!main_bm_inode) { in ocfs2_shutdown_local_alloc() 407 inode_lock(main_bm_inode); in ocfs2_shutdown_local_alloc() 409 status = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_shutdown_local_alloc() 447 main_bm_inode, main_bm_bh); in ocfs2_shutdown_local_alloc() 457 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_shutdown_local_alloc() 460 inode_unlock(main_bm_inode); in ocfs2_shutdown_local_alloc() 461 iput(main_bm_inode); in ocfs2_shutdown_local_alloc() 552 struct inode *main_bm_inode; ocfs2_complete_local_alloc_recovery() local 947 ocfs2_sync_local_to_main(struct ocfs2_super *osb, handle_t *handle, struct ocfs2_dinode *alloc, struct inode *main_bm_inode, struct buffer_head *main_bm_bh) ocfs2_sync_local_to_main() argument 1239 struct inode *main_bm_inode = NULL; ocfs2_local_alloc_slide_window() local [all...] |
H A D | alloc.c | 7533 struct inode *main_bm_inode = NULL; in ocfs2_trim_mainbm() local 7548 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_trim_mainbm() 7551 if (!main_bm_inode) { in ocfs2_trim_mainbm() 7557 inode_lock(main_bm_inode); in ocfs2_trim_mainbm() 7559 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 0); in ocfs2_trim_mainbm() 7582 first_group = ocfs2_which_cluster_group(main_bm_inode, start); in ocfs2_trim_mainbm() 7588 last_group = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_trim_mainbm() 7599 ret = ocfs2_read_group_descriptor(main_bm_inode, in ocfs2_trim_mainbm() 7628 ocfs2_inode_unlock(main_bm_inode, 0); in ocfs2_trim_mainbm() 7632 inode_unlock(main_bm_inode); in ocfs2_trim_mainbm() [all...] |