Home
last modified time | relevance | path

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

/fs/ufs/
Dballoc.c67 ucg = ubh_get_ucg (UCPI_UBH(ucpi)); in ufs_free_fragments()
75 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase); in ufs_free_fragments()
78 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, i)) in ufs_free_fragments()
79 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_freeoff, i); in ufs_free_fragments()
88 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase); in ufs_free_fragments()
95 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) { in ufs_free_fragments()
114 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_free_fragments()
116 ubh_sync_block(UCPI_UBH(ucpi)); in ufs_free_fragments()
174 ucg = ubh_get_ucg (UCPI_UBH(ucpi)); in ufs_free_blocks()
182 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) { in ufs_free_blocks()
[all …]
Dialloc.c87 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_free_inode()
95 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit)) in ufs_free_inode()
98 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit); in ufs_free_inode()
113 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_free_inode()
115 ubh_sync_block(UCPI_UBH(ucpi)); in ufs_free_inode()
154 ubh_mark_buffer_dirty(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk()
156 ubh_sync_block(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk()
242 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_new_inode()
247 bit = ubh_find_next_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, uspi->s_ipg, start); in ufs_new_inode()
249 bit = ubh_find_first_zero_bit (UCPI_UBH(ucpi), ucpi->c_iusedoff, start); in ufs_new_inode()
[all …]
Dcylinder.c42 UCPI_UBH(ucpi)->fragment = ufs_cgcmin(cgno); in ufs_read_cylinder()
43 UCPI_UBH(ucpi)->count = uspi->s_cgsize >> sb->s_blocksize_bits; in ufs_read_cylinder()
47 UCPI_UBH(ucpi)->bh[0] = sbi->s_ucg[cgno]; in ufs_read_cylinder()
48 for (i = 1; i < UCPI_UBH(ucpi)->count; i++) in ufs_read_cylinder()
49 if (!(UCPI_UBH(ucpi)->bh[i] = sb_bread(sb, UCPI_UBH(ucpi)->fragment + i))) in ufs_read_cylinder()
98 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_put_cylinder()
111 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_put_cylinder()
112 for (i = 1; i < UCPI_UBH(ucpi)->count; i++) { in ufs_put_cylinder()
113 brelse (UCPI_UBH(ucpi)->bh[i]); in ufs_put_cylinder()
Dutil.h22 static inline struct ufs_buffer_head *UCPI_UBH(struct ufs_cg_private_info *cpi) in UCPI_UBH() function
369 (*((__fs32*)ubh_get_addr(UCPI_UBH(ucpi), (ucpi)->c_btotoff + ((cylno) << 2))))
372 (*((__fs16*)ubh_get_addr(UCPI_UBH(ucpi), \