Home
last modified time | relevance | path

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

/linux-2.4.37.9/fs/ufs/
Dballoc.c69 ucg = ubh_get_ucg (UCPI_UBH); in ufs_free_fragments()
77 blkmap = ubh_blkmap (UCPI_UBH, ucpi->c_freeoff, bbase); in ufs_free_fragments()
80 if (ubh_isclr (UCPI_UBH, ucpi->c_freeoff, i)) in ufs_free_fragments()
81 ubh_setbit (UCPI_UBH, ucpi->c_freeoff, i); in ufs_free_fragments()
92 blkmap = ubh_blkmap (UCPI_UBH, ucpi->c_freeoff, bbase); in ufs_free_fragments()
99 if (ubh_isblockset(UCPI_UBH, ucpi->c_freeoff, blkno)) { in ufs_free_fragments()
114 ubh_mark_buffer_dirty (UCPI_UBH); in ufs_free_fragments()
117 ubh_wait_on_buffer (UCPI_UBH); in ufs_free_fragments()
174 ucg = ubh_get_ucg (UCPI_UBH); in ufs_free_blocks()
182 if (ubh_isblockset(UCPI_UBH, ucpi->c_freeoff, blkno)) { in ufs_free_blocks()
[all …]
Dialloc.c93 ucg = ubh_get_ucg(UCPI_UBH); in ufs_free_inode()
106 if (ubh_isclr (UCPI_UBH, ucpi->c_iusedoff, bit)) in ufs_free_inode()
109 ubh_clrbit (UCPI_UBH, ucpi->c_iusedoff, bit); in ufs_free_inode()
124 ubh_mark_buffer_dirty (UCPI_UBH); in ufs_free_inode()
127 ubh_wait_on_buffer (UCPI_UBH); in ufs_free_inode()
211 ucg = ubh_get_ucg(UCPI_UBH); in ufs_new_inode()
216 bit = ubh_find_next_zero_bit (UCPI_UBH, ucpi->c_iusedoff, uspi->s_ipg, start); in ufs_new_inode()
218 bit = ubh_find_first_zero_bit (UCPI_UBH, ucpi->c_iusedoff, start); in ufs_new_inode()
226 if (ubh_isclr (UCPI_UBH, ucpi->c_iusedoff, bit)) in ufs_new_inode()
227 ubh_setbit (UCPI_UBH, ucpi->c_iusedoff, bit); in ufs_new_inode()
[all …]
Dcylinder.c50 UCPI_UBH->fragment = ufs_cgcmin(cgno); in ufs_read_cylinder()
51 UCPI_UBH->count = uspi->s_cgsize >> sb->s_blocksize_bits; in ufs_read_cylinder()
55 UCPI_UBH->bh[0] = sb->u.ufs_sb.s_ucg[cgno]; in ufs_read_cylinder()
56 for (i = 1; i < UCPI_UBH->count; i++) in ufs_read_cylinder()
57 if (!(UCPI_UBH->bh[i] = sb_bread(sb, UCPI_UBH->fragment + i))) in ufs_read_cylinder()
105 ucg = ubh_get_ucg(UCPI_UBH); in ufs_put_cylinder()
118 ubh_mark_buffer_dirty (UCPI_UBH); in ufs_put_cylinder()
119 for (i = 1; i < UCPI_UBH->count; i++) { in ufs_put_cylinder()
120 brelse (UCPI_UBH->bh[i]); in ufs_put_cylinder()
Dutil.h21 #define UCPI_UBH ((struct ufs_buffer_head *)ucpi) macro
317 (*((__u32*)ubh_get_addr(UCPI_UBH, (ucpi)->c_btotoff + ((cylno) << 2))))
320 (*((__u16*)ubh_get_addr(UCPI_UBH, \