/freebsd-11.0-release/sys/geom/eli/ |
H A D | g_eli_integrity.c | 132 struct bio *bp; local 138 bp = (struct bio *)crp->crp_opaque; 139 bp->bio_inbed++; 141 bp->bio_completed += crp->crp_olen; 143 bp->bio_inbed, bp->bio_children, (intmax_t)crp->crp_olen, (intmax_t)bp->bio_completed); 146 bp->bio_inbed, bp->bio_children, crp->crp_etype); 147 if (bp 258 struct bio *bp, *cbp, *cbp2; local 339 g_eli_auth_read(struct g_eli_softc *sc, struct bio *bp) argument 404 g_eli_auth_run(struct g_eli_worker *wr, struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/dev/nvme/ |
H A D | nvme_ns.c | 56 static struct bio ** nvme_construct_child_bios(struct bio *bp, 60 struct bio *bp, 119 struct bio *bp = arg; local 126 bp->bio_error = EIO; 127 bp->bio_flags |= BIO_ERROR; 128 bp->bio_resid = bp->bio_bcount; 130 bp->bio_resid = 0; 132 biodone(bp); 136 nvme_ns_strategy(struct bio *bp) argument 223 struct bio *bp = arg; local 341 nvme_construct_child_bios(struct bio *bp, uint32_t alignment, int *num_bios) argument 404 nvme_ns_split_bio(struct nvme_namespace *ns, struct bio *bp, uint32_t alignment) argument 429 nvme_ns_bio_process(struct nvme_namespace *ns, struct bio *bp, nvme_cb_fn_t cb_fn) argument [all...] |
/freebsd-11.0-release/sys/ufs/ffs/ |
H A D | ffs_rawread.c | 65 struct buf *bp); 192 struct buf *bp) 210 bp->b_bcount = len; 211 if (bp->b_bcount + iolen > bp->b_kvasize) { 212 bp->b_bcount = bp->b_kvasize; 214 bp->b_bcount -= PAGE_SIZE; 216 bp->b_flags = 0; /* XXX necessary ? */ 217 bp 187 ffs_rawread_readahead(struct vnode *vp, caddr_t udata, off_t offset, size_t len, struct thread *td, struct buf *bp) argument 271 struct buf *bp, *nbp, *tbp; local [all...] |
H A D | ffs_balloc.c | 98 struct buf *bp, *nbp; local 144 cred, &bp); 149 dbtofsb(fs, bp->b_blkno), dp->di_db[nb], 150 fs->fs_bsize, osize, bp); 153 dp->di_db[nb] = dbtofsb(fs, bp->b_blkno); 156 bwrite(bp); 158 bawrite(bp); 169 error = bread(vp, lbn, fs->fs_bsize, NOCRED, &bp); 171 brelse(bp); 174 bp 548 struct buf *bp, *nbp; local [all...] |
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-rx.c | 524 register const u_char *bp, int length, int sport, int dport, 531 if (ndo->ndo_snapend - bp < (int)sizeof (struct rx_header)) { 536 rxh = (struct rx_header *) bp; 591 rx_cache_insert(ndo, bp, (const struct ip *) bp2, dport); 595 fs_print(ndo, bp, length); 598 cb_print(ndo, bp, length); 601 prot_print(ndo, bp, length); 604 vldb_print(ndo, bp, length); 607 kauth_print(ndo, bp, length); 610 vol_print(ndo, bp, lengt 523 rx_print(netdissect_options *ndo, register const u_char *bp, int length, int sport, int dport, u_char *bp2) argument 677 rx_cache_insert(netdissect_options *ndo, const u_char *bp, const struct ip *ip, int dport) argument 880 fs_print(netdissect_options *ndo, register const u_char *bp, int length) argument 1053 fs_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 1216 cb_print(netdissect_options *ndo, register const u_char *bp, int length) argument 1299 cb_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 1349 prot_print(netdissect_options *ndo, register const u_char *bp, int length) argument 1493 prot_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 1606 vldb_print(netdissect_options *ndo, register const u_char *bp, int length) argument 1700 vldb_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 1888 kauth_print(netdissect_options *ndo, register const u_char *bp, int length) argument 1982 kauth_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 2034 vol_print(netdissect_options *ndo, register const u_char *bp, int length) argument 2236 vol_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 2371 bos_print(netdissect_options *ndo, register const u_char *bp, int length) argument 2463 bos_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 2522 ubik_print(netdissect_options *ndo, register const u_char *bp) argument 2632 ubik_reply_print(netdissect_options *ndo, register const u_char *bp, int length, int32_t opcode) argument 2696 rx_ack_print(netdissect_options *ndo, register const u_char *bp, int length) argument [all...] |
H A D | print-mobility.c | 105 const u_char *bp, const unsigned len) 110 ND_TCHECK(bp[i]); 111 if (bp[i] == IP6MOPT_PAD1) 115 ND_TCHECK(bp[i + 1]); 116 optlen = bp[i + 1] + 2; 123 ND_TCHECK(bp[i + optlen]); 125 switch (bp[i]) { 143 EXTRACT_16BITS(&bp[i+2]) << 2)); 150 ND_PRINT((ndo, "(alt-CoA: %s)", ip6addr_string(ndo, &bp[i+2]))); 158 EXTRACT_16BITS(&bp[ 104 mobility_opt_print(netdissect_options *ndo, const u_char *bp, const unsigned len) argument 187 mobility_print(netdissect_options *ndo, const u_char *bp, const u_char *bp2 _U_) argument [all...] |
H A D | print-bootp.c | 287 register const struct bootp *bp; local 291 bp = (const struct bootp *)cp; 292 ND_TCHECK(bp->bp_op); 295 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op))); 297 if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) { 298 ND_TCHECK2(bp->bp_chaddr[0], 6); 299 ND_PRINT((ndo, " from %s", etheraddr_string(ndo, bp->bp_chaddr))); 307 ND_TCHECK(bp 591 rfc1048_print(netdissect_options *ndo, register const u_char *bp) argument 1042 cmu_print(netdissect_options *ndo, register const u_char *bp) argument [all...] |
/freebsd-11.0-release/sys/fs/ext2fs/ |
H A D | ext2_balloc.c | 65 struct buf *bp, *nbp; local 96 error = bread(vp, lbn, fs->e2fs_bsize, NOCRED, &bp); 98 brelse(bp); 101 bp->b_blkno = fsbtodb(fs, nb); 102 *bpp = bp; 112 error = bread(vp, lbn, osize, NOCRED, &bp); 114 brelse(bp); 117 bp->b_blkno = fsbtodb(fs, nb); 141 bp = getblk(vp, lbn, nsize, 0, 0, 0); 142 bp [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/asn1/ |
H A D | t_req.c | 90 int X509_REQ_print_ex(BIO *bp, X509_REQ *x, unsigned long nmflags, argument 113 if (BIO_write(bp, "Certificate Request:\n", 21) <= 0) 115 if (BIO_write(bp, " Data:\n", 10) <= 0) 125 if (BIO_printf(bp, "%8sVersion: %s%lu (%s0x%lx)\n", "", neg, l, neg, 130 if (BIO_printf(bp, " Subject:%c", mlch) <= 0) 132 if (X509_NAME_print_ex(bp, ri->subject, nmindent, nmflags) < 0) 134 if (BIO_write(bp, "\n", 1) <= 0) 138 if (BIO_write(bp, " Subject Public Key Info:\n", 33) <= 0) 140 if (BIO_printf(bp, "%12sPublic Key Algorithm: ", "") <= 0) 142 if (i2a_ASN1_OBJECT(bp, r 252 X509_REQ_print(BIO *bp, X509_REQ *x) argument [all...] |
/freebsd-11.0-release/lib/libc/db/hash/ |
H A D | hash_bigkey.c | 199 u_int16_t *bp, pageno; local 204 bp = (u_int16_t *)bufp->page; 208 while (!key_done || (bp[2] != FULL_KEY_DATA)) { 209 if (bp[2] == FULL_KEY || bp[2] == FULL_KEY_DATA) 217 if (bp[2] == FULL_KEY_DATA && FREESPACE(bp)) 219 pageno = bp[bp[0] - 1]; 227 bp 275 u_int16_t *bp; local 323 u_int16_t *bp, pageno; local 362 u_int16_t *bp, len, off, save_addr; local 447 u_int16_t *bp; local 517 u_int16_t *bp, save_addr; local 560 BUFHEAD *bp, *tmpp; local [all...] |
/freebsd-11.0-release/contrib/nvi/common/ |
H A D | mem.h | 62 #define GET_SPACE_GOTO(sp, type, bp, blen, nlen) { \ 63 CHECK_TYPE(type *, bp) \ 66 bp = NULL; \ 68 BINC_GOTO(sp, type, bp, blen, nlen); \ 71 bp = (type *) L__gp->tmp_bp; \ 76 #define GET_SPACE_GOTOC(sp, bp, blen, nlen) \ 77 GET_SPACE_GOTO(sp, char, bp, blen, nlen) 78 #define GET_SPACE_GOTOW(sp, bp, blen, nlen) \ 79 GET_SPACE_GOTO(sp, CHAR_T, bp, blen, (nlen) * sizeof(CHAR_T)) 80 #define GET_SPACE_RET(sp, type, bp, ble [all...] |
/freebsd-11.0-release/lib/libc/gen/ |
H A D | getcap.c | 112 char *bp; local 115 bp = buf; 123 if (*bp == '\0') 126 if (*bp++ == ':') 132 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++) 136 if (*bp == '@') 139 if (*bp != '\0' && *bp ! 278 char *b_end, *bp; local 534 cdbget(DB *capdbp, char **bp, const char *name) argument 576 const char *np, *bp; local 647 cgetnext(char **bp, char **db_array) argument 787 char *bp, *mp; local 914 char *bp, *mp; local 983 char *bp; local [all...] |
/freebsd-11.0-release/crypto/heimdal/lib/roken/ |
H A D | getcap.c | 93 int cgetnext(char **bp, char **db_array); 159 char *bp; local 162 bp = buf; 170 if (*bp == '\0') 173 if (*bp++ == ':') 179 for (cp = cap; *cp == *bp && *bp != '\0'; cp++, bp++) 183 if (*bp == '@') 186 if (*bp ! 333 char *b_end, *bp, *cp; local 618 cdbget(DB *capdbp, char **bp, const char *name) argument 656 const char *np, *bp; local 854 const char *bp; local 987 const char *bp; local 1057 const char *bp; local [all...] |
/freebsd-11.0-release/sys/dev/ofw/ |
H A D | ofw_disk.c | 78 ofwd_startio(struct ofwd_softc *sc, struct bio *bp) argument 82 r = OF_seek(sc->ofwd_instance, bp->bio_offset); 84 switch (bp->bio_cmd) { 86 r = OF_read(sc->ofwd_instance, (void *)bp->bio_data, 87 bp->bio_length); 90 r = OF_write(sc->ofwd_instance, (void *)bp->bio_data, 91 bp->bio_length); 94 if (r != bp->bio_length) 97 bp->bio_resid = 0; 105 struct bio *bp; local 188 g_ofwd_start(struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/fs/nfsclient/ |
H A D | nfs_clbio.c | 88 struct buf *bp; local 145 bp = getpbuf(&ncl_pbuf_freecnt); 147 kva = (vm_offset_t) bp->b_data; 166 relpbuf(bp, &ncl_pbuf_freecnt); 232 struct buf *bp; local 291 bp = getpbuf(&ncl_pbuf_freecnt); 293 kva = (vm_offset_t) bp->b_data; 317 relpbuf(bp, &ncl_pbuf_freecnt); 415 struct buf *bp, *rabp; local 511 bp 762 struct buf *bp; local 857 struct buf *bp; local 1269 struct buf *bp; local 1382 ncl_asyncio(struct nfsmount *nmp, struct buf *bp, struct ucred *cred, struct thread *td) argument 1529 ncl_doio_directwrite(struct buf *bp) argument 1571 ncl_doio(struct vnode *vp, struct buf *bp, struct ucred *cr, struct thread *td, int called_from_strategy) argument 1841 struct buf *bp; local [all...] |
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | mbuf.h | 48 #define MBUF_CTOP(bp) \ 49 ((bp) ? (u_char *)((bp)+1) + (bp)->m_offset : (u_char *)bp) 51 #define CONST_MBUF_CTOP(bp) \ 52 ((bp) ? (const u_char *)((bp)+1) + (bp)->m_offset : (const u_char *)bp) [all...] |
/freebsd-11.0-release/contrib/tcsh/ |
H A D | tc.printf.c | 54 char *bp; local 140 bp = buf; 168 *bp++ = (char) (l % 10) + '0'; 171 *bp++ = '-'; 172 f_width = f_width - (int) (bp - buf); 176 for (bp--; bp >= buf; bp--) 177 (*addchar) (((unsigned char) *bp) | attributes); 212 *bp [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/bn/ |
H A D | bn_nist.c | 414 const unsigned int *bp = (const unsigned int *)buf.ui; local 417 acc += bp[3 * 2 - 6]; 418 acc += bp[5 * 2 - 6]; 423 acc += bp[3 * 2 - 5]; 424 acc += bp[5 * 2 - 5]; 429 acc += bp[3 * 2 - 6]; 430 acc += bp[4 * 2 - 6]; 431 acc += bp[5 * 2 - 6]; 436 acc += bp[3 * 2 - 5]; 437 acc += bp[ 569 const unsigned int *bp = (const unsigned int *)buf.ui; local 740 const unsigned int *bp = (const unsigned int *)buf.ui; local 986 const unsigned int *bp = (const unsigned int *)buf.ui; local [all...] |
H A D | bntest.c | 96 int test_add(BIO *bp); 97 int test_sub(BIO *bp); 98 int test_lshift1(BIO *bp); 99 int test_lshift(BIO *bp, BN_CTX *ctx, BIGNUM *a_); 100 int test_rshift1(BIO *bp); 101 int test_rshift(BIO *bp, BN_CTX *ctx); 102 int test_div(BIO *bp, BN_CTX *ctx); 103 int test_div_word(BIO *bp); 104 int test_div_recp(BIO *bp, BN_CTX *ctx); 105 int test_mul(BIO *bp); 348 test_add(BIO *bp) argument 388 test_sub(BIO *bp) argument 433 test_div(BIO *bp, BN_CTX *ctx) argument 498 print_word(BIO *bp, BN_ULONG w) argument 514 test_div_word(BIO *bp) argument 571 test_div_recp(BIO *bp, BN_CTX *ctx) argument 637 test_mul(BIO *bp) argument 688 test_sqr(BIO *bp, BN_CTX *ctx) argument 779 test_mont(BIO *bp, BN_CTX *ctx) argument 863 test_mod(BIO *bp, BN_CTX *ctx) argument 905 test_mod_mul(BIO *bp, BN_CTX *ctx) argument 978 test_mod_exp(BIO *bp, BN_CTX *ctx) argument 1051 test_mod_exp_mont_consttime(BIO *bp, BN_CTX *ctx) argument 1118 test_mod_exp_mont5(BIO *bp, BN_CTX *ctx) argument 1185 test_exp(BIO *bp, BN_CTX *ctx) argument 1232 test_gf2m_add(BIO *bp) argument 1281 test_gf2m_mod(BIO *bp) argument 1335 test_gf2m_mod_mul(BIO *bp, BN_CTX *ctx) argument 1403 test_gf2m_mod_sqr(BIO *bp, BN_CTX *ctx) argument 1458 test_gf2m_mod_inv(BIO *bp, BN_CTX *ctx) argument 1509 test_gf2m_mod_div(BIO *bp, BN_CTX *ctx) argument 1568 test_gf2m_mod_exp(BIO *bp, BN_CTX *ctx) argument 1636 test_gf2m_mod_sqrt(BIO *bp, BN_CTX *ctx) argument 1691 test_gf2m_mod_solve_quad(BIO *bp, BN_CTX *ctx) argument 1792 test_kron(BIO *bp, BN_CTX *ctx) argument 1893 test_sqrt(BIO *bp, BN_CTX *ctx) argument 1986 test_lshift(BIO *bp, BN_CTX *ctx, BIGNUM *a_) argument 2039 test_lshift1(BIO *bp) argument 2076 test_rshift(BIO *bp, BN_CTX *ctx) argument 2118 test_rshift1(BIO *bp) argument [all...] |
/freebsd-11.0-release/sys/geom/vinum/ |
H A D | geom_vinum_volume.c | 44 struct bio *bp; local 50 bp = bioq_takefirst(v->wqueue); 51 while (bp != NULL) { 52 gv_volume_start(sc, bp); 53 bp = bioq_takefirst(v->wqueue); 58 gv_volume_start(struct gv_softc *sc, struct bio *bp) argument 66 v = bp->bio_to->private; 68 g_io_deliver(bp, ENXIO); 72 switch (bp->bio_cmd) { 82 bioq_insert_tail(v->wqueue, bp); 142 gv_bio_done(struct gv_softc *sc, struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/i386/ibcs2/ |
H A D | ibcs2_ipc.c | 70 cvt_msqid2imsqid(bp, ibp) 71 struct msqid_ds *bp; 74 cvt_perm2iperm(&bp->msg_perm, &ibp->msg_perm); 75 ibp->msg_first = bp->msg_first; 76 ibp->msg_last = bp->msg_last; 77 ibp->msg_cbytes = (u_short)bp->msg_cbytes; 78 ibp->msg_qnum = (u_short)bp->msg_qnum; 79 ibp->msg_qbytes = (u_short)bp->msg_qbytes; 80 ibp->msg_lspid = (u_short)bp->msg_lspid; 81 ibp->msg_lrpid = (u_short)bp [all...] |
/freebsd-11.0-release/sys/geom/bde/ |
H A D | g_bde_work.c | 372 g_bde_contribute(struct bio *bp, off_t bytes, int error) argument 375 g_trace(G_T_TOPOLOGY, "g_bde_contribute bp %p bytes %jd error %d", 376 bp, (intmax_t)bytes, error); 377 if (bp->bio_error == 0) 378 bp->bio_error = error; 379 bp->bio_completed += bytes; 380 KASSERT(bp->bio_completed <= bp->bio_length, ("Too large contribution")); 381 if (bp->bio_completed == bp 410 g_bde_write_done(struct bio *bp) argument 459 struct bio *bp; local 487 g_bde_read_done(struct bio *bp) argument 515 struct bio *bp; local 736 g_bde_start1(struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/powerpc/ps3/ |
H A D | ps3disk.c | 130 static void ps3disk_strategy(struct bio *bp); 326 struct bio *bp; local 334 bp = bioq_takefirst(&sc->sc_deferredq); 337 if (bp == NULL) 340 if (bp->bio_driver1 != NULL) { 342 bp->bio_driver1); 344 bp->bio_driver1); 347 ps3disk_strategy(bp); 354 ps3disk_strategy(struct bio *bp) argument 356 struct ps3disk_softc *sc = (struct ps3disk_softc *)bp 417 struct bio *bp; local 590 struct bio *bp = (struct bio *)(arg); local [all...] |
/freebsd-11.0-release/lib/libgssapi/ |
H A D | gss_oid_to_str.c | 52 char *bp; local 93 if ((bp = (char *) malloc(string_length))) { 94 strcpy(bp, "{ "); 97 strcat(bp, numstr); 99 strcat(bp, numstr); 106 strcat(bp, numstr); 110 strcat(bp, "}"); 111 oid_str->length = strlen(bp)+1; 112 oid_str->value = (void *) bp;
|
/freebsd-11.0-release/lib/libutil/ |
H A D | kinfo_getfile.c | 19 char *buf, *bp, *eb; local 43 bp = buf; 45 while (bp < eb) { 46 kf = (struct kinfo_file *)(uintptr_t)bp; 49 bp += kf->kf_structsize; 58 bp = buf; 62 while (bp < eb) { 63 kf = (struct kinfo_file *)(uintptr_t)bp; 69 bp += kf->kf_structsize;
|