/freebsd-10.3-release/usr.bin/make/ |
H A D | buf.c | 74 Buf_Data(const Buffer *bp) argument 77 return (bp->buf); 85 BufExpand(Buffer *bp, size_t nb) argument 87 size_t len = Buf_Size(bp); 90 if (bp->size < len + nb + 1) { 91 size = bp->size + MAX(nb + 1, BUF_ADD_INC); 92 bp->size = size; 93 bp->buf = erealloc(bp->buf, size); 94 bp 102 Buf_AddByte(Buffer *bp, Byte byte) argument 116 Buf_AddBytes(Buffer *bp, size_t len, const Byte *bytes) argument 136 Buf_GetAll(Buffer *bp, size_t *len) argument 153 Buf_Peel(Buffer *bp) argument 177 Buffer *bp; /* New Buffer */ local 212 Buf_ReplaceLastByte(Buffer *bp, Byte byte) argument 226 Buf_Append(Buffer *bp, const char str[]) argument 236 Buf_AppendBuf(Buffer *bp, const Buffer *buf) argument 246 Buf_AppendRange(Buffer *bp, const char str[], const char *end) argument 257 Buf_StripNewlines(Buffer *bp) argument 286 Buf_Clear(Buffer *bp) argument [all...] |
/freebsd-10.3-release/contrib/libarchive/libarchive/ |
H A D | archive_entry_strmode.c | 44 char *bp = entry->strmode; local 49 strcpy(bp, "?rwxrwxrwx "); 53 case AE_IFREG: bp[0] = '-'; break; 54 case AE_IFBLK: bp[0] = 'b'; break; 55 case AE_IFCHR: bp[0] = 'c'; break; 56 case AE_IFDIR: bp[0] = 'd'; break; 57 case AE_IFLNK: bp[0] = 'l'; break; 58 case AE_IFSOCK: bp[0] = 's'; break; 59 case AE_IFIFO: bp[0] = 'p'; break; 62 bp[ [all...] |
/freebsd-10.3-release/contrib/byacc/ |
H A D | symtab.c | 32 bucket *bp; local 36 bp = TMALLOC(bucket, 1); 37 NO_SPACE(bp); 39 bp->link = 0; 40 bp->next = 0; 42 bp->name = TMALLOC(char, strlen(name) + 1); 43 NO_SPACE(bp->name); 45 bp->tag = 0; 46 bp->value = UNDEFINED; 47 bp 65 bucket *bp, **bpp; local 89 bucket *bp; local [all...] |
/freebsd-10.3-release/contrib/tcpdump/ |
H A D | print-pim.c | 121 static void pimv2_print(register const u_char *bp, register u_int len, u_int cksum); 124 pimv1_join_prune_print(register const u_char *bp, register u_int len) argument 130 if (TTEST2(bp[0], 30) && bp[11] == 1 && 131 ((njoin = EXTRACT_16BITS(&bp[20])) + EXTRACT_16BITS(&bp[22])) == 1) { 134 (void)printf(" RPF %s ", ipaddr_string(bp)); 135 hold = EXTRACT_16BITS(&bp[6]); 141 ipaddr_string(&bp[26]), bp[2 212 pimv1_print(register const u_char *bp, register u_int len) argument 326 cisco_autorp_print(register const u_char *bp, register u_int len) argument 420 pim_print(register const u_char *bp, register u_int len, u_int cksum) argument 524 pimv2_addr_print(const u_char *bp, enum pimv2_addrtype at, int silent) argument 625 pimv2_print(register const u_char *bp, register u_int len, u_int cksum) argument [all...] |
H A D | print-carp.c | 54 carp_print(register const u_char *bp, register u_int len, int ttl) argument 59 TCHECK(bp[0]); 60 version = (bp[0] & 0xf0) >> 4; 61 type = bp[0] & 0x0f; 71 TCHECK(bp[2]); 72 TCHECK(bp[5]); 74 bp[1], bp[5], bp[2], bp[ [all...] |
H A D | print-dvmrp.c | 76 dvmrp_print(register const u_char *bp, register u_int len) argument 82 if (bp >= ep) 85 TCHECK(bp[1]); 86 type = bp[1]; 89 bp += 8; 97 if (print_probe(bp, ep, len) < 0) 105 if (print_report(bp, ep, len) < 0) 116 if (print_neighbors(bp, ep, len) < 0) 130 bp -= 4; 131 TCHECK2(bp[ 169 print_report(register const u_char *bp, register const u_char *ep, register u_int len) argument 226 print_probe(register const u_char *bp, register const u_char *ep, register u_int len) argument 259 print_neighbors(register const u_char *bp, register const u_char *ep, register u_int len) argument 290 print_neighbors2(register const u_char *bp, register const u_char *ep, register u_int len) argument 339 print_prune(register const u_char *bp) argument 352 print_graft(register const u_char *bp) argument 362 print_graft_ack(register const u_char *bp) argument [all...] |
H A D | print-vrrp.c | 88 vrrp_print(register const u_char *bp, register u_int len, int ttl) argument 93 TCHECK(bp[0]); 94 version = (bp[0] & 0xf0) >> 4; 95 type = bp[0] & 0x0f; 102 TCHECK(bp[2]); 103 printf(", vrid %u, prio %u", bp[1], bp[2]); 104 TCHECK(bp[5]); 105 auth_type = bp[4]; 107 printf(", intvl %us, length %u", bp[ [all...] |
H A D | print-otv.c | 44 otv_print(const u_char *bp, u_int len) argument 55 flags = *bp; 56 bp += 1; 58 overlay_id = EXTRACT_24BITS(bp); 59 bp += 3; 61 instance_id = EXTRACT_24BITS(bp); 62 bp += 4; 77 ether_print(gndo, bp, len - 8, len - 8, NULL, NULL);
|
H A D | print-bootp.c | 68 register const struct bootp *bp; local 72 bp = (const struct bootp *)cp; 73 TCHECK(bp->bp_op); 76 tok2str(bootp_op_values, "unknown (0x%02x)", bp->bp_op)); 78 if (bp->bp_htype == 1 && bp->bp_hlen == 6 && bp->bp_op == BOOTPREQUEST) { 79 TCHECK2(bp->bp_chaddr[0], 6); 80 printf(" from %s", etheraddr_string(bp->bp_chaddr)); 88 TCHECK(bp 369 rfc1048_print(register const u_char *bp) argument 780 cmu_print(register const u_char *bp) argument [all...] |
/freebsd-10.3-release/libexec/bootpd/tools/bootptest/ |
H A D | print-bootp.c | 55 bootp_print(bp, length, sport, dport) 56 struct bootp *bp; 75 switch (bp->bp_op) { 90 printf(" bootp-#%d", bp->bp_op); 94 if (bp->bp_htype != 1) 95 printf(" htype:%d", bp->bp_htype); 98 if (bp->bp_hlen != 6) 99 printf(" hlen:%d", bp->bp_hlen); 102 if (bp->bp_hlen) { 106 TCHECK(bp [all...] |
/freebsd-10.3-release/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_buf.c | 49 dt_buf_create(dtrace_hdl_t *dtp, dt_buf_t *bp, const char *name, size_t len) argument 54 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); 55 bp->dbu_len = len; 57 if (bp->dbu_buf == NULL) 58 bp->dbu_err = dtrace_errno(dtp); 60 bp->dbu_err = 0; 62 bp->dbu_resizes = 0; 63 bp->dbu_name = name; 67 dt_buf_destroy(dtrace_hdl_t *dtp, dt_buf_t *bp) argument 76 dt_buf_reset(dtrace_hdl_t *dtp, dt_buf_t *bp) argument 85 dt_buf_write(dtrace_hdl_t *dtp, dt_buf_t *bp, const void *buf, size_t len, size_t align) argument 139 dt_buf_offset(const dt_buf_t *bp, size_t align) argument 146 dt_buf_len(const dt_buf_t *bp) argument 152 dt_buf_error(const dt_buf_t *bp) argument 158 dt_buf_ptr(const dt_buf_t *bp) argument 164 dt_buf_claim(dtrace_hdl_t *dtp, dt_buf_t *bp) argument [all...] |
/freebsd-10.3-release/sys/net/ |
H A D | bridgestp.c | 151 bstp_transmit(struct bstp_state *bs, struct bstp_port *bp) argument 160 if (bp->bp_hello_timer.active == 0) { 162 bstp_hello_timer_expiry(bs, bp); 165 if (bp->bp_txcount > bs->bs_txholdcount) 169 if (bp->bp_protover == BSTP_PROTO_RSTP) { 170 bstp_transmit_bpdu(bs, bp); 171 bp->bp_tc_ack = 0; 173 switch (bp->bp_role) { 175 bstp_transmit_bpdu(bs, bp); 176 bp 189 bstp_transmit_bpdu(struct bstp_state *bs, struct bstp_port *bp) argument 225 bstp_transmit_tcn(struct bstp_state *bs, struct bstp_port *bp) argument 264 bstp_decode_bpdu(struct bstp_port *bp, struct bstp_cbpdu *cpdu, struct bstp_config_unit *cu) argument 337 bstp_send_bpdu(struct bstp_state *bs, struct bstp_port *bp, struct bstp_cbpdu *bpdu) argument 393 bstp_pdu_flags(struct bstp_port *bp) argument 450 bstp_input(struct bstp_port *bp, struct ifnet *ifp, struct mbuf *m) argument 527 bstp_received_stp(struct bstp_state *bs, struct bstp_port *bp, struct mbuf **mp, struct bstp_tbpdu *tpdu) argument 552 bstp_received_rstp(struct bstp_state *bs, struct bstp_port *bp, struct mbuf **mp, struct bstp_tbpdu *tpdu) argument 571 bstp_received_tcn(struct bstp_state *bs, struct bstp_port *bp, struct bstp_tcn_unit *tcn) argument 579 bstp_received_bpdu(struct bstp_state *bs, struct bstp_port *bp, struct bstp_config_unit *cu) argument 672 bstp_pdu_rcvtype(struct bstp_port *bp, struct bstp_config_unit *cu) argument 717 bstp_pdu_bettersame(struct bstp_port *bp, int newinfo) argument 779 struct bstp_port *bp, *rbp = NULL; local 896 bstp_update_state(struct bstp_state *bs, struct bstp_port *bp) argument 921 bstp_update_roles(struct bstp_state *bs, struct bstp_port *bp) argument 1073 bstp_update_tc(struct bstp_port *bp) argument 1130 bstp_update_info(struct bstp_port *bp) argument 1159 bstp_set_other_tcprop(struct bstp_port *bp) argument 1176 struct bstp_port *bp; local 1187 struct bstp_port *bp; local 1200 bstp_set_port_state(struct bstp_port *bp, int state) argument 1237 bstp_set_port_role(struct bstp_port *bp, int role) argument 1311 bstp_set_port_proto(struct bstp_port *bp, int proto) argument 1342 bstp_set_port_tc(struct bstp_port *bp, int state) argument 1418 bstp_set_timer_tc(struct bstp_port *bp) argument 1440 bstp_set_timer_msgage(struct bstp_port *bp) argument 1452 bstp_rerooted(struct bstp_state *bs, struct bstp_port *bp) argument 1523 struct bstp_port *bp; local 1540 struct bstp_port *bp; local 1586 bstp_set_port_priority(struct bstp_port *bp, int pri) argument 1604 bstp_set_path_cost(struct bstp_port *bp, uint32_t path_cost) argument 1630 bstp_set_edge(struct bstp_port *bp, int set) argument 1644 bstp_set_autoedge(struct bstp_port *bp, int set) argument 1661 bstp_set_ptp(struct bstp_port *bp, int set) argument 1672 bstp_set_autoptp(struct bstp_port *bp, int set) argument 1691 bstp_calc_path_cost(struct bstp_port *bp) argument 1729 struct bstp_port *bp = (struct bstp_port *)arg; local 1743 struct bstp_port *bp = (struct bstp_port *)arg; local 1770 bstp_linkstate(struct bstp_port *bp) argument 1786 struct bstp_port *bp = (struct bstp_port *)arg; local 1848 bstp_enable_port(struct bstp_state *bs, struct bstp_port *bp) argument 1854 bstp_disable_port(struct bstp_state *bs, struct bstp_port *bp) argument 1863 struct bstp_port *bp; local 1949 bstp_hello_timer_expiry(struct bstp_state *bs, struct bstp_port *bp) argument 1962 bstp_message_age_expiry(struct bstp_state *bs, struct bstp_port *bp) argument 1972 bstp_migrate_delay_expiry(struct bstp_state *bs, struct bstp_port *bp) argument 1978 bstp_edge_delay_expiry(struct bstp_state *bs, struct bstp_port *bp) argument 2021 struct bstp_port *bp; local 2184 struct bstp_port *bp; local 2197 bstp_create(struct bstp_state *bs, struct bstp_port *bp, struct ifnet *ifp) argument 2222 bstp_enable(struct bstp_port *bp) argument 2248 bstp_disable(struct bstp_port *bp) argument 2266 bstp_destroy(struct bstp_port *bp) argument [all...] |
/freebsd-10.3-release/contrib/bmake/ |
H A D | buf.c | 107 Buf_Expand_1(Buffer *bp) argument 109 bp->size += max(bp->size, 16); 110 bp->buffer = bmake_realloc(bp->buffer, bp->size); 127 Buf_AddBytes(Buffer *bp, int numBytes, const Byte *bytesPtr) argument 129 int count = bp->count; 132 if (__predict_false(count + numBytes >= bp->size)) { 133 bp 157 Buf_GetAll(Buffer *bp, int *numBytesPtr) argument 180 Buf_Empty(Buffer *bp) argument 206 Buf_Init(Buffer *bp, int size) argument [all...] |
/freebsd-10.3-release/usr.sbin/ppp/ |
H A D | mbuf.c | 78 m_length(struct mbuf *bp) argument 82 for (len = 0; bp; bp = bp->m_next) 83 len += bp->m_len; 107 struct mbuf *bp; local 126 bp = &(*mb)->u.m; 145 bp = &(*mb)->u.m; 153 memset(bp, '\0', sizeof(struct mbuf)); 154 bp 165 m_free(struct mbuf *bp) argument 188 m_freem(struct mbuf *bp) argument 195 mbuf_Read(struct mbuf *bp, void *v, size_t len) argument 223 mbuf_View(struct mbuf *bp, void *v, size_t len) argument 243 m_prepend(struct mbuf *bp, const void *ptr, size_t len, u_short extra) argument 273 m_adj(struct mbuf *bp, ssize_t n) argument 303 mbuf_Write(struct mbuf *bp, const void *ptr, size_t m_len) argument 347 struct mbuf *bp; local 367 m_enqueue(struct mqueue *queue, struct mbuf *bp) argument 381 m_pullup(struct mbuf *bp) argument 400 bcopy(MBUF_CTOP(bp), bp + 1, bp->m_len); local 410 m_settype(struct mbuf *bp, int type) argument 423 m_append(struct mbuf *bp, const void *v, size_t sz) argument [all...] |
H A D | proto.c | 56 proto_Prepend(struct mbuf *bp, u_short proto, unsigned comp, int extra) argument 64 bp = m_prepend(bp, cp + 1, 1, extra); 66 bp = m_prepend(bp, cp, 2, extra); 68 return bp; 72 proto_LayerPush(struct bundle *b __unused, struct link *l, struct mbuf *bp, argument 76 bp = proto_Prepend(bp, *proto, l->lcp.his_protocomp, 78 m_settype(bp, MB_PROTOOU 85 proto_LayerPull(struct bundle *b __unused, struct link *l, struct mbuf *bp, u_short *proto) argument [all...] |
/freebsd-10.3-release/lib/libc/db/hash/ |
H A D | hash_buf.c | 107 BUFHEAD *bp; local 115 bp = prev_bp->ovfl; 116 if (!bp || (bp->addr != addr)) 117 bp = NULL; 129 bp = PTROF(segp[segment_ndx]); 134 if (!bp) { 135 bp = newbuf(hashp, addr, prev_bp); 136 if (!bp || 137 __get_page(hashp, bp 158 BUFHEAD *bp; /* The buffer we're going to use */ local 322 BUFHEAD *bp; local 351 __reclaim_buf(HTAB *hashp, BUFHEAD *bp) argument [all...] |
/freebsd-10.3-release/usr.sbin/makefs/ffs/ |
H A D | buf.c | 77 printf("bread: bp %p blkno %lld offset %lld bcount %ld\n", 98 brelse(struct buf *bp) argument 101 assert (bp != NULL); 102 assert (bp->b_data != NULL); 104 if (bp->b_lblkno < 0) { 118 bp->b_bcount = 0; 122 TAILQ_REMOVE(&buftail, bp, b_tailq); 123 free(bp->b_data); 124 free(bp); 128 bwrite(struct buf *bp) argument 156 struct buf *bp; local 180 struct buf *bp; local [all...] |
/freebsd-10.3-release/contrib/ntp/libntp/ |
H A D | humandate.c | 19 char * bp; local 28 LIB_GETBUF(bp); 30 snprintf(bp, LIB_BUFLENGTH, "%2d %s %02d:%02d:%02d", 34 return bp; 47 char * bp; local 54 LIB_GETBUF(bp); 56 snprintf(bp, LIB_BUFLENGTH, "%02d:%02d:%02d", 59 return bp;
|
H A D | modetoa.c | 15 char *bp; local 29 LIB_GETBUF(bp); 30 snprintf(bp, LIB_BUFLENGTH, "mode#%zu", mode); 31 return bp;
|
/freebsd-10.3-release/usr.bin/vgrind/ |
H A D | vgrindefs.c | 65 * Get an entry for terminal name in buffer bp, 70 tgetent(char *bp, char *name, char *file) argument 78 tbuf = bp; 85 cp = bp; 97 if (cp > bp && cp[-1] == '\\'){ 103 if (cp >= bp+BUFSIZ) { 203 tskip(register char *bp) argument 206 while (*bp && *bp != ':') 207 bp 225 register char *bp = tbuf; local 257 register char *bp = tbuf; local 283 register char *bp = tbuf; local [all...] |
/freebsd-10.3-release/sys/geom/ |
H A D | geom_io.c | 68 static int g_io_transient_map_bio(struct bio *bp); 132 struct bio *bp; local 134 bp = TAILQ_FIRST(&bq->bio_queue); 135 if (bp != NULL) { 136 KASSERT((bp->bio_flags & BIO_ONQUEUE), 137 ("Bio not on queue bp=%p target %p", bp, bq)); 138 bp->bio_flags &= ~BIO_ONQUEUE; 139 TAILQ_REMOVE(&bq->bio_queue, bp, bio_queue); 142 return (bp); 148 struct bio *bp; local 166 struct bio *bp; local 182 g_destroy_bio(struct bio *bp) argument 197 g_clone_bio(struct bio *bp) argument 239 g_duplicate_bio(struct bio *bp) argument 283 struct bio *bp; local 303 struct bio *bp; local 322 g_io_check(struct bio *bp) argument 457 g_run_classifiers(struct bio *bp) argument 470 g_io_request(struct bio *bp, struct g_consumer *cp) argument 593 g_io_deliver(struct bio *bp, int error) argument 732 g_io_transient_map_bio(struct bio *bp) argument 778 struct bio *bp; local 839 bio_taskqueue(struct bio *bp, bio_task_t *func, void *arg) argument 861 struct bio *bp; local 893 struct bio *bp; local 923 struct bio *bp; local 945 struct bio *bp; local 964 g_print_bio(struct bio *bp) argument [all...] |
/freebsd-10.3-release/sys/kern/ |
H A D | vfs_bio.c | 105 static void vm_hold_free_pages(struct buf *bp, int newbsize); 106 static void vm_hold_load_pages(struct buf *bp, vm_offset_t from, 108 static void vfs_page_set_valid(struct buf *bp, vm_ooffset_t off, vm_page_t m); 109 static void vfs_page_set_validclean(struct buf *bp, vm_ooffset_t off, 111 static void vfs_clean_pages_dirty_buf(struct buf *bp); 112 static void vfs_setdirty_locked_object(struct buf *bp); 113 static void vfs_vmio_release(struct buf *bp); 119 static void bremfreel(struct buf *bp); 424 * bp's get placed back in the queues. 477 runningbufwakeup(struct buf *bp) argument 508 bufcountadd(struct buf *bp) argument 542 bufcountsub(struct buf *bp) argument 594 vfs_buf_test_cache(struct buf *bp, vm_ooffset_t foff, vm_offset_t off, vm_offset_t size, vm_page_t m) argument 774 struct buf *bp; local 877 vfs_buf_check_mapped(struct buf *bp) argument 889 vfs_buf_check_unmapped(struct buf *bp) argument 908 bpmap_qenter(struct buf *bp) argument 929 bfreekva(struct buf *bp) argument 960 binsfree(struct buf *bp, int qindex) argument 1009 bremfree(struct buf *bp) argument 1030 bremfreef(struct buf *bp) argument 1047 bremfreel(struct buf *bp) argument 1123 struct buf *bp; local 1169 bufwrite(struct buf *bp) argument 1257 bufbdflush(struct bufobj *bo, struct buf *bp) argument 1307 bdwrite(struct buf *bp) argument 1399 bdirty(struct buf *bp) argument 1430 bundirty(struct buf *bp) argument 1460 bawrite(struct buf *bp) argument 1477 babarrierwrite(struct buf *bp) argument 1494 bbarrierwrite(struct buf *bp) argument 1552 brelse(struct buf *bp) argument 1815 bqrelse(struct buf *bp) argument 1872 vfs_vmio_release(struct buf *bp) argument 1971 vfs_bio_awrite(struct buf *bp) argument 2035 setbufkva(struct buf *bp, vm_offset_t addr, int maxsize, int gbflags) argument 2057 allocbufkva(struct buf *bp, int maxsize, int gbflags) argument 2151 getnewbuf_reuse_bp(struct buf *bp, int qindex) argument 2229 struct buf *bp, *nbp; local 2447 struct buf *bp; local 2677 struct buf *bp; local 2813 struct buf *bp; local 2883 vfs_clean_pages_dirty_buf(struct buf *bp) argument 2913 vfs_setdirty_locked_object(struct buf *bp) argument 2981 bp_unmapped_get_kva(struct buf *bp, daddr_t blkno, int size, int gbflags) argument 3099 struct buf *bp; local 3349 struct buf *bp; local 3381 allocbuf(struct buf *bp, int size) argument 3635 biodone(struct bio *bp) argument 3667 biowait(struct bio *bp, const char *wchan) argument 3684 biofinish(struct bio *bp, struct devstat *stat, int error) argument 3704 bufwait(struct buf *bp) argument 3727 struct buf *bp; local 3741 dev_strategy(struct cdev *dev, struct buf *bp) argument 3756 dev_strategy_csw(struct cdev *dev, struct cdevsw *csw, struct buf *bp) argument 3810 bufdone(struct buf *bp) argument 3841 bufdone_finish(struct buf *bp) argument 3953 vfs_unbusy_pages(struct buf *bp) argument 3995 vfs_page_set_valid(struct buf *bp, vm_ooffset_t off, vm_page_t m) argument 4024 vfs_page_set_validclean(struct buf *bp, vm_ooffset_t off, vm_page_t m) argument 4057 vfs_drain_busy_pages(struct buf *bp) argument 4094 vfs_busy_pages(struct buf *bp, int clear_modify) argument 4162 vfs_bio_set_valid(struct buf *bp, int base, int size) argument 4204 vfs_bio_clrbuf(struct buf *bp) argument 4261 vfs_bio_bzero_buf(struct buf *bp, int base, int size) argument 4290 vm_hold_load_pages(struct buf *bp, vm_offset_t from, vm_offset_t to) argument 4323 vm_hold_free_pages(struct buf *bp, int newbsize) argument 4361 vmapbuf(struct buf *bp, int mapbuf) argument 4397 vunmapbuf(struct buf *bp) argument 4412 bdone(struct buf *bp) argument 4424 bwait(struct buf *bp, u_char pri, const char *wchan) argument 4443 bufstrategy(struct bufobj *bo, struct buf *bp) argument 4508 bpin(struct buf *bp) argument 4519 bunpin(struct buf *bp) argument 4531 bunpin_wait(struct buf *bp) argument 4546 bdata2bio(struct buf *bp, struct bio *bip) argument 4558 ("Buffer %p too short: %d %lld %d", bp, bip->bio_ma_offset, local 4574 struct buf *bp = (struct buf *)addr; local 4611 struct buf *bp; local 4626 struct buf *bp; local 4647 struct buf *bp; local [all...] |
H A D | subr_disk.c | 34 disk_err(struct bio *bp, const char *what, int blkdone, int nl) argument 38 if (bp->bio_dev != NULL) 39 printf("%s: %s ", devtoname(bp->bio_dev), what); 40 else if (bp->bio_disk != NULL) 42 bp->bio_disk->d_name, bp->bio_disk->d_unit, what); 45 switch(bp->bio_cmd) { 51 default: printf("cmd=%x ", bp->bio_cmd); break; 53 sn = bp->bio_pblkno; 54 if (bp 156 bioq_remove(struct bio_queue_head *head, struct bio *bp) argument 171 struct bio *bp; local 178 bioq_insert_head(struct bio_queue_head *head, struct bio *bp) argument 187 bioq_insert_tail(struct bio_queue_head *head, struct bio *bp) argument 205 struct bio *bp; local 219 bioq_bio_key(struct bio_queue_head *head, struct bio *bp) argument 233 bioq_disksort(struct bio_queue_head *head, struct bio *bp) argument [all...] |
/freebsd-10.3-release/contrib/gdb/gdb/gdbserver/ |
H A D | mem-break.c | 54 struct breakpoint *bp; local 59 bp = malloc (sizeof (struct breakpoint)); 60 memset (bp, 0, sizeof (struct breakpoint)); 62 (*the_target->read_memory) (where, bp->old_data, 67 bp->pc = where; 68 bp->handler = handler; 70 bp->next = breakpoints; 71 breakpoints = bp; 75 delete_breakpoint (struct breakpoint *bp) argument 79 if (breakpoints == bp) 105 struct breakpoint *bp = breakpoints; local 139 struct breakpoint *bp, *orig_bp; local 160 struct breakpoint *bp; local 174 struct breakpoint *bp; local 190 struct breakpoint *bp; local 215 struct breakpoint *bp = breakpoints; local 248 struct breakpoint *bp = breakpoints; local [all...] |
/freebsd-10.3-release/sys/geom/sched/ |
H A D | subr_disk.c | 115 gs_bioq_remove(struct bio_queue_head *head, struct bio *bp) argument 119 if (bp == TAILQ_FIRST(&head->queue)) 120 head->last_offset = bp->bio_offset + bp->bio_length; 121 } else if (bp == head->insert_point) 124 TAILQ_REMOVE(&head->queue, bp, bio_queue); 130 struct bio *bp; local 132 while ((bp = gs_bioq_takefirst(head)) != NULL) 133 biofinish(bp, stp, error); 137 gs_bioq_insert_head(struct bio_queue_head *head, struct bio *bp) argument 146 gs_bioq_insert_tail(struct bio_queue_head *head, struct bio *bp) argument 164 struct bio *bp; local 178 gs_bioq_bio_key(struct bio_queue_head *head, struct bio *bp) argument 192 gs_bioq_disksort(struct bio_queue_head *head, struct bio *bp) argument [all...] |