/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-ipcomp.c | 40 ipcomp_print(netdissect_options *ndo, register const u_char *bp) argument 45 ipcomp = (const struct ipcomp *)bp;
|
/freebsd-11-stable/crypto/openssl/crypto/x509/ |
H A D | x_all.c | 168 X509 *d2i_X509_bio(BIO *bp, X509 **x509) argument 170 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509), bp, x509); 173 int i2d_X509_bio(BIO *bp, X509 *x509) argument 175 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509), bp, x509); 190 X509_CRL *d2i_X509_CRL_bio(BIO *bp, X509_CRL **crl) argument 192 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); 195 int i2d_X509_CRL_bio(BIO *bp, X509_CRL *crl) argument 197 return ASN1_item_i2d_bio(ASN1_ITEM_rptr(X509_CRL), bp, crl); 212 PKCS7 *d2i_PKCS7_bio(BIO *bp, PKCS7 **p7) argument 214 return ASN1_item_d2i_bio(ASN1_ITEM_rptr(PKCS7), bp, p 217 i2d_PKCS7_bio(BIO *bp, PKCS7 *p7) argument 234 d2i_X509_REQ_bio(BIO *bp, X509_REQ **req) argument 239 i2d_X509_REQ_bio(BIO *bp, X509_REQ *req) argument 280 d2i_RSAPrivateKey_bio(BIO *bp, RSA **rsa) argument 285 i2d_RSAPrivateKey_bio(BIO *bp, RSA *rsa) argument 290 d2i_RSAPublicKey_bio(BIO *bp, RSA **rsa) argument 295 d2i_RSA_PUBKEY_bio(BIO *bp, RSA **rsa) argument 300 i2d_RSAPublicKey_bio(BIO *bp, RSA *rsa) argument 305 i2d_RSA_PUBKEY_bio(BIO *bp, RSA *rsa) argument 334 d2i_DSAPrivateKey_bio(BIO *bp, DSA **dsa) argument 339 i2d_DSAPrivateKey_bio(BIO *bp, DSA *dsa) argument 344 d2i_DSA_PUBKEY_bio(BIO *bp, DSA **dsa) argument 349 i2d_DSA_PUBKEY_bio(BIO *bp, DSA *dsa) argument 378 d2i_EC_PUBKEY_bio(BIO *bp, EC_KEY **eckey) argument 383 i2d_EC_PUBKEY_bio(BIO *bp, EC_KEY *ecdsa) argument 388 d2i_ECPrivateKey_bio(BIO *bp, EC_KEY **eckey) argument 393 i2d_ECPrivateKey_bio(BIO *bp, EC_KEY *eckey) argument 457 d2i_PKCS8_bio(BIO *bp, X509_SIG **p8) argument 462 i2d_PKCS8_bio(BIO *bp, X509_SIG *p8) argument 515 d2i_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO **p8inf) argument 522 i2d_PKCS8_PRIV_KEY_INFO_bio(BIO *bp, PKCS8_PRIV_KEY_INFO *p8inf) argument 528 i2d_PKCS8PrivateKeyInfo_bio(BIO *bp, EVP_PKEY *key) argument 540 i2d_PrivateKey_bio(BIO *bp, EVP_PKEY *pkey) argument 545 d2i_PrivateKey_bio(BIO *bp, EVP_PKEY **a) argument 550 i2d_PUBKEY_bio(BIO *bp, EVP_PKEY *pkey) argument 555 d2i_PUBKEY_bio(BIO *bp, EVP_PKEY **a) argument [all...] |
/freebsd-11-stable/sys/geom/journal/ |
H A D | g_journal.c | 645 g_journal_metadata_done(struct bio *bp) argument 651 if (bp->bio_error != 0) { 652 GJ_LOGREQ(0, bp, "Cannot update metadata (error=%d).", 653 bp->bio_error); 655 GJ_LOGREQ(2, bp, "Metadata updated."); 657 gj_free(bp->bio_data, bp->bio_length); 658 g_destroy_bio(bp); 666 struct bio *bp; local 698 bp 723 g_journal_start(struct bio *bp) argument 754 g_journal_std_done(struct bio *bp) argument 769 struct bio *bp; local 1087 g_journal_read_first(struct g_journal_softc *sc, struct bio *bp) argument 1111 struct bio *bioq, *bp, *lbp; local 1162 g_journal_copy_read_done(struct bio *bp) argument 1198 g_journal_copy_write_done(struct bio *bp) argument 1238 struct bio *bp, *fbp, *pbp; local 1346 g_journal_flush_done(struct bio *bp) argument 1373 struct bio *bioq, *bp, *lbp; local 1405 g_journal_add_current(struct g_journal_softc *sc, struct bio *bp) argument 1431 struct bio *bp; local 1450 g_journal_add_request(struct g_journal_softc *sc, struct bio *bp) argument 1479 struct bio *bp; local 1529 struct bio *bp, *nbp, *head; local 1620 g_journal_read_done(struct bio *bp) argument 1723 g_journal_sync_read(struct g_consumer *cp, struct bio *bp, off_t offset, void *data) argument 1759 struct bio *bp, *fbp, *tbp; local 2010 struct bio *bp; local 2677 struct bio *bp; local [all...] |
/freebsd-11-stable/crypto/openssl/crypto/x509v3/ |
H A D | v3_ocsp.c | 92 BIO *bp, int ind); 160 static int i2r_ocsp_crlid(const X509V3_EXT_METHOD *method, void *in, BIO *bp, argument 165 if (BIO_printf(bp, "%*scrlUrl: ", ind, "") <= 0) 167 if (!ASN1_STRING_print(bp, (ASN1_STRING *)a->crlUrl)) 169 if (BIO_write(bp, "\n", 1) <= 0) 173 if (BIO_printf(bp, "%*scrlNum: ", ind, "") <= 0) 175 if (i2a_ASN1_INTEGER(bp, a->crlNum) <= 0) 177 if (BIO_write(bp, "\n", 1) <= 0) 181 if (BIO_printf(bp, "%*scrlTime: ", ind, "") <= 0) 183 if (!ASN1_GENERALIZEDTIME_print(bp, 193 i2r_ocsp_acutoff(const X509V3_EXT_METHOD *method, void *cutoff, BIO *bp, int ind) argument 203 i2r_object(const X509V3_EXT_METHOD *method, void *oid, BIO *bp, int ind) argument 286 i2r_ocsp_serviceloc(const X509V3_EXT_METHOD *method, void *in, BIO *bp, int ind) argument [all...] |
/freebsd-11-stable/sys/geom/ |
H A D | geom_vfs.c | 96 struct buf *bp; local 106 bp = bip->bio_caller2; 107 vp = bp->b_vp; 122 if (bp->b_iocmd == BIO_READ) { 123 if (LK_HOLDER(bp->b_lock.lk_lock) == LK_KERNPROC) 127 } else if (bp->b_iocmd == BIO_WRITE) { 128 if (LK_HOLDER(bp->b_lock.lk_lock) == LK_KERNPROC) 144 bp->b_error = bip->bio_error; 145 bp->b_ioflags = bip->bio_flags; 147 bp 161 g_vfs_strategy(struct bufobj *bo, struct buf *bp) argument [all...] |
/freebsd-11-stable/bin/ls/ |
H A D | util.c | 103 char *buf = alloca(slen + 1), *bp = buf; local 109 *bp++ = '?'; 116 *bp++ = '?'; 121 *bp++ = '?'; 127 *bp++ = (unsigned char)s[i]; 131 *bp = '\0'; 189 char *buf = alloca(slen * 4 + 1), *bp = buf; local 197 *bp++ = (unsigned char)s[i]; 205 *bp ++ = '\\'; 206 *bp [all...] |
/freebsd-11-stable/sys/fs/nandfs/ |
H A D | nandfs_bmap.c | 95 struct buf *bp) 110 nandfs_buf_set(bp, NANDFS_VBLK_ASSIGNED); 111 nandfs_vblk_set(bp, vblk); 123 nandfs_bmap_dirty_blocks(struct nandfs_node *node, struct buf *bp, int force) argument 127 error = bmap_dirty_meta(node, bp->b_lblkno, force); 130 __func__, bp); 152 nandfs_bmap_update_block(struct nandfs_node *node, struct buf *bp, argument 158 lblk = bp->b_lblkno; 159 nandfs_vblk_set(bp, blknr); 161 DPRINTF(BMAP, ("%s: node: %p ino: %#jx bp 94 nandfs_bmap_insert_block(struct nandfs_node *node, nandfs_lbn_t lblk, struct buf *bp) argument 177 nandfs_bmap_update_dat(struct nandfs_node *node, nandfs_daddr_t oldblk, struct buf *bp) argument [all...] |
H A D | nandfs_sufile.c | 56 #define SU_USAGE_OFF(bp, offset) \ 57 ((struct nandfs_segment_usage *)((bp)->b_data + offset)) 83 struct buf *bp_header, *bp; local 107 bp = NULL; 119 &bp); 122 &bp); 126 if (bp) 127 brelse(bp); 131 su_usage = SU_USAGE_OFF(bp, offset); 134 bp 217 struct buf *bp; local 244 struct buf *bp; local 281 struct buf *bp_header, *bp; local 343 struct buf *bp; local 374 struct buf *bp; local 437 struct buf *bp; local 508 struct buf *bp; local [all...] |
H A D | nandfs_dir.c | 65 struct buf *bp; local 69 bp = NULL; 71 error = nandfs_bread(dir_node, inode_blks - 1, NOCRED, 0, &bp); 73 brelse(bp); 77 pos = bp->b_data; 97 brelse(bp); 99 bp = NULL; 104 /* If no bp found create new */ 105 if (!bp) { 106 error = nandfs_bcreate(dir_node, inode_blks, NOCRED, 0, &bp); 156 struct buf *bp; local 241 struct buf *bp; local 265 struct buf *bp; local [all...] |
/freebsd-11-stable/contrib/one-true-awk/ |
H A D | lex.c | 106 char *bp = buf; local 116 *bp++ = c; 119 if (bp-buf >= sz) 120 if (!adjbuf(&buf, &sz, bp-buf+2, 100, &bp, "gettok")) 123 *bp++ = c; 125 *bp = 0; 130 *bp = 0; 136 if (bp-buf >= sz) 137 if (!adjbuf(&buf, &sz, bp 360 char *s, *bp; local 509 char *bp; local [all...] |
/freebsd-11-stable/contrib/sendmail/libsm/ |
H A D | t-qic.c | 56 char *obp, *bp; local 63 bp = str2prt(line_in); 69 fprintf(stderr, "in: %s\n", bp); 70 bp = str2prt(line_back); 71 fprintf(stderr, "out:%s\n", bp); 77 fprintf(stderr, "%s -> ", bp); 78 bp = str2prt(obp); 79 fprintf(stderr, "%s\n", bp); 167 char *bp; local 169 bp 194 char *bp; local 223 char *bp; local [all...] |
/freebsd-11-stable/contrib/tcsh/ |
H A D | tc.printf.c | 51 char *bp; local 142 bp = buf; 170 *bp++ = (char) (l % 10) + '0'; 173 *bp++ = '-'; 174 f_width = f_width - (int) (bp - buf); 180 for (bp--; bp >= buf; bp--) { 181 (*addchar) (((unsigned char) *bp) | attributes); 222 *bp [all...] |
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_join.c | 41 CHAR_T *bp, *tbp = NULL; local 55 GET_SPACE_RETW(sp, bp, blen, 256); 83 * tbp - bp is the length of the new line. 86 ADD_SPACE_RETW(sp, bp, blen, tlen); 87 tbp = bp + clen; 149 sp->cno = (tbp - bp) - (1 + extra); 152 sp->cno = (tbp - bp) - len - (1 + extra); 162 if (!first && db_set(sp, from, bp, tbp - bp)) { 163 err: FREE_SPACEW(sp, bp, ble [all...] |
H A D | ex_abbrev.c | 66 if (!inword(cmdp->argv[0]->bp[cmdp->argv[0]->len - 1])) { 71 for (p = cmdp->argv[0]->bp; *p != '\0'; ++p) 78 for (p = cmdp->argv[0]->bp, 86 if (seq_set(sp, NULL, 0, cmdp->argv[0]->bp, cmdp->argv[0]->len, 87 cmdp->argv[1]->bp, cmdp->argv[1]->len, SEQ_ABBREV, SEQ_USERDEF)) 107 seq_delete(sp, ap->bp, ap->len, SEQ_ABBREV)) { 108 msgq_wstr(sp, M_ERR, ap->bp,
|
H A D | ex_cd.c | 73 INT2CHAR(sp, cmdp->argv[0]->bp, cmdp->argv[0]->len + 1, 93 (ap = cmdp->argv[0])->bp[0] == '/' || 94 (ap->len == 1 && ap->bp[0] == '.') || 95 (ap->len >= 2 && ap->bp[0] == '.' && ap->bp[1] == '.' && 96 (ap->bp[2] == '/' || ap->bp[2] == '\0')))
|
/freebsd-11-stable/usr.bin/mkuzip/ |
H A D | mkuz_blockcache.c | 98 mkuz_blkcache_regblock(int fd, const struct mkuz_blk *bp) argument 105 assert((unsigned)lseek(fd, 0, SEEK_CUR) == bp->info.offset); 107 h = digest_fold(bp->info.digest); 112 if (bcep->hit.len != bp->info.len) 114 if (memcmp(bp->info.digest, bcep->hit.digest, 115 sizeof(bp->info.digest)) == 0) { 120 rval = verify_match(fd, bp, bcep); 125 I2J(bp->info.offset), I2J(bp->info.len)); 146 bcep->hit = bp [all...] |
/freebsd-11-stable/sys/geom/cache/ |
H A D | g_cache.h | 52 #define G_CACHE_LOGREQ(bp, ...) do { \ 57 g_print_bio(bp); \ 106 #define G_CACHE_NEXT_BIO1(bp) (bp)->bio_driver1 107 #define G_CACHE_NEXT_BIO2(bp) (bp)->bio_driver2 108 #define G_CACHE_DESC1(bp) (bp)->bio_caller1 109 #define G_CACHE_DESC2(bp) (bp) [all...] |
/freebsd-11-stable/bin/kenv/ |
H A D | kenv.c | 130 char *buf, *bp, *cp; local 152 for (bp = buf; *bp != '\0'; bp += strlen(bp) + 1) { 154 if (strncmp(bp, "hint.", 5) != 0) 157 cp = strchr(bp, '='); 162 printf("%s\n", bp); 164 printf("%s=\"%s\"\n", bp, cp); 165 bp [all...] |
/freebsd-11-stable/sys/dev/altera/sdcard/ |
H A D | altera_sdcard_io.c | 294 altera_sdcard_io_start_internal(struct altera_sdcard_softc *sc, struct bio *bp) argument 297 switch (bp->bio_cmd) { 299 altera_sdcard_write_cmd_arg(sc, bp->bio_pblkno * 305 altera_sdcard_write_rxtx_buffer(sc, bp->bio_data, 306 bp->bio_bcount); 307 altera_sdcard_write_cmd_arg(sc, bp->bio_pblkno * 314 bp->bio_cmd); 319 altera_sdcard_io_start(struct altera_sdcard_softc *sc, struct bio *bp) argument 331 KASSERT(bp->bio_bcount == ALTERA_SDCARD_SECTORSIZE, 333 altera_sdcard_io_start_internal(sc, bp); 346 struct bio *bp; local [all...] |
/freebsd-11-stable/sys/ufs/ufs/ |
H A D | ufs_bmap.c | 115 struct buf *bp; local 197 for (bp = NULL, ++ap; --num; ++ap) { 211 if (bp) 212 bqrelse(bp); 214 bp = getblk(vp, metalbn, mp->mnt_stat.f_iosize, 0, 0, 0); 215 if ((bp->b_flags & B_CACHE) == 0) { 220 bp->b_blkno = blkptrtodb(ump, daddr); 221 bp->b_iocmd = BIO_READ; 222 bp->b_flags &= ~B_INVAL; 223 bp [all...] |
/freebsd-11-stable/usr.sbin/bsnmpd/modules/snmp_bridge/ |
H A D | bridge_sys.c | 645 bridge_port_getinfo_conf(struct ifbreq *k_info, struct bridge_port *bp) argument 647 bp->state = state2snmp_st(k_info->ifbr_state); 648 bp->priority = k_info->ifbr_priority; 661 bp->admin_path_cost = k_info->ifbr_path_cost; 663 bp->admin_path_cost = 0; 665 bp->path_cost = k_info->ifbr_path_cost; 668 bp->enable = dot1dStpPortEnable_enabled; 670 bp->enable = dot1dStpPortEnable_disabled; 674 bp->span_enable = begemotBridgeBaseSpanEnabled_enabled; 676 bp 713 bridge_port_getinfo_opstp(struct ifbpstpreq *bp_stp, struct bridge_port *bp) argument 728 bridge_port_clearinfo_opstp(struct bridge_port *bp) argument 745 bridge_port_set_priority(const char *bif_name, struct bridge_port *bp, int32_t priority) argument 773 bridge_port_set_stp_enable(const char *bif_name, struct bridge_port *bp, uint32_t enable) argument 815 bridge_port_set_path_cost(const char *bif_name, struct bridge_port *bp, int32_t path_cost) argument 848 bridge_port_set_admin_ptp(const char *bif_name, struct bridge_port *bp, uint32_t admin_ptp) argument 899 bridge_port_set_admin_edge(const char *bif_name, struct bridge_port *bp, uint32_t enable) argument 943 bridge_port_set_private(const char *bif_name, struct bridge_port *bp, uint32_t priv_set) argument 989 bridge_port_addm(struct bridge_port *bp, const char *b_name) argument 1022 bridge_port_delm(struct bridge_port *bp, const char *b_name) argument 1181 struct bridge_port *bp; local 1231 struct bridge_port *bp, *bp_next; local [all...] |
/freebsd-11-stable/sys/dev/firewire/ |
H A D | fwmem.c | 326 struct bio *bp; local 328 bp = (struct bio *)xfer->sc; 329 bp->bio_error = xfer->resp; 331 if (bp->bio_error != 0) { 333 printf("%s: err=%d\n", __func__, bp->bio_error); 334 bp->bio_flags |= BIO_ERROR; 335 bp->bio_resid = bp->bio_bcount; 339 biodone(bp); 343 fwmem_strategy(struct bio *bp) argument [all...] |
/freebsd-11-stable/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 83 struct buf *bp, *nbp; local 192 bp = getblk(&vp, lbn, nsize, 0, 0, 0); 193 bp->b_blkno = fsbtodb(fs, newb); 194 clrbuf(bp); 195 *bpp = bp; 230 bp = getblk(&vp, indirs[1].in_lbn, fs->fs_bsize, 0, 0, 0); 231 bp->b_blkno = fsbtodb(fs, nb); 232 clrbuf(bp); 237 if ((error = bwrite(bp)) != 0) 248 error = bread(&vp, indirs[i].in_lbn, fs->fs_bsize, NULL, &bp); 333 struct buf *bp, *nbp; local [all...] |
/freebsd-11-stable/sys/fs/msdosfs/ |
H A D | msdosfs_fat.c | 77 static void updatefats(struct msdosfsmount *pmp, struct buf *bp, 135 struct buf *bp = NULL; local 199 if (bp) 200 brelse(bp); 201 error = bread(pmp->pm_devvp, bn, bsize, NOCRED, &bp); 203 brelse(bp); 210 if (bp) 211 brelse(bp); 215 cn = getulong(&bp->b_data[bo]); 217 cn = getushort(&bp 308 updatefats(struct msdosfsmount *pmp, struct buf *bp, u_long fatbn) argument 467 struct buf *bp; local 573 struct buf *bp; local 833 struct buf *bp = NULL; local 894 struct buf *bp; local 982 struct buf *bp; local 1133 struct buf *bp; local [all...] |
/freebsd-11-stable/sys/powerpc/mambo/ |
H A D | mambo_disk.c | 70 static void mambodisk_strategy(struct bio *bp); 182 mambodisk_strategy(struct bio *bp) argument 186 sc = (struct mambodisk_softc *)bp->bio_disk->d_drv1; 188 bioq_disksort(&sc->bio_queue, bp); 197 struct bio *bp; local 210 bp = bioq_first(&sc->bio_queue); 211 if (bp == NULL) 213 } while (bp == NULL && sc->running); 214 if (bp) 215 bioq_remove(&sc->bio_queue, bp); [all...] |