/src/sys/arch/alpha/stand/common/ |
putulong.c | 32 char buf[sizeof (ul) * 2], *bp; local in function:putulong 34 for (bp = buf; ul != 0; ul >>= 4) 35 *bp++ = hexdigits[ul & 0xf]; 36 while (bp-- > buf) 37 putchar(*bp);
|
/src/usr.sbin/tcpdchk/ |
percent_m.c | 32 char *bp = obuf; local in function:percent_m 35 while ((*bp = *cp) != '\0') 37 strcpy(bp, strerror(errno)); 38 bp += strlen(bp); 41 bp++, cp++;
|
percent_x.c | 37 char *bp = result; local in function:percent_x 76 if (bp + expansion_len >= end) { 81 memcpy(bp, expansion, expansion_len); 82 bp += expansion_len; 84 *bp = 0;
|
/src/games/mille/ |
varpush.c | 84 char buf[80], *bp; local in function:varpush 88 if ((bp = strchr(buf, '\n')) != NULL) 89 *bp = '\0';
|
/src/usr.sbin/lpr/common_source/ |
common_vars.c | 50 char *bp; /* pointer into printcap buffer. */ variable in typeref:typename:char *
|
/src/sys/arch/luna68k/stand/boot/ |
ufs_disksubr.c | 97 uint8_t *bp = lbl_buff; local in function:readdisklabel 112 if (scsi_immed_command(ctlr, id, 0, &cdb, bp, DEV_BSIZE) != 0) { 115 for (dlp = (struct disklabel *)bp; 116 dlp <= (struct disklabel *)(bp + DEV_BSIZE - sizeof(*dlp));
|
/src/sys/external/bsd/drm2/include/drm/ |
drm_sysctl.h | 33 const void *bp, *ep, *bd, *ed; member in struct:drm_sysctl_def
|
/src/tests/net/bpf/ |
t_div-by-zero.c | 22 struct bpf_program bp; local in function:ATF_TC_BODY 37 bp.bf_len = __arraycount(bins); 38 bp.bf_insns = bins; 43 ATF_REQUIRE_EQ_MSG(rump_sys_ioctl(fd, BIOCSETF, &bp), -1,
|
/src/sbin/efi/ |
utils.h | 61 char *bp; local in function:encode_data 63 bp = emalloc(len * 2 + 1); 65 snprintf(&bp[i * 2], 3, "%02x", data[i]); 66 bp[len * 2] = '\0'; 68 return bp;
|
/src/lib/libwrap/ |
percent_x.c | 42 char *bp = result; local in function:percent_x 82 if (bp + expansion_len >= end) { 87 memcpy(bp, expansion, expansion_len); 88 bp += expansion_len; 90 *bp = 0;
|
/src/sys/arch/evbppc/evbppc/ |
disksubr.c | 63 struct buf *bp; local in function:readdisklabel 80 bp = geteblk((int)lp->d_secsize); 83 bp->b_dev = dev; 84 bp->b_blkno = LABELSECTOR; 85 bp->b_cylinder = 0; 86 bp->b_bcount = lp->d_secsize; 87 bp->b_flags |= B_READ; 88 (*strat)(bp); 91 if (biowait(bp)) { 96 for (dlp = (struct disklabel *)bp->b_data 166 struct buf *bp; local in function:writedisklabel [all...] |
/src/sys/arch/hp300/hp300/ |
disksubr.c | 59 struct buf *bp; local in function:readdisklabel 81 bp = geteblk((int)lp->d_secsize); 82 bp->b_dev = dev; 83 bp->b_blkno = LABELSECTOR; 84 bp->b_bcount = lp->d_secsize; 85 bp->b_flags |= B_READ; 86 bp->b_cylinder = LABELSECTOR / lp->d_secpercyl; 87 (*strat)(bp); 88 if (biowait(bp)) 90 else for (dlp = (struct disklabel *)bp->b_data 117 struct buf *bp; local in function:writedisklabel [all...] |
/src/sys/arch/news68k/news68k/ |
disksubr.c | 58 struct buf *bp; local in function:readdisklabel 80 bp = geteblk((int)lp->d_secsize); 81 bp->b_dev = dev; 82 bp->b_blkno = LABELSECTOR; 83 bp->b_bcount = lp->d_secsize; 84 bp->b_flags |= B_READ; 85 bp->b_cylinder = LABELSECTOR / lp->d_secpercyl; 86 (*strat)(bp); 87 if (biowait(bp)) 89 else for (dlp = (struct disklabel *)bp->b_data 116 struct buf *bp; local in function:writedisklabel [all...] |
/src/sys/arch/newsmips/newsmips/ |
disksubr.c | 58 struct buf *bp; local in function:readdisklabel 80 bp = geteblk((int)lp->d_secsize); 81 bp->b_dev = dev; 82 bp->b_blkno = LABELSECTOR; 83 bp->b_bcount = lp->d_secsize; 84 bp->b_flags |= B_READ; 85 bp->b_cylinder = LABELSECTOR / lp->d_secpercyl; 86 (*strat)(bp); 87 if (biowait(bp)) 89 else for (dlp = (struct disklabel *)bp->b_data 116 struct buf *bp; local in function:writedisklabel [all...] |
/src/sys/arch/pmax/pmax/ |
disksubr.c | 49 const char *compat_label(dev_t dev, void (*strat)(struct buf *bp), 61 readdisklabel(dev_t dev, void (*strat)(struct buf *bp), struct disklabel *lp, 64 struct buf *bp; local in function:readdisklabel 75 bp = geteblk((int)lp->d_secsize); 76 bp->b_dev = dev; 77 bp->b_blkno = LABELSECTOR; 78 bp->b_bcount = lp->d_secsize; 79 bp->b_flags |= B_READ; 80 bp->b_cylinder = LABELSECTOR / lp->d_secpercyl; 81 (*strat)(bp); 125 struct buf *bp = NULL; local in function:compat_label 203 struct buf *bp; local in function:writedisklabel [all...] |
/src/sys/arch/sun68k/stand/libsa/ |
promboot.c | 28 struct bootparam *bp; local in function:prom_get_boot_info 35 bp = *romVectorPtr->bootParam; 38 src = bp->argPtr[0]; 54 src = bp->argPtr[1];
|
/src/sys/kern/ |
bufq_fcfs.c | 98 bufq_fcfs_put(struct bufq_state *bufq, struct buf *bp) 102 TAILQ_INSERT_TAIL(&fcfs->bq_head, bp, b_actq); 109 struct buf *bp; local in function:bufq_fcfs_get 111 bp = TAILQ_FIRST(&fcfs->bq_head); 113 if (bp != NULL && remove) 114 TAILQ_REMOVE(&fcfs->bq_head, bp, b_actq); 116 return (bp); 123 struct buf *bp; local in function:bufq_fcfs_cancel 125 TAILQ_FOREACH(bp, &fcfs->bq_head, b_actq) { 126 if (bp == buf) [all...] |
/src/sys/ufs/ext2fs/ |
ext2fs_subr.c | 86 struct buf *bp; local in function:ext2fs_blkatoff 95 if ((error = bread(vp, lbn, fs->e2fs_bsize, 0, &bp)) != 0) { 99 *res = (char *)bp->b_data + ext2_blkoff(fs, offset); 100 *bpp = bp;
|
/src/usr.bin/ctags/ |
fortran.c | 149 char *bp; local in function:cicmp 151 for (len = 0, bp = lbp; *cp && (*cp &~ ' ') == (*bp++ &~ ' ');
|
/src/usr.sbin/rpc.bootparamd/ |
test.c | 70 bp_whoami_arg bp; local in function:main 87 bp.client_address.address_type = IP_ADDR_TYPE; 88 bp.client_address.bp_address_u.ip_addr.net = (addr >> 24) & 0xff; 89 bp.client_address.bp_address_u.ip_addr.host = (addr >> 16) & 0xff; 90 bp.client_address.bp_address_u.ip_addr.lh = (addr >> 8) & 0xff; 91 bp.client_address.bp_address_u.ip_addr.impno = (addr >> 0) & 0xff; 93 if ((out = bootparamproc_whoami_1(&bp, cli)) != NULL) {
|
/src/games/sail/ |
dr_5.c | 75 struct BP *bp; local in function:mensent 82 bp = isdefense ? from->file->DBP : from->file->OBP; 83 for (n=0; n < NBP; n++, bp++) { 84 if (bp->turnsent && bp->toship == to) 85 men += bp->mensent;
|
/src/sys/arch/virt68k/virt68k/ |
disksubr.c | 59 struct buf *bp; local in function:readdisklabel 81 bp = geteblk((int)lp->d_secsize); 82 bp->b_dev = dev; 83 bp->b_blkno = LABELSECTOR; 84 bp->b_bcount = lp->d_secsize; 85 bp->b_flags |= B_READ; 86 bp->b_cylinder = LABELSECTOR / lp->d_secpercyl; 87 (*strat)(bp); 88 if (biowait(bp)) 90 else for (dlp = (struct disklabel *)bp->b_data 117 struct buf *bp; local in function:writedisklabel [all...] |
/src/sbin/dkscan_bsdlabel/ |
dkscan_bsdlabel.c | 53 struct buf *bp = malloc(sizeof(*bp) + size); local in function:geteblk 55 bp->b_data = (void *)&bp[1]; 57 return bp; 61 brelse(struct buf *bp, int set) 63 free(bp);
|
/src/sbin/fsck_lfs/ |
pass0.c | 103 struct ubuf *bp, *cbp; local in function:pass0 132 LFS_IENTRY(ifp, fs, plastino, bp); 134 VOP_BWRITE(bp); 139 LFS_IENTRY(ifp, fs, ino, bp); 142 brelse(bp, 0); 151 LFS_IENTRY(ifp, fs, plastino, bp); 153 VOP_BWRITE(bp); 171 LFS_IENTRY(ifp, fs, ino, bp); 173 brelse(bp, 0); 181 VOP_BWRITE(bp); [all...] |
/src/sys/arch/alpha/alpha/ |
disksubr.c | 58 struct buf *bp; local in function:readdisklabel 75 bp = geteblk((int)lp->d_secsize); 78 bp->b_dev = dev; 79 bp->b_blkno = LABELSECTOR; 80 bp->b_cylinder = 0; 81 bp->b_bcount = lp->d_secsize; 82 bp->b_flags |= B_READ; 83 (*strat)(bp); 86 if (biowait(bp)) { 91 dlp = (struct disklabel *)((char *)bp->b_data + LABELOFFSET) 151 struct buf *bp; local in function:writedisklabel [all...] |