Home
last modified time | relevance | path

Searched refs:sr (Results 1 – 25 of 106) sorted by relevance

12345

/f-stack/dpdk/drivers/crypto/nitrox/
H A Dnitrox_sym_reqmgr.c169 memset(sr, 0, sizeof(*sr)); in softreq_init()
201 sr->instr.ih.s.gsz = sr->in.map_bufs_cnt; in create_se_instr()
204 sr->instr.ih.s.tlen = sr->instr.ih.s.fsz + sr->in.total_bytes; in create_se_instr()
236 memcpy(&sr->instr.fdata[0], &sr->gph, sizeof(sr->instr.fdata[0])); in create_se_instr()
334 fill_sglist(&sr->in, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_cipher_inbuf()
363 fill_sglist(&sr->out, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_cipher_outbuf()
456 fill_sglist(sgtbl, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_cipher_auth_sglist()
487 fill_sglist(sgtbl, sr->iv.len, sr->iv.iova, sr->iv.virt); in create_combined_sglist()
522 err = create_aead_sglist(sr, &sr->in, sr->op->sym->m_src); in create_aead_inbuf()
540 err = create_aead_sglist(sr, &sr->out, sr->op->sym->m_dst); in create_aead_oop_outbuf()
[all …]
H A Dnitrox_qp.h22 struct nitrox_softreq *sr; member
64 return qp->ridq[tail].sr; in nitrox_qp_get_softreq()
80 nitrox_qp_enqueue(struct nitrox_qp *qp, void *instr, struct nitrox_softreq *sr) in nitrox_qp_enqueue() argument
87 qp->ridq[head].sr = sr; in nitrox_qp_enqueue()
H A Dnitrox_sym_reqmgr.h15 struct nitrox_softreq *sr);
16 int nitrox_check_se_req(struct nitrox_softreq *sr, struct rte_crypto_op **op);
17 void *nitrox_sym_instr_addr(struct nitrox_softreq *sr);
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dspace_reftree.c77 space_ref_t *sr; in space_reftree_destroy() local
81 kmem_free(sr, sizeof (*sr)); in space_reftree_destroy()
89 space_ref_t *sr; in space_reftree_add_node() local
91 sr = kmem_alloc(sizeof (*sr), KM_SLEEP); in space_reftree_add_node()
92 sr->sr_offset = offset; in space_reftree_add_node()
93 sr->sr_refcnt = refcnt; in space_reftree_add_node()
95 avl_add(t, sr); in space_reftree_add_node()
130 space_ref_t *sr; in space_reftree_generate_map() local
134 for (sr = avl_first(t); sr != NULL; sr = AVL_NEXT(t, sr)) { in space_reftree_generate_map()
135 refcnt += sr->sr_refcnt; in space_reftree_generate_map()
[all …]
/f-stack/freebsd/mips/nlm/hal/
H A Dhaldefs.h56 return (sr); in nlm_save_flags_kx()
64 return (sr); in nlm_save_flags_cop2()
69 mips_wr_status(sr); in nlm_restore_flags()
112 sr = nlm_save_flags_kx(); in nlm_load_dword()
123 nlm_restore_flags(sr); in nlm_load_dword()
137 sr = nlm_save_flags_kx(); in nlm_store_dword()
149 nlm_restore_flags(sr); in nlm_store_dword()
265 nlm_restore_flags(sr); in nlm_load_word_daddr()
291 nlm_restore_flags(sr); in nlm_store_word_daddr()
318 nlm_restore_flags(sr); in nlm_load_dword_daddr()
[all …]
/f-stack/dpdk/app/test/
H A Dtest_event_ring.c75 struct rte_event_ring *sr = NULL; in test_basic_event_enqueue_dequeue() local
80 sr = rte_event_ring_create("spsc_ring", 32, rte_socket_id(), in test_basic_event_enqueue_dequeue()
82 if (sr == NULL) { in test_basic_event_enqueue_dequeue()
86 if (rte_event_ring_get_capacity(sr) != 31) { in test_basic_event_enqueue_dequeue()
92 if (rte_event_ring_count(sr) != 0) { in test_basic_event_enqueue_dequeue()
96 if (rte_event_ring_free_count(sr) != rte_event_ring_get_capacity(sr)) { in test_basic_event_enqueue_dequeue()
101 ret = rte_event_ring_enqueue_burst(sr, evs, RTE_DIM(evs), &free_count); in test_basic_event_enqueue_dequeue()
103 free_count != rte_event_ring_get_capacity(sr) - ret) { in test_basic_event_enqueue_dequeue()
117 used_count != rte_event_ring_get_capacity(sr) - ret) { in test_basic_event_enqueue_dequeue()
128 rte_event_ring_free(sr); in test_basic_event_enqueue_dequeue()
[all …]
/f-stack/freebsd/contrib/device-tree/Bindings/phy/
H A Dbrcm,sr-pcie-phy.txt4 - compatible: must be "brcm,sr-pcie-phy"
6 - brcm,sr-cdru: phandle to the CDRU syscon node
7 - brcm,sr-mhb: phandle to the MHB syscon node
17 compatible = "brcm,sr-mhb", "syscon";
22 compatible = "brcm,sr-cdru", "syscon";
27 compatible = "brcm,sr-pcie-phy";
29 brcm,sr-cdru = <&cdru>;
30 brcm,sr-mhb = <&mhb>;
H A Dbrcm,stingray-usb-phy.txt5 - "brcm,sr-usb-combo-phy" is combo PHY has two PHYs, one SS and one HS.
6 - "brcm,sr-usb-hs-phy" is a single HS PHY.
9 - Must be 1 for brcm,sr-usb-combo-phy as it expects one argument to indicate
11 - Must be 0 for brcm,sr-usb-hs-phy.
17 compatible = "brcm,sr-usb-combo-phy";
23 compatible = "brcm,sr-usb-combo-phy";
29 compatible = "brcm,sr-usb-hs-phy";
/f-stack/freebsd/contrib/openzfs/lib/libnvpair/
H A Dlibnvpair.c954 int sr; in nvpair_value_match_regex() local
979 sr = EOF; in nvpair_value_match_regex()
1030 if ((sr == 1) && in nvpair_value_match_regex()
1042 if ((sr == 1) && in nvpair_value_match_regex()
1053 if ((sr == 1) && in nvpair_value_match_regex()
1065 if ((sr == 1) && in nvpair_value_match_regex()
1076 if ((sr == 1) && in nvpair_value_match_regex()
1088 if ((sr == 1) && in nvpair_value_match_regex()
1099 if ((sr == 1) && in nvpair_value_match_regex()
1111 if ((sr == 1) && in nvpair_value_match_regex()
[all …]
/f-stack/freebsd/arm/freescale/vybrid/
H A Dvf_sai.c156 struct sai_rate *sr; member
309 struct sai_rate *sr; in saichan_setspeed() local
318 sr = NULL; in saichan_setspeed()
323 sr = &rate_map[i]; in saichan_setspeed()
327 if (sr == NULL) { in saichan_setspeed()
329 sr = &rate_map[i]; in saichan_setspeed()
337 sc->sr = sr; in saichan_setspeed()
341 return (sr->speed); in saichan_setspeed()
347 struct sai_rate *sr; in sai_configure_clock() local
350 sr = sc->sr; in sai_configure_clock()
[all …]
/f-stack/freebsd/net80211/
H A Dieee80211_ioctl.c277 sr = req->sr; in get_scan_result()
299 cp = ((uint8_t *)sr) + sr->isr_ie_off; in get_scan_result()
340 req.sr = p; in ieee80211_ioctl_getscanresults()
1597 sr = IEEE80211_MALLOC(sizeof(*sr), M_TEMP, in setmlme_assoc_adhoc()
2569 sr->sr_duration = msecs_to_ticks(sr->sr_duration); in ieee80211_scanreq()
2597 sr->sr_duration, sr->sr_mindwell, sr->sr_maxdwell, sr->sr_nssid); in ieee80211_scanreq()
2623 sr->sr_ssid[i].ssid, sr->sr_ssid[i].len); in ieee80211_scanreq()
2633 sr->sr_duration, sr->sr_mindwell, sr->sr_maxdwell, in ieee80211_scanreq()
2639 sr->sr_duration, sr->sr_mindwell, sr->sr_maxdwell, in ieee80211_scanreq()
2659 sr = IEEE80211_MALLOC(sizeof(*sr), M_TEMP, in ieee80211_ioctl_scanreq()
[all …]
/f-stack/freebsd/arm/freescale/imx/
H A Dimx6_ssi.c189 struct ssi_rate *sr; member
347 struct ssi_rate *sr; in ssichan_setspeed() local
356 sr = NULL; in ssichan_setspeed()
361 sr = &rate_map[i]; in ssichan_setspeed()
365 if (sr == NULL) { in ssichan_setspeed()
367 sr = &rate_map[i]; in ssichan_setspeed()
375 sc->sr = sr; in ssichan_setspeed()
379 return (sr->speed); in ssichan_setspeed()
385 struct ssi_rate *sr; in ssi_configure_clock() local
387 sr = sc->sr; in ssi_configure_clock()
[all …]
/f-stack/app/nginx-1.16.1/src/http/modules/
H A Dngx_http_auth_request_module.c105 ngx_http_request_t *sr; in ngx_http_auth_request_handler() local
142 sr = ctx->subrequest; in ngx_http_auth_request_handler()
144 h = sr->headers_out.www_authenticate; in ngx_http_auth_request_handler()
146 if (!h && sr->upstream) { in ngx_http_auth_request_handler()
147 h = sr->upstream->headers_in.www_authenticate; in ngx_http_auth_request_handler()
189 if (ngx_http_subrequest(r, &arcf->uri, NULL, &sr, ps, in ngx_http_auth_request_handler()
201 sr->request_body = ngx_pcalloc(r->pool, sizeof(ngx_http_request_body_t)); in ngx_http_auth_request_handler()
202 if (sr->request_body == NULL) { in ngx_http_auth_request_handler()
206 sr->header_only = 1; in ngx_http_auth_request_handler()
208 ctx->subrequest = sr; in ngx_http_auth_request_handler()
H A Dngx_http_mirror_module.c154 ngx_http_request_t *sr; in ngx_http_mirror_handler_internal() local
162 if (ngx_http_subrequest(r, &name[i], &r->args, &sr, NULL, in ngx_http_mirror_handler_internal()
169 sr->header_only = 1; in ngx_http_mirror_handler_internal()
170 sr->method = r->method; in ngx_http_mirror_handler_internal()
171 sr->method_name = r->method_name; in ngx_http_mirror_handler_internal()
/f-stack/freebsd/contrib/device-tree/src/arm64/broadcom/stingray/
H A Dstingray-clock.dtsi33 #include <dt-bindings/clock/bcm-sr.h>
51 compatible = "brcm,sr-genpll0";
63 compatible = "brcm,sr-genpll2";
75 compatible = "brcm,sr-genpll3";
85 compatible = "brcm,sr-genpll4";
97 compatible = "brcm,sr-genpll5";
107 compatible = "brcm,sr-lcpll0";
118 compatible = "brcm,sr-lcpll1";
H A Dstingray-sata.dtsi56 compatible = "brcm,iproc-sr-sata-phy";
86 compatible = "brcm,iproc-sr-sata-phy";
116 compatible = "brcm,iproc-sr-sata-phy";
146 compatible = "brcm,iproc-sr-sata-phy";
176 compatible = "brcm,iproc-sr-sata-phy";
206 compatible = "brcm,iproc-sr-sata-phy";
236 compatible = "brcm,iproc-sr-sata-phy";
266 compatible = "brcm,iproc-sr-sata-phy";
H A Dstingray-usb.dtsi13 compatible = "brcm,sr-usb-combo-phy";
40 compatible = "brcm,sr-usb-combo-phy";
47 compatible = "brcm,sr-usb-hs-phy";
H A Dstingray-pcie.dtsi48 compatible = "brcm,sr-pcie-phy";
50 brcm,sr-cdru = <&cdru>;
51 brcm,sr-mhb = <&mhb>;
/f-stack/freebsd/contrib/device-tree/Bindings/clock/
H A Dbrcm,iproc-clocks.txt240 "brcm,sr-genpll0"
241 "brcm,sr-genpll1"
242 "brcm,sr-genpll2"
243 "brcm,sr-genpll3"
244 "brcm,sr-genpll4"
245 "brcm,sr-genpll5"
246 "brcm,sr-genpll6"
248 "brcm,sr-lcpll0"
249 "brcm,sr-lcpll1"
250 "brcm,sr-lcpll-pcie"
[all …]
/f-stack/freebsd/mips/mips/
H A Dpm_machdep.c318 register_t sr; in set_regs() local
324 sr = f->sr; in set_regs()
326 f->sr = sr; in set_regs()
440 td->td_frame->sr = MIPS_SR_KSU_USER | MIPS_SR_EXL | MIPS_SR_INT_IE | in exec_setregs()
443 td->td_frame->sr |= MIPS_SR_PX; in exec_setregs()
447 td->td_frame->sr |= MIPS_SR_UX; in exec_setregs()
448 td->td_frame->sr |= MIPS_SR_KX; in exec_setregs()
/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_jit_x86.c987 uint32_t sr; in emit_div() local
1013 sr = sreg; in emit_div()
1014 if (sr == RAX) in emit_div()
1015 sr = REG_TMP0; in emit_div()
1016 else if (sr == RDX) in emit_div()
1017 sr = REG_TMP1; in emit_div()
1019 sr = REG_DIV_IMM; in emit_div()
1023 emit_rex(st, op, 0, sr); in emit_div()
1289 uint32_t i, dr, op, sr; in emit() local
1307 sr = ebpf2x86[ins->src_reg]; in emit()
[all …]
/f-stack/freebsd/mips/ingenic/
H A Djz4780_aic.c80 struct aic_rate *sr; member
242 struct aic_rate *sr; in aicchan_setspeed() local
251 sr = NULL; in aicchan_setspeed()
256 sr = &rate_map[i]; in aicchan_setspeed()
260 if (sr == NULL) { in aicchan_setspeed()
262 sr = &rate_map[i]; in aicchan_setspeed()
263 threshold = sr->speed + ((rate_map[i + 1].speed != 0) ? in aicchan_setspeed()
264 ((rate_map[i + 1].speed - sr->speed) >> 1) : 0); in aicchan_setspeed()
270 sc->sr = sr; in aicchan_setspeed()
274 return (sr->speed); in aicchan_setspeed()
/f-stack/app/nginx-1.16.1/src/http/
H A Dngx_http_core_module.c2263 if (sr == NULL) { in ngx_http_subrequest()
2270 sr->connection = c; in ngx_http_subrequest()
2296 sr->pool = r->pool; in ngx_http_subrequest()
2314 sr->uri = *uri; in ngx_http_subrequest()
2317 sr->args = *args; in ngx_http_subrequest()
2334 sr->main = r->main; in ngx_http_subrequest()
2335 sr->parent = r; in ngx_http_subrequest()
2350 c->data = sr; in ngx_http_subrequest()
2358 pr->request = sr; in ngx_http_subrequest()
2371 sr->internal = 1; in ngx_http_subrequest()
[all …]
/f-stack/dpdk/drivers/crypto/bcmfs/
H A Dbcmfs_sym_pmd.c132 spu_req_init(struct bcmfs_sym_request *sr, rte_iova_t iova __rte_unused) in spu_req_init() argument
134 memset(sr, 0, sizeof(*sr)); in spu_req_init()
135 sr->fptr = iova + offsetof(struct bcmfs_sym_request, fmd); in spu_req_init()
136 sr->optr = iova + offsetof(struct bcmfs_sym_request, omd); in spu_req_init()
137 sr->dptr = iova + offsetof(struct bcmfs_sym_request, digest); in spu_req_init()
138 sr->rptr = iova + offsetof(struct bcmfs_sym_request, resp); in spu_req_init()
/f-stack/dpdk/lib/librte_eal/common/
H A Deal_common_proc.c420 param = sr->async.param; in process_async_request()
427 if (sr->reply_received == 1 && sr->reply) { in process_async_request()
430 msg = sr->reply; in process_async_request()
437 sr->dst, sr->request->name); in process_async_request()
452 } else if (sr->reply_received == -1) { in process_async_request()
462 free(sr->reply); in process_async_request()
475 param = sr->async.param; in trigger_async_action()
478 param->clb(sr->request, reply); in trigger_async_action()
482 free(sr->async.param); in trigger_async_action()
483 free(sr->request); in trigger_async_action()
[all …]

12345