Home
last modified time | relevance | path

Searched refs:UCPI_UBH (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/fs/ufs/
Dballoc.c69 ucg = ubh_get_ucg (UCPI_UBH(ucpi)); in ufs_free_fragments()
77 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase); in ufs_free_fragments()
80 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, i)) in ufs_free_fragments()
81 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_freeoff, i); in ufs_free_fragments()
91 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase); in ufs_free_fragments()
98 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) { in ufs_free_fragments()
117 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_free_fragments()
119 ubh_sync_block(UCPI_UBH(ucpi)); in ufs_free_fragments()
177 ucg = ubh_get_ucg (UCPI_UBH(ucpi)); in ufs_free_blocks()
185 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) { in ufs_free_blocks()
[all …]
Dialloc.c88 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_free_inode()
96 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit)) in ufs_free_inode()
99 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit); in ufs_free_inode()
114 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_free_inode()
116 ubh_sync_block(UCPI_UBH(ucpi)); in ufs_free_inode()
155 ubh_mark_buffer_dirty(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk()
157 ubh_sync_block(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk()
244 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_new_inode()
249 bit = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, uspi->s_ipg, start); in ufs_new_inode()
251 bit = ubh_find_first_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, start); in ufs_new_inode()
[all …]
Dcylinder.c43 UCPI_UBH(ucpi)->fragment = ufs_cgcmin(cgno); in ufs_read_cylinder()
44 UCPI_UBH(ucpi)->count = uspi->s_cgsize >> sb->s_blocksize_bits; in ufs_read_cylinder()
48 UCPI_UBH(ucpi)->bh[0] = sbi->s_ucg[cgno]; in ufs_read_cylinder()
49 for (i = 1; i < UCPI_UBH(ucpi)->count; i++) in ufs_read_cylinder()
50 if (!(UCPI_UBH(ucpi)->bh[i] = sb_bread(sb, UCPI_UBH(ucpi)->fragment + i))) in ufs_read_cylinder()
99 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_put_cylinder()
112 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_put_cylinder()
113 for (i = 1; i < UCPI_UBH(ucpi)->count; i++) { in ufs_put_cylinder()
114 brelse (UCPI_UBH(ucpi)->bh[i]); in ufs_put_cylinder()
Dutil.h23 static inline struct ufs_buffer_head *UCPI_UBH(struct ufs_cg_private_info *cpi) in UCPI_UBH() function
365 (*((__fs32*)ubh_get_addr(UCPI_UBH(ucpi), (ucpi)->c_btotoff + ((cylno) << 2))))
368 (*((__fs16*)ubh_get_addr(UCPI_UBH(ucpi), \