Home
last modified time | relevance | path

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

/linux-6.12.1/fs/ocfs2/
Dresize.c271 struct inode *main_bm_inode = NULL; in ocfs2_group_extend() local
287 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_group_extend()
290 if (!main_bm_inode) { in ocfs2_group_extend()
296 inode_lock(main_bm_inode); in ocfs2_group_extend()
298 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_group_extend()
320 lgd_blkno = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_group_extend()
323 ret = ocfs2_read_group_descriptor(main_bm_inode, fe, lgd_blkno, in ocfs2_group_extend()
350 ret = ocfs2_update_last_group_and_inode(handle, main_bm_inode, in ocfs2_group_extend()
359 ocfs2_update_super_and_backups(main_bm_inode, new_clusters); in ocfs2_group_extend()
367 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_group_extend()
[all …]
Dlocalalloc.c47 struct inode *main_bm_inode,
374 struct inode *main_bm_inode = NULL; in ocfs2_shutdown_local_alloc() local
399 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_shutdown_local_alloc()
402 if (!main_bm_inode) { in ocfs2_shutdown_local_alloc()
408 inode_lock(main_bm_inode); in ocfs2_shutdown_local_alloc()
410 status = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 1); in ocfs2_shutdown_local_alloc()
448 main_bm_inode, main_bm_bh); in ocfs2_shutdown_local_alloc()
458 ocfs2_inode_unlock(main_bm_inode, 1); in ocfs2_shutdown_local_alloc()
461 inode_unlock(main_bm_inode); in ocfs2_shutdown_local_alloc()
462 iput(main_bm_inode); in ocfs2_shutdown_local_alloc()
[all …]
Dalloc.c7540 struct inode *main_bm_inode = NULL; in ocfs2_trim_mainbm() local
7555 main_bm_inode = ocfs2_get_system_file_inode(osb, in ocfs2_trim_mainbm()
7558 if (!main_bm_inode) { in ocfs2_trim_mainbm()
7564 inode_lock(main_bm_inode); in ocfs2_trim_mainbm()
7566 ret = ocfs2_inode_lock(main_bm_inode, &main_bm_bh, 0); in ocfs2_trim_mainbm()
7589 first_group = ocfs2_which_cluster_group(main_bm_inode, start); in ocfs2_trim_mainbm()
7595 last_group = ocfs2_which_cluster_group(main_bm_inode, in ocfs2_trim_mainbm()
7606 ret = ocfs2_read_group_descriptor(main_bm_inode, in ocfs2_trim_mainbm()
7635 ocfs2_inode_unlock(main_bm_inode, 0); in ocfs2_trim_mainbm()
7639 inode_unlock(main_bm_inode); in ocfs2_trim_mainbm()
[all …]