Home
last modified time | relevance | path

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

12345678910>>...32

/dragonfly/sys/kern/
H A Dvfs_bio.c633 bzero(bp, sizeof *bp); in bufinit()
721 bp->b_bio1.bio_buf = bp; in initbufbio()
728 bp->b_bio2.bio_buf = bp; in initbufbio()
991 vfs_busy_pages(bp->b_vp, bp); in bwrite()
1090 VOP_BMAP(bp->b_vp, bp->b_loffset, &bp->b_bio2.bio_offset, in bdwrite()
1556 bp, saved_flags, bp->b_flags, bp->b_vp)); in brelse()
1569 bp, saved_flags, bp->b_flags, bp->b_vp)); in brelse()
2083 bp, bp->b_flags, bp->b_vp, qindex)); in getnewbuf()
2904 bp, (uintmax_t)bp->b_loffset, bp->b_flags); in getblk()
4106 bp, (uintmax_t)bp->b_loffset, bp->b_bcount, in vfs_clean_one_page()
[all …]
H A Dvfs_cluster.c1094 if (bp->b_bufsize > bp->b_kvasize) { in cluster_rbuild()
1096 bp->b_bufsize, bp->b_kvasize); in cluster_rbuild()
1129 } else if (bp->b_bcount != bp->b_bufsize) { in cluster_callback()
1433 total = cluster_wbuild(bp->b_vp, &bp, bp->b_bufsize, in cluster_awrite()
1440 if (bp) in cluster_awrite()
1694 if (bp->b_bufsize > bp->b_kvasize) { in cluster_wbuild()
1697 bp->b_bufsize, bp->b_kvasize); in cluster_wbuild()
1701 bp->b_dirtyend = bp->b_bufsize; in cluster_wbuild()
1706 bsetrunningbufspace(bp, bp->b_bufsize); in cluster_wbuild()
1753 VOP_BMAP(bp->b_vp, bp->b_loffset, in cluster_collectbufs()
[all …]
H A Dvfs_vm.c135 struct buf *bp; in nvtruncbuf() local
183 bkvasync(bp); in nvtruncbuf()
193 buwrite(bp); in nvtruncbuf()
195 bdwrite(bp); in nvtruncbuf()
200 brelse(bp); in nvtruncbuf()
300 bremfree(bp); in nvtruncbuf_bp_trunc()
302 brelse(bp); in nvtruncbuf_bp_trunc()
342 bremfree(bp); in nvtruncbuf_bp_metasync()
343 bawrite(bp); in nvtruncbuf_bp_metasync()
381 struct buf *bp; in nvextendbuf() local
[all …]
/dragonfly/games/hunt/huntd/
H A Dshots.c115 for (bp = blist; bp != NULL; bp = next) { in moveshots()
170 for (bp = blist; bp != NULL; bp = next) { in moveshots()
269 zapshot(bp->b_next, bp); in move_normal_shot()
276 zapshot(bp->b_next, bp); in move_normal_shot()
598 bp->b_over = Maze[bp->b_y][bp->b_x]; in save_bullet()
631 Maze[bp->b_y][bp->b_x] = bp->b_type; in save_bullet()
1015 i, bp->b_size, bp->b_owner, bp->b_score, TRUE, SPACE); in move_slime()
1075 for (bp = blist; bp != NULL; bp = bp->b_next) { in zapshot()
1096 for (bp = blist; bp != NULL; bp = bp->b_next) in explshot()
1154 for (bp = Bullets; bp != NULL; bp = bp->b_next) in is_bullet()
[all …]
/dragonfly/usr.sbin/ppp/
H A Dmbuf.c83 for (len = 0; bp; bp = bp->m_next) in m_length()
192 bp = m_free(bp); in m_freem()
214 bp = m_free(bp); in mbuf_Read()
218 bp = m_free(bp); in mbuf_Read()
237 bp = bp->m_next; in mbuf_View()
248 if (bp && bp->m_offset) { in m_prepend()
282 bp = m_free(bp); in m_adj()
289 for (; bp; bp = bp->m_next, n -= bp->m_len) in m_adj()
315 bp = bp->m_next; in mbuf_Write()
397 bcopy(MBUF_CTOP(bp), bp + 1, bp->m_len); in m_pullup()
[all …]
/dragonfly/contrib/tcpdump/
H A Dprint-pim.c195 bp += 4; in pimv1_join_prune_print()
205 bp += 4; in pimv1_join_prune_print()
211 bp += 4; in pimv1_join_prune_print()
221 bp += 4; in pimv1_join_prune_print()
227 bp += 4; in pimv1_join_prune_print()
234 bp += 4; in pimv1_join_prune_print()
251 bp += 6; in pimv1_join_prune_print()
406 bp += 4; in cisco_autorp_print()
422 bp += 1; in cisco_autorp_print()
427 bp += 1; in cisco_autorp_print()
[all …]
H A Dprint-ptp.c389 len -= 2; bp += 2; control = GET_U_1(bp) ; in ptp_print_2()
472 bp += 6; in ptp_print_timestamp()
478 bp += 4; in ptp_print_timestamp()
494 bp += 6; in ptp_print_timestamp_identity()
500 bp += 4; in ptp_print_timestamp_identity()
506 bp += 8; in ptp_print_timestamp_identity()
512 bp += 2; in ptp_print_timestamp_identity()
528 bp += 6; in ptp_print_announce_msg()
534 bp += 4; in ptp_print_announce_msg()
540 bp += 2; in ptp_print_announce_msg()
[all …]
H A Dprint-pgm.c433 bp++; in pgm_print()
439 bp++; in pgm_print()
459 bp++; in pgm_print()
461 bp++; in pgm_print()
482 bp += 2; in pgm_print()
493 bp += 2; in pgm_print()
495 bp += 4; in pgm_print()
497 bp += 4; in pgm_print()
499 bp += 4; in pgm_print()
505 bp += 2; in pgm_print()
[all …]
H A Dprint-gre.c120 bp += 2; in gre_print_0()
127 bp += 2; in gre_print_0()
135 bp += 2; in gre_print_0()
142 bp += 2; in gre_print_0()
151 bp += 4; in gre_print_0()
160 bp += 4; in gre_print_0()
243 bp += 2; in gre_print_1()
254 bp += 2; in gre_print_1()
266 bp += 4; in gre_print_1()
274 bp += 4; in gre_print_1()
[all …]
H A Dprint-dvmrp.c93 bp += 8; in dvmrp_print()
161 GET_U_1(bp + 1) << 8 | GET_U_1(bp + 2); in print_report()
181 bp++; in print_report()
187 bp++; in print_report()
249 bp++; in print_neighbors()
251 bp++; in print_neighbors()
253 bp++; in print_neighbors()
293 bp++; in print_neighbors2()
295 bp++; in print_neighbors2()
297 bp++; in print_neighbors2()
[all …]
H A Dprint-rx.c807 mask = GET_BE_U_4(bp); bp += sizeof(uint32_t); \
811 _i = GET_BE_U_4(bp); bp += sizeof(uint32_t); \
813 _i = GET_BE_U_4(bp); bp += sizeof(uint32_t); \
815 _i = GET_BE_U_4(bp); bp += sizeof(uint32_t); \
817 _i = GET_BE_U_4(bp); bp += sizeof(uint32_t); \
1723 ND_TCHECK_4(bp); in vldb_reply_print()
1817 bp += 44; in vldb_reply_print()
1821 bp += 4 * 13; in vldb_reply_print()
1920 bp += i; in kauth_print()
2805 bp += nAcks; in rx_ack_print()
[all …]
H A Dprint-bootp.c602 bp++; in rfc1048_print()
615 bp++; in rfc1048_print()
625 bp++; in rfc1048_print()
637 bp++; in rfc1048_print()
645 bp++; in rfc1048_print()
747 ++bp; in rfc1048_print()
766 ++bp; in rfc1048_print()
783 ++bp; in rfc1048_print()
795 ++bp; in rfc1048_print()
815 bp++; in rfc1048_print()
[all …]
/dragonfly/libexec/bootpd/tools/bootptest/
H A Dprint-bootp.c113 dump_hex(bp->bp_chaddr, bp->bp_hlen); in bootp_print()
126 TCHECK(bp->bp_ciaddr, sizeof(bp->bp_ciaddr)); in bootp_print()
131 TCHECK(bp->bp_yiaddr, sizeof(bp->bp_yiaddr)); in bootp_print()
136 TCHECK(bp->bp_siaddr, sizeof(bp->bp_siaddr)); in bootp_print()
141 TCHECK(bp->bp_giaddr, sizeof(bp->bp_giaddr)); in bootp_print()
145 TCHECK(bp->bp_sname[0], sizeof(bp->bp_sname)); in bootp_print()
153 TCHECK(bp->bp_file[0], sizeof(bp->bp_file)); in bootp_print()
315 printfn(bp, bp + len); in rfc1048_print()
362 if (isascii(*bp) && isprint(*bp)) { in rfc1048_print()
364 printfn(bp, bp + len); in rfc1048_print()
[all …]
/dragonfly/contrib/mdocml/
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 …]
/dragonfly/usr.sbin/makefs/ffs/
H A Dbuf.c146 rv = write(bp->b_fs->fd, bp->b_data, bytes); in bwrite()
179 bp, (long long)bp->b_lblkno, (long long)bp->b_blkno, in bcleanup()
180 bp->b_bcount, bp->b_bufsize, in bcleanup()
181 (long long)bp->b_loffset, bp->b_cmd, bp->b_vp, in bcleanup()
182 bp->b_vp ? bp->b_vp->v_data : NULL, in bcleanup()
183 bp->b_vp ? bp->b_vp->v_type : -1, in bcleanup()
184 bp->b_vp ? bp->b_vp->v_logical : -1, in bcleanup()
185 bp->b_vp ? bp->b_vp->v_vflushed : -1); in bcleanup()
222 bp = ecalloc(1, sizeof(*bp)); in getblk()
224 bp->b_blkno = bp->b_lblkno = blkno; in getblk()
[all …]
/dragonfly/lib/libc/db/mpool/
H A Dmpool.c113 BKT *bp; in mpool_new() local
147 BKT *bp; in mpool_delete() local
164 free(bp); in mpool_delete()
179 BKT *bp; in mpool_get() local
259 (mp->pgin)(mp->pgcookie, bp->pgno, bp->page); in mpool_get()
272 BKT *bp; in mpool_put() local
298 BKT *bp; in mpool_close() local
319 BKT *bp; in mpool_sync() local
339 BKT *bp; in mpool_bkt() local
380 bp->page = (char *)bp + sizeof(BKT); in mpool_bkt()
[all …]
/dragonfly/lib/libc/db/hash/
H A Dhash_buf.c113 if (!bp || (bp->addr != addr)) in __get_buf()
131 if (!bp) { in __get_buf()
163 bp = LRU; in newbuf()
169 bp = LRU; in newbuf()
214 bp->addr, (int)IS_BUCKET(bp->flags), 0)) in newbuf()
272 bp->addr, (bp->ovfl ? bp->ovfl->addr : 0), 0); in newbuf()
283 (bp ? bp->addr : 0)); in newbuf()
324 for (bp = LRU; bp != &hashp->bufhead;) { in __buf_free()
326 if (bp->addr || IS_BUCKET(bp->flags)) { in __buf_free()
329 bp->addr, IS_BUCKET(bp->flags), 0)) in __buf_free()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
H A Dtree-streamer-out.c86 bp_pack_value (bp, 0, 4); in pack_ts_base_value_fields()
97 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields()
111 bp_pack_value (bp, 0, 1); in pack_ts_base_value_fields()
125 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields()
130 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields()
135 bp_pack_value (bp, 0, 8); in pack_ts_base_value_fields()
138 bp_pack_value (bp, 0, 9); in pack_ts_base_value_fields()
166 bp_pack_value (bp, r.cl, 2); in pack_ts_real_cst_value_fields()
167 bp_pack_value (bp, r.decimal, 1); in pack_ts_real_cst_value_fields()
168 bp_pack_value (bp, r.sign, 1); in pack_ts_real_cst_value_fields()
[all …]
H A Dtree-streamer-in.c119 bp_unpack_value (bp, 4); in unpack_ts_base_value_fields()
130 bp_unpack_value (bp, 1); in unpack_ts_base_value_fields()
141 bp_unpack_value (bp, 1); in unpack_ts_base_value_fields()
155 bp_unpack_value (bp, 8); in unpack_ts_base_value_fields()
160 bp_unpack_value (bp, 8); in unpack_ts_base_value_fields()
165 bp_unpack_value (bp, 8); in unpack_ts_base_value_fields()
168 bp_unpack_value (bp, 9); in unpack_ts_base_value_fields()
371 mode = bp_unpack_machine_mode (bp); in unpack_ts_type_common_value_fields()
429 struct bitpack_d *bp, tree expr) in unpack_ts_omp_clause_value_fields() argument
476 struct bitpack_d bp; in streamer_read_tree_bitfields() local
[all …]
/dragonfly/usr.sbin/rtadvd/
H A Dadvcap.c265 bp++; in tskip()
268 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 …]
/dragonfly/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 …]
/dragonfly/sys/vfs/nfs/
H A Dnfs_bio.c714 if (bp->b_dirtyoff >= bp->b_dirtyend) in nfs_write()
715 bp->b_dirtyoff = bp->b_dirtyend = 0; in nfs_write()
1174 bp->b_dirtyend - bp->b_dirtyoff, in nfs_doio()
1225 && bp->b_dirtyend == bp->b_bcount) in nfs_doio()
1265 bp->b_dirtyoff = bp->b_dirtyend = 0; in nfs_doio()
1466 if (bp->b_dirtyend <= bp->b_dirtyoff) { in nfs_writerpc_bio()
1471 len = bp->b_dirtyend - bp->b_dirtyoff; in nfs_writerpc_bio()
1619 if (bp->b_dirtyoff == 0 && bp->b_dirtyend == bp->b_bcount) in nfs_writerpc_bio_done()
1658 bp->b_dirtyoff = bp->b_dirtyend = 0; in nfs_writerpc_bio_done()
1688 bp->b_dirtyoff = bp->b_dirtyend = 0; in nfs_commitrpc_bio()
[all …]
/dragonfly/usr.sbin/lpr/common_source/
H A Dprintcap.c92 char *bp; in getprintcap() local
101 status = getprintcap_int(bp, pp); in getprintcap()
102 free(bp); in getprintcap()
143 char *bp; in firstprinter() local
154 status = getprintcap_int(bp, pp); in firstprinter()
155 free(bp); in firstprinter()
165 char *bp; in nextprinter() local
177 free(bp); in nextprinter()
431 nameend = strpbrk(bp, "|:"); in capdb_canonical_name()
433 nameend = bp + 1; in capdb_canonical_name()
[all …]
/dragonfly/sys/sys/
H A Dbuf2.h169 struct bio *bp; in bioq_takefirst() local
172 if (bp != NULL) in bioq_takefirst()
174 return (bp); in bioq_takefirst()
194 bp->b_act_count = 0; in buf_act_decline()
207 bp->b_ops = NULL; in buf_dep_init()
208 LIST_INIT(&bp->b_dep); in buf_dep_init()
238 if (bp->b_vp == NULL || (bp->b_vp->v_flag & VKVABIO) == 0) in buf_countdeps()
239 bkvasync_all(bp); in buf_countdeps()
256 ops->io_start(bp); in buf_start()
323 if (bp->b_vp == NULL || (bp->b_vp->v_flag & VKVABIO) == 0) in buf_checkwrite()
[all …]
/dragonfly/sys/vm/
H A Dvm_pager.c229 struct buf *bp; in vm_pager_bufferinit() local
271 bp->b_data = bp->b_kvabase; in vm_pager_bufferinit()
273 bp->b_xio.xio_pages = bp->b_xio.xio_internal_pages; in vm_pager_bufferinit()
386 bp->b_data = bp->b_kvabase; /* NULL if pbuf sans kva */ in initpbuf()
449 return bp; in getpbuf()
494 return bp; in getpbuf_kva()
543 return bp; in getpbuf_mem()
584 return bp; in trypbuf()
616 return bp; in trypbuf_kva()
641 if (bp >= swbuf_mem && bp < &swbuf_mem[nswbuf_mem]) { in relpbuf()
[all …]

12345678910>>...32