/freebsd-11.0-release/contrib/sendmail/src/ |
H A D | mime.c | 120 char *bp; local 499 bp = buf; 563 *bp = '\0'; 567 bp = buf; 570 *bp++ = Base64Code[(c1 >> 2)]; 575 *bp++ = Base64Code[c1]; 576 *bp++ = '='; 577 *bp++ = '='; 581 *bp++ = Base64Code[c1]; 586 *bp 751 static unsigned char *bp = NULL; local [all...] |
/freebsd-11.0-release/sys/cam/ |
H A D | cam_iosched.c | 311 cam_iosched_limiter_iop(struct iop_stats *ios, struct bio *bp) argument 320 return limsw[lim].l_iop(ios, bp); 326 cam_iosched_limiter_caniop(struct iop_stats *ios, struct bio *bp) argument 335 return limsw[lim].l_caniop(ios, bp); 341 cam_iosched_limiter_iodone(struct iop_stats *ios, struct bio *bp) argument 350 return limsw[lim].l_iodone(ios, bp); 360 cam_iosched_qd_iop(struct iop_stats *ios, struct bio *bp) argument 370 cam_iosched_qd_caniop(struct iop_stats *ios, struct bio *bp) argument 380 cam_iosched_qd_iodone(struct iop_stats *ios, struct bio *bp) argument 412 cam_iosched_iops_caniop(struct iop_stats *ios, struct bio *bp) argument 425 cam_iosched_iops_iop(struct iop_stats *ios, struct bio *bp) argument 470 cam_iosched_bw_caniop(struct iop_stats *ios, struct bio *bp) argument 494 cam_iosched_bw_iop(struct iop_stats *ios, struct bio *bp) argument 1077 struct bio *bp; local 1136 cam_iosched_put_back_trim(struct cam_iosched_softc *isc, struct bio *bp) argument 1156 struct bio *bp; local 1196 struct bio *bp; local 1259 cam_iosched_queue_work(struct cam_iosched_softc *isc, struct bio *bp) argument 1334 cam_iosched_bio_complete(struct cam_iosched_softc *isc, struct bio *bp, union ccb *done_ccb) argument 1556 struct bio *bp; local [all...] |
/freebsd-11.0-release/sys/dev/md/ |
H A D | md.c | 214 int (*start)(struct md_s *sc, struct bio *bp); 423 g_md_start(struct bio *bp) argument 427 sc = bp->bio_to->geom->softc; 428 if ((bp->bio_cmd == BIO_READ) || (bp->bio_cmd == BIO_WRITE)) { 430 devstat_start_transaction_bio(sc->devstat, bp); 434 bioq_disksort(&sc->bio_queue, bp); 588 mdstart_malloc(struct md_s *sc, struct bio *bp) argument 597 switch (bp->bio_cmd) { 606 notmapped = (bp 794 mdstart_preload(struct md_s *sc, struct bio *bp) argument 823 mdstart_vnode(struct md_s *sc, struct bio *bp) argument 973 mdstart_swap(struct md_s *sc, struct bio *bp) argument 1103 mdstart_null(struct md_s *sc, struct bio *bp) argument 1122 struct bio *bp; local [all...] |
/freebsd-11.0-release/sys/fs/nandfs/ |
H A D | nandfs_alloc.c | 93 struct buf *bp, *bp2; local 103 bp = bp2 = NULL; 108 if (bp) 109 brelse(bp); 111 error = nandfs_bread(node, desc_block, NOCRED, 0, &bp); 113 brelse(bp); 118 &bp); 122 init_desc_block(mdt, bp->b_data); 125 descriptors = (struct nandfs_block_group_desc *) bp->b_data; 138 brelse(bp); 331 struct buf *bp; local [all...] |
H A D | bmap.c | 72 struct buf *bp; local 94 for (bp = NULL, ++ap; --num; ap++) { 112 error = nandfs_bread_meta(node, ap->in_lbn, NOCRED, 0, &bp); 114 brelse(bp); 118 daddr = ((nandfs_daddr_t *)bp->b_data)[ap->in_off]; 119 brelse(bp); 136 struct buf *bp; local 157 for (bp = NULL, ++ap; --num; ap++) { 158 error = nandfs_bread_meta(node, ap->in_lbn, NOCRED, 0, &bp); 160 brelse(bp); 183 struct buf *bp; local 303 struct buf *bp; local [all...] |
/freebsd-11.0-release/libexec/bootpd/tools/bootptest/ |
H A D | bootptest.c | 138 struct bootp *bp; local 307 bp = (struct bootp *) sndbuf; 308 bzero(bp, sizeof(*bp)); 309 bp->bp_op = BOOTREQUEST; 311 bp->bp_xid = (u_int32) htonl(xid); 313 strncpy(bp->bp_file, bp_file, BP_FILE_LEN); 331 bp->bp_htype = 1; 332 bp->bp_hlen = 6; 333 bcopy(eaddr, bp [all...] |
/freebsd-11.0-release/sys/dev/fdc/ |
H A D | fdc.c | 783 struct bio *bp; local 792 bp = bioq_takefirst(&fd->fd_bq); 793 if (bp == NULL) 795 bioq_disksort(&fd->fdc->head, bp); 865 struct bio *bp; local 868 bp = fdc->bp; 872 if (bp->bio_cmd == BIO_READ) { 887 struct bio *bp; local 890 bp 916 struct bio *bp; local 1369 fd_enqueue(struct fd_data *fd, struct bio *bp) argument 1465 struct bio *bp; local 1673 fd_start(struct bio *bp) argument [all...] |
/freebsd-11.0-release/sys/geom/eli/ |
H A D | g_eli.c | 162 struct bio *bp; local 165 bp = (struct bio *)crp->crp_opaque; 166 sc = bp->bio_to->geom->softc; 168 if (wr->w_number == bp->bio_pflags) 171 KASSERT(wr != NULL, ("Invalid worker (%u).", bp->bio_pflags)); 173 bp->bio_cmd == BIO_READ ? "READ" : "WRITE", (uintmax_t)wr->w_sid, 191 g_eli_read_done(struct bio *bp) argument 196 G_ELI_LOGREQ(2, bp, "Request done."); 197 pbp = bp->bio_parent; 198 if (pbp->bio_error == 0 && bp 232 g_eli_write_done(struct bio *bp) argument 295 g_eli_start(struct bio *bp) argument 436 struct bio *bp; local 450 struct bio *bp; local 479 struct bio *bp; local [all...] |
/freebsd-11.0-release/sys/ufs/ffs/ |
H A D | ffs_vnops.c | 219 struct buf *bp; local 245 TAILQ_FOREACH(bp, &bo->bo_dirty.bv_hd, b_bobufs) 246 bp->b_vflags &= ~BV_SCANNED; 247 TAILQ_FOREACH_SAFE(bp, &bo->bo_dirty.bv_hd, b_bobufs, nbp) { 254 if ((bp->b_vflags & BV_SCANNED) != 0) 256 bp->b_vflags |= BV_SCANNED; 258 if (waitfor == MNT_WAIT && bp->b_lblkno <= -NDADDR && 259 lbn_level(bp->b_lblkno) >= passes) 261 if (bp->b_lblkno > lbn) 263 if (BUF_LOCK(bp, LK_EXCLUSIV 434 struct buf *bp; local 657 struct buf *bp; local 859 struct buf *bp; local 1014 struct buf *bp; local [all...] |
H A D | ffs_inode.c | 85 struct buf *bp; local 115 (int) fs->fs_bsize, 0, 0, 0, NOCRED, flags, &bp); 143 softdep_update_inodeblock(ip, bp, waitfor); 147 *((struct ufs1_dinode *)bp->b_data + 152 *((struct ufs2_dinode *)bp->b_data + 158 error = bwrite(bp); 160 bawrite(bp); 163 if (bp->b_bufsize == fs->fs_bsize) 164 bp->b_flags |= B_CLUSTEROK; 165 bdwrite(bp); 191 struct buf *bp; local 631 struct buf *bp; local [all...] |
/freebsd-11.0-release/sys/fs/udf/ |
H A D | udf_vfsops.c | 308 struct buf *bp = NULL; local 388 NOCRED, &bp)) != 0) 390 if ((error = udf_checktag((struct desc_tag *)bp->b_data, TAGID_ANCHOR))) 393 bcopy(bp->b_data, &avdp, sizeof(struct anchor_vdp)); 394 brelse(bp); 395 bp = NULL; 407 bsize, NOCRED, &bp)) != 0) { 411 lvd = (struct logvol_desc *)bp->b_data; 422 pd = (struct part_desc *)bp->b_data; 430 brelse(bp); 584 struct buf *bp; local 746 struct buf *bp; local [all...] |
/freebsd-11.0-release/lib/libc/string/ |
H A D | wcscoll.c | 90 wchar_t *bp, *fp, c; local 93 bp = tr1; 95 while (bp < fp) { 96 c = *bp; 97 *bp++ = *fp; 102 bp = tr2; 104 while (bp < fp) { 105 c = *bp; 106 *bp++ = *fp;
|
/freebsd-11.0-release/contrib/nvi/ex/ |
H A D | ex_move.c | 94 CHAR_T *bp; local 135 GET_SPACE_RETW(sp, bp, blen, 256); 145 BINC_RETW(sp, bp, blen, len); 146 MEMCPY(bp, p, len); 147 if (db_append(sp, 1, tl, bp, len)) 163 BINC_RETW(sp, bp, blen, len); 164 MEMCPY(bp, p, len); 165 if (db_append(sp, 1, tl++, bp, len)) 177 FREE_SPACEW(sp, bp, blen);
|
H A D | ex_shift.c | 65 CHAR_T *bp, *tbp; local 88 for (p = cmdp->argv[0]->bp, sw = 0; *p == '>' || *p == '<'; ++p) 91 GET_SPACE_RETW(sp, bp, blen, 256); 129 ADD_SPACE_RETW(sp, bp, blen, newcol + len); 135 for (tbp = bp, newidx = 0; 147 if (db_set(sp, from, bp, (tbp + (len - oldidx)) - bp)) { 148 err: FREE_SPACEW(sp, bp, blen); 182 FREE_SPACEW(sp, bp, blen);
|
H A D | ex_usage.c | 68 if (ISUPPER(ap->bp[0])) { 70 ap->bp[0] = TOLOWER(ap->bp[0]); 74 MEMCMP(ap->bp, cp->name, ap->len); ++cp); 78 ap->bp[0] = TOUPPER(ap->bp[0]); 80 (int)ap->len, ap->bp); 152 key = cmdp->argv[0]->bp[0]; 157 if ((key == '[' || key == ']') && cmdp->argv[0]->bp[1] != key)
|
/freebsd-11.0-release/lib/libc/net/ |
H A D | rthdr.c | 68 inet6_rthdr_init(void *bp, int type) argument 70 struct cmsghdr *ch = (struct cmsghdr *)bp; 288 inet6_rth_init(void *bp, socklen_t bp_len, int type, int segments) argument 290 struct ip6_rthdr *rth = (struct ip6_rthdr *)bp; 302 memset(bp, 0, bp_len); 313 return (bp); 317 inet6_rth_add(void *bp, const struct in6_addr *addr) argument 319 struct ip6_rthdr *rth = (struct ip6_rthdr *)bp; 383 inet6_rth_segments(const void *bp) argument 385 struct ip6_rthdr *rh = (struct ip6_rthdr *)bp; 408 inet6_rth_getaddr(const void *bp, int idx) argument [all...] |
/freebsd-11.0-release/sys/fs/msdosfs/ |
H A D | msdosfs_lookup.c | 131 struct buf *bp = NULL; local 233 error = bread(pmp->pm_devvp, bn, blsize, NOCRED, &bp); 235 brelse(bp); 241 dep = (struct direntry *)(bp->b_data + blkoff); 264 brelse(bp); 347 brelse(bp); 456 brelse(bp); 457 bp = NULL; 463 * setup before jumping here. And, bp is already null. 602 struct buf *bp; local 731 struct buf *bp; local 807 struct buf *bp = NULL; local 941 struct buf *bp; local 1012 struct buf *bp; local 1077 struct buf *bp; local [all...] |
/freebsd-11.0-release/contrib/tcpdump/ |
H A D | print-pfsync.c | 83 pfsync_ip_print(netdissect_options *ndo , const u_char *bp, u_int len) argument 85 struct pfsync_header *hdr = (struct pfsync_header *)bp; 90 pfsync_print(ndo, hdr, bp + sizeof(struct pfsync_header), 131 const u_char *bp, u_int len) 150 subh = (struct pfsync_subheader *)bp; 151 bp += sizeof(*subh); 182 actions[subh->action].print(ndo, bp); 184 bp += alen; 203 pfsync_print_clr(netdissect_options *ndo, const void *bp) argument 205 const struct pfsync_clr *clr = bp; 130 pfsync_print(netdissect_options *ndo, struct pfsync_header *hdr, const u_char *bp, u_int len) argument 213 pfsync_print_state(netdissect_options *ndo, const void *bp) argument 222 pfsync_print_ins_ack(netdissect_options *ndo, const void *bp) argument 231 pfsync_print_upd_c(netdissect_options *ndo, const void *bp) argument 244 pfsync_print_upd_req(netdissect_options *ndo, const void *bp) argument 253 pfsync_print_del_c(netdissect_options *ndo, const void *bp) argument 262 pfsync_print_bus(netdissect_options *ndo, const void *bp) argument 292 pfsync_print_tdb(netdissect_options *ndo, const void *bp) argument [all...] |
/freebsd-11.0-release/contrib/ntp/libntp/ |
H A D | dolfptoa.c | 24 char *buf, *bp; local 122 bp = buf; 124 *bp++ = '-'; 127 *bp++ = '.'; 128 *bp++ = (char)(*cp++) + '0'; 130 *bp = '\0';
|
/freebsd-11.0-release/contrib/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stacktrace.cc | 48 // In GCC on ARM bp points to saved lr, not fp, so we should check the next 51 static inline uhwptr *GetCanonicFrame(uptr bp, argument 55 if (!IsValidFrame(bp, stack_top, stack_bottom)) return 0; 56 uhwptr *bp_prev = (uhwptr *)bp; 68 return (uhwptr*)bp; 72 void BufferedStackTrace::FastUnwindStack(uptr pc, uptr bp, uptr stack_top, argument 78 uhwptr *frame = GetCanonicFrame(bp, stack_top, stack_bottom);
|
/freebsd-11.0-release/sys/geom/raid/ |
H A D | tr_raid5.c | 210 g_raid_tr_iostart_raid5_read(struct g_raid_tr_object *tr, struct bio *bp) argument 222 addr = bp->bio_data; 229 nstripe = bp->bio_offset / strip_size; 231 start = bp->bio_offset % strip_size; 271 remain = bp->bio_length; 276 cbp = g_clone_bio(bp); 336 if (bp->bio_error == 0) 337 bp->bio_error = ENOMEM; 338 g_raid_iodone(bp, bp 342 g_raid_tr_iostart_raid5(struct g_raid_tr_object *tr, struct bio *bp) argument 370 g_raid_tr_iodone_raid5(struct g_raid_tr_object *tr, struct g_raid_subdisk *sd, struct bio *bp) argument 397 struct bio *bp; local [all...] |
H A D | g_raid.c | 128 static void g_raid_start(struct bio *bp); 129 static void g_raid_start_request(struct bio *bp); 130 static void g_raid_disk_done(struct bio *bp); 796 struct bio *bp; local 800 TAILQ_FOREACH(bp, &sc->sc_queue.queue, bio_queue) { 801 if (bp->bio_from == cp) 954 g_raid_tr_flush_common(struct g_raid_tr_object *tr, struct bio *bp) argument 976 cbp = g_clone_bio(bp); 991 if (bp->bio_error == 0) 992 bp 997 g_raid_tr_kerneldump_common_done(struct bio *bp) argument 1009 struct bio bp; local 1050 g_raid_kerneldump(struct g_raid_softc *sc, struct bio *bp) argument 1073 g_raid_candelete(struct g_raid_softc *sc, struct bio *bp) argument 1098 g_raid_start(struct bio *bp) argument 1140 g_raid_bio_overlaps(const struct bio *bp, off_t lstart, off_t len) argument 1169 g_raid_is_in_locked_range(struct g_raid_volume *vol, const struct bio *bp) argument 1183 g_raid_start_request(struct bio *bp) argument 1227 g_raid_finish_with_locked_ranges(struct g_raid_volume *vol, struct bio *bp) argument 1260 g_raid_iodone(struct bio *bp, int error) argument 1289 struct bio *bp; local 1325 struct bio *bp; local 1353 g_raid_subdisk_iostart(struct g_raid_subdisk *sd, struct bio *bp) argument 1429 g_raid_disk_done(struct bio *bp) argument 1444 g_raid_disk_done_request(struct bio *bp) argument 1502 struct bio *bp; local 1591 struct bio *bp; local 1691 struct bio *bp, *tmp; local [all...] |
/freebsd-11.0-release/sys/geom/sched/ |
H A D | gs_rr.c | 230 struct bio *bp; local 232 TAILQ_FOREACH(bp, &(qp->q_bioq.queue), bio_queue) { 302 * Get a reference to the queue for bp, using the generic 306 g_rr_queue_get(struct g_rr_softc *sc, struct bio *bp) argument 309 return (g_sched_get_class(sc->sc_geom, bp)); 374 g_rr_should_anticipate(struct g_rr_queue *qp, struct bio *bp) argument 378 if (!me.w_anticipate && (bp->bio_cmd == BIO_WRITE)) 401 struct bio *bp, *next; local 441 bp = bioq_takefirst(&qp->q_bioq); /* surely not NULL */ 442 qp->q_service += bp 501 g_rr_update_seekdist(struct g_rr_queue *qp, struct bio *bp) argument 528 g_rr_start(void *data, struct bio *bp) argument 635 g_rr_done(void *data, struct bio *bp) argument [all...] |
/freebsd-11.0-release/crypto/openssl/crypto/bio/ |
H A D | bf_null.c | 177 static int nullf_gets(BIO *bp, char *buf, int size) argument 179 if (bp->next_bio == NULL) 181 return (BIO_gets(bp->next_bio, buf, size)); 184 static int nullf_puts(BIO *bp, const char *str) argument 186 if (bp->next_bio == NULL) 188 return (BIO_puts(bp->next_bio, str));
|
/freebsd-11.0-release/contrib/nvi/common/ |
H A D | util.c | 47 void *bp, 55 return (bp); 58 REALLOC(sp, bp, void *, csize); 60 if (bp == NULL) { 68 memset((char *)bp + *bsizep, 0, csize - *bsizep); 70 return (bp); 45 binc( SCR *sp, void *bp, size_t *bsizep, size_t min) argument
|