Home
last modified time | relevance | path

Searched refs:bp1 (Results 1 – 13 of 13) sorted by relevance

/titanic_41/usr/src/uts/intel/io/dktp/drvobj/
H A Dstrategy.c882 qmerge_can_merge(bp1, bp2) in qmerge_can_merge() argument
883 struct buf *bp1, *bp2; in qmerge_can_merge()
887 if ((bp1->b_un.b_addr != 0) || (bp2->b_un.b_addr != 0) ||
888 ((bp1->b_flags & (paw_flags | B_REMAPPED)) != paw_flags) ||
890 (bp1->b_bcount & PAGEOFFSET) || (bp2->b_bcount & PAGEOFFSET) ||
891 (bp1->b_bcount + bp2->b_bcount > qmerge_max_merge))
894 if ((DBLK(bp2) + bp2->b_bcount / DEV_BSIZE == DBLK(bp1)) ||
895 (DBLK(bp1) + bp1->b_bcount / DEV_BSIZE == DBLK(bp2)))
905 struct buf *bp1; local
924 bp1 = bp_merge->b_forw;
[all …]
/titanic_41/usr/src/uts/common/io/ib/clients/rds/
H A Drdsib_buf.c759 rds_buf_t *bp = NULL, *bp1; in rds_get_buf() local
772 bp1 = pool->pool_headp; in rds_get_buf()
774 bp1 = bp1->buf_nextp; in rds_get_buf()
778 pool->pool_headp = bp1->buf_nextp; in rds_get_buf()
779 bp1->buf_nextp = NULL; in rds_get_buf()
939 rds_buf_t *bp = NULL, *bp1; in rds_get_send_buf() local
988 bp1 = bp; in rds_get_send_buf()
990 if ((bp1 == ackbp) || in rds_get_send_buf()
991 (bp1->buf_state != RDS_SNDBUF_FREE)) { in rds_get_send_buf()
998 "acked/completed", ep, bp1); in rds_get_send_buf()
[all …]
H A Drdsib_ep.c1568 rds_buf_t *bp, *bp1; in rds_build_n_post_msg() local
1602 bp1 = bp; in rds_build_n_post_msg()
1605 pktp = (rds_data_hdr_t *)(uintptr_t)bp1->buf_ds.ds_va; in rds_build_n_post_msg()
1611 bp1->buf_ds.ds_len = RdsPktSize; in rds_build_n_post_msg()
1622 bp1->buf_ds.ds_len = residual + RDS_DATA_HDR_SZ; in rds_build_n_post_msg()
1626 bp1 = bp1->buf_nextp; in rds_build_n_post_msg()
1644 bp1 = bp; in rds_build_n_post_msg()
1646 wrp[ix].wr_id = (uintptr_t)bp1; in rds_build_n_post_msg()
1651 wrp[ix].wr_sgl = &bp1->buf_ds; in rds_build_n_post_msg()
1652 bp1 = bp1->buf_nextp; in rds_build_n_post_msg()
[all …]
H A Drdsib_ib.c713 rds_buf_t *bp, *bp1; in rds_post_recv_buf() local
792 bp1 = bp; in rds_post_recv_buf()
794 bp1->buf_ep = ep; in rds_post_recv_buf()
795 ASSERT(bp1->buf_state == RDS_RCVBUF_FREE); in rds_post_recv_buf()
796 bp1->buf_state = RDS_RCVBUF_POSTED; in rds_post_recv_buf()
797 bp1->buf_ds.ds_key = hcap->hca_lkey; in rds_post_recv_buf()
798 bp1->buf_ds.ds_len = rcv_len; in rds_post_recv_buf()
799 bp1 = bp1->buf_nextp; in rds_post_recv_buf()
/titanic_41/usr/src/uts/common/vm/
H A Dvm_page.c6265 struct page_capture_hash_bucket *bp1; in page_capture_unregister_callback() local
6286 bp1 = page_capture_hash[i].lists[j].next; in page_capture_unregister_callback()
6288 while (bp1 != &page_capture_hash[i].lists[j]) { in page_capture_unregister_callback()
6289 bp2 = bp1; in page_capture_unregister_callback()
6291 bp1 = bp2->next; in page_capture_unregister_callback()
6292 bp1->prev = bp2->prev; in page_capture_unregister_callback()
6293 bp2->prev->next = bp1; in page_capture_unregister_callback()
6305 bp1 = bp1->next; in page_capture_unregister_callback()
6312 bp1 = head; in page_capture_unregister_callback()
6314 kmem_free(bp1, sizeof (*bp1)); in page_capture_unregister_callback()
[all …]
/titanic_41/usr/src/uts/common/io/usb/clients/audio/usb_ah/
H A Dusb_ah.c566 mblk_t *bp1, *bp2; in usb_ah_cp_mblk() local
570 if ((bp1 = allocb((int)sizeof (struct iocblk), BPRI_HI)) == NULL) { in usb_ah_cp_mblk()
578 bcopy(iocp, (struct iocblk *)bp1->b_datap->db_base, in usb_ah_cp_mblk()
581 bp1->b_datap->db_type = M_PROTO; in usb_ah_cp_mblk()
582 bp1->b_wptr += sizeof (struct iocblk); in usb_ah_cp_mblk()
591 freemsg(bp1); in usb_ah_cp_mblk()
595 bp1->b_cont = bp2; in usb_ah_cp_mblk()
600 return (bp1); in usb_ah_cp_mblk()
/titanic_41/usr/src/grub/grub-0.97/stage2/zfs-include/
H A Dspa.h251 #define BP_EQUAL(bp1, bp2) \ argument
252 (BP_PHYSICAL_BIRTH(bp1) == BP_PHYSICAL_BIRTH(bp2) && \
253 DVA_EQUAL(&(bp1)->blk_dva[0], &(bp2)->blk_dva[0]) && \
254 DVA_EQUAL(&(bp1)->blk_dva[1], &(bp2)->blk_dva[1]) && \
255 DVA_EQUAL(&(bp1)->blk_dva[2], &(bp2)->blk_dva[2]))
/titanic_41/usr/src/uts/common/io/usb/usba/
H A Dusbai_util.c2210 mblk_t *bp1, *bp2; in usba_mk_mctl() local
2212 if ((bp1 = allocb(sizeof (struct iocblk), BPRI_HI)) != NULL) { in usba_mk_mctl()
2214 *((struct iocblk *)bp1->b_datap->db_base) = mctlmsg; in usba_mk_mctl()
2215 bp1->b_datap->db_type = M_CTL; in usba_mk_mctl()
2216 bp1->b_wptr += sizeof (struct iocblk); in usba_mk_mctl()
2219 bp1->b_cont = bp2; in usba_mk_mctl()
2223 freemsg(bp1); in usba_mk_mctl()
2224 bp1 = NULL; in usba_mk_mctl()
2229 return (bp1); in usba_mk_mctl()
/titanic_41/usr/src/uts/common/fs/zfs/sys/
H A Dspa.h434 #define BP_EQUAL(bp1, bp2) \ argument
435 (BP_PHYSICAL_BIRTH(bp1) == BP_PHYSICAL_BIRTH(bp2) && \
436 (bp1)->blk_birth == (bp2)->blk_birth && \
437 DVA_EQUAL(&(bp1)->blk_dva[0], &(bp2)->blk_dva[0]) && \
438 DVA_EQUAL(&(bp1)->blk_dva[1], &(bp2)->blk_dva[1]) && \
439 DVA_EQUAL(&(bp1)->blk_dva[2], &(bp2)->blk_dva[2]))
/titanic_41/usr/src/cmd/csh/
H A Dsh.func.c79 struct biltins *bp, *bp1, *bp2; in isbfunc() local
106 for (bp1 = bfunc, bp2 = bfunc + nbfunc; bp1 < bp2; ) { in isbfunc()
109 bp = bp1 + (bp2 - bp1 >> 1); in isbfunc()
117 bp1 = bp + 1; in isbfunc()
/titanic_41/usr/src/uts/common/os/
H A Dmodsubr.c490 struct bind *bp, *bp1; in clear_binding_hash() local
500 bp1 = bp; in clear_binding_hash()
502 kmem_free(bp1, sizeof (struct bind)); in clear_binding_hash()
/titanic_41/usr/src/uts/common/io/mac/
H A Dmac.c2477 mblk_t *bp, *bp1, **bpp, *list = NULL; in mac_rx_flow() local
2487 bp1 = bp; in mac_rx_flow()
2489 bp1->b_next = NULL; in mac_rx_flow()
2491 if (mac_rx_classify(mip, mrh, bp1) != NULL) { in mac_rx_flow()
2492 *bpp = bp1; in mac_rx_flow()
2493 bpp = &bp1->b_next; in mac_rx_flow()
/titanic_41/usr/src/uts/common/io/
H A Dstream.c1516 mblk_t *bp1; in unlinkb() local
1518 bp1 = bp->b_cont; in unlinkb()
1520 return (bp1); in unlinkb()