Home
last modified time | relevance | path

Searched refs:bhp (Results 1 – 8 of 8) sorted by relevance

/dragonfly/lib/libc/db/mpool/
H A Dmpool.libtp195 bhp = LISTP_NEXTP (bufhdr_table, lru, bhp ) ) {
223 if ( bhp->hash.next != (bhp-bufhdr_table) ) {
373 if ( bhp && bhp->flags & BUF_NEWPAGE ) {
726 bhp->id.file_id, bhp->id.obj_id,
727 bhp->lru.next, bhp->lru.prev,
728 bhp->hash.next, bhp->hash.prev,
729 bhp->wait_proc, bhp->flags, bhp->refcount );
738 bhp->id.file_id, bhp->id.obj_id,
739 bhp->lru.next, bhp->lru.prev,
740 bhp->hash.next, bhp->hash.prev,
[all …]
/dragonfly/libexec/rbootd/
H A Dbpf.c307 #define bhp ((struct bpf_hdr *)bp) in BpfRead() macro
313 datlen = bhp->bh_datalen; in BpfRead()
314 caplen = bhp->bh_caplen; in BpfRead()
315 hdrlen = bhp->bh_hdrlen; in BpfRead()
326 memmove((char *)&rconn->tstamp, (char *)&bhp->bh_tstamp, in BpfRead()
333 #undef bhp in BpfRead()
/dragonfly/sys/dev/disk/iscsi/initiator/
H A Discsi_subr.c66 bhs_t *bhp = &opp->ipdu.bhs; in iscsi_r2t() local
75 switch(bhp->opcode) { in iscsi_r2t()
136 xdebug("huh? opcode=0x%x", bhp->opcode); in iscsi_r2t()
536 bhs_t *bhp = &opp->ipdu.bhs; in scsi_decap() local
540 pq, opq, bhp->opcode, pq->pdu.ds_len); in scsi_decap()
544 pq, opq, bhp->opcode, pq->pdu.ds_len); in scsi_decap()
549 switch(bhp->opcode) { in scsi_decap()
595 sdebug(3, "opcode=%02x", bhp->opcode); in scsi_decap()
H A Disc_sm.c264 bhs_t *bhp = &pp->ipdu.bhs; in i_prepPDU() local
269 bhp->AHSLength = pp->ahs_len / 4; in i_prepPDU()
277 bhp->DSLength = ((n & 0x00ff0000) >> 16) in i_prepPDU()
281 bhp->DSLength = n; in i_prepPDU()
H A Disc_soc.c445 bhs_t *bhp = &opp->ipdu.bhs; in so_recv() local
448 if(bhp->opcode == ISCSI_SCSI_CMD in so_recv()
/dragonfly/contrib/libpcap/
H A Dpcap-airpcap.c631 #define bhp ((AirpcapBpfHeader *)bp) in airpcap_read() macro
660 caplen = bhp->Caplen; in airpcap_read()
661 hdrlen = bhp->Hdrlen; in airpcap_read()
670 pcap_filter(p->fcode.bf_insns, datap, bhp->Originallen, caplen)) { in airpcap_read()
673 pkthdr.ts.tv_sec = bhp->TsSec; in airpcap_read()
674 pkthdr.ts.tv_usec = bhp->TsUsec; in airpcap_read()
676 pkthdr.len = bhp->Originallen; in airpcap_read()
691 #undef bhp in airpcap_read()
H A Dpcap-bpf.c1182 #define bhp ((struct bpf_xhdr *)bp) in pcap_read_bpf() macro
1184 #define bhp ((struct bpf_hdr *)bp) in pcap_read_bpf() macro
1228 caplen = bhp->bh_caplen; in pcap_read_bpf()
1229 hdrlen = bhp->bh_hdrlen; in pcap_read_bpf()
1250 bt.sec = bhp->bh_tstamp.bt_sec; in pcap_read_bpf()
1251 bt.frac = bhp->bh_tstamp.bt_frac; in pcap_read_bpf()
1266 pkthdr.ts.tv_sec = bhp->bh_tstamp.tv_sec; in pcap_read_bpf()
1282 if (bhp->bh_datalen > pad) in pcap_read_bpf()
1283 pkthdr.len = bhp->bh_datalen - pad; in pcap_read_bpf()
1289 pkthdr.len = bhp->bh_datalen; in pcap_read_bpf()
[all …]
/dragonfly/usr.sbin/rarpd/
H A Drarpd.c518 #define bhp ((struct bpf_hdr *)bp) in rarp_loop() macro
524 caplen = bhp->bh_caplen; in rarp_loop()
525 hdrlen = bhp->bh_hdrlen; in rarp_loop()
532 #undef bhp in rarp_loop()