Home
last modified time | relevance | path

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

/linux-6.1.9/fs/ocfs2/
Dresize.c263 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, 1); in ocfs2_group_extend()
[all …]
Dlocalalloc.c47 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()
[all …]
Dalloc.c7533 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 …]