Home
last modified time | relevance | path

Searched refs:rinfo (Results 1 – 19 of 19) sorted by relevance

/freebsd/usr.sbin/bhyve/amd64/
H A Dfwctl.c283 } rinfo; variable
289 (*rinfo.req_op->op_done)(rinfo.resp_biov); in fwctl_response_done()
292 memset(&rinfo, 0, sizeof(rinfo)); in fwctl_response_done()
299 rinfo.resp_error = (*rinfo.req_op->op_result)(&rinfo.resp_biov); in fwctl_request_done()
302 rinfo.resp_off = 0; in fwctl_request_done()
303 if (rinfo.resp_biov == NULL) { in fwctl_request_done()
304 rinfo.resp_size = 0; in fwctl_request_done()
306 rinfo.resp_size = rinfo.resp_biov[0].iov_len; in fwctl_request_done()
316 rinfo.req_size -= 12; in fwctl_request_start()
318 rinfo.req_op = &errop_info; in fwctl_request_start()
[all …]
/freebsd/sys/dev/aic7xxx/aicasm/
H A Daicasm_gram.y317 if (cur_symbol->info.rinfo->valid_bitmask == 0)
318 cur_symbol->info.rinfo->valid_bitmask = 0xFF;
320 if (cur_symbol->info.rinfo->size == 0)
321 cur_symbol->info.rinfo->size = 1;
327 if (cur_symbol->info.rinfo->address == 0)
328 cur_symbol->info.rinfo->address =
331 cur_symbol->info.rinfo->size;
362 cur_symbol->info.rinfo->address = $2;
369 cur_symbol->info.rinfo->size = $2;
374 max_addr = scb_or_sram_symbol->info.rinfo->address
[all …]
H A Daicasm_symbol.c98 if (symbol->info.rinfo != NULL) in symbol_delete()
99 free(symbol->info.rinfo); in symbol_delete()
261 || (!field && (curnode->symbol->info.rinfo->address > in symlist_add()
262 newnode->symbol->info.rinfo->address))) { in symlist_add()
282 && (cursymbol->info.rinfo->address > in symlist_add()
283 symbol->info.rinfo->address))) { in symlist_add()
420 regnode->symbol->info.rinfo->address); in aic_print_reg_dump_end()
438 regnode->symbol->info.rinfo->address);
549 fields = &curnode->symbol->info.rinfo->fields; in symtable_dump()
605 value = curnode->symbol->info.rinfo in symtable_dump()
[all...]
H A Daicasm_symbol.h128 struct reg_info *rinfo; member
/freebsd/sys/netinet/
H A Din_fib_algo.c134 bsearch4_get_pref(const struct rib_rtable_info *rinfo) in bsearch4_get_pref() argument
137 if (rinfo->num_prefixes < 10) in bsearch4_get_pref()
139 else if (rinfo->num_prefixes < 30) in bsearch4_get_pref()
140 return (255 - rinfo->num_prefixes * 8); in bsearch4_get_pref()
149 struct rib_rtable_info rinfo; in bsearch4_init() local
154 fib_get_rtable_info(fib_get_rh(fd), &rinfo); in bsearch4_init()
155 count = rinfo.num_prefixes * 11 / 10 + 64; in bsearch4_init()
547 lradix4_get_pref(const struct rib_rtable_info *rinfo) in lradix4_get_pref() argument
550 if (rinfo->num_prefixes < 10) in lradix4_get_pref()
552 else if (rinfo->num_prefixes < 1000) in lradix4_get_pref()
[all …]
H A Din_fib_dxr.c849 struct rib_rtable_info rinfo; in update_chunk()
909 fib_get_rtable_info(fib_get_rh(da->fd), &rinfo); in dxr_build()
934 da->prefixes = rinfo.num_prefixes; in dxr_build()
1053 da->d_bits, dxr_x, rinfo.num_prefixes, rinfo.num_nhops); in dxr_build()
1055 if (rinfo.num_prefixes) in dxr_build()
1056 i /= rinfo.num_prefixes; in dxr_build()
1228 struct rib_rtable_info rinfo; in dxr_dump_end()
1271 fib_get_rtable_info(fib_get_rh(da->fd), &rinfo); in dxr_change_rib_batch()
1272 MPASS(da->prefixes + update_delta == rinfo in dxr_change_rib_batch()
860 struct rib_rtable_info rinfo; dxr_build() local
1259 struct rib_rtable_info rinfo; dxr_change_rib_batch() local
1337 dxr_get_pref(const struct rib_rtable_info * rinfo) dxr_get_pref() argument
[all...]
/freebsd/sys/netinet6/
H A Din6_fib_algo.c115 lradix6_get_pref(const struct rib_rtable_info *rinfo) in lradix6_get_pref() argument
118 if (rinfo->num_prefixes < 10) in lradix6_get_pref()
120 else if (rinfo->num_prefixes < 10000) in lradix6_get_pref()
121 return (255 - rinfo->num_prefixes / 40); in lradix6_get_pref()
130 struct rib_rtable_info rinfo; in lradix6_init() local
137 fib_get_rtable_info(fib_get_rh(fd), &rinfo); in lradix6_init()
139 count = rinfo.num_prefixes * 11 / 10; in lradix6_init()
287 radix6_get_pref(const struct rib_rtable_info *rinfo) in radix6_get_pref() argument
/freebsd/sys/dev/liquidio/base/
H A Dlio_droq.c46 struct lio_recv_info *rinfo; member
527 struct lio_recv_info *rinfo; in lio_droq_dispatch_pkt() local
536 rinfo = lio_create_recv_info(oct, droq, cnt, droq->read_idx); in lio_droq_dispatch_pkt()
537 if (rinfo != NULL) { in lio_droq_dispatch_pkt()
538 struct __dispatch *rdisp = rinfo->rsvd; in lio_droq_dispatch_pkt()
540 rdisp->rinfo = rinfo; in lio_droq_dispatch_pkt()
542 rinfo->recv_pkt->rh = *rh; in lio_droq_dispatch_pkt()
755 rdisp->disp_fn(rdisp->rinfo, lio_get_dispatch_arg(oct, in lio_droq_process_packets()
756 (uint16_t)rdisp->rinfo->recv_pkt->rh.r.opcode, in lio_droq_process_packets()
757 (uint16_t)rdisp->rinfo->recv_pkt->rh.r.subcode)); in lio_droq_process_packets()
/freebsd/sys/contrib/dpdk_rte_lpm/
H A Ddpdk_lpm.c102 rte_get_pref(const struct rib_rtable_info *rinfo) in rte_get_pref() argument
105 if (rinfo->num_prefixes < 10) in rte_get_pref()
107 else if (rinfo->num_prefixes < 1000) in rte_get_pref()
108 return (rinfo->num_prefixes / 10); in rte_get_pref()
109 else if (rinfo->num_prefixes < 500000) in rte_get_pref()
110 return (100 + rinfo->num_prefixes / 3334); in rte_get_pref()
H A Ddpdk_lpm6.c125 rte6_get_pref(const struct rib_rtable_info *rinfo) in rte6_get_pref() argument
128 if (rinfo->num_prefixes < 10) in rte6_get_pref()
130 else if (rinfo->num_prefixes < 1000) in rte6_get_pref()
131 return (rinfo->num_prefixes / 10); in rte6_get_pref()
132 else if (rinfo->num_prefixes < 100000) in rte6_get_pref()
133 return (100 + rinfo->num_prefixes / 667); in rte6_get_pref()
/freebsd/crypto/heimdal/lib/hx509/
H A Dreq.c246 CertificationRequestInfo *rinfo; in _hx509_request_parse() local
280 rinfo = &r.certificationRequestInfo; in _hx509_request_parse()
283 &rinfo->subjectPKInfo); in _hx509_request_parse()
290 ret = _hx509_name_from_Name(&rinfo->subject, &subject); in _hx509_request_parse()
H A Dcert.c1145 ProxyCertInfo *rinfo) in is_proxy_cert() argument
1153 if (rinfo) in is_proxy_cert()
1154 memset(rinfo, 0, sizeof(*rinfo)); in is_proxy_cert()
1175 if (rinfo == NULL) in is_proxy_cert()
1178 *rinfo = info; in is_proxy_cert()
/freebsd/sys/dev/vnic/
H A Dnicvf_queues.c261 struct rbuf_info *rinfo; in nicvf_alloc_rcv_buffer() local
292 rinfo = (struct rbuf_info *)mbuf->m_data; in nicvf_alloc_rcv_buffer()
295 rinfo->dmat = rbdr->rbdr_buff_dmat; in nicvf_alloc_rcv_buffer()
296 rinfo->dmap = dmap; in nicvf_alloc_rcv_buffer()
297 rinfo->mbuf = mbuf; in nicvf_alloc_rcv_buffer()
309 struct rbuf_info *rinfo; in nicvf_rb_ptr_to_mbuf() local
312 rinfo = GET_RBUF_INFO(PHYS_TO_DMAP(rb_ptr)); in nicvf_rb_ptr_to_mbuf()
315 mbuf = rinfo->mbuf; in nicvf_rb_ptr_to_mbuf()
324 rinfo->mbuf = NULL; in nicvf_rb_ptr_to_mbuf()
326 bus_dmamap_sync(rinfo->dmat, rinfo->dmap, BUS_DMASYNC_POSTREAD); in nicvf_rb_ptr_to_mbuf()
[all …]
/freebsd/sys/net/route/
H A Dfib_algo.h82 typedef uint8_t flm_get_pref_t(const struct rib_rtable_info *rinfo);
127 void fib_get_rtable_info(struct rib_head *rh, struct rib_rtable_info *rinfo);
H A Dfib_algo.c1712 fib_get_rtable_info(struct rib_head *rh, struct rib_rtable_info *rinfo) in fib_get_rtable_info() argument
1715 bzero(rinfo, sizeof(struct rib_rtable_info)); in fib_get_rtable_info()
1716 rinfo->num_prefixes = rh->rnh_prefixes; in fib_get_rtable_info()
1717 rinfo->num_nhops = nhops_get_count(rh); in fib_get_rtable_info()
1719 rinfo->num_nhgrp = nhgrp_get_count(rh); in fib_get_rtable_info()
1910 struct rib_rtable_info rinfo; in fib_check_best_algo() local
1913 fib_get_rtable_info(rh, &rinfo); in fib_check_best_algo()
1920 preference = flm->flm_get_pref(&rinfo); in fib_check_best_algo()
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dmac80211.c6092 static void iwl_mvm_set_sta_rate(u32 rate_n_flags, struct rate_info *rinfo) in iwl_mvm_sync_rx_queues_internal()
6099 rinfo->bw = RATE_INFO_BW_20; in iwl_mvm_sync_rx_queues_internal()
6102 rinfo->bw = RATE_INFO_BW_40; in iwl_mvm_sync_rx_queues_internal()
6105 rinfo->bw = RATE_INFO_BW_80; in iwl_mvm_sync_rx_queues_internal()
6108 rinfo->bw = RATE_INFO_BW_160; in iwl_mvm_sync_rx_queues_internal()
6111 rinfo->bw = RATE_INFO_BW_320; in iwl_mvm_sync_rx_queues_internal()
6125 rinfo->legacy = 10; in iwl_mvm_sync_rx_queues()
6128 rinfo->legacy = 20; in iwl_mvm_mac_get_ftm_responder_stats()
6131 rinfo->legacy = 55; in iwl_mvm_mac_get_ftm_responder_stats()
6134 rinfo in iwl_mvm_mac_get_ftm_responder_stats()
5755 iwl_mvm_set_sta_rate(u32 rate_n_flags,struct rate_info * rinfo) iwl_mvm_set_sta_rate() argument
[all...]
/freebsd/sys/dev/xen/netfront/
H A Dnetfront.c1260 struct netfront_rx_info rinfo; in xn_rxeof() local
1261 struct netif_rx_response *rx = &rinfo.rx; in xn_rxeof()
1262 struct netif_extra_info *extras = rinfo.extras; in xn_rxeof()
1286 memset(extras, 0, sizeof(rinfo.extras)); in xn_rxeof()
1289 err = xn_get_responses(rxq, &rinfo, rp, &i, &m); in xn_rxeof()
1503 struct netfront_rx_info *rinfo, RING_IDX rp, RING_IDX *cons, in xn_get_responses() argument
1506 struct netif_rx_response *rx = &rinfo->rx; in xn_get_responses()
1507 struct netif_extra_info *extras = rinfo->extras; in xn_get_responses()
/freebsd/sys/dev/ice/
H A Dice_switch.h444 u16 lkups_cnt, struct ice_adv_rule_info *rinfo, u16 *rid);
449 struct ice_adv_rule_info *rinfo);
/freebsd/sys/dev/iwm/
H A Dif_iwm.c3642 const struct iwm_rate *rinfo; in iwm_tx_fill_cmd() local
3682 rinfo = &iwm_rates[ridx]; in iwm_tx_fill_cmd()
3686 rinfo->rate, in iwm_tx_fill_cmd()
3697 tx->rate_n_flags = htole32(rate_flags | rinfo->plcp); in iwm_tx_fill_cmd()
3699 return rinfo; in iwm_tx_fill_cmd()
3717 const struct iwm_rate *rinfo; in iwm_tx() local
3743 rinfo = iwm_tx_fill_cmd(sc, in, m, tx); in iwm_tx()
3763 tap->wt_rate = rinfo->rate; in iwm_tx()