Home
last modified time | relevance | path

Searched refs:impl (Results 1 – 24 of 24) sorted by relevance

/f-stack/freebsd/contrib/openzfs/include/sys/
H A Dvdev_raidz_impl.h205 impl ## _gen_ ## code(void *rrp) \
231 _RAIDZ_GEN_WRAP(p, impl); \
232 _RAIDZ_GEN_WRAP(pq, impl); \
233 _RAIDZ_GEN_WRAP(pqr, impl)
241 _RAIDZ_REC_WRAP(p, impl); \
242 _RAIDZ_REC_WRAP(q, impl); \
243 _RAIDZ_REC_WRAP(r, impl); \
244 _RAIDZ_REC_WRAP(pq, impl); \
245 _RAIDZ_REC_WRAP(pr, impl); \
246 _RAIDZ_REC_WRAP(qr, impl); \
[all …]
/f-stack/freebsd/x86/include/
H A Dbus_dma.h47 return (tc->impl->id_mapped(dmat, buf, buflen)); in bus_dma_id_mapped()
60 return (tc->impl->map_create(dmat, flags, mapp)); in bus_dmamap_create()
73 return (tc->impl->map_destroy(dmat, map)); in bus_dmamap_destroy()
88 return (tc->impl->mem_alloc(dmat, vaddr, flags, mapp)); in bus_dmamem_alloc()
101 tc->impl->mem_free(dmat, vaddr, map); in bus_dmamem_free()
114 tc->impl->map_unload(dmat, map); in bus_dmamap_unload()
125 tc->impl->map_sync(dmat, map, op); in bus_dmamap_sync()
140 return (tc->impl->load_phys(dmat, map, buf, buflen, flags, segs, in _bus_dmamap_load_phys()
152 return (tc->impl->load_ma(dmat, map, ma, tlen, ma_offs, flags, in _bus_dmamap_load_ma()
180 tc->impl->map_waitok(dmat, map, mem, callback, callback_arg); in _bus_dmamap_waitok()
[all …]
H A Dbusdma_impl.h38 struct bus_dma_impl *impl; member
/f-stack/freebsd/arm64/include/
H A Dbus_dma.h20 return (tc->impl->id_mapped(dmat, buf, buflen)); in bus_dma_id_mapped()
33 return (tc->impl->map_create(dmat, flags, mapp)); in bus_dmamap_create()
46 return (tc->impl->map_destroy(dmat, map)); in bus_dmamap_destroy()
61 return (tc->impl->mem_alloc(dmat, vaddr, flags, mapp)); in bus_dmamem_alloc()
74 tc->impl->mem_free(dmat, vaddr, map); in bus_dmamem_free()
86 tc->impl->map_unload(dmat, map); in bus_dmamap_unload()
95 tc->impl->map_sync(dmat, map, op); in bus_dmamap_sync()
105 return (tc->impl->load_phys(dmat, map, buf, buflen, flags, segs, in _bus_dmamap_load_phys()
117 return (tc->impl->load_ma(dmat, map, ma, tlen, ma_offs, flags, in _bus_dmamap_load_ma()
140 tc->impl->map_waitok(dmat, map, mem, callback, callback_arg); in _bus_dmamap_waitok()
[all …]
H A Dcpu.h126 #define CPU_ID_RAW(impl, part, var, rev) \ argument
127 (CPU_IMPL_TO_MIDR((impl)) | \
131 #define CPU_MATCH(mask, impl, part, var, rev) \ argument
133 ((mask) & CPU_ID_RAW((impl), (part), (var), (rev))))
H A Dbus_dma_impl.h36 struct bus_dma_impl *impl; member
/f-stack/freebsd/contrib/openzfs/module/zfs/
H A Dvdev_raidz_math.c116 switch (impl) { in vdev_raidz_math_get_ops()
136 ASSERT3U(impl, <, raidz_supp_impl_cnt); in vdev_raidz_math_get_ops()
139 ops = raidz_supp_impl[impl]; in vdev_raidz_math_get_ops()
402 int impl, i; in benchmark_raidz_impl() local
404 for (impl = 0; impl < raidz_supp_impl_cnt; impl++) { in benchmark_raidz_impl()
406 curr_impl = raidz_supp_impl[impl]; in benchmark_raidz_impl()
432 fstat->gen[fn] = impl; in benchmark_raidz_impl()
436 fstat->rec[fn] = impl; in benchmark_raidz_impl()
603 impl = math_impl_opts[i].sel; in vdev_raidz_impl_set()
614 impl = i; in vdev_raidz_impl_set()
[all …]
/f-stack/freebsd/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl.c267 const uint32_t impl = AES_IMPL_READ(icp_aes_impl); in aes_impl_get_ops() local
269 switch (impl) { in aes_impl_get_ops()
283 ASSERT3U(impl, <, aes_supp_impl_cnt); in aes_impl_get_ops()
285 if (impl < ARRAY_SIZE(aes_all_impl)) in aes_impl_get_ops()
286 ops = aes_supp_impl[impl]; in aes_impl_get_ops()
364 uint32_t impl = AES_IMPL_READ(user_sel_impl); in aes_impl_set() local
380 impl = aes_impl_opts[i].sel; in aes_impl_set()
391 impl = i; in aes_impl_set()
400 atomic_swap_32(&icp_aes_impl, impl); in aes_impl_set()
402 atomic_swap_32(&user_sel_impl, impl); in aes_impl_set()
[all …]
/f-stack/freebsd/contrib/libsodium/test/default/
H A Drandombytes.c133 randombytes_implementation impl = randombytes_sysrandom_implementation; in impl_tests() local
135 randombytes_implementation impl = randombytes_nativeclient_implementation; in impl_tests()
139 impl.uniform = randombytes_uniform_impl; in impl_tests()
141 randombytes_set_implementation(&impl); in impl_tests()
148 impl.close = NULL; in impl_tests()
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher.c385 impl = fletcher_4_impl_selectors[i].fis_sel; in fletcher_4_impl_set()
398 impl = i; in fletcher_4_impl_set()
406 atomic_swap_32(&fletcher_4_impl_chosen, impl); in fletcher_4_impl_set()
427 switch (impl) { in fletcher_4_impl_get()
442 ASSERT3U(impl, <, fletcher_4_supp_impls_cnt); in fletcher_4_impl_get()
443 ops = fletcher_4_supp_impls[impl]; in fletcher_4_impl_get()
890 #define IMPL_FMT(impl, i) (((impl) == (i)) ? "[%s] " : "%s ") argument
902 fmt = IMPL_FMT(impl, IMPL_FASTEST); in fletcher_4_param_get()
907 fmt = IMPL_FMT(impl, i); in fletcher_4_param_get()
939 fmt = IMPL_FMT(impl, IMPL_FASTEST); in fletcher_4_param()
[all …]
/f-stack/freebsd/x86/x86/
H A Dbusdma_machdep.c149 common->impl = &bus_dma_bounce_impl; in common_bus_dma_tag_create()
172 common->impl = parent->impl; in common_bus_dma_tag_create()
210 return (tc->impl->tag_set_domain(dmat)); in bus_dma_tag_set_domain()
232 error = tc->impl->tag_create(parent, alignment, in bus_dma_tag_create()
268 return (tc->impl->tag_destroy(dmat)); in bus_dma_tag_destroy()
H A Dbusdma_bounce.c201 newtag->common.impl = &bus_dma_bounce_impl; in bounce_bus_dma_tag_create()
/f-stack/freebsd/arm64/arm64/
H A Dbusdma_machdep.c142 common->impl = &bus_dma_bounce_impl; in common_bus_dma_tag_create()
165 common->impl = parent->impl; in common_bus_dma_tag_create()
209 error = tc->impl->tag_create(parent, alignment, in bus_dma_tag_create()
245 return (tc->impl->tag_destroy(dmat)); in bus_dma_tag_destroy()
H A Dgic_v3_reg.h217 #define GITS_IIDR_RAW(impl, prod, var, rev) \ argument
221 (impl) << GITS_IIDR_IMPLEMENTOR_SHIFT)
H A Dbusdma_bounce.c264 newtag->common.impl = &bus_dma_bounce_impl; in bounce_bus_dma_tag_create()
/f-stack/freebsd/contrib/openzfs/cmd/raidz_test/
H A Draidz_bench.c72 run_gen_bench_impl(const char *impl) in run_gen_bench_impl() argument
112 impl, in run_gen_bench_impl()
144 run_rec_bench_impl(const char *impl) in run_rec_bench_impl() argument
204 impl, in run_rec_bench_impl()
/f-stack/freebsd/contrib/openzfs/module/icp/algs/modes/
H A Dgcm.c809 switch (impl) { in gcm_impl_get_ops()
833 ASSERT3U(impl, <, gcm_supp_impl_cnt); in gcm_impl_get_ops()
835 if (impl < ARRAY_SIZE(gcm_all_impl)) in gcm_impl_get_ops()
836 ops = gcm_supp_impl[impl]; in gcm_impl_get_ops()
928 uint32_t impl = GCM_IMPL_READ(user_sel_impl); in gcm_impl_set() local
950 impl = gcm_impl_opts[i].sel; in gcm_impl_set()
961 impl = i; in gcm_impl_set()
973 (impl == IMPL_AVX || impl == IMPL_FASTEST)) { in gcm_impl_set()
982 atomic_swap_32(&icp_gcm_impl, impl); in gcm_impl_set()
984 atomic_swap_32(&user_sel_impl, impl); in gcm_impl_set()
[all …]
/f-stack/freebsd/sys/
H A Dcdefs.h547 #define __sym_compat(sym,impl,verid) \ argument
548 __asm__(".symver " #impl ", " #sym "@" #verid)
549 #define __sym_default(sym,impl,verid) \ argument
550 __asm__(".symver " #impl ", " #sym "@@@" #verid)
559 #define __sym_compat(sym,impl,verid) \ argument
561 #define __sym_default(impl,sym,verid) \ argument
/f-stack/freebsd/contrib/libsodium/src/libsodium/randombytes/
H A Drandombytes.c54 randombytes_set_implementation(randombytes_implementation *impl) in randombytes_set_implementation() argument
56 implementation = impl; in randombytes_set_implementation()
/f-stack/freebsd/contrib/libsodium/src/libsodium/include/sodium/
H A Drandombytes.h54 int randombytes_set_implementation(randombytes_implementation *impl);
/f-stack/freebsd/arm/arm/
H A Dmachdep.c284 arm_set_delay(delay_func *impl, void *arg) in arm_set_delay() argument
287 KASSERT(impl != NULL, ("No DELAY implementation")); in arm_set_delay()
288 delay_impl = impl; in arm_set_delay()
/f-stack/dpdk/lib/librte_eal/common/
H A Drte_service.c166 service_stats_enabled(struct rte_service_spec_impl *impl) in service_stats_enabled() argument
168 return !!(impl->internal_flags & SERVICE_F_STATS_ENABLED); in service_stats_enabled()
/f-stack/freebsd/arm64/iommu/
H A Diommu.c171 t->common.impl = &bus_dma_iommu_impl; in iommu_tag_init()
/f-stack/freebsd/x86/iommu/
H A Dintel_ctx.c136 ctx->context.tag->common.impl = &bus_dma_iommu_impl; in device_tag_init()