Home
last modified time | relevance | path

Searched defs:ctx (Results 1 – 25 of 491) sorted by relevance

12345678910>>...20

/f-stack/dpdk/examples/performance-thread/common/arch/arm64/
H A Dctx.h15 struct ctx { struct
16 void *sp; /* 0 */
17 void *fp; /* 8 */
18 void *lr; /* 16 */
21 void *r19; /* 24 */
22 void *r20; /* 32 */
23 void *r21; /* 40 */
24 void *r22; /* 48 */
48 ctx_switch(struct ctx *new_ctx, struct ctx *curr_ctx); argument
/f-stack/dpdk/examples/performance-thread/common/arch/x86/
H A Dctx.h16 struct ctx { struct
29 ctx_switch(struct ctx *new_ctx, struct ctx *curr_ctx); argument
/f-stack/freebsd/crypto/skein/
H A Dskein.c41 int Skein_256_Init(Skein_256_Ctxt_t *ctx, size_t hashBitLen) in Skein_256_Init()
191 int Skein_256_Final(Skein_256_Ctxt_t *ctx, u08b_t *hashVal) in Skein_256_Final()
238 int Skein_512_Init(Skein_512_Ctxt_t *ctx, size_t hashBitLen) in Skein_512_Init()
389 int Skein_512_Final(Skein_512_Ctxt_t *ctx, u08b_t *hashVal) in Skein_512_Final()
436 int Skein1024_Init(Skein1024_Ctxt_t *ctx, size_t hashBitLen) in Skein1024_Init()
586 int Skein1024_Final(Skein1024_Ctxt_t *ctx, u08b_t *hashVal) in Skein1024_Final()
681 int Skein_256_Output(Skein_256_Ctxt_t *ctx, u08b_t *hashVal) in Skein_256_Output()
710 int Skein_512_Output(Skein_512_Ctxt_t *ctx, u08b_t *hashVal) in Skein_512_Output()
769 SKEIN256_Init(SKEIN256_CTX * ctx) in SKEIN256_Init()
776 SKEIN512_Init(SKEIN512_CTX * ctx) in SKEIN512_Init()
[all …]
/f-stack/dpdk/lib/librte_bpf/
H A Dbpf_jit_arm64.c85 is_first_pass(struct a64_jit_ctx *ctx) in is_first_pass()
126 jump_offset_fini(struct a64_jit_ctx *ctx) in jump_offset_fini()
228 emit_ret(struct a64_jit_ctx *ctx) in emit_ret()
635 emit_blr(struct a64_jit_ctx *ctx, uint8_t rn) in emit_blr()
793 emit_prologue_has_call(struct a64_jit_ctx *ctx) in emit_prologue_has_call()
862 emit_prologue_no_call(struct a64_jit_ctx *ctx) in emit_prologue_no_call()
889 emit_epilogue_no_call(struct a64_jit_ctx *ctx) in emit_epilogue_no_call()
898 emit_prologue(struct a64_jit_ctx *ctx) in emit_prologue()
909 emit_epilogue(struct a64_jit_ctx *ctx) in emit_epilogue()
944 emit_b(struct a64_jit_ctx *ctx, int32_t imm26) in emit_b()
[all …]
/f-stack/dpdk/lib/librte_acl/
H A Drte_acl.c36 rte_acl_classify_avx512x32(__rte_unused const struct rte_acl_ctx *ctx, in rte_acl_classify_avx512x32()
52 rte_acl_classify_avx2(__rte_unused const struct rte_acl_ctx *ctx, in rte_acl_classify_avx2()
64 rte_acl_classify_sse(__rte_unused const struct rte_acl_ctx *ctx, in rte_acl_classify_sse()
76 rte_acl_classify_neon(__rte_unused const struct rte_acl_ctx *ctx, in rte_acl_classify_neon()
313 struct rte_acl_ctx *ctx = NULL; in rte_acl_find_existing() local
335 rte_acl_free(struct rte_acl_ctx *ctx) in rte_acl_free()
370 struct rte_acl_ctx *ctx; in rte_acl_create() local
492 rte_acl_reset_rules(struct rte_acl_ctx *ctx) in rte_acl_reset_rules()
502 rte_acl_reset(struct rte_acl_ctx *ctx) in rte_acl_reset()
514 rte_acl_dump(const struct rte_acl_ctx *ctx) in rte_acl_dump()
[all …]
/f-stack/freebsd/contrib/openzfs/module/icp/algs/skein/
H A Dskein.c16 Skein_256_Init(Skein_256_Ctxt_t *ctx, size_t hashBitLen) in Skein_256_Init()
201 Skein_256_Final(Skein_256_Ctxt_t *ctx, uint8_t *hashVal) in Skein_256_Final()
252 Skein_512_Init(Skein_512_Ctxt_t *ctx, size_t hashBitLen) in Skein_512_Init()
437 Skein_512_Final(Skein_512_Ctxt_t *ctx, uint8_t *hashVal) in Skein_512_Final()
488 Skein1024_Init(Skein1024_Ctxt_t *ctx, size_t hashBitLen) in Skein1024_Init()
670 Skein1024_Final(Skein1024_Ctxt_t *ctx, uint8_t *hashVal) in Skein1024_Final()
722 Skein_256_Final_Pad(Skein_256_Ctxt_t *ctx, uint8_t *hashVal) in Skein_256_Final_Pad()
743 Skein_512_Final_Pad(Skein_512_Ctxt_t *ctx, uint8_t *hashVal) in Skein_512_Final_Pad()
787 Skein_256_Output(Skein_256_Ctxt_t *ctx, uint8_t *hashVal) in Skein_256_Output()
827 Skein_512_Output(Skein_512_Ctxt_t *ctx, uint8_t *hashVal) in Skein_512_Output()
[all …]
/f-stack/freebsd/contrib/zstd/lib/common/
H A Dpool.c68 POOL_ctx* const ctx = (POOL_ctx*)opaque; in POOL_thread() local
118 POOL_ctx* ctx; in POOL_create_advanced() local
165 static void POOL_join(POOL_ctx* ctx) { in POOL_join()
180 void POOL_free(POOL_ctx *ctx) { in POOL_free()
195 size_t POOL_sizeof(POOL_ctx *ctx) { in POOL_sizeof()
204 static int POOL_resize_internal(POOL_ctx* ctx, size_t numThreads) in POOL_resize_internal()
233 int POOL_resize(POOL_ctx* ctx, size_t numThreads) in POOL_resize()
250 static int isQueueFull(POOL_ctx const* ctx) { in isQueueFull()
323 void POOL_free(POOL_ctx* ctx) { in POOL_free()
328 int POOL_resize(POOL_ctx* ctx, size_t numThreads) { in POOL_resize()
[all …]
/f-stack/app/redis-5.0.5/src/modules/
H A Dtestmodule.c51 int TestCall(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestCall()
81 int TestStringAppend(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestStringAppend()
93 int TestStringAppendAM(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestStringAppendAM()
107 int TestStringPrintf(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestStringPrintf()
124 int failTest(RedisModuleCtx *ctx, const char *msg) { in failTest()
129 int TestUnlink(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestUnlink()
158 int NotifyCallback(RedisModuleCtx *ctx, int type, const char *event, in NotifyCallback()
170 int TestNotifications(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestNotifications()
238 int TestCtxFlags(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestCtxFlags()
356 int TestIt(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in TestIt()
[all …]
H A Dhelloworld.c48 int HelloSimple_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloSimple_RedisCommand()
61 int HelloPushNative_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) in HelloPushNative_RedisCommand()
80 int HelloPushCall_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) in HelloPushCall_RedisCommand()
96 int HelloPushCall2_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) in HelloPushCall2_RedisCommand()
111 int HelloListSumLen_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) in HelloListSumLen_RedisCommand()
134 int HelloListSplice_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloListSplice_RedisCommand()
240 int HelloRepl1_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) in HelloRepl1_RedisCommand()
278 int HelloRepl2_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloRepl2_RedisCommand()
468 int HelloHCopy_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloHCopy_RedisCommand()
509 int HelloLeftPad_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloLeftPad_RedisCommand()
[all …]
H A Dhelloblock.c42 int HelloBlock_Reply(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloBlock_Reply()
50 int HelloBlock_Timeout(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloBlock_Timeout()
57 void HelloBlock_FreeData(RedisModuleCtx *ctx, void *privdata) { in HelloBlock_FreeData()
85 void HelloBlock_Disconnected(RedisModuleCtx *ctx, RedisModuleBlockedClient *bc) { in HelloBlock_Disconnected()
97 int HelloBlock_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloBlock_RedisCommand()
141 RedisModuleCtx *ctx = RedisModule_GetThreadSafeContext(bc); in HelloKeys_ThreadMain() local
181 int HelloKeys_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in HelloKeys_RedisCommand()
204 int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in RedisModule_OnLoad()
H A Dhellocluster.c44 int PingallCommand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in PingallCommand_RedisCommand()
53 int ListCommand_RedisCommand(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in ListCommand_RedisCommand()
76 void PingReceiver(RedisModuleCtx *ctx, const char *sender_id, uint8_t type, const unsigned char *pa… in PingReceiver()
84 void PongReceiver(RedisModuleCtx *ctx, const char *sender_id, uint8_t type, const unsigned char *pa… in PongReceiver()
91 int RedisModule_OnLoad(RedisModuleCtx *ctx, RedisModuleString **argv, int argc) { in RedisModule_OnLoad()
/f-stack/freebsd/crypto/siphash/
H A Dsiphash.c58 SipHash_InitX(SIPHASH_CTX *ctx, int rc, int rf) in SipHash_InitX()
74 SipHash_SetKey(SIPHASH_CTX *ctx, const uint8_t key[static SIPHASH_KEY_LENGTH]) in SipHash_SetKey()
94 SipBuf(SIPHASH_CTX *ctx, const uint8_t **src, size_t len, int final) in SipBuf()
120 SipHash_Update(SIPHASH_CTX *ctx, const void *src, size_t len) in SipHash_Update()
170 SipHash_Final(uint8_t dst[static SIPHASH_DIGEST_LENGTH], SIPHASH_CTX *ctx) in SipHash_Final()
182 SipHash_End(SIPHASH_CTX *ctx) in SipHash_End()
199 SipHashX(SIPHASH_CTX *ctx, int rc, int rf, in SipHashX()
213 SipRounds(SIPHASH_CTX *ctx, int final) in SipRounds()
/f-stack/freebsd/contrib/openzfs/module/zcommon/
H A Dzfs_fletcher_intel.c51 fletcher_4_avx2_init(fletcher_4_ctx_t *ctx) in fletcher_4_avx2_init()
57 fletcher_4_avx2_fini(fletcher_4_ctx_t *ctx, zio_cksum_t *zcp) in fletcher_4_avx2_fini()
84 #define FLETCHER_4_AVX2_RESTORE_CTX(ctx) \ argument
92 #define FLETCHER_4_AVX2_SAVE_CTX(ctx) \ argument
102 fletcher_4_avx2_native(fletcher_4_ctx_t *ctx, const void *buf, uint64_t size) in fletcher_4_avx2_native()
126 fletcher_4_avx2_byteswap(fletcher_4_ctx_t *ctx, const void *buf, uint64_t size) in fletcher_4_avx2_byteswap()
H A Dzfs_fletcher_sse.c53 fletcher_4_sse2_init(fletcher_4_ctx_t *ctx) in fletcher_4_sse2_init()
59 fletcher_4_sse2_fini(fletcher_4_ctx_t *ctx, zio_cksum_t *zcp) in fletcher_4_sse2_fini()
83 #define FLETCHER_4_SSE_RESTORE_CTX(ctx) \ argument
91 #define FLETCHER_4_SSE_SAVE_CTX(ctx) \ argument
100 fletcher_4_sse2_native(fletcher_4_ctx_t *ctx, const void *buf, uint64_t size) in fletcher_4_sse2_native()
132 fletcher_4_sse2_byteswap(fletcher_4_ctx_t *ctx, const void *buf, uint64_t size) in fletcher_4_sse2_byteswap()
178 fletcher_4_ssse3_byteswap(fletcher_4_ctx_t *ctx, const void *buf, uint64_t size) in fletcher_4_ssse3_byteswap()
H A Dzfs_fletcher_avx512.c39 fletcher_4_avx512f_init(fletcher_4_ctx_t *ctx) in fletcher_4_avx512f_init()
45 fletcher_4_avx512f_fini(fletcher_4_ctx_t *ctx, zio_cksum_t *zcp) in fletcher_4_avx512f_fini()
75 #define FLETCHER_4_AVX512_RESTORE_CTX(ctx) \ argument
83 #define FLETCHER_4_AVX512_SAVE_CTX(ctx) \ argument
92 fletcher_4_avx512f_native(fletcher_4_ctx_t *ctx, const void *buf, uint64_t size) in fletcher_4_avx512f_native()
116 fletcher_4_avx512f_byteswap(fletcher_4_ctx_t *ctx, const void *buf, in fletcher_4_avx512f_byteswap()
178 fletcher_4_avx512bw_byteswap(fletcher_4_ctx_t *ctx, const void *buf, in fletcher_4_avx512bw_byteswap()
/f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/
H A Dsha512c.c232 SHA512_Pad(SHA512_CTX * ctx) in SHA512_Pad()
261 SHA512_Init(SHA512_CTX * ctx) in SHA512_Init()
280 SHA512_Update(SHA512_CTX * ctx, const void *in, size_t len) in SHA512_Update()
344 SHA512_224_Init(SHA512_CTX * ctx) in SHA512_224_Init()
362 SHA512_224_Update(SHA512_CTX * ctx, const void *in, size_t len) in SHA512_224_Update()
370 SHA512_CTX *ctx) in SHA512_224_Final()
384 SHA512_256_Init(SHA512_CTX * ctx) in SHA512_256_Init()
402 SHA512_256_Update(SHA512_CTX * ctx, const void *in, size_t len) in SHA512_256_Update()
410 SHA512_CTX * ctx) in SHA512_256_Final()
430 SHA384_Init(SHA384_CTX * ctx) in SHA384_Init()
[all …]
/f-stack/freebsd/crypto/sha2/
H A Dsha512c.c230 SHA512_Pad(SHA512_CTX * ctx) in SHA512_Pad()
259 SHA512_Init(SHA512_CTX * ctx) in SHA512_Init()
278 SHA512_Update(SHA512_CTX * ctx, const void *in, size_t len) in SHA512_Update()
324 SHA512_Final(unsigned char digest[static SHA512_DIGEST_LENGTH], SHA512_CTX *ctx) in SHA512_Final()
342 SHA512_224_Init(SHA512_CTX * ctx) in SHA512_224_Init()
360 SHA512_224_Update(SHA512_CTX * ctx, const void *in, size_t len) in SHA512_224_Update()
381 SHA512_256_Init(SHA512_CTX * ctx) in SHA512_256_Init()
399 SHA512_256_Update(SHA512_CTX * ctx, const void *in, size_t len) in SHA512_256_Update()
426 SHA384_Init(SHA384_CTX * ctx) in SHA384_Init()
445 SHA384_Update(SHA384_CTX * ctx, const void *in, size_t len) in SHA384_Update()
[all …]
/f-stack/freebsd/contrib/libsodium/src/libsodium/crypto_stream/chacha20/dolbeau/
H A Dchacha20_dolbeau-ssse3.c32 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup()
49 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup()
58 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup()
67 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes()
87 struct chacha_ctx ctx; in stream_ref() local
106 struct chacha_ctx ctx; in stream_ietf_ref() local
126 struct chacha_ctx ctx; in stream_ref_xor_ic() local
151 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic() local
H A Dchacha20_dolbeau-avx2.c37 chacha_keysetup(chacha_ctx *ctx, const uint8_t *k) in chacha_keysetup()
54 chacha_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ivsetup()
63 chacha_ietf_ivsetup(chacha_ctx *ctx, const uint8_t *iv, const uint8_t *counter) in chacha_ietf_ivsetup()
72 chacha20_encrypt_bytes(chacha_ctx *ctx, const uint8_t *m, uint8_t *c, in chacha20_encrypt_bytes()
93 struct chacha_ctx ctx; in stream_ref() local
112 struct chacha_ctx ctx; in stream_ietf_ref() local
132 struct chacha_ctx ctx; in stream_ref_xor_ic() local
157 struct chacha_ctx ctx; in stream_ietf_ref_xor_ic() local
/f-stack/freebsd/crypto/blake2/
H A Dblake2-sw.c39 struct blake2b_xform_ctx *ctx = vctx; in blake2b_xform_init() local
54 struct blake2b_xform_ctx *ctx = vctx; in blake2b_xform_setkey() local
65 struct blake2b_xform_ctx *ctx = vctx; in blake2b_xform_update() local
77 struct blake2b_xform_ctx *ctx = vctx; in blake2b_xform_final() local
107 struct blake2s_xform_ctx *ctx = vctx; in blake2s_xform_init() local
122 struct blake2s_xform_ctx *ctx = vctx; in blake2s_xform_setkey() local
133 struct blake2s_xform_ctx *ctx = vctx; in blake2s_xform_update() local
145 struct blake2s_xform_ctx *ctx = vctx; in blake2s_xform_final() local
/f-stack/freebsd/opencrypto/
H A Dxform_aes_icm.c119 struct aes_icm_ctx *ctx; in aes_icm_reinit() local
128 struct aes_icm_ctx *ctx; in aes_gcm_reinit() local
141 struct aes_icm_ctx *ctx; in aes_ccm_reinit() local
156 struct aes_icm_ctx *ctx; in aes_icm_crypt() local
172 struct aes_icm_ctx *ctx; in aes_icm_crypt_last() local
186 struct aes_icm_ctx *ctx; in aes_icm_setkey() local
/f-stack/freebsd/net/
H A Diflib.c1527 if_ctx_t ctx; in iflib_fast_intr_rxtx() local
3391 if_ctx_t ctx; in iflib_encap() local
4037 if_ctx_t ctx; in iflib_sysctl_int_delay() local
4065 if_ctx_t ctx = arg; in iflib_if_init() local
4713 if_ctx_t ctx; in iflib_device_register() local
4961 if_ctx_t ctx; in iflib_pseudo_register() local
5186 if_ctx_t ctx; in iflib_device_attach() local
6905 if_ctx_t ctx; in iflib_debugnet_init() local
6918 if_ctx_t ctx; in iflib_debugnet_event() local
6946 if_ctx_t ctx; in iflib_debugnet_transmit() local
[all …]
/f-stack/app/redis-5.0.5/deps/jemalloc/test/include/test/
H A DSFMT.h92 static inline double genrand_real1(sfmt_t *ctx) { in genrand_real1()
103 static inline double genrand_real2(sfmt_t *ctx) { in genrand_real2()
114 static inline double genrand_real3(sfmt_t *ctx) { in genrand_real3()
132 static inline double genrand_res53(sfmt_t *ctx) { in genrand_res53()
139 static inline double genrand_res53_mix(sfmt_t *ctx) { in genrand_res53_mix()
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_output_chain.c46 ngx_output_chain(ngx_output_chain_ctx_t *ctx, ngx_chain_t *in) in ngx_output_chain()
248 ngx_output_chain_as_is(ngx_output_chain_ctx_t *ctx, ngx_buf_t *buf) in ngx_output_chain_as_is()
307 ngx_output_chain_aio_setup(ngx_output_chain_ctx_t *ctx, ngx_file_t *file) in ngx_output_chain_aio_setup()
396 ngx_output_chain_align_file_buf(ngx_output_chain_ctx_t *ctx, off_t bsize) in ngx_output_chain_align_file_buf()
446 ngx_output_chain_get_buf(ngx_output_chain_ctx_t *ctx, off_t bsize) in ngx_output_chain_get_buf()
522 ngx_output_chain_copy_buf(ngx_output_chain_ctx_t *ctx) in ngx_output_chain_copy_buf()
678 ngx_chain_writer_ctx_t *ctx = data; in ngx_chain_writer() local
/f-stack/freebsd/crypto/chacha20/
H A Dchacha-sw.c10 chacha20_xform_setkey(void *ctx, const uint8_t *key, int len) in chacha20_xform_setkey()
21 chacha20_xform_reinit(void *ctx, const uint8_t *iv) in chacha20_xform_reinit()
28 chacha20_xform_crypt(void *ctx, const uint8_t *in, uint8_t *out) in chacha20_xform_crypt()
35 chacha20_xform_crypt_last(void *ctx, const uint8_t *in, uint8_t *out, in chacha20_xform_crypt_last()

12345678910>>...20