Searched refs:UCPI_UBH (Results 1 – 4 of 4) sorted by relevance
/fs/ufs/ |
D | balloc.c | 70 ucg = ubh_get_ucg (UCPI_UBH(ucpi)); in ufs_free_fragments() 78 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase); in ufs_free_fragments() 81 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_freeoff, i)) in ufs_free_fragments() 82 ubh_setbit (UCPI_UBH(ucpi), ucpi->c_freeoff, i); in ufs_free_fragments() 94 blkmap = ubh_blkmap (UCPI_UBH(ucpi), ucpi->c_freeoff, bbase); in ufs_free_fragments() 101 if (ubh_isblockset(UCPI_UBH(ucpi), ucpi->c_freeoff, blkno)) { in ufs_free_fragments() 120 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_free_fragments() 122 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi)); in ufs_free_fragments() 123 ubh_wait_on_buffer (UCPI_UBH(ucpi)); in ufs_free_fragments() 184 ucg = ubh_get_ucg (UCPI_UBH(ucpi)); in ufs_free_blocks() [all …]
|
D | ialloc.c | 90 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_free_inode() 103 if (ubh_isclr (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit)) in ufs_free_inode() 106 ubh_clrbit (UCPI_UBH(ucpi), ucpi->c_iusedoff, bit); in ufs_free_inode() 121 ubh_mark_buffer_dirty (UCPI_UBH(ucpi)); in ufs_free_inode() 123 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi)); in ufs_free_inode() 124 ubh_wait_on_buffer (UCPI_UBH(ucpi)); in ufs_free_inode() 164 ubh_mark_buffer_dirty(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk() 166 ubh_ll_rw_block(SWRITE, UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk() 167 ubh_wait_on_buffer(UCPI_UBH(ucpi)); in ufs2_init_inodes_chunk() 256 ucg = ubh_get_ucg(UCPI_UBH(ucpi)); in ufs_new_inode() [all …]
|
D | cylinder.c | 42 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()
|
D | util.h | 22 static inline struct ufs_buffer_head *UCPI_UBH(struct ufs_cg_private_info *cpi) in UCPI_UBH() function 372 (*((__fs32*)ubh_get_addr(UCPI_UBH(ucpi), (ucpi)->c_btotoff + ((cylno) << 2)))) 375 (*((__fs16*)ubh_get_addr(UCPI_UBH(ucpi), \
|