/freebsd-11.0-release/sys/ufs/ffs/ |
H A D | ffs_vfsops.c | 585 struct buf *bp; local 615 NOCRED, &bp)) != 0) 617 newfs = (struct fs *)bp->b_data; 622 brelse(bp); 637 brelse(bp); 666 NOCRED, &bp); 669 bcopy(bp->b_data, space, (u_int)size); 671 brelse(bp); 710 (int)fs->fs_bsize, NOCRED, &bp); 717 ffs_load_inode(bp, i 741 struct buf *bp; local 1645 struct buf *bp; local 1821 struct buf *bp; local 1891 struct buf *bp; local 1950 softdep_setup_sbupdate(ump, (struct fs *)bp->b_data, bp); local 1995 ffs_backgroundwritedone(struct buf *bp) argument 2071 ffs_bufwrite(struct buf *bp) argument 2170 ffs_geom_strategy(struct bufobj *bo, struct buf *bp) argument [all...] |
/freebsd-11.0-release/contrib/libxo/encoder/cbor/ |
H A D | enc_cbor.c | 45 char *bp, *tp; local 61 bp = buf; 65 if (i && (i % 4) == 0) *bp++ = ' '; 67 *bp++ = '-'; 68 *bp++ = ' '; 70 sprintf(bp, "%02x ", (unsigned char) *data); 71 bp += strlen(bp); 77 *bp = 0; 135 char *bp local [all...] |
/freebsd-11.0-release/sys/dev/ixl/ |
H A D | i40e_hmc.c | 104 i40e_memcpy(&sd_entry->u.bp.addr, 107 sd_entry->u.bp.sd_pd_index = sd_index; 117 I40E_INC_BP_REFCNT(&sd_entry->u.bp); 186 i40e_memcpy(&pd_entry->bp.addr, page, 188 pd_entry->bp.sd_pd_index = pd_index; 189 pd_entry->bp.entry_type = I40E_SD_TYPE_PAGED; 204 I40E_INC_BP_REFCNT(&pd_entry->bp); 253 I40E_DEC_BP_REFCNT(&pd_entry->bp); 254 if (pd_entry->bp.ref_cnt) 267 ret_code = i40e_free_dma_mem(hw, &(pd_entry->bp [all...] |
/freebsd-11.0-release/sys/dev/dpaa/ |
H A D | bman.c | 87 t_BmParam bp; local 111 memset(&bp, 0, sizeof(bp)); 112 bp.guestId = NCSW_MASTER_ID; 113 bp.baseAddress = rman_get_bushandle(sc->sc_rres); 114 bp.totalNumOfBuffers = BMAN_MAX_BUFFERS; 115 bp.f_Exception = bman_exception; 116 bp.h_App = sc; 117 bp.errIrq = (int)sc->sc_ires; 118 bp [all...] |
/freebsd-11.0-release/sys/fs/nfsclient/ |
H A D | nfs_clnfsiod.c | 245 struct buf *bp; local 285 while ((bp = TAILQ_FIRST(&nmp->nm_bufq)) != NULL) { 287 TAILQ_REMOVE(&nmp->nm_bufq, bp, b_freelist); 294 if (bp->b_flags & B_DIRECT) { 295 KASSERT((bp->b_iocmd == BIO_WRITE), ("nfscvs_iod: BIO_WRITE not set")); 296 (void)ncl_doio_directwrite(bp); 298 if (bp->b_iocmd == BIO_READ) 299 (void) ncl_doio(bp->b_vp, bp, bp [all...] |
/freebsd-11.0-release/release/picobsd/tinyware/passwd/ |
H A D | pw_copy.c | 202 pw_scan(bp, pw) 203 char *bp; 214 if (!(pw->pw_name = strsep(&bp, ":"))) /* login */ 220 if (!(pw->pw_passwd = strsep(&bp, ":"))) /* passwd */ 224 if (!(p = strsep(&bp, ":"))) /* uid */ 249 if (!(p = strsep(&bp, ":"))) /* gid */ 263 pw->pw_class = strsep(&bp, ":"); /* class */ 266 if (!(p = strsep(&bp, ":"))) /* change */ 271 if (!(p = strsep(&bp, ":"))) /* expire */ 276 if (!(pw->pw_gecos = strsep(&bp, " [all...] |
/freebsd-11.0-release/usr.bin/tset/ |
H A D | set.c | 157 char *bp, *p, bs_char, buf[1024]; local 159 bp = buf; 160 p = tgetstr("kb", &bp); 162 p = tgetstr("bc", &bp); 239 char *bp, buf[1024]; local 242 bp = buf; 243 if (tgetstr("pc", &bp) != 0) /* Get/set pad character. */ 255 bp = buf; 256 if (tgetstr("rs", &bp) != 0 || tgetstr("is", &bp) ! [all...] |
/freebsd-11.0-release/sys/dev/pst/ |
H A D | pst-raid.c | 67 struct bio *bp; /* associated bio ptr */ member in struct:pst_request 199 pststrategy(struct bio *bp) argument 201 struct pst_softc *psc = bp->bio_disk->d_drv1; 204 bioq_disksort(&psc->queue, bp); 213 struct bio *bp; local 217 (bp = bioq_first(&psc->queue))) { 219 bioq_remove(&psc->queue, bp); 223 biofinish(request->bp, NULL, ENOMEM); 231 request->bp = bp; [all...] |
/freebsd-11.0-release/contrib/sendmail/src/ |
H A D | err.c | 1083 char *bp; local 1105 bp = buf; 1114 (void) sm_strlcpy(bp, err, SPACELEFT(buf, bp)); 1117 (void) sm_strlcpy(bp, sys_errlist[errnum], 1118 SPACELEFT(buf, bp)); 1120 (void) sm_snprintf(bp, SPACELEFT(buf, bp), 1123 bp += strlen(bp); [all...] |
/freebsd-11.0-release/contrib/ncurses/ncurses/tinfo/ |
H A D | read_termcap.c | 184 register char *bp; local 186 bp = buf; 194 if (*bp == '\0') 196 else if (*bp++ == ':') 203 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++) 207 if (*bp == '@') 210 if (*bp != '\0' && *bp ! 343 register char *bp = buf; local 609 register char *bp; local 782 _nc_tgetent(char *bp, char **sourcename, int *lineno, const char *name) argument [all...] |
/freebsd-11.0-release/sys/cam/nvme/ |
H A D | nvme_da.c | 226 struct bio *bp, uint32_t rwcmd) 233 if (bp->bio_flags & BIO_UNMAPPED) { 235 payload = bp; 237 payload = bp->bio_data; 240 lba = bp->bio_pblkno; 241 count = bp->bio_bcount / softc->disk->d_sectorsize; 248 bp->bio_bcount, /* dxfer_len */ 341 ndastrategy(struct bio *bp) argument 346 periph = (struct cam_periph *)bp->bio_disk->d_drv1; 351 CAM_DEBUG(periph->path, CAM_DEBUG_TRACE, ("ndastrategy(%p)\n", bp)); 225 nda_nvme_rw_bio(struct nda_softc *softc, struct ccb_nvmeio *nvmeio, struct bio *bp, uint32_t rwcmd) argument 666 ndagetattr(struct bio *bp) argument 864 struct bio *bp; local 981 struct bio *bp; local [all...] |
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-ipcomp.c | 43 ipcomp_print(netdissect_options *ndo, register const u_char *bp, int *nhdr _U_) argument 52 ipcomp = (struct ipcomp *)bp;
|
/freebsd-11.0-release/crypto/openssl/crypto/pem/ |
H A D | pem_oth.c | 70 void *PEM_ASN1_read_bio(d2i_of_void *d2i, const char *name, BIO *bp, void **x, argument 78 if (!PEM_bytes_read_bio(&data, &len, NULL, name, bp, cb, u))
|
/freebsd-11.0-release/crypto/openssl/crypto/rsa/ |
H A D | rsa_prn.c | 82 int RSA_print(BIO *bp, const RSA *x, int off) argument 89 ret = EVP_PKEY_print_private(bp, pk, off, NULL);
|
/freebsd-11.0-release/crypto/openssl/crypto/ts/ |
H A D | ts_asn1.c | 71 TS_MSG_IMPRINT *d2i_TS_MSG_IMPRINT_bio(BIO *bp, TS_MSG_IMPRINT **a) 74 d2i_TS_MSG_IMPRINT, bp, a); 77 int i2d_TS_MSG_IMPRINT_bio(BIO *bp, TS_MSG_IMPRINT *a) 79 return ASN1_i2d_bio_of_const(TS_MSG_IMPRINT, i2d_TS_MSG_IMPRINT, bp, a); 107 TS_REQ *d2i_TS_REQ_bio(BIO *bp, TS_REQ **a) 109 return ASN1_d2i_bio_of(TS_REQ, TS_REQ_new, d2i_TS_REQ, bp, a); 112 int i2d_TS_REQ_bio(BIO *bp, TS_REQ *a) 114 return ASN1_i2d_bio_of_const(TS_REQ, i2d_TS_REQ, bp, a); 154 TS_TST_INFO *d2i_TS_TST_INFO_bio(BIO *bp, TS_TST_INFO **a) 156 return ASN1_d2i_bio_of(TS_TST_INFO, TS_TST_INFO_new, d2i_TS_TST_INFO, bp, [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/asn1/ |
H A D | f_int.c | 64 int i2a_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *a) argument 74 if (BIO_write(bp, "-", 1) != 1) 80 if (BIO_write(bp, "00", 2) != 2) 86 if (BIO_write(bp, "\\\n", 2) != 2) 92 if (BIO_write(bp, buf, 2) != 2) 102 int a2i_ASN1_INTEGER(BIO *bp, ASN1_INTEGER *bs, char *buf, int size) argument 112 bufsize = BIO_gets(bp, buf, size); 200 bufsize = BIO_gets(bp, buf, size);
|
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | lqr.c | 88 lqr_RecvEcho(struct fsm *fp, struct mbuf *bp) argument 94 if (m_length(bp) >= sizeof lqr) { 95 m_freem(mbuf_Read(bp, &lqr, sizeof lqr)); 96 bp = NULL; 123 m_length(bp), (long)sizeof(struct echolqr)); 124 return bp; 142 struct mbuf *bp; local 147 bp = m_get(sizeof(struct lqrdata) + extra, MB_LQROUT); 148 bp->m_len -= extra; 149 bp 202 lqr_Input(struct bundle *bundle __unused, struct link *l, struct mbuf *bp) argument 417 lqr_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp, int pri __unused, u_short *proto) argument 513 lqr_LayerPull(struct bundle *b __unused, struct link *l __unused, struct mbuf *bp, u_short *proto) argument [all...] |
/freebsd-11.0-release/sys/geom/stripe/ |
H A D | g_stripe.c | 277 g_stripe_done(struct bio *bp) argument 282 pbp = bp->bio_parent; 284 if (bp->bio_cmd == BIO_READ && bp->bio_caller1 != NULL) { 285 g_stripe_copy(sc, bp->bio_data, bp->bio_caller1, bp->bio_offset, 286 bp->bio_length, 1); 287 bp->bio_data = bp 306 g_stripe_start_fast(struct bio *bp, u_int no, off_t offset, off_t length) argument 434 g_stripe_start_economic(struct bio *bp, u_int no, off_t offset, off_t length) argument 535 g_stripe_flush(struct g_stripe_softc *sc, struct bio *bp) argument 571 g_stripe_start(struct bio *bp) argument [all...] |
/freebsd-11.0-release/sbin/ldconfig/ |
H A D | ldconfig.c | 448 struct hints_bucket *bp; local 450 bp = blist + 453 if (bp->hi_pathx) { 464 while (bp->hi_next != -1) 465 bp = &blist[bp->hi_next]; 466 bp->hi_next = j; 467 bp = blist + j; 471 bp->hi_namex = str_index; 475 bp 604 struct hints_bucket *bp = &blist[i]; local [all...] |
/freebsd-11.0-release/sys/geom/raid3/ |
H A D | g_raid3.c | 257 g_raid3_is_zero(struct bio *bp) argument 265 size = bp->bio_length; 266 addr = (u_char *)bp->bio_data; 402 struct bio *bp; local 406 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { 407 if (bp->bio_from == cp) 918 #define G_RAID3_FOREACH_BIO(pbp, bp) \ 919 for ((bp) = G_RAID3_HEAD_BIO(pbp); (bp) != NULL; \ 920 (bp) 937 struct bio *pbp, *bp; local 956 struct bio *pbp, *bp; local 977 struct bio *bp, *pbp; local 1007 struct bio *bp, *cbp; local 1044 struct bio *bp, *cbp, *tmpbp; local 1259 g_raid3_done(struct bio *bp) argument 1367 g_raid3_sync_done(struct bio *bp) argument 1382 g_raid3_flush(struct g_raid3_softc *sc, struct bio *bp) argument 1426 g_raid3_start(struct bio *bp) argument 1466 g_raid3_sync_collision(struct g_raid3_softc *sc, struct bio *bp) argument 1503 struct bio *bp; local 1522 g_raid3_regular_delay(struct g_raid3_softc *sc, struct bio *bp) argument 1533 g_raid3_sync_delay(struct g_raid3_softc *sc, struct bio *bp) argument 1547 struct bio *bp, *bp2; local 1574 struct bio *bp, *bp2; local 1594 g_raid3_sync_request(struct bio *bp) argument 2021 struct bio *bp; local 2185 struct bio *bp; local 2355 struct bio *bp; local [all...] |
/freebsd-11.0-release/contrib/libxo/libxo/ |
H A D | xo_buf.h | 118 char *bp = xo_realloc(xbp->xb_bufp, sz); local 119 if (bp == NULL) 122 xbp->xb_curp = bp + (xbp->xb_curp - xbp->xb_bufp); 123 xbp->xb_bufp = bp;
|
/freebsd-11.0-release/contrib/libpcap/ |
H A D | etherent.c | 100 char *bp; local 151 bp = e.name; 155 *bp++ = c; 158 *bp = '\0';
|
/freebsd-11.0-release/cddl/contrib/opensolaris/cmd/zdb/ |
H A D | zdb_il.c | 50 print_log_bp(const blkptr_t *bp, const char *prefix) argument 54 snprintf_blkptr(blkbuf, sizeof (blkbuf), bp); 124 blkptr_t *bp = &lr->lr_blkptr; local 139 !BP_IS_HOLE(bp) && 140 bp->blk_birth >= spa_first_txg(zilog->zl_spa) ? 142 print_log_bp(bp, prefix); 144 if (BP_IS_HOLE(bp)) { 146 (u_longlong_t)BP_GET_LSIZE(bp)); 151 if (bp->blk_birth < zilog->zl_header->zh_claim_txg) { 158 lr->lr_offset / BP_GET_LSIZE(bp)); 308 print_log_block(zilog_t *zilog, blkptr_t *bp, void *arg, uint64_t claim_txg) argument [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/cms/ |
H A D | cms_io.c | 80 CMS_ContentInfo *d2i_CMS_bio(BIO *bp, CMS_ContentInfo **cms) argument 82 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(CMS_ContentInfo), bp, cms); 85 int i2d_CMS_bio(BIO *bp, CMS_ContentInfo *cms) argument 87 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(CMS_ContentInfo), bp, cms);
|
/freebsd-11.0-release/contrib/nvi/ex/ |
H A D | ex_mark.c | 43 return (mark_set(sp, cmdp->argv[0]->bp[0], &cmdp->addr1, 1));
|