Home
last modified time | relevance | path

Searched refs:cbr (Results 1 – 23 of 23) sorted by relevance

/freebsd/sys/contrib/openzfs/module/zfs/
H A Ddsl_prop.c317 dsl_prop_cb_record_t *cbr; in dsl_prop_register() local
327 cbr = kmem_alloc(sizeof (dsl_prop_cb_record_t), KM_SLEEP); in dsl_prop_register()
328 cbr->cbr_ds = ds; in dsl_prop_register()
329 cbr->cbr_func = callback; in dsl_prop_register()
330 cbr->cbr_arg = cbarg; in dsl_prop_register()
336 cbr->cbr_pr = pr; in dsl_prop_register()
337 list_insert_head(&pr->pr_cbs, cbr); in dsl_prop_register()
338 list_insert_head(&ds->ds_prop_cbs, cbr); in dsl_prop_register()
341 cbr->cbr_func(cbr->cbr_arg, value); in dsl_prop_register()
480 dsl_prop_cb_record_t *cbr; in dsl_prop_unregister() local
[all …]
/freebsd/contrib/processor-trace/libipt/src/
H A Dpt_time.c65 int pt_time_query_cbr(uint32_t *cbr, const struct pt_time *time) in pt_time_query_cbr() argument
67 if (!cbr || !time) in pt_time_query_cbr()
73 *cbr = time->cbr; in pt_time_query_cbr()
157 uint8_t cbr; in pt_time_update_cbr() local
164 cbr = packet->ratio; in pt_time_update_cbr()
165 if (!cbr) in pt_time_update_cbr()
169 time->cbr = cbr; in pt_time_update_cbr()
583 uint64_t cbr, p1, fcr; in pt_tcal_header_cbr() local
593 cbr = packet->ratio; in pt_tcal_header_cbr()
594 if (!cbr) in pt_tcal_header_cbr()
[all …]
H A Dpt_encoder.c448 *pos++ = packet->payload.cbr.ratio; in pt_enc_next()
851 int pt_encode_cbr(struct pt_encoder *encoder, uint8_t cbr) in pt_encode_cbr() argument
856 packet.payload.cbr.ratio = cbr; in pt_encode_cbr()
H A Dpt_query_decoder.c960 int pt_qry_core_bus_ratio(struct pt_query_decoder *decoder, uint32_t *cbr) in pt_qry_core_bus_ratio() argument
962 if (!decoder || !cbr) in pt_qry_core_bus_ratio()
965 return pt_time_query_cbr(cbr, &decoder->last_time); in pt_qry_core_bus_ratio()
2252 &packet.payload.cbr, in skd010_scan_for_ovf_resume()
2481 &packet.payload.cbr, in apl12_resume_disabled()
2674 &packet.payload.cbr, in apl11_apply()
3160 event->variant.cbr.ratio = packet.ratio; in pt_qry_decode_cbr()
3195 event->variant.cbr.ratio = packet.ratio; in pt_qry_header_cbr()
H A Dpt_insn_decoder.c426 int pt_insn_core_bus_ratio(struct pt_insn_decoder *decoder, uint32_t *cbr) in pt_insn_core_bus_ratio() argument
428 if (!decoder || !cbr) in pt_insn_core_bus_ratio()
431 return pt_qry_core_bus_ratio(&decoder->query, cbr); in pt_insn_core_bus_ratio()
H A Dpt_packet_decoder.c525 size = pt_pkt_read_cbr(&packet->payload.cbr, decoder->pos, in pt_pkt_decode_cbr()
H A Dpt_block_decoder.c442 int pt_blk_core_bus_ratio(struct pt_block_decoder *decoder, uint32_t *cbr) in pt_blk_core_bus_ratio() argument
444 if (!decoder || !cbr) in pt_blk_core_bus_ratio()
447 return pt_qry_core_bus_ratio(&decoder->query, cbr); in pt_blk_core_bus_ratio()
/freebsd/contrib/processor-trace/libipt/test/src/
H A Dptunit-time.c176 uint32_t cbr; in query_cbr_null() local
182 errcode = pt_time_query_cbr(&cbr, NULL); in query_cbr_null()
190 uint32_t cbr; in query_cbr_none() local
193 errcode = pt_time_query_cbr(&cbr, &tfix->time); in query_cbr_none()
279 static struct ptunit_result cbr(struct time_fixture *tfix) in cbr() function
282 uint32_t cbr; in cbr() local
290 errcode = pt_time_query_cbr(&cbr, &tfix->time); in cbr()
293 ptu_uint_eq(cbr, 0x38); in cbr()
390 ptu_run_f(suite, cbr, tfix); in main()
H A Dptunit-block_decoder.c256 uint32_t cbr; in cbr_null() local
259 errcode = pt_blk_core_bus_ratio(NULL, &cbr); in cbr_null()
H A Dptunit-insn_decoder.c256 uint32_t cbr; in cbr_null() local
259 errcode = pt_insn_core_bus_ratio(NULL, &cbr); in cbr_null()
H A Dptunit-query.c2109 uint32_t cbr; in cbr_null() local
2118 errcode = pt_qry_core_bus_ratio(NULL, &cbr); in cbr_null()
2127 uint32_t cbr; in cbr_initial() local
2130 errcode = pt_qry_core_bus_ratio(decoder, &cbr); in cbr_initial()
2136 static struct ptunit_result cbr(struct ptu_decoder_fixture *dfix) in cbr() function
2139 uint32_t cbr; in cbr() local
2143 decoder->last_time.cbr = 42; in cbr()
2145 errcode = pt_qry_core_bus_ratio(decoder, &cbr); in cbr()
2147 ptu_uint_eq(cbr, 42); in cbr()
2866 ptu_run_f(suite, cbr, dfix_empty); in main()
H A Dptunit-packet.c323 static struct ptunit_result cbr(struct packet_fixture *pfix) in cbr() function
326 pfix->packet[0].payload.cbr.ratio = 0x23; in cbr()
613 ptu_run_f(suite, cbr, pfix); in main()
/freebsd/contrib/processor-trace/libipt/internal/include/
H A Dpt_time.h66 uint8_t cbr; member
106 extern int pt_time_query_cbr(uint32_t *cbr, const struct pt_time *time);
/freebsd/sys/dev/hyperv/vmbus/
H A Dvmbus_chan.c337 struct vmbus_chan_br cbr; in vmbus_chan_open() local
351 cbr.cbr = chan->ch_bufring; in vmbus_chan_open()
352 cbr.cbr_paddr = pmap_kextract((vm_offset_t)chan->ch_bufring); in vmbus_chan_open()
353 cbr.cbr_txsz = txbr_size; in vmbus_chan_open()
354 cbr.cbr_rxsz = rxbr_size; in vmbus_chan_open()
356 error = vmbus_chan_open_br(chan, &cbr, udata, udlen, cb, cbarg); in vmbus_chan_open()
378 vmbus_chan_open_br(struct vmbus_channel *chan, const struct vmbus_chan_br *cbr, in vmbus_chan_open_br() argument
396 br = cbr->cbr; in vmbus_chan_open_br()
397 txbr_size = cbr->cbr_txsz; in vmbus_chan_open_br()
398 rxbr_size = cbr->cbr_rxsz; in vmbus_chan_open_br()
[all …]
/freebsd/contrib/processor-trace/libipt/include/
H A Dintel-pt.h863 struct pt_packet_cbr cbr; member
1451 } cbr; member
1650 uint32_t *cbr);
2144 uint32_t *cbr);
2423 uint32_t *cbr);
H A Dintel-pt.h.in862 /** Packet: cbr. */
863 struct pt_packet_cbr cbr; member
1447 /** Event: cbr. */
1451 } cbr; member
1641 * On success, provides the current core:bus ratio in \@cbr. The ratio is
1646 * Returns -pte_invalid if \@decoder or \@cbr is NULL.
1650 uint32_t *cbr);
2135 * On success, provides the current core:bus ratio in \@cbr. The ratio is
2140 * Returns -pte_invalid if \@decoder or \@cbr is NULL.
2144 uint32_t *cbr);
[all …]
/freebsd/sys/dev/hyperv/include/
H A Dvmbus.h118 void *cbr; member
174 const struct vmbus_chan_br *cbr, const void *udata,
/freebsd/sys/contrib/device-tree/src/mips/brcm/
H A Dbcm6358.dtsi16 brcm,bmips-cbr-reg = <0xff400000>;
H A Dbcm6368.dtsi16 brcm,bmips-cbr-reg = <0xff400000>;
/freebsd/sys/dev/hyperv/netvsc/
H A Dif_hn.c6168 struct vmbus_chan_br cbr; in hn_chan_attach() local
6211 cbr.cbr = rxr->hn_br; in hn_chan_attach()
6212 cbr.cbr_paddr = pmap_kextract((vm_offset_t)rxr->hn_br); in hn_chan_attach()
6213 cbr.cbr_txsz = HN_TXBR_SIZE; in hn_chan_attach()
6214 cbr.cbr_rxsz = HN_RXBR_SIZE; in hn_chan_attach()
6215 error = vmbus_chan_open_br(chan, &cbr, NULL, 0, hn_chan_callback, rxr); in hn_chan_attach()
/freebsd/sys/cam/ctl/
H A Dctl_backend_ramdisk.c170 CTL_BACKEND_DECLARE(cbr, ctl_be_ramdisk_driver);
/freebsd/contrib/file/magic/Magdir/
H A Darchive1765 !:ext rar/cbr
1783 !:ext rar/cbr
/freebsd/contrib/llvm-project/llvm/lib/Target/AVR/
H A DAVRInstrInfo.td1633 def CBR : InstAlias<"cbr\t$rd, $k", (ANDIRdK LD8 : $rd, imm_com8 : $k), 0>;