Home
last modified time | relevance | path

Searched refs:bp (Results 1 – 25 of 1076) sorted by relevance

12345678910>>...44

/freebsd-14.2/sys/net/
H A Dbridgestp.c950 if (bp->bp_sync || !bp->bp_synced || bp->bp_reroot) { in bstp_update_roles()
968 if (bp->bp_proposed && !bp->bp_agree) { in bstp_update_roles()
976 if (bp->bp_sync || !bp->bp_synced || bp->bp_reroot) { in bstp_update_roles()
1035 !bp->bp_synced) || (bp->bp_agreed && !bp->bp_synced) || in bstp_update_roles()
1037 (bp->bp_sync && bp->bp_synced)) { in bstp_update_roles()
1072 bp->bp_agreed = bp->bp_protover; in bstp_update_roles()
1125 if (bp->bp_rcvdtc || bp->bp_rcvdtcn || bp->bp_rcvdtca || in bstp_update_tc()
1164 if (bp->bp_synced && !bp->bp_agreed) { in bstp_update_info()
1170 bp->bp_port_pv = bp->bp_desg_pv; in bstp_update_info()
1174 bp->bp_port_htime = bp->bp_desg_htime; in bstp_update_info()
[all …]
/freebsd-14.2/sys/geom/
H A Dgeom_io.c270 bzero(bp, sizeof(*bp)); in g_reset_bio()
516 bp->_bio_caller1 = bp->bio_caller1; in g_io_request()
517 bp->_bio_caller2 = bp->bio_caller2; in g_io_request()
518 bp->_bio_cflags = bp->bio_cflags; in g_io_request()
587 bp->bio_to->geom->start(bp); in g_io_request()
618 bp->bio_done(bp); in g_io_deliver()
653 bp->bio_bcount = bp->bio_length; in g_io_deliver()
654 bp->bio_resid = bp->bio_bcount - bp->bio_completed; in g_io_deliver()
758 bp, bp->bio_to->name); in g_io_transient_map_bio()
840 "len %ld", bp, bp->bio_to->name, bp->bio_offset, in g_io_schedule_down()
[all …]
/freebsd-14.2/sys/kern/
H A Dvfs_bio.c1466 nbusy, bp, bp->b_vp, bp->b_flags, in bufshutdown()
1842 bp->b_qindex, bp)); in buf_recycle()
1948 bp, bp->b_vp, bp->b_flags); in bq_remove()
2121 bp->b_data = bp->b_kvabase; in bufkva_alloc()
2539 bp, bp->b_vp, bp->b_flags); in bdirty()
2689 bp, bp->b_vp, bp->b_flags); in brelse()
3662 bp, bp->b_vp, bp->b_flags); in flushbufqueues()
4610 (*bp->b_ckhashcalc)(bp); in bufdone()
5081 bp->b_data = bp->b_kvabase + bp->b_offset; in vmapbuf()
5474 bp->b_error, bp->b_bufsize, bp->b_bcount, bp->b_resid, in DB_SHOW_COMMAND()
[all …]
H A Dsubr_disk.c43 if (bp->bio_dev != NULL) in disk_err()
47 bp->bio_disk->d_name, bp->bio_disk->d_unit, what); in disk_err()
50 switch(bp->bio_cmd) { in disk_err()
58 sn = bp->bio_pblkno; in disk_err()
68 (intmax_t)(bp->bio_pblkno + (bp->bio_bcount - 1) / DEV_BSIZE)); in disk_err()
168 head->last_offset = bp->bio_offset + bp->bio_length; in bioq_remove()
181 struct bio *bp; in bioq_flush() local
219 struct bio *bp; in bioq_takefirst() local
222 if (bp != NULL) in bioq_takefirst()
224 return (bp); in bioq_takefirst()
[all …]
H A Dvfs_cluster.c249 bp->b_iooffset = dbtob(bp->b_blkno); in cluster_read()
510 bp->b_pages[bp->b_npages] = m; in cluster_rbuild()
538 if (bp->b_bufsize > bp->b_kvasize) in cluster_rbuild()
540 bp->b_bufsize, bp->b_kvasize); in cluster_rbuild()
751 bp->b_blkno == bp->b_lblkno && in cluster_write()
997 bp->b_pages[bp->b_npages] = m; in cluster_wbuild()
1027 if (bp->b_bufsize > bp->b_kvasize) in cluster_wbuild()
1030 bp->b_bufsize, bp->b_kvasize); in cluster_wbuild()
1033 bp->b_dirtyend = bp->b_bufsize; in cluster_wbuild()
1073 if (bp->b_blkno == bp->b_lblkno) in cluster_collectbufs()
[all …]
/freebsd-14.2/usr.sbin/ppp/
H A Dmbuf.c82 for (len = 0; bp; bp = bp->m_next) in m_length()
191 bp = m_free(bp); in m_freem()
213 bp = m_free(bp); in mbuf_Read()
217 bp = m_free(bp); in mbuf_Read()
236 bp = bp->m_next; in mbuf_View()
247 if (bp && bp->m_offset) { in m_prepend()
283 bp = m_free(bp); in m_adj()
290 for (; bp; bp = bp->m_next, n -= bp->m_len) in m_adj()
316 bp = bp->m_next; in mbuf_Write()
400 bcopy(MBUF_CTOP(bp), bp + 1, bp->m_len); in m_pullup()
[all …]
/freebsd-14.2/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c111 dump_hex(bp->bp_chaddr, bp->bp_hlen); in bootp_print()
124 TCHECK(bp->bp_ciaddr, sizeof(bp->bp_ciaddr)); in bootp_print()
129 TCHECK(bp->bp_yiaddr, sizeof(bp->bp_yiaddr)); in bootp_print()
134 TCHECK(bp->bp_siaddr, sizeof(bp->bp_siaddr)); in bootp_print()
139 TCHECK(bp->bp_giaddr, sizeof(bp->bp_giaddr)); in bootp_print()
143 TCHECK(bp->bp_sname[0], sizeof(bp->bp_sname)); in bootp_print()
151 TCHECK(bp->bp_file[0], sizeof(bp->bp_file)); in bootp_print()
313 printfn(bp, bp + len); in rfc1048_print()
360 if (isascii(*bp) && isprint(*bp)) { in rfc1048_print()
362 printfn(bp, bp + len); in rfc1048_print()
[all …]
/freebsd-14.2/contrib/tcpdump/
H A Dprint-pim.c193 bp += 4; in pimv1_join_prune_print()
203 bp += 4; in pimv1_join_prune_print()
209 bp += 4; in pimv1_join_prune_print()
219 bp += 4; in pimv1_join_prune_print()
225 bp += 4; in pimv1_join_prune_print()
232 bp += 4; in pimv1_join_prune_print()
249 bp += 6; in pimv1_join_prune_print()
404 bp += 4; in cisco_autorp_print()
420 bp += 1; in cisco_autorp_print()
425 bp += 1; in cisco_autorp_print()
[all …]
H A Dprint-ptp.c404 len -= 2; bp += 2; control = GET_U_1(bp) ; in ptp_print_2()
497 bp += 6; in ptp_print_timestamp()
503 bp += 4; in ptp_print_timestamp()
519 bp += 6; in ptp_print_timestamp_identity()
525 bp += 4; in ptp_print_timestamp_identity()
531 bp += 8; in ptp_print_timestamp_identity()
537 bp += 2; in ptp_print_timestamp_identity()
553 bp += 6; in ptp_print_announce_msg()
559 bp += 4; in ptp_print_announce_msg()
565 bp += 2; in ptp_print_announce_msg()
[all …]
H A Dprint-pgm.c431 bp++; in pgm_print()
437 bp++; in pgm_print()
457 bp++; in pgm_print()
459 bp++; in pgm_print()
480 bp += 2; in pgm_print()
491 bp += 2; in pgm_print()
493 bp += 4; in pgm_print()
495 bp += 4; in pgm_print()
497 bp += 4; in pgm_print()
503 bp += 2; in pgm_print()
[all …]
H A Dprint-gre.c118 bp += 2; in gre_print_0()
125 bp += 2; in gre_print_0()
133 bp += 2; in gre_print_0()
140 bp += 2; in gre_print_0()
149 bp += 4; in gre_print_0()
158 bp += 4; in gre_print_0()
241 bp += 2; in gre_print_1()
252 bp += 2; in gre_print_1()
264 bp += 4; in gre_print_1()
272 bp += 4; in gre_print_1()
[all …]
H A Dprint-dvmrp.c91 bp += 8; in dvmrp_print()
159 GET_U_1(bp + 1) << 8 | GET_U_1(bp + 2); in print_report()
179 bp++; in print_report()
185 bp++; in print_report()
247 bp++; in print_neighbors()
249 bp++; in print_neighbors()
251 bp++; in print_neighbors()
291 bp++; in print_neighbors2()
293 bp++; in print_neighbors2()
295 bp++; in print_neighbors2()
[all …]
H A Dprint-bootp.c604 bp++; in rfc1048_print()
617 bp++; in rfc1048_print()
627 bp++; in rfc1048_print()
639 bp++; in rfc1048_print()
647 bp++; in rfc1048_print()
749 ++bp; in rfc1048_print()
768 ++bp; in rfc1048_print()
785 ++bp; in rfc1048_print()
797 ++bp; in rfc1048_print()
817 bp++; in rfc1048_print()
[all …]
/freebsd-14.2/cddl/contrib/opensolaris/lib/libdtrace/common/
H A Ddt_buf.c54 bp->dbu_buf = bp->dbu_ptr = dt_zalloc(dtp, len); in dt_buf_create()
60 bp->dbu_err = 0; in dt_buf_create()
70 bp->dbu_name, (ulong_t)bp->dbu_len, bp->dbu_resizes); in dt_buf_destroy()
78 if ((bp->dbu_ptr = bp->dbu_buf) != NULL) in dt_buf_reset()
81 dt_buf_create(dtp, bp, bp->dbu_name, bp->dbu_len); in dt_buf_reset()
88 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_write()
96 if (bp->dbu_ptr + adj + len > bp->dbu_buf + bp->dbu_len) { in dt_buf_write()
101 while (bp->dbu_ptr + adj + len > bp->dbu_buf + new_len) { in dt_buf_write()
141 size_t off = (size_t)(bp->dbu_ptr - bp->dbu_buf); in dt_buf_offset()
148 return (bp->dbu_ptr - bp->dbu_buf); in dt_buf_len()
[all …]
/freebsd-14.2/contrib/mandoc/
H A Deqn_term.c47 eqn_box(p, bp); in term_eqn()
60 if ((bp->type == EQN_LIST && bp->expectargs > 1) || in eqn_box()
61 (bp->type == EQN_PILE && (bp->prev || bp->next)) || in eqn_box()
62 (bp->parent != NULL && (bp->parent->pos == EQNPOS_SQRT || in eqn_box()
64 ((bp->top != NULL || bp->bottom != NULL) && in eqn_box()
66 bp->parent->pos != EQNPOS_OVER && bp->next != NULL) || in eqn_box()
68 (bp->type == EQN_SUBEXPR && bp->pos != EQNPOS_SQRT && in eqn_box()
83 term_word(p, bp->left != NULL ? bp->left : "("); in eqn_box()
98 if ((cp = strchr(bp->text, '\0')) > bp->text && in eqn_box()
170 term_word(p, bp->right != NULL ? bp->right : ")"); in eqn_box()
[all …]
/freebsd-14.2/lib/libc/db/hash/
H A Dhash_buf.c115 if (!bp || (bp->addr != addr)) in __get_buf()
133 if (!bp) { in __get_buf()
165 bp = LRU; in newbuf()
207 if ((bp->addr != 0) || (bp->flags & BUF_BUCKET)) { in newbuf()
216 bp->addr, (int)IS_BUCKET(bp->flags), 0)) in newbuf()
274 bp->addr, (bp->ovfl ? bp->ovfl->addr : 0), 0); in newbuf()
285 (bp ? bp->addr : 0)); in newbuf()
326 for (bp = LRU; bp != &hashp->bufhead;) { in __buf_free()
328 if (bp->addr || IS_BUCKET(bp->flags)) { in __buf_free()
331 bp->addr, IS_BUCKET(bp->flags), 0)) in __buf_free()
[all …]
/freebsd-14.2/lib/libc/db/mpool/
H A Dmpool.c115 BKT *bp; in mpool_new() local
149 BKT *bp; in mpool_delete() local
166 free(bp); in mpool_delete()
181 BKT *bp; in mpool_get() local
261 (mp->pgin)(mp->pgcookie, bp->pgno, bp->page); in mpool_get()
274 BKT *bp; in mpool_put() local
300 BKT *bp; in mpool_close() local
321 BKT *bp; in mpool_sync() local
341 BKT *bp; in mpool_bkt() local
382 bp->page = (char *)bp + sizeof(BKT); in mpool_bkt()
[all …]
/freebsd-14.2/sys/geom/eli/
H A Dg_eli_privacy.c79 uiomove_fromphys(bp->bio_ma, bp->bio_ma_offset, bp->bio_length, &uio); in g_eli_bio_copyin()
101 bp->bio_inbed, bp->bio_children); in g_eli_crypto_read_done()
105 bp->bio_inbed, bp->bio_children, crp->crp_etype); in g_eli_crypto_read_done()
116 if (bp->bio_inbed < bp->bio_children) in g_eli_crypto_read_done()
127 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_read_done()
154 bp->bio_inbed, bp->bio_children); in g_eli_crypto_write_done()
169 if (bp->bio_inbed < bp->bio_children) in g_eli_crypto_write_done()
180 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_write_done()
282 if (!g_eli_alloc_data(bp, bp->bio_length)) { in g_eli_crypto_run()
289 g_io_deliver(bp, bp->bio_error); in g_eli_crypto_run()
[all …]
H A Dg_eli_integrity.c142 bp->bio_inbed, bp->bio_children, crp->crp_payload_length, (intmax_t)bp->bio_completed); in g_eli_auth_read_done()
165 bp->bio_inbed, bp->bio_children, crp->crp_etype); in g_eli_auth_read_done()
176 if (bp->bio_inbed < bp->bio_children) in g_eli_auth_read_done()
278 g_io_deliver(bp, bp->bio_error); in g_eli_auth_read_done()
304 bp->bio_inbed, bp->bio_children); in g_eli_auth_write_done()
318 if (bp->bio_inbed < bp->bio_children) in g_eli_auth_write_done()
327 g_io_deliver(bp, bp->bio_error); in g_eli_auth_write_done()
338 nsec = bp->bio_length / bp->bio_to->sectorsize; in g_eli_auth_write_done()
391 nsec = bp->bio_length / bp->bio_to->sectorsize; in g_eli_auth_read()
404 g_io_deliver(bp, bp->bio_error); in g_eli_auth_read()
[all …]
/freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_bridge/
H A Dbridge_port.c66 free(bp); in bridge_ports_free()
270 bzero(bp, sizeof(*bp)); in bridge_new_port()
315 for (bp = bif->f_bp; bp != NULL; bp = TAILQ_NEXT(bp, b_p)) { in bridge_port_find()
334 bp = bridge_port_bif_next(bp)) { in bridge_ports_dump()
336 bp->p_name, bp->port_no); in bridge_ports_dump()
373 (bp = bridge_port_bif_next(bp)) == NULL) in op_dot1d_base_port()
445 (bp = bridge_port_bif_next(bp)) == NULL) in op_dot1d_stp_port()
603 (bp = bridge_port_bif_next(bp)) == NULL) in op_dot1d_stp_ext_port()
875 bp = bridge_port_next(bp); in bridge_port_index_getnext()
884 bp = bridge_port_next(bp); in bridge_port_index_getnext()
[all …]
/freebsd-14.2/sys/contrib/openzfs/include/sys/
H A Dspa.h360 ((wp) != &(bp)->blk_prop && (wp) != &(bp)->blk_birth)
450 #define BP_GET_TYPE(bp) BF64_GET((bp)->blk_prop, 48, 8) argument
453 #define BP_GET_LEVEL(bp) BF64_GET((bp)->blk_prop, 56, 5) argument
471 (BP_USES_CRYPT(bp) && BP_GET_LEVEL(bp) > 0)
474 (BP_IS_ENCRYPTED(bp) || BP_IS_AUTHENTICATED(bp))
482 #define BP_GET_FREE(bp) BF64_GET((bp)->blk_fill, 0, 1) argument
487 (bp)->blk_phys_birth ? (bp)->blk_phys_birth : (bp)->blk_birth)
498 ((BP_IS_EMBEDDED(bp)) ? 1 : (bp)->blk_fill))
527 (BP_IS_METADATA(bp) ? BP_GET_PSIZE(bp) : BP_GET_LSIZE(bp))
555 #define BP_IDENTITY(bp) (ASSERT(!BP_IS_EMBEDDED(bp)), &(bp)->blk_dva[0]) argument
[all …]
/freebsd-14.2/contrib/byacc/
H A Dsymtab.c32 bucket *bp; in make_bucket() local
37 NO_SPACE(bp); in make_bucket()
39 bp->link = 0; in make_bucket()
40 bp->next = 0; in make_bucket()
45 bp->tag = 0; in make_bucket()
48 bp->prec = 0; in make_bucket()
59 return (bp); in make_bucket()
68 bp = *bpp; in lookup()
70 while (bp) in lookup()
75 bp = *bpp; in lookup()
[all …]
/freebsd-14.2/usr.sbin/rtadvd/
H A Dadvcap.c266 bp++; in tskip()
269 bp++; in tskip()
277 bp++; in tskip()
280 bp++; in tskip()
286 bp++; in tskip()
306 bp = tskip(bp); in tgetnum()
316 bp++; in tgetnum()
339 bp = tskip(bp); in tgetflag()
344 if (!*bp || *bp == ':') in tgetflag()
366 bp = tskip(bp); in tgetstr()
[all …]
/freebsd-14.2/usr.sbin/makefs/ffs/
H A Dbuf.c120 free(bp); in brelse()
139 brelse(bp); in bwrite()
142 rv = write(bp->b_fs->fd, bp->b_data, bytes); in bwrite()
147 brelse(bp); in bwrite()
172 (long long)bp->b_lblkno, (long long)bp->b_blkno, in bcleanup()
173 bp->b_bcount, bp->b_bufsize); in bcleanup()
190 bp = NULL; in getblk()
204 bp = ecalloc(1, sizeof(*bp)); in getblk()
206 bp->b_blkno = bp->b_lblkno = blkno; in getblk()
212 if (bp->b_data == NULL || bp->b_bcount > bp->b_bufsize) { in getblk()
[all …]
/freebsd-14.2/usr.sbin/lpr/common_source/
H A Dprintcap.c100 char *bp; in getprintcap() local
105 free(bp); in getprintcap()
146 char *bp; in firstprinter() local
158 free(bp); in firstprinter()
168 char *bp; in nextprinter() local
180 free(bp); in nextprinter()
416 if (cgetcap(bp, lng, ':')) in capdb_getaltlog()
418 if (cgetcap(bp, shrt, ':')) in capdb_getaltlog()
435 nameend = strpbrk(bp, "|:"); in capdb_canonical_name()
437 nameend = bp + 1; in capdb_canonical_name()
[all …]

12345678910>>...44