/freebsd-11.0-release/crypto/openssl/crypto/dsa/ |
H A D | dsa_prn.c | 97 int DSA_print(BIO *bp, const DSA *x, int off) argument 104 ret = EVP_PKEY_print_private(bp, pk, off, NULL); 109 int DSAparams_print(BIO *bp, const DSA *x) argument 116 ret = EVP_PKEY_print_params(bp, pk, 4, NULL);
|
/freebsd-11.0-release/crypto/openssl/crypto/err/ |
H A D | err_prn.c | 105 static int print_bio(const char *str, size_t len, void *bp) argument 107 return BIO_write((BIO *)bp, str, len); 110 void ERR_print_errors(BIO *bp) argument 112 ERR_print_errors_cb(print_bio, bp);
|
/freebsd-11.0-release/contrib/ntp/scripts/build/ |
H A D | UpdatePoint | 89 bp=1 125 # bp=1 134 # bp=1 140 # bp=1 148 # bp=1 161 bp=0 171 bp=0 187 0) # bp=1 189 *) bp=0 195 bp [all...] |
/freebsd-11.0-release/usr.sbin/vidcontrol/ |
H A D | decode.c | 41 char *bp, *p; local 52 bp = buffer; 89 bcopy(tbuffer, bp, tpos); 91 bp += tpos;
|
/freebsd-11.0-release/crypto/openssl/crypto/asn1/ |
H A D | f_enum.c | 66 int i2a_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *a) argument 76 if (BIO_write(bp, "00", 2) != 2) 82 if (BIO_write(bp, "\\\n", 2) != 2) 88 if (BIO_write(bp, buf, 2) != 2) 98 int a2i_ASN1_ENUMERATED(BIO *bp, ASN1_ENUMERATED *bs, char *buf, int size) argument 108 bufsize = BIO_gets(bp, buf, size); 188 bufsize = BIO_gets(bp, buf, size);
|
H A D | f_string.c | 64 int i2a_ASN1_STRING(BIO *bp, ASN1_STRING *a, int type) argument 74 if (BIO_write(bp, "0", 1) != 1) 80 if (BIO_write(bp, "\\\n", 2) != 2) 86 if (BIO_write(bp, buf, 2) != 2) 96 int a2i_ASN1_STRING(BIO *bp, ASN1_STRING *bs, char *buf, int size) argument 104 bufsize = BIO_gets(bp, buf, size); 194 bufsize = BIO_gets(bp, buf, size);
|
/freebsd-11.0-release/sys/sys/ |
H A D | bufobj.h | 86 #define BO_STRATEGY(bo, bp) ((bo)->bo_ops->bop_strategy((bo), (bp))) 88 #define BO_WRITE(bo, bp) ((bo)->bo_ops->bop_write((bp))) 89 #define BO_BDFLUSH(bo, bp) ((bo)->bo_ops->bop_bdflush((bo), (bp))) 132 void bufbdflush(struct bufobj *bo, struct buf *bp);
|
/freebsd-11.0-release/sys/ufs/ufs/ |
H A D | ufs_gjournal.c | 57 struct buf *bp; local 86 if ((error = bread(devvp, cgbno, (int)fs->fs_cgsize, NOCRED, &bp))) { 87 brelse(bp); 90 cgp = (struct cg *)bp->b_data; 92 brelse(bp); 95 bp->b_xflags |= BX_BKGRDWRITE; 102 bdwrite(bp);
|
/freebsd-11.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | zio.c | 557 zio_create(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, argument 570 ASSERT(!bp || !(flags & ZIO_FLAG_CONFIG_WRITER)); 593 if (bp != NULL) { 594 zio->io_bp = (blkptr_t *)bp; 595 zio->io_bp_copy = *bp; 596 zio->io_bp_orig = *bp; 602 if (zio->io_child_type > ZIO_CHILD_GANG && BP_IS_GANG(bp)) 667 zfs_blkptr_verify(spa_t *spa, const blkptr_t *bp) argument 669 if (!DMU_OT_IS_VALID(BP_GET_TYPE(bp))) { 671 bp, (longlong_ 749 zio_read(zio_t *pio, spa_t *spa, const blkptr_t *bp, void *data, uint64_t size, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument 767 zio_write(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, void *data, uint64_t size, const zio_prop_t *zp, zio_done_func_t *ready, zio_done_func_t *physdone, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, const zbookmark_phys_t *zb) argument 807 zio_rewrite(zio_t *pio, spa_t *spa, uint64_t txg, blkptr_t *bp, void *data, uint64_t size, zio_done_func_t *done, void *private, zio_priority_t priority, enum zio_flag flags, zbookmark_phys_t *zb) argument 821 zio_write_override(zio_t *zio, blkptr_t *bp, int copies, boolean_t nopwrite) argument 840 zio_free(spa_t *spa, uint64_t txg, const blkptr_t *bp) argument 869 zio_free_sync(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, uint64_t size, enum zio_flag flags) argument 906 zio_claim(zio_t *pio, spa_t *spa, uint64_t txg, const blkptr_t *bp, zio_done_func_t *done, void *private, enum zio_flag flags) argument 1022 zio_vdev_child_io(zio_t *pio, blkptr_t *bp, vdev_t *vd, uint64_t offset, void *data, uint64_t size, int type, zio_priority_t priority, enum zio_flag flags, zio_done_func_t *done, void *private) argument 1134 blkptr_t *bp = zio->io_bp; local 1171 blkptr_t *bp = zio->io_bp; local 1353 blkptr_t *bp = zio->io_bp; local 1797 zio_read_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, void *data) argument 1808 zio_rewrite_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, void *data) argument 1846 zio_free_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, void *data) argument 1855 zio_claim_gang(zio_t *pio, blkptr_t *bp, zio_gang_node_t *gn, void *data) argument 1914 zio_gang_tree_assemble(zio_t *gio, blkptr_t *bp, zio_gang_node_t **gnpp) argument 1931 blkptr_t *bp = zio->io_bp; local 1955 zio_gang_tree_issue(zio_t *pio, zio_gang_node_t *gn, blkptr_t *bp, void *data) argument 1992 blkptr_t *bp = zio->io_bp; local 2007 blkptr_t *bp = zio->io_bp; local 2059 blkptr_t *bp = pio->io_bp; local 2152 blkptr_t *bp = zio->io_bp; local 2207 blkptr_t *bp = zio->io_bp; local 2226 blkptr_t *bp = zio->io_bp; local 2269 blkptr_t *bp = zio->io_bp; local 2411 blkptr_t *bp = zio->io_bp; local 2439 blkptr_t *bp = zio->io_bp; local 2552 blkptr_t *bp = zio->io_bp; local 2579 blkptr_t *bp = zio->io_bp; local 2643 zio_dva_unallocate(zio_t *zio, zio_gang_node_t *gn, blkptr_t *bp) argument 2707 zio_free_zil(spa_t *spa, uint64_t txg, blkptr_t *bp) argument 3072 blkptr_t *bp = zio->io_bp; local 3104 blkptr_t *bp = zio->io_bp; local 3176 blkptr_t *bp = zio->io_bp; local 3236 blkptr_t *bp = zio->io_bp; local [all...] |
H A D | zio_checksum.c | 57 * data, so we store the checksum *function* in eight bits of the bp. 63 * compute via the checksum function specified by BP_GET_CHECKSUM(bp). 208 zio_checksum_gang_verifier(zio_cksum_t *zcp, blkptr_t *bp) argument 210 dva_t *dva = BP_IDENTITY(bp); 211 uint64_t txg = BP_PHYSICAL_BIRTH(bp); 213 ASSERT(BP_IS_GANG(bp)); 260 blkptr_t *bp = zio->io_bp; local 284 zio_checksum_gang_verifier(&eck->zec_cksum, bp); 288 bp->blk_cksum = eck->zec_cksum; 295 &bp 302 blkptr_t *bp = zio->io_bp; local [all...] |
/freebsd-11.0-release/sbin/ipfw/ |
H A D | ipfw2.c | 375 void bprint_uint_arg(struct buf_pr *bp, const char *str, uint32_t arg); 471 bprint_uint_arg(struct buf_pr *bp, const char *str, uint32_t arg) argument 475 bprintf(bp, "%s", str); 477 bprintf(bp, "tablearg"); 479 bprintf(bp, "%u", arg); 836 print_port(struct buf_pr *bp, int proto, uint16_t port) argument 843 bprintf(bp, "%s", s); 845 bprintf(bp, "0x%04x", port); 854 bprintf(bp, "%s", se->s_name); 856 bprintf(bp, " 878 print_newports(struct buf_pr *bp, ipfw_insn_u16 *cmd, int proto, int opcode) argument 1096 print_reject_code(struct buf_pr *bp, uint16_t code) argument 1136 print_flags(struct buf_pr *bp, char const *name, ipfw_insn *cmd, struct _s_x *list) argument 1169 print_ip(struct buf_pr *bp, struct format_opts *fo, ipfw_insn_ip *cmd, char const *s) argument 1270 print_mac(struct buf_pr *bp, uint8_t *addr, uint8_t *mask) argument 1313 print_icmptypes(struct buf_pr *bp, ipfw_insn_u32 *cmd) argument 1328 print_dscp(struct buf_pr *bp, ipfw_insn_u32 *cmd) argument 1373 show_prerequisites(struct buf_pr *bp, int *flags, int want, int cmd) argument 1399 show_static_rule(struct cmdline_opts *co, struct format_opts *fo, struct buf_pr *bp, struct ip_fw_rule *rule, struct ip_fw_bcounter *cntr) argument 2136 show_dyn_state(struct cmdline_opts *co, struct format_opts *fo, struct buf_pr *bp, ipfw_dyn_rule *d) argument 2474 list_static_range(struct cmdline_opts *co, struct format_opts *fo, struct buf_pr *bp, ipfw_obj_tlv *rtlv, int rcnt) argument 2515 struct buf_pr *bp; local 2537 list_dyn_range(struct cmdline_opts *co, struct format_opts *fo, struct buf_pr *bp, caddr_t base, size_t sz) argument 2616 struct buf_pr bp; local 5013 struct buf_pr bp; local [all...] |
/freebsd-11.0-release/usr.bin/tip/tip/ |
H A D | remote.c | 72 #define cgetflag(f) (cgetcap(bp, f, ':') != NULL) 79 char **p, ***q, *bp, *rempath; local 93 if ((stat = cgetent(&bp, db_array, host)) < 0) { 125 cgetstr(bp, *p, *q); 126 if (!BR && (cgetnum(bp, "br", &BR) == -1)) 128 if (!LD && (cgetnum(bp, "ld", &LD) == -1)) 130 if (cgetnum(bp, "fs", &FS) == -1) 203 if (cgetnum(bp, "dl", &DL) == -1) 205 if (cgetnum(bp, "cl", &CL) == -1) 207 if (cgetnum(bp, "e [all...] |
/freebsd-11.0-release/sys/geom/uzip/ |
H A D | g_uzip.c | 136 static void g_uzip_read_done(struct bio *bp); 137 static void g_uzip_do(struct g_uzip_softc *, struct bio *bp); 166 g_uzip_cached(struct g_geom *gp, struct bio *bp) argument 173 ofs = bp->bio_offset + bp->bio_completed; 179 if (bp->bio_resid < usz) 180 usz = bp->bio_resid; 181 memcpy(bp->bio_data + bp->bio_completed, sc->last_buf + blkofs, 187 "from cache\n", __func__, gp->name, bp, (intmax_ 216 g_uzip_request(struct g_geom *gp, struct bio *bp) argument 317 g_uzip_read_done(struct bio *bp) argument 343 g_uzip_do(struct g_uzip_softc *sc, struct bio *bp) argument 451 g_uzip_start(struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/fs/udf/ |
H A D | udf.h | 65 struct buf *bp; member in struct:udf_dirstream 92 #define RDSECTOR(devvp, sector, size, bp) \ 93 bread(devvp, sector << (udfmp->bshift - DEV_BSHIFT), size, NOCRED, bp) 98 udf_readdevblks(struct udf_mnt *udfmp, int sector, int size, struct buf **bp) argument 101 (size + udfmp->bmask) & ~udfmp->bmask, bp));
|
/freebsd-11.0-release/usr.sbin/ppp/ |
H A D | nat_cmd.c | 498 nat_LayerPush(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, argument 502 return bp; 505 m_settype(bp, MB_NATOUT); 507 bp = m_pullup(m_append(bp, NULL, NAT_EXTRABUF)); 508 LibAliasOut(la, MBUF_CTOP(bp), bp->m_len); 509 bp->m_len = ntohs(((struct ip *)MBUF_CTOP(bp))->ip_len); 511 return bp; 515 nat_LayerPull(struct bundle *bundle, struct link *l __unused, struct mbuf *bp, u_short *proto) argument [all...] |
/freebsd-11.0-release/sys/geom/ |
H A D | geom_aes.c | 134 g_aes_read_done(struct bio *bp) argument 142 gp = bp->bio_from->geom; 145 b = bp->bio_data; 146 e = bp->bio_data; 147 e += bp->bio_length; 148 o = bp->bio_offset - sc->sectorsize; 158 g_std_done(bp); 162 g_aes_write_done(struct bio *bp) argument 165 bzero(bp->bio_data, bp 171 g_aes_start(struct bio *bp) argument [all...] |
H A D | geom_fox.c | 79 struct bio *bp; local 115 bp = TAILQ_FIRST(&sc->queue); 116 if (bp == NULL) 118 TAILQ_REMOVE(&sc->queue, bp, bio_queue); 119 bp->bio_error = ENXIO; 120 g_std_done(bp); 152 bp = TAILQ_FIRST(&sc->queue); 153 if (bp == NULL) 155 TAILQ_REMOVE(&sc->queue, bp, bio_queue); 156 g_io_request(bp, s 202 g_fox_done(struct bio *bp) argument 233 g_fox_start(struct bio *bp) argument [all...] |
/freebsd-11.0-release/libexec/tftpd/ |
H A D | tftp-io.c | 180 char *bp; local 195 bp = tp->th_stuff; 196 strcpy(bp, filename); 197 bp += strlen(filename); 198 *bp = 0; 199 bp++; 202 strcpy(bp, mode); 203 bp += strlen(mode); 204 *bp = 0; 205 bp 228 char *bp; local 278 char *bp; local [all...] |
/freebsd-11.0-release/contrib/libpcap/ |
H A D | pcap-nit.c | 107 register u_char *bp, *cp, *ep; local 121 bp = p->buffer; 123 bp = p->bp; 131 ep = bp + cc; 132 while (bp < ep) { 147 p->cc = ep - bp; 148 p->bp = bp; 153 nh = (struct nit_hdr *)bp; [all...] |
/freebsd-11.0-release/sys/dev/mlx/ |
H A D | mlx_disk.c | 145 mlxd_strategy(struct bio *bp) argument 147 struct mlxd_softc *sc = bp->bio_disk->d_drv1; 153 bp->bio_error = EINVAL; 154 bp->bio_flags |= BIO_ERROR; 162 bp->bio_error = ENXIO; 163 bp->bio_flags |= BIO_ERROR; 167 mlx_submit_buf(sc->mlxd_controller, bp); 175 bp->bio_resid = bp->bio_bcount; 176 biodone(bp); 181 mlxd_intr(struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/dev/gxemul/disk/ |
H A D | gxemul_disk.c | 80 gxemul_disk_start(struct bio *bp) argument 88 sc = bp->bio_to->geom->softc; 91 if ((bp->bio_length % GXEMUL_DISK_DEV_BLOCKSIZE) != 0) { 92 g_io_deliver(bp, EINVAL); 96 buf = bp->bio_data; 97 offset = bp->bio_offset; 98 bp->bio_resid = bp->bio_length; 99 while (bp->bio_resid != 0) { 100 switch (bp [all...] |
/freebsd-11.0-release/secure/lib/libcrypt/ |
H A D | crypt-blowfish.c | 103 u_int8_t *bp = buffer; local 106 while (bp < buffer + len) { 114 *bp++ = (c1 << 2) | ((c2 & 0x30) >> 4); 115 if (bp >= buffer + len) 122 *bp++ = ((c2 & 0x0f) << 4) | ((c3 & 0x3c) >> 2); 123 if (bp >= buffer + len) 129 *bp++ = ((c3 & 0x03) << 6) | c4; 273 u_int8_t *bp = buffer; local 278 *bp++ = Base64Code[(c1 >> 2)]; 281 *bp [all...] |
/freebsd-11.0-release/sys/geom/mirror/ |
H A D | g_mirror.c | 106 static void g_mirror_register_request(struct bio *bp); 298 struct bio *bp; local 302 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { 303 if (bp->bio_from == cp) 863 g_mirror_flush_done(struct bio *bp) argument 868 pbp = bp->bio_parent; 872 pbp->bio_error = bp->bio_error; 873 pbp->bio_completed += bp->bio_completed; 880 g_destroy_bio(bp); 884 g_mirror_done(struct bio *bp) argument 897 g_mirror_regular_request(struct bio *bp) argument 1010 g_mirror_sync_done(struct bio *bp) argument 1024 g_mirror_candelete(struct bio *bp) argument 1041 g_mirror_kernel_dump(struct bio *bp) argument 1073 g_mirror_flush(struct g_mirror_softc *sc, struct bio *bp) argument 1111 g_mirror_start(struct bio *bp) argument 1158 g_mirror_sync_collision(struct g_mirror_softc *sc, struct bio *bp) argument 1193 struct bio *bp; local 1212 g_mirror_regular_delay(struct g_mirror_softc *sc, struct bio *bp) argument 1223 g_mirror_sync_delay(struct g_mirror_softc *sc, struct bio *bp) argument 1237 struct bio *bp, *bp2; local 1264 struct bio *bp, *bp2; local 1284 g_mirror_sync_request(struct bio *bp) argument 1419 g_mirror_request_prefer(struct g_mirror_softc *sc, struct bio *bp) argument 1457 g_mirror_request_round_robin(struct g_mirror_softc *sc, struct bio *bp) argument 1496 g_mirror_request_load(struct g_mirror_softc *sc, struct bio *bp) argument 1552 g_mirror_request_split(struct g_mirror_softc *sc, struct bio *bp) argument 1618 g_mirror_register_request(struct bio *bp) argument 1801 struct bio *bp; local 1943 struct bio *bp; local 2115 struct bio *bp; local [all...] |
/freebsd-11.0-release/sys/fs/ext2fs/ |
H A D | ext2_inode.c | 73 struct buf *bp; local 88 (int)fs->e2fs_bsize, NOCRED, &bp)) != 0) { 89 brelse(bp); 92 ext2_i2ei(ip, (struct ext2fs_dinode *)((char *)bp->b_data + 95 return (bwrite(bp)); 97 bdwrite(bp); 119 struct buf *bp; local 167 error = ext2_balloc(oip, lbn, offset + 1, cred, &bp, flags); 173 if (bp->b_bufsize == fs->e2fs_bsize) 174 bp 376 struct buf *bp; local [all...] |
/freebsd-11.0-release/usr.sbin/makefs/ffs/ |
H A D | ffs_balloc.c | 83 struct buf *bp, *nbp; local 191 bp = getblk(ip->i_fd, ip->i_fs, lbn, nsize); 192 bp->b_blkno = fsbtodb(fs, newb); 193 clrbuf(bp); 194 *bpp = bp; 229 bp = getblk(ip->i_fd, ip->i_fs, indirs[1].in_lbn, fs->fs_bsize); 230 bp->b_blkno = fsbtodb(fs, nb); 231 clrbuf(bp); 236 if ((error = bwrite(bp)) != 0) 248 fs->fs_bsize, &bp); 334 struct buf *bp, *nbp; local [all...] |