/freebsd-9.3-release/sys/dev/mlx/ |
H A D | mlx_compat.h | 41 # define MLX_BIO_QINSERT(bq, bp) bufq_insert_tail(&bq, bp) 43 # define MLX_BIO_QREMOVE(bq, bp) bufq_remove(&bq, bp) 44 # define MLX_BIO_IS_READ(bp) ((bp)->b_flags & B_READ) 45 # define MLX_BIO_DATA(bp) (bp)->b_data 46 # define MLX_BIO_LENGTH(bp) (bp) [all...] |
/freebsd-9.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-9.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-9.3-release/usr.bin/yacc/ |
H A D | symtab.c | 77 bucket *bp; local 80 bp = malloc(sizeof(bucket)); 81 if (bp == 0) no_space(); 82 bp->link = 0; 83 bp->next = 0; 84 bp->name = malloc(strlen(name) + 1); 85 if (bp->name == 0) no_space(); 86 bp->tag = 0; 87 bp->value = UNDEFINED; 88 bp 103 bucket *bp, **bpp; local 127 bucket *bp; local [all...] |
/freebsd-9.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-9.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-9.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-9.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-9.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-9.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...] |
/freebsd-9.3-release/sys/gnu/fs/xfs/ |
H A D | xfs_rw.c | 166 xfs_buf_t *bp) 170 ASSERT(XFS_BUF_ISREAD(bp) || bp->b_iodone); 177 xfs_buftrace("XFS IOERROR", bp); 178 XFS_BUF_ERROR(bp, EIO); 185 XFS_BUF_UNREAD(bp); 186 XFS_BUF_UNDELAYWRITE(bp); 187 XFS_BUF_UNDONE(bp); 188 XFS_BUF_STALE(bp); 190 XFS_BUF_CLR_BDSTRAT_FUNC(bp); 165 xfs_bioerror( xfs_buf_t *bp) argument 203 xfs_bioerror_relse( xfs_buf_t *bp) argument 246 xfs_ioerror_alert( char *func, struct xfs_mount *mp, xfs_buf_t *bp, xfs_daddr_t blkno) argument 280 xfs_buf_t *bp; local 317 xfs_bwrite( struct xfs_mount *mp, struct xfs_buf *bp) argument [all...] |
H A D | xfs_trans_buf.c | 75 xfs_buf_t *bp; local 85 bp = xfs_buf_get_flags(target_dev, blkno, len, 87 return(bp); 97 bp = xfs_trans_buf_item_match(tp, target_dev, blkno, len); 99 bp = xfs_trans_buf_item_match_all(tp, target_dev, blkno, len); 101 if (bp != NULL) { 102 ASSERT(XFS_BUF_VALUSEMA(bp) <= 0); 104 xfs_buftrace("TRANS GET RECUR SHUT", bp); 105 XFS_BUF_SUPER_STALE(bp); 112 else if (XFS_BUF_ISSTALE(bp)) { 192 xfs_buf_t *bp; local 296 xfs_buf_t *bp; local 512 xfs_trans_brelse(xfs_trans_t *tp, xfs_buf_t *bp) argument 649 xfs_trans_bjoin(xfs_trans_t *tp, xfs_buf_t *bp) argument 694 xfs_trans_bhold(xfs_trans_t *tp, xfs_buf_t *bp) argument 716 xfs_trans_bhold_release(xfs_trans_t *tp, xfs_buf_t *bp) argument 744 xfs_trans_log_buf(xfs_trans_t *tp, xfs_buf_t *bp, uint first, uint last) argument 822 xfs_trans_binval( xfs_trans_t *tp, xfs_buf_t *bp) argument 901 xfs_trans_inode_buf( xfs_trans_t *tp, xfs_buf_t *bp) argument 927 xfs_trans_stale_inode_buf( xfs_trans_t *tp, xfs_buf_t *bp) argument 957 xfs_trans_inode_alloc_buf( xfs_trans_t *tp, xfs_buf_t *bp) argument 986 xfs_trans_dquot_buf( xfs_trans_t *tp, xfs_buf_t *bp, uint type) argument 1021 xfs_buf_t *bp; local 1074 xfs_buf_t *bp; local [all...] |
/freebsd-9.3-release/usr.bin/vgrind/ |
H A D | vgrindefs.c | 64 * Get an entry for terminal name in buffer bp, 68 tgetent(bp, name, file) 69 char *bp, *name, *file; 78 tbuf = bp; 85 cp = bp; 97 if (cp > bp && cp[-1] == '\\'){ 103 if (cp >= bp+BUFSIZ) { 202 tskip(bp) 203 register char *bp; 206 while (*bp 225 register char *bp = tbuf; local 257 register char *bp = tbuf; local 284 register char *bp = tbuf; local [all...] |
/freebsd-9.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-9.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-9.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;
|
/freebsd-9.3-release/sys/kern/ |
H A D | vfs_bio.c | 103 static void vm_hold_free_pages(struct buf *bp, int newbsize); 104 static void vm_hold_load_pages(struct buf *bp, vm_offset_t from, 106 static void vfs_page_set_valid(struct buf *bp, vm_ooffset_t off, vm_page_t m); 107 static void vfs_page_set_validclean(struct buf *bp, vm_ooffset_t off, 109 static void vfs_drain_busy_pages(struct buf *bp); 110 static void vfs_clean_pages_dirty_buf(struct buf *bp); 111 static void vfs_setdirty_locked_object(struct buf *bp); 112 static void vfs_vmio_release(struct buf *bp); 118 static void bremfreel(struct buf *bp); 367 * bp' 392 runningbufwakeup(struct buf *bp) argument 417 bufcountwakeup(struct buf *bp) argument 476 vfs_buf_test_cache(struct buf *bp, vm_ooffset_t foff, vm_offset_t off, vm_offset_t size, vm_page_t m) argument 658 struct buf *bp; local 759 vfs_buf_check_mapped(struct buf *bp) argument 771 vfs_buf_check_unmapped(struct buf *bp) argument 790 bpmap_qenter(struct buf *bp) argument 811 bfreekva(struct buf *bp) argument 843 bremfree(struct buf *bp) argument 874 bremfreef(struct buf *bp) argument 888 bremfreel(struct buf *bp) argument 1015 struct buf *bp; local 1061 bufwrite(struct buf *bp) argument 1142 bufbdflush(struct bufobj *bo, struct buf *bp) argument 1192 bdwrite(struct buf *bp) argument 1291 bdirty(struct buf *bp) argument 1323 bundirty(struct buf *bp) argument 1354 bawrite(struct buf *bp) argument 1371 babarrierwrite(struct buf *bp) argument 1388 bbarrierwrite(struct buf *bp) argument 1448 brelse(struct buf *bp) argument 1757 bqrelse(struct buf *bp) argument 1859 vfs_vmio_release(struct buf *bp) argument 1961 vfs_bio_awrite(struct buf *bp) argument 2025 setbufkva(struct buf *bp, vm_offset_t addr, int maxsize, int gbflags) argument 2047 allocbufkva(struct buf *bp, int maxsize, int gbflags) argument 2142 getnewbuf_reuse_bp(struct buf *bp, int qindex) argument 2220 struct buf *bp, *nbp; local 2437 struct buf *bp; local 2671 struct buf *bp; local 2808 struct buf *bp; local 2878 vfs_clean_pages_dirty_buf(struct buf *bp) argument 2908 vfs_setdirty_locked_object(struct buf *bp) argument 2976 bp_unmapped_get_kva(struct buf *bp, daddr_t blkno, int size, int gbflags) argument 3094 struct buf *bp; local 3355 struct buf *bp; local 3387 allocbuf(struct buf *bp, int size) argument 3641 biodone(struct bio *bp) argument 3679 biowait(struct bio *bp, const char *wchan) argument 3696 biofinish(struct bio *bp, struct devstat *stat, int error) argument 3716 bufwait(struct buf *bp) argument 3739 struct buf *bp; local 3753 dev_strategy(struct cdev *dev, struct buf *bp) argument 3768 dev_strategy_csw(struct cdev *dev, struct cdevsw *csw, struct buf *bp) argument 3822 bufdone(struct buf *bp) argument 3853 bufdone_finish(struct buf *bp) argument 3965 vfs_unbusy_pages(struct buf *bp) argument 4007 vfs_page_set_valid(struct buf *bp, vm_ooffset_t off, vm_page_t m) argument 4036 vfs_page_set_validclean(struct buf *bp, vm_ooffset_t off, vm_page_t m) argument 4069 vfs_drain_busy_pages(struct buf *bp) argument 4102 vfs_busy_pages(struct buf *bp, int clear_modify) argument 4170 vfs_bio_set_valid(struct buf *bp, int base, int size) argument 4212 vfs_bio_clrbuf(struct buf *bp) argument 4269 vfs_bio_bzero_buf(struct buf *bp, int base, int size) argument 4300 vm_hold_load_pages(struct buf *bp, vm_offset_t from, vm_offset_t to) argument 4333 vm_hold_free_pages(struct buf *bp, int newbsize) argument 4371 vmapbuf(struct buf *bp, int mapbuf) argument 4407 vunmapbuf(struct buf *bp) argument 4422 bdone(struct buf *bp) argument 4434 bwait(struct buf *bp, u_char pri, const char *wchan) argument 4453 bufstrategy(struct bufobj *bo, struct buf *bp) argument 4518 bpin(struct buf *bp) argument 4529 bunpin(struct buf *bp) argument 4541 bunpin_wait(struct buf *bp) argument 4556 bdata2bio(struct buf *bp, struct bio *bip) argument 4568 ("Buffer %p too short: %d %jd %d", bp, bip->bio_ma_offset, local 4584 struct buf *bp = (struct buf *)addr; local 4621 struct buf *bp; local 4636 struct buf *bp; local 4657 struct buf *bp; local [all...] |
/freebsd-9.3-release/sys/geom/ |
H A D | geom_io.c | 119 struct bio *bp; local 121 bp = TAILQ_FIRST(&bq->bio_queue); 122 if (bp != NULL) { 123 KASSERT((bp->bio_flags & BIO_ONQUEUE), 124 ("Bio not on queue bp=%p target %p", bp, bq)); 125 bp->bio_flags &= ~BIO_ONQUEUE; 126 TAILQ_REMOVE(&bq->bio_queue, bp, bio_queue); 129 return (bp); 135 struct bio *bp; local 153 struct bio *bp; local 169 g_destroy_bio(struct bio *bp) argument 184 g_clone_bio(struct bio *bp) argument 225 g_duplicate_bio(struct bio *bp) argument 269 struct bio *bp; local 289 struct bio *bp; local 308 g_io_check(struct bio *bp) argument 408 g_run_classifiers(struct bio *bp) argument 421 g_io_request(struct bio *bp, struct g_consumer *cp) argument 511 g_io_deliver(struct bio *bp, int error) argument 627 g_io_transient_map_bio(struct bio *bp) argument 684 struct bio *bp; local 767 bio_taskqueue(struct bio *bp, bio_task_t *func, void *arg) argument 789 struct bio *bp; local 821 struct bio *bp; local 851 struct bio *bp; local 873 struct bio *bp; local 892 g_print_bio(struct bio *bp) argument [all...] |
/freebsd-9.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-9.3-release/sys/gnu/fs/xfs/FreeBSD/ |
H A D | xfs_buf.c | 49 struct buf *bp; local 52 if (bread(target->specvp, blkno, BBTOB(len), NOCRED, &bp)) { 55 bp = NULL; 63 bp->b_flags |= B_MANAGED; 64 xfs_buf_set_target(bp, target); 65 return (bp); 71 struct buf *bp = NULL; local 73 bp = getblk(target->specvp, blkno, BBTOB(len), 0, 0, 0); 74 if (bp != NULL) 75 xfs_buf_set_target(bp, targe 82 struct buf *bp; local 99 struct buf *bp; local 113 xfs_buf_free(xfs_buf_t *bp) argument 142 xfs_buf_set_target(xfs_buf_t *bp, xfs_buftarg_t *targ) argument 149 xfs_buf_get_target(xfs_buf_t *bp) argument 155 XFS_bwrite(xfs_buf_t *bp) argument 178 xfs_buf_pin(xfs_buf_t *bp) argument 184 xfs_buf_unpin(xfs_buf_t *bp) argument 190 xfs_buf_ispin(xfs_buf_t *bp) argument 208 xfs_buf_iomove( xfs_buf_t *bp, size_t boff, size_t bsize, caddr_t data, xfs_buf_rw_t mode) argument 256 xfs_wait_buftarg( xfs_buftarg_t *bp) argument [all...] |