/src/sbin/fsck_lfs/ |
pass0.c | 103 struct ubuf *bp, *cbp; local in function:pass0 115 LFS_CLEANERINFO(cip, fs, cbp); 117 brelse(cbp, 0); 193 LFS_CLEANERINFO(cip, fs, cbp); 218 LFS_SYNC_CLEANERINFO(cip, fs, cbp, writeit); 220 brelse(cbp, 0);
|
pass6.c | 213 struct ubuf *bp, *sbp, *cbp; local in function:remove_ino 225 LFS_GET_HEADFREE(fs, cip, cbp, &nextfree); 228 LFS_PUT_HEADFREE(fs, cip, cbp, ino); 473 struct ubuf *bp, *cbp; local in function:alloc_inode 493 LFS_GET_HEADFREE(fs, cip, cbp, &oldhead); 495 LFS_PUT_HEADFREE(fs, cip, cbp, nextfree); 510 LFS_PUT_TAILFREE(fs, cip, cbp, ino); 551 struct ubuf *bp, *ibp, *sbp, *cbp; local in function:pass6 871 LFS_CLEANERINFO(cip, fs, cbp); 872 LFS_SYNC_CLEANERINFO(cip, fs, cbp, 0) [all...] |
lfs.c | 883 struct ubuf *bp, *cbp; local in function:lfs_valloc 890 LFS_GET_HEADFREE(fs, cip, cbp, &new_ino); 899 LFS_PUT_HEADFREE(fs, cip, cbp, lfs_if_getnextfree(fs, ifp)); 906 LFS_PUT_HEADFREE(fs, cip, cbp, new_ino); 933 struct ubuf *bp, *cbp; local in function:extend_ifile 949 LFS_GET_HEADFREE(fs, cip, cbp, &oldlast); 950 LFS_PUT_HEADFREE(fs, cip, cbp, i); 979 LFS_PUT_TAILFREE(fs, cip, cbp, max - 1);
|
/src/games/gomoku/ |
bdinit.c | 116 struct combostr *cbp = &frames[fi]; local in function:init_spot_frame 117 cbp->c_combo.s = sp->s_fval[BLACK][r].s; 118 cbp->c_vertex = (spot_index)(sp - board); 119 cbp->c_nframes = 1; 120 cbp->c_dir = r;
|
makemove.c | 64 sortframes_remove(struct combostr *cbp) 67 if (cbp->c_next == NULL) 70 if (sortframes[BLACK] == cbp) 71 sortframes[BLACK] = cbp->c_next; 72 if (sortframes[WHITE] == cbp) 73 sortframes[WHITE] = cbp->c_next; 74 cbp->c_next->c_prev = cbp->c_prev; 75 cbp->c_prev->c_next = cbp->c_next 127 struct combostr *cbp = &frames[fsp->s_frame[r]]; local in function:makemove [all...] |
main.c | 483 struct combostr *cbp; local in function:whatsup 581 cbp = ep->e_combo; 583 if (cbp->c_nframes > n) 585 if (cbp->c_nframes != n) 588 printcombo(cbp, tmp, sizeof(tmp));
|
pickmove.c | 262 struct combostr *cbp = sortframes[color]; local in function:scanframes 263 if (cbp == NULL) 266 if (four_in_a_row(color, cbp->c_vertex, cbp->c_dir)) 275 ecbp = cbp; 277 sp = &board[cbp->c_vertex]; 278 cp = &sp->s_fval[color][r = cbp->c_dir]; 297 makecombo2(cbp, sp, 0, cb.s); 328 makecombo2(cbp, sp, off, cb.s); 341 board[cbp->c_vertex].s_flags |= MFLAG << r 566 struct combostr *cbp, *ecbp; local in function:addframes 667 struct combostr *cbp; local in function:makecombo 810 struct combostr *cbp, **cbpp; local in function:makeempty 1217 struct combostr *cbp, *ecbp; local in function:sortcombo 1351 struct combostr *cbp, **cbpp; local in function:markcombo [all...] |
/src/sys/ufs/lfs/ |
ulfs_bmap.c | 139 struct buf *bp, *cbp; local in function:ulfs_bmaparray 246 cbp = incore(vp, metalbn); 248 if (cbp == NULL)
|
lfs_bio.c | 375 struct buf *cbp; local in function:lfs_availwait 394 LFS_CLEANERINFO(cip, fs, cbp); 395 LFS_SYNC_CLEANERINFO(cip, fs, cbp, 0);
|
lfs_alloc.c | 123 struct buf *bp, *cbp; local in function:lfs_extend_ifile 174 LFS_GET_HEADFREE(fs, cip, cbp, &oldhead); 175 LFS_PUT_HEADFREE(fs, cip, cbp, i); 176 LFS_GET_TAILFREE(fs, cip, cbp, &tail); 182 LFS_PUT_TAILFREE(fs, cip, cbp, tail); 250 struct buf *bp, *cbp; local in function:lfs_valloc 267 LFS_GET_HEADFREE(fs, cip, cbp, ino); 287 LFS_PUT_HEADFREE(fs, cip, cbp, lfs_if_getnextfree(fs, ifp)); 317 LFS_PUT_HEADFREE(fs, cip, cbp, *ino); 353 struct buf *bp, *cbp; local in function:lfs_valloc_fixed 561 struct buf *cbp, *bp; local in function:lfs_vfree [all...] |
lfs_segment.c | 2084 struct buf **bpp, *bp, *cbp, *newbp, *unbusybp; local in function:lfs_writeseg 2342 cbp = lfs_newclusterbuf(fs, devvp, (*bpp)->b_blkno, i); 2343 cl = cbp->b_private; 2345 cbp->b_flags |= B_ASYNC; 2346 cbp->b_cflags |= BC_BUSY; 2347 cbp->b_bcount = 0; 2363 while (i && cbp->b_bcount < CHUNKSIZE) { 2366 if (bp->b_bcount > (CHUNKSIZE - cbp->b_bcount)) 2368 if (cbp->b_bcount > 0 && !(cl->flags & LFS_CL_MALLOC)) 2373 if (cbp->b_bcount > 0 [all...] |
/src/sys/ufs/ufs/ |
ufs_bmap.c | 119 struct buf *bp, *cbp; local in function:ufs_bmaparray 230 cbp = incore(vp, metalbn); 232 if (cbp == NULL)
|
/src/sys/ufs/ext2fs/ |
ext2fs_bmap.c | 207 struct buf *bp, *cbp; local in function:ext2fs_bmaparray 278 cbp = incore(vp, metalbn); 280 if (cbp == NULL)
|
/src/lib/libedit/ |
read.c | 284 size_t cbp = 0; local in function:read_char 289 while ((num_read = read(el->el_infd, cbuf + cbp, (size_t)1)) == -1) { 320 ++cbp; 323 switch (mbrtowc(cp, cbuf, cbp, &mbs)) { 325 if (cbp > 1) { 330 cbuf[0] = cbuf[cbp - 1]; 331 cbp = 0; 335 cbp = 0; 339 if (cbp >= MB_LEN_MAX) {
|
/src/sys/arch/sandpoint/stand/altboot/ |
fxp.c | 193 struct fxp_cb_config *cbp = &store_cbc; local in function:fxp_init 231 memcpy(cbp, fxp_cb_config_template, sizeof(fxp_cb_config_template)); 236 cbp->cb_status = 0; 237 cbp->cb_command = htole16(FXP_CB_COMMAND_CONFIG | 239 cbp->link_addr = -1; /* (no) next command */ 240 cbp->byte_count = 22; /* (22) bytes to config */ 241 cbp->rx_fifo_limit = 8; /* rx fifo threshold (32 bytes) */ 242 cbp->tx_fifo_limit = 0; /* tx fifo threshold (0 bytes) */ 243 cbp->adaptive_ifs = 0; /* (no) adaptive interframe spacing */ 244 cbp->rx_dma_bytecount = 0; /* (no) rx DMA max * [all...] |
/src/sys/dev/ata/ |
ld_ataraid.c | 140 #define CBUF_PUT(cbp) pool_cache_put(sc->sc_cbufpool, (cbp)) 271 struct cbuf *cbp = obj; local in function:cbufpool_ctor 275 buf_init(&cbp->cb_buf); 284 struct cbuf *cbp = obj; local in function:cbufpool_dtor 286 buf_destroy(&cbp->cb_buf); 293 struct cbuf *cbp; local in function:ld_ataraid_make_cbuf 295 cbp = CBUF_GET(); 296 if (cbp == NULL) 298 cbp->cb_buf.b_flags = bp->b_flags 323 struct cbuf *cbp; local in function:ld_ataraid_start_vstrategy 342 struct cbuf *cbp; local in function:ld_ataraid_start_span 400 struct cbuf *cbp, *other_cbp; local in function:ld_ataraid_start_raid0 498 struct cbuf *cbp = (struct cbuf *) vbp, *other_cbp; local in function:ld_ataraid_iodone_raid0 [all...] |
/src/sys/dev/ |
ccd.c | 156 #define CCD_PUTBUF(cbp) pool_cache_put(ccd_cache, cbp) 785 struct ccdbuf *cbp; local in function:ccdstart 828 cbp = ccdbuffer(cs, bp, bn, addr, bcount, wait); 829 KASSERT(cbp != NULL || wait == PR_NOWAIT); 830 if (cbp == NULL) { 831 while ((cbp = SIMPLEQ_FIRST(&cbufq)) != NULL) { 833 CCD_PUTBUF(cbp); 839 SIMPLEQ_INSERT_TAIL(&cbufq, cbp, cb_q); 840 rcount = cbp->cb_buf.b_bcount 876 struct ccdbuf *cbp; local in function:ccdbuffer 982 struct ccdbuf *cbp = (struct ccdbuf *) vbp; local in function:ccdiodone [all...] |
/src/sys/dev/ic/ |
i82557.c | 1675 struct fxp_cb_config *cbp; local in function:fxp_init 1747 cbp = &sc->sc_control_data->fcd_configcb; 1748 memset(cbp, 0, sizeof(struct fxp_cb_config)); 1765 memcpy(cbp, fxp_cb_config_template, sizeof(fxp_cb_config_template)); 1768 cbp->cb_status = 0; 1769 cbp->cb_command = htole16(FXP_CB_COMMAND_CONFIG | 1772 cbp->link_addr = 0xffffffff; /* (no) next command */ 1774 cbp->byte_count = (sc->sc_flags & FXPF_EXT_RFA) ? 1776 cbp->rx_fifo_limit = 8; /* rx fifo threshold (32 bytes) */ 1777 cbp->tx_fifo_limit = 0; /* tx fifo threshold (0 bytes) * 2363 struct fxp_cb_ucode *cbp = &sc->sc_control_data->fcd_ucode; local in function:fxp_load_ucode [all...] |