Home
last modified time | relevance | path

Searched refs:cctx (Results 1 - 25 of 54) sorted by relevance

123

/kernel/linux/linux-6.6/lib/zstd/
H A Dzstd_compress_module.c27 static size_t zstd_cctx_init(zstd_cctx *cctx, const zstd_parameters *parameters, in zstd_cctx_init() argument
31 cctx, ZSTD_reset_session_and_parameters)); in zstd_cctx_init()
33 cctx, pledged_src_size)); in zstd_cctx_init()
35 cctx, ZSTD_c_windowLog, parameters->cParams.windowLog)); in zstd_cctx_init()
37 cctx, ZSTD_c_hashLog, parameters->cParams.hashLog)); in zstd_cctx_init()
39 cctx, ZSTD_c_chainLog, parameters->cParams.chainLog)); in zstd_cctx_init()
41 cctx, ZSTD_c_searchLog, parameters->cParams.searchLog)); in zstd_cctx_init()
43 cctx, ZSTD_c_minMatch, parameters->cParams.minMatch)); in zstd_cctx_init()
45 cctx, ZSTD_c_targetLength, parameters->cParams.targetLength)); in zstd_cctx_init()
47 cctx, ZSTD_c_strateg in zstd_cctx_init()
96 zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacity, const void *src, size_t src_size, const zstd_parameters *parameters) zstd_compress_cctx() argument
[all...]
/kernel/linux/linux-6.6/drivers/misc/
H A Dfastrpc.c252 struct fastrpc_channel_ctx *cctx; member
287 struct fastrpc_channel_ctx *cctx; member
298 struct fastrpc_channel_ctx *cctx; member
320 int vmid = map->fl->cctx->vmperms[0].vmid; in fastrpc_free_map()
456 struct device *rdev = &fl->cctx->rpdev->dev; in fastrpc_remote_heap_alloc()
463 struct fastrpc_channel_ctx *cctx; in fastrpc_channel_ctx_free() local
465 cctx = container_of(ref, struct fastrpc_channel_ctx, refcount); in fastrpc_channel_ctx_free()
467 kfree(cctx); in fastrpc_channel_ctx_free()
470 static void fastrpc_channel_ctx_get(struct fastrpc_channel_ctx *cctx) in fastrpc_channel_ctx_get() argument
472 kref_get(&cctx in fastrpc_channel_ctx_get()
475 fastrpc_channel_ctx_put(struct fastrpc_channel_ctx *cctx) fastrpc_channel_ctx_put() argument
483 struct fastrpc_channel_ctx *cctx; fastrpc_context_free() local
578 struct fastrpc_channel_ctx *cctx = user->cctx; fastrpc_context_alloc() local
1109 struct fastrpc_channel_ctx *cctx; fastrpc_invoke_send() local
1468 fastrpc_session_alloc( struct fastrpc_channel_ctx *cctx) fastrpc_session_alloc() argument
1488 fastrpc_session_free(struct fastrpc_channel_ctx *cctx, struct fastrpc_session_ctx *session) fastrpc_session_free() argument
1517 struct fastrpc_channel_ctx *cctx = fl->cctx; fastrpc_device_release() local
1557 struct fastrpc_channel_ctx *cctx; fastrpc_device_open() local
1713 struct fastrpc_channel_ctx *cctx = fl->cctx; fastrpc_get_info_from_kernel() local
2138 struct fastrpc_channel_ctx *cctx; fastrpc_cb_probe() local
2188 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(pdev->dev.parent); fastrpc_cb_remove() local
2220 fastrpc_device_register(struct device *dev, struct fastrpc_channel_ctx *cctx, bool is_secured, const char *domain) fastrpc_device_register() argument
2372 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); fastrpc_rpmsg_remove() local
2404 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); fastrpc_rpmsg_callback() local
[all...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress.c94 static void ZSTD_initCCtx(ZSTD_CCtx* cctx, ZSTD_customMem memManager) in ZSTD_initCCtx() argument
96 assert(cctx != NULL); in ZSTD_initCCtx()
97 ZSTD_memset(cctx, 0, sizeof(*cctx)); in ZSTD_initCCtx()
98 cctx->customMem = memManager; in ZSTD_initCCtx()
99 cctx->bmi2 = ZSTD_cpuSupportsBmi2(); in ZSTD_initCCtx()
100 { size_t const err = ZSTD_CCtx_reset(cctx, ZSTD_reset_parameters); in ZSTD_initCCtx()
111 { ZSTD_CCtx* const cctx = (ZSTD_CCtx*)ZSTD_customMalloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced() local
112 if (!cctx) return NULL; in ZSTD_createCCtx_advanced()
113 ZSTD_initCCtx(cctx, customMe in ZSTD_createCCtx_advanced()
121 ZSTD_CCtx* cctx; ZSTD_initStaticCCtx() local
145 ZSTD_clearAllDicts(ZSTD_CCtx* cctx) ZSTD_clearAllDicts() argument
161 ZSTD_freeCCtxContent(ZSTD_CCtx* cctx) ZSTD_freeCCtxContent() argument
169 ZSTD_freeCCtx(ZSTD_CCtx* cctx) ZSTD_freeCCtx() argument
185 ZSTD_sizeof_mtctx(const ZSTD_CCtx* cctx) ZSTD_sizeof_mtctx() argument
192 ZSTD_sizeof_CCtx(const ZSTD_CCtx* cctx) ZSTD_sizeof_CCtx() argument
621 ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value) ZSTD_CCtx_setParameter() argument
873 ZSTD_CCtx_getParameter(ZSTD_CCtx const* cctx, ZSTD_cParameter param, int* value) ZSTD_CCtx_getParameter() argument
995 ZSTD_CCtx_setParametersUsingCCtxParams( ZSTD_CCtx* cctx, const ZSTD_CCtx_params* params) ZSTD_CCtx_setParametersUsingCCtxParams() argument
1009 ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize) ZSTD_CCtx_setPledgedSrcSize() argument
1031 ZSTD_initLocalDict(ZSTD_CCtx* cctx) ZSTD_initLocalDict() argument
1062 ZSTD_CCtx_loadDictionary_advanced( ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_dictLoadMethod_e dictLoadMethod, ZSTD_dictContentType_e dictContentType) ZSTD_CCtx_loadDictionary_advanced() argument
1089 ZSTD_CCtx_loadDictionary_byReference( ZSTD_CCtx* cctx, const void* dict, size_t dictSize) ZSTD_CCtx_loadDictionary_byReference() argument
1096 ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, const void* dict, size_t dictSize) ZSTD_CCtx_loadDictionary() argument
1103 ZSTD_CCtx_refCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict) ZSTD_CCtx_refCDict() argument
1113 ZSTD_CCtx_refThreadPool(ZSTD_CCtx* cctx, ZSTD_threadPool* pool) ZSTD_CCtx_refThreadPool() argument
1121 ZSTD_CCtx_refPrefix(ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize) ZSTD_CCtx_refPrefix() argument
1126 ZSTD_CCtx_refPrefix_advanced( ZSTD_CCtx* cctx, const void* prefix, size_t prefixSize, ZSTD_dictContentType_e dictContentType) ZSTD_CCtx_refPrefix_advanced() argument
1142 ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset) ZSTD_CCtx_reset() argument
1549 ZSTD_getFrameProgression(const ZSTD_CCtx* cctx) ZSTD_getFrameProgression() argument
1568 ZSTD_toFlushNow(ZSTD_CCtx* cctx) ZSTD_toFlushNow() argument
1923 ZSTD_invalidateRepCodes(ZSTD_CCtx* cctx) ZSTD_invalidateRepCodes() argument
1962 ZSTD_resetCCtx_byAttachingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict, ZSTD_CCtx_params params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_resetCCtx_byAttachingCDict() argument
2022 ZSTD_resetCCtx_byCopyingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict, ZSTD_CCtx_params params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_resetCCtx_byCopyingCDict() argument
2104 ZSTD_resetCCtx_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_resetCCtx_usingCDict() argument
3841 ZSTD_compress_frameChunk(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, U32 lastFrameChunk) ZSTD_compress_frameChunk() argument
4004 ZSTD_referenceExternalSequences(ZSTD_CCtx* cctx, rawSeq* seq, size_t nbSeq) ZSTD_referenceExternalSequences() argument
4020 ZSTD_compressContinue_internal(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, U32 frame, U32 lastFrameChunk) ZSTD_compressContinue_internal() argument
4081 ZSTD_compressContinue(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize) ZSTD_compressContinue() argument
4090 ZSTD_getBlockSize(const ZSTD_CCtx* cctx) ZSTD_getBlockSize() argument
4097 ZSTD_compressBlock(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize) ZSTD_compressBlock() argument
4398 ZSTD_compressBegin_internal(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType, ZSTD_dictTableLoadMethod_e dtlm, const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, U64 pledgedSrcSize, ZSTD_buffered_policy_e zbuff) ZSTD_compressBegin_internal() argument
4442 ZSTD_compressBegin_advanced_internal(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_dictContentType_e dictContentType, ZSTD_dictTableLoadMethod_e dtlm, const ZSTD_CDict* cdict, const ZSTD_CCtx_params* params, unsigned long long pledgedSrcSize) ZSTD_compressBegin_advanced_internal() argument
4462 ZSTD_compressBegin_advanced(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize) ZSTD_compressBegin_advanced() argument
4474 ZSTD_compressBegin_usingDict(ZSTD_CCtx* cctx, const void* dict, size_t dictSize, int compressionLevel) ZSTD_compressBegin_usingDict() argument
4486 ZSTD_compressBegin(ZSTD_CCtx* cctx, int compressionLevel) ZSTD_compressBegin() argument
4495 ZSTD_writeEpilogue(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity) ZSTD_writeEpilogue() argument
4534 ZSTD_CCtx_trace(ZSTD_CCtx* cctx, size_t extraCSize) ZSTD_CCtx_trace() argument
4540 ZSTD_compressEnd(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize) ZSTD_compressEnd() argument
4566 ZSTD_compress_advanced(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const void* dict,size_t dictSize, ZSTD_parameters params) ZSTD_compress_advanced() argument
4583 ZSTD_compress_advanced_internal( ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const void* dict,size_t dictSize, const ZSTD_CCtx_params* params) ZSTD_compress_advanced_internal() argument
4597 ZSTD_compress_usingDict(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const void* dict, size_t dictSize, int compressionLevel) ZSTD_compress_usingDict() argument
4612 ZSTD_compressCCtx(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, int compressionLevel) ZSTD_compressCCtx() argument
4627 ZSTD_CCtx* cctx = ZSTD_createCCtx(); ZSTD_compress() local
4938 ZSTD_compressBegin_usingCDict_internal( ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize) ZSTD_compressBegin_usingCDict_internal() argument
4979 ZSTD_compressBegin_usingCDict_advanced( ZSTD_CCtx* const cctx, const ZSTD_CDict* const cdict, ZSTD_frameParameters const fParams, unsigned long long const pledgedSrcSize) ZSTD_compressBegin_usingCDict_advanced() argument
4988 ZSTD_compressBegin_usingCDict(ZSTD_CCtx* cctx, const ZSTD_CDict* cdict) ZSTD_compressBegin_usingCDict() argument
4997 ZSTD_compress_usingCDict_internal(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const ZSTD_CDict* cdict, ZSTD_frameParameters fParams) ZSTD_compress_usingCDict_internal() argument
5009 ZSTD_compress_usingCDict_advanced(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const ZSTD_CDict* cdict, ZSTD_frameParameters fParams) ZSTD_compress_usingCDict_advanced() argument
5022 ZSTD_compress_usingCDict(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize, const ZSTD_CDict* cdict) ZSTD_compress_usingCDict() argument
5198 ZSTD_nextInputSizeHint(const ZSTD_CCtx* cctx) ZSTD_nextInputSizeHint() argument
5376 ZSTD_nextInputSizeHint_MTorST(const ZSTD_CCtx* cctx) ZSTD_nextInputSizeHint_MTorST() argument
5391 ZSTD_setBufferExpectations(ZSTD_CCtx* cctx, ZSTD_outBuffer const* output, ZSTD_inBuffer const* input) ZSTD_setBufferExpectations() argument
5404 ZSTD_checkBufferStability(ZSTD_CCtx const* cctx, ZSTD_outBuffer const* output, ZSTD_inBuffer const* input, ZSTD_EndDirective endOp) ZSTD_checkBufferStability() argument
5424 ZSTD_CCtx_init_compressStream2(ZSTD_CCtx* cctx, ZSTD_EndDirective endOp, size_t inSize) ZSTD_CCtx_init_compressStream2() argument
5480 ZSTD_compressStream2( ZSTD_CCtx* cctx, ZSTD_outBuffer* output, ZSTD_inBuffer* input, ZSTD_EndDirective endOp) ZSTD_compressStream2() argument
5507 ZSTD_compressStream2_simpleArgs( ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, size_t* dstPos, const void* src, size_t srcSize, size_t* srcPos, ZSTD_EndDirective endOp) ZSTD_compressStream2_simpleArgs() argument
5522 ZSTD_compress2(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const void* src, size_t srcSize) ZSTD_compress2() argument
5599 ZSTD_copySequencesToSeqStoreExplicitBlockDelim(ZSTD_CCtx* cctx, ZSTD_sequencePosition* seqPos, const ZSTD_Sequence* const inSeqs, size_t inSeqsSize, const void* src, size_t blockSize) ZSTD_copySequencesToSeqStoreExplicitBlockDelim() argument
5662 ZSTD_copySequencesToSeqStoreNoBlockDelim(ZSTD_CCtx* cctx, ZSTD_sequencePosition* seqPos, const ZSTD_Sequence* const inSeqs, size_t inSeqsSize, const void* src, size_t blockSize) ZSTD_copySequencesToSeqStoreNoBlockDelim() argument
5802 ZSTD_compressSequences_internal(ZSTD_CCtx* cctx, void* dst, size_t dstCapacity, const ZSTD_Sequence* inSeqs, size_t inSeqsSize, const void* src, size_t srcSize) ZSTD_compressSequences_internal() argument
5914 ZSTD_compressSequences(ZSTD_CCtx* const cctx, void* dst, size_t dstCapacity, const ZSTD_Sequence* inSeqs, size_t inSeqsSize, const void* src, size_t srcSize) ZSTD_compressSequences() argument
[all...]
/kernel/linux/linux-5.10/drivers/misc/
H A Dfastrpc.c197 struct fastrpc_channel_ctx *cctx; member
225 struct fastrpc_channel_ctx *cctx; member
338 struct fastrpc_channel_ctx *cctx; in fastrpc_channel_ctx_free() local
340 cctx = container_of(ref, struct fastrpc_channel_ctx, refcount); in fastrpc_channel_ctx_free()
342 kfree(cctx); in fastrpc_channel_ctx_free()
345 static void fastrpc_channel_ctx_get(struct fastrpc_channel_ctx *cctx) in fastrpc_channel_ctx_get() argument
347 kref_get(&cctx->refcount); in fastrpc_channel_ctx_get()
350 static void fastrpc_channel_ctx_put(struct fastrpc_channel_ctx *cctx) in fastrpc_channel_ctx_put() argument
352 kref_put(&cctx->refcount, fastrpc_channel_ctx_free); in fastrpc_channel_ctx_put()
358 struct fastrpc_channel_ctx *cctx; in fastrpc_context_free() local
453 struct fastrpc_channel_ctx *cctx = user->cctx; fastrpc_context_alloc() local
923 struct fastrpc_channel_ctx *cctx; fastrpc_invoke_send() local
1131 fastrpc_session_alloc( struct fastrpc_channel_ctx *cctx) fastrpc_session_alloc() argument
1151 fastrpc_session_free(struct fastrpc_channel_ctx *cctx, struct fastrpc_session_ctx *session) fastrpc_session_free() argument
1181 struct fastrpc_channel_ctx *cctx = fl->cctx; fastrpc_device_release() local
1221 struct fastrpc_channel_ctx *cctx = miscdev_to_cctx(filp->private_data); fastrpc_device_open() local
1539 struct fastrpc_channel_ctx *cctx; fastrpc_cb_probe() local
1589 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(pdev->dev.parent); fastrpc_cb_remove() local
1687 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); fastrpc_rpmsg_remove() local
1707 struct fastrpc_channel_ctx *cctx = dev_get_drvdata(&rpdev->dev); fastrpc_rpmsg_callback() local
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c111 ZSTD_CCtx *cctx; in ZSTD_createCCtx_advanced() local
114 cctx = (ZSTD_CCtx *)ZSTD_malloc(sizeof(ZSTD_CCtx), customMem); in ZSTD_createCCtx_advanced()
115 if (!cctx) in ZSTD_createCCtx_advanced()
117 memset(cctx, 0, sizeof(ZSTD_CCtx)); in ZSTD_createCCtx_advanced()
118 cctx->customMem = customMem; in ZSTD_createCCtx_advanced()
119 return cctx; in ZSTD_createCCtx_advanced()
125 ZSTD_CCtx *cctx = ZSTD_createCCtx_advanced(stackMem); in ZSTD_initCCtx() local
126 if (cctx) { in ZSTD_initCCtx()
127 cctx->workSpace = ZSTD_stackAllocAll(cctx in ZSTD_initCCtx()
132 ZSTD_freeCCtx(ZSTD_CCtx *cctx) ZSTD_freeCCtx() argument
143 ZSTD_getParamsFromCCtx(const ZSTD_CCtx *cctx) ZSTD_getParamsFromCCtx() argument
217 ZSTD_continueCCtx(ZSTD_CCtx *cctx, ZSTD_parameters params, U64 frameContentSize) ZSTD_continueCCtx() argument
337 ZSTD_invalidateRepCodes(ZSTD_CCtx *cctx) ZSTD_invalidateRepCodes() argument
1008 ZSTD_compressBlock_fast_generic(ZSTD_CCtx *cctx, const void *src, size_t srcSize, const U32 mls) ZSTD_compressBlock_fast_generic() argument
1235 ZSTD_fillDoubleHashTable(ZSTD_CCtx *cctx, const void *end, const U32 mls) ZSTD_fillDoubleHashTable() argument
1254 ZSTD_compressBlock_doubleFast_generic(ZSTD_CCtx *cctx, const void *src, size_t srcSize, const U32 mls) ZSTD_compressBlock_doubleFast_generic() argument
2355 ZSTD_compress_generic(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, U32 lastFrameChunk) ZSTD_compress_generic() argument
2490 ZSTD_compressContinue_internal(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, U32 frame, U32 lastFrameChunk) ZSTD_compressContinue_internal() argument
2539 ZSTD_compressContinue(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize) ZSTD_compressContinue() argument
2544 ZSTD_getBlockSizeMax(ZSTD_CCtx *cctx) ZSTD_getBlockSizeMax() argument
2546 ZSTD_compressBlock(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize) ZSTD_compressBlock() argument
2626 ZSTD_loadZstdDictionary(ZSTD_CCtx *cctx, const void *dict, size_t dictSize) ZSTD_loadZstdDictionary() argument
2723 ZSTD_compress_insertDictionary(ZSTD_CCtx *cctx, const void *dict, size_t dictSize) ZSTD_compress_insertDictionary() argument
2738 ZSTD_compressBegin_internal(ZSTD_CCtx *cctx, const void *dict, size_t dictSize, ZSTD_parameters params, U64 pledgedSrcSize) ZSTD_compressBegin_internal() argument
2747 ZSTD_compressBegin_advanced(ZSTD_CCtx *cctx, const void *dict, size_t dictSize, ZSTD_parameters params, unsigned long long pledgedSrcSize) ZSTD_compressBegin_advanced() argument
2754 ZSTD_compressBegin_usingDict(ZSTD_CCtx *cctx, const void *dict, size_t dictSize, int compressionLevel) ZSTD_compressBegin_usingDict() argument
2760 ZSTD_compressBegin(ZSTD_CCtx *cctx, int compressionLevel) ZSTD_compressBegin() argument
2765 ZSTD_writeEpilogue(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity) ZSTD_writeEpilogue() argument
2806 ZSTD_compressEnd(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize) ZSTD_compressEnd() argument
2818 ZSTD_compress_internal(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, const void *dict, size_t dictSize, ZSTD_parameters params) ZSTD_compress_internal() argument
2854 ZSTD_CCtx *const cctx = ZSTD_createCCtx_advanced(customMem); ZSTD_createCDict_advanced() local
2914 ZSTD_compressBegin_usingCDict(ZSTD_CCtx *cctx, const ZSTD_CDict *cdict, unsigned long long pledgedSrcSize) ZSTD_compressBegin_usingCDict() argument
2930 ZSTD_compress_usingCDict(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity, const void *src, size_t srcSize, const ZSTD_CDict *cdict) ZSTD_compress_usingCDict() argument
2951 ZSTD_CCtx *cctx; global() member
[all...]
H A Dzstd_internal.h264 void ZSTD_invalidateRepCodes(ZSTD_CCtx *cctx);
266 size_t ZSTD_freeCCtx(ZSTD_CCtx *cctx);
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/nvkm/engine/fifo/
H A Dchan.c42 nvkm_chan_cctx_bind(struct nvkm_chan *chan, struct nvkm_engn *engn, struct nvkm_cctx *cctx) in nvkm_chan_cctx_bind() argument
51 CHAN_TRACE(chan, "%sbind cctx %d[%s]", cctx ? "" : "un", engn->id, engine->subdev.name); in nvkm_chan_cctx_bind()
63 engn->func->bind(engn, cctx, chan); in nvkm_chan_cctx_bind()
75 struct nvkm_cctx *cctx = *pcctx; in nvkm_chan_cctx_put() local
77 if (cctx) { in nvkm_chan_cctx_put()
78 struct nvkm_engn *engn = cctx->vctx->ectx->engn; in nvkm_chan_cctx_put()
80 if (refcount_dec_and_mutex_lock(&cctx->refs, &chan->cgrp->mutex)) { in nvkm_chan_cctx_put()
81 CHAN_TRACE(chan, "dtor cctx %d[%s]", engn->id, engn->engine->subdev.name); in nvkm_chan_cctx_put()
82 nvkm_cgrp_vctx_put(chan->cgrp, &cctx in nvkm_chan_cctx_put()
98 struct nvkm_cctx *cctx; nvkm_chan_cctx_get() local
[all...]
H A Duchan.c70 struct nvkm_cctx *cctx; member
79 struct nvkm_cctx *cctx = uobj->cctx; in nvkm_uchan_object_fini_1() local
80 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_fini_1()
86 if (refcount_dec_and_mutex_lock(&cctx->uses, &chan->cgrp->mutex)) { in nvkm_uchan_object_fini_1()
102 struct nvkm_cctx *cctx = uobj->cctx; in nvkm_uchan_object_init_0() local
103 struct nvkm_ectx *ectx = cctx->vctx->ectx; in nvkm_uchan_object_init_0()
110 if (!refcount_inc_not_zero(&cctx->uses)) { in nvkm_uchan_object_init_0()
112 if (!refcount_inc_not_zero(&cctx in nvkm_uchan_object_init_0()
[all...]
H A Dgv100.c92 gv100_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) in gv100_ectx_bind() argument
96 if (cctx) { in gv100_ectx_bind()
97 addr = cctx->vctx->vma->addr; in gv100_ectx_bind()
104 nvkm_mo32(chan->inst, 0x0ac, 0x00010000, cctx ? 0x00010000 : 0x00000000); in gv100_ectx_bind()
117 gv100_ectx_ce_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) in gv100_ectx_ce_bind() argument
119 const u64 bar2 = cctx ? nvkm_memory_bar2(cctx->vctx->inst->memory) : 0ULL; in gv100_ectx_ce_bind()
124 nvkm_mo32(chan->inst, 0x0ac, 0x00020000, cctx ? 0x00020000 : 0x00000000); in gv100_ectx_ce_bind()
H A Dg84.c106 g84_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) in g84_ectx_bind() argument
129 if (!cctx) { in g84_ectx_bind()
139 start = cctx->vctx->inst->addr; in g84_ectx_bind()
140 limit = start + cctx->vctx->inst->size - 1; in g84_ectx_bind()
H A Dnv40.c125 nv40_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) in nv40_ectx_bind() argument
149 if (cctx) in nv40_ectx_bind()
150 inst = cctx->vctx->inst->addr >> 4; in nv40_ectx_bind()
H A Dnv50.c150 nv50_ectx_bind(struct nvkm_engn *engn, struct nvkm_cctx *cctx, struct nvkm_chan *chan) in nv50_ectx_bind() argument
165 if (!cctx) { in nv50_ectx_bind()
189 start = cctx->vctx->inst->addr; in nv50_ectx_bind()
190 limit = start + cctx->vctx->inst->size - 1; in nv50_ectx_bind()
/kernel/linux/linux-6.6/include/linux/
H A Dzstd_lib.h195 ZSTDLIB_API size_t ZSTD_freeCCtx(ZSTD_CCtx* cctx); /* accept NULL pointer */
205 ZSTDLIB_API size_t ZSTD_compressCCtx(ZSTD_CCtx* cctx,
462 ZSTDLIB_API size_t ZSTD_CCtx_setParameter(ZSTD_CCtx* cctx, ZSTD_cParameter param, int value);
479 ZSTDLIB_API size_t ZSTD_CCtx_setPledgedSrcSize(ZSTD_CCtx* cctx, unsigned long long pledgedSrcSize);
501 ZSTDLIB_API size_t ZSTD_CCtx_reset(ZSTD_CCtx* cctx, ZSTD_ResetDirective reset);
506 * Should cctx hold data from a previously unfinished frame, everything about it is forgotten.
513 ZSTDLIB_API size_t ZSTD_compress2( ZSTD_CCtx* cctx,
704 ZSTDLIB_API size_t ZSTD_compressStream2( ZSTD_CCtx* cctx,
862 ZSTDLIB_API size_t ZSTD_compress_usingCDict(ZSTD_CCtx* cctx,
951 ZSTDLIB_API size_t ZSTD_CCtx_loadDictionary(ZSTD_CCtx* cctx, cons
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.h261 struct bnxt_qplib_chip_ctx *cctx; member
272 static inline bool bnxt_qplib_is_chip_gen_p5(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_is_chip_gen_p5() argument
274 return (cctx->chip_num == CHIP_NUM_57508 || in bnxt_qplib_is_chip_gen_p5()
275 cctx->chip_num == CHIP_NUM_57504 || in bnxt_qplib_is_chip_gen_p5()
276 cctx->chip_num == CHIP_NUM_57502); in bnxt_qplib_is_chip_gen_p5()
281 return bnxt_qplib_is_chip_gen_p5(res->cctx) ? in bnxt_qplib_get_hwq_type()
285 static inline u8 bnxt_qplib_get_ring_type(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_get_ring_type() argument
287 return bnxt_qplib_is_chip_gen_p5(cctx) ? in bnxt_qplib_get_ring_type()
447 struct bnxt_qplib_chip_ctx *cctx, in bnxt_qplib_ring_nq_db()
453 if (bnxt_qplib_is_chip_gen_p5(cctx)) in bnxt_qplib_ring_nq_db()
446 bnxt_qplib_ring_nq_db(struct bnxt_qplib_db_info *info, struct bnxt_qplib_chip_ctx *cctx, bool arm) bnxt_qplib_ring_nq_db() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dzstd.h406 size_t ZSTD_compress_usingCDict(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
1005 size_t ZSTD_compressBegin(ZSTD_CCtx *cctx, int compressionLevel);
1006 size_t ZSTD_compressBegin_usingDict(ZSTD_CCtx *cctx, const void *dict,
1008 size_t ZSTD_compressBegin_advanced(ZSTD_CCtx *cctx, const void *dict,
1011 size_t ZSTD_copyCCtx(ZSTD_CCtx *cctx, const ZSTD_CCtx *preparedCCtx,
1013 size_t ZSTD_compressBegin_usingCDict(ZSTD_CCtx *cctx, const ZSTD_CDict *cdict,
1015 size_t ZSTD_compressContinue(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
1017 size_t ZSTD_compressEnd(ZSTD_CCtx *cctx, void *dst, size_t dstCapacity,
1149 size_t ZSTD_getBlockSizeMax(ZSTD_CCtx *cctx);
1150 size_t ZSTD_compressBlock(ZSTD_CCtx *cctx, voi
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/bnxt_re/
H A Dqplib_res.h275 struct bnxt_qplib_chip_ctx *cctx; member
291 static inline bool bnxt_qplib_is_chip_gen_p5(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_is_chip_gen_p5() argument
293 return (cctx->chip_num == CHIP_NUM_57508 || in bnxt_qplib_is_chip_gen_p5()
294 cctx->chip_num == CHIP_NUM_57504 || in bnxt_qplib_is_chip_gen_p5()
295 cctx->chip_num == CHIP_NUM_57502); in bnxt_qplib_is_chip_gen_p5()
300 return bnxt_qplib_is_chip_gen_p5(res->cctx) ? in bnxt_qplib_get_hwq_type()
304 static inline u8 bnxt_qplib_get_ring_type(struct bnxt_qplib_chip_ctx *cctx) in bnxt_qplib_get_ring_type() argument
306 return bnxt_qplib_is_chip_gen_p5(cctx) ? in bnxt_qplib_get_ring_type()
468 struct bnxt_qplib_chip_ctx *cctx, in bnxt_qplib_ring_nq_db()
474 if (bnxt_qplib_is_chip_gen_p5(cctx)) in bnxt_qplib_ring_nq_db()
467 bnxt_qplib_ring_nq_db(struct bnxt_qplib_db_info *info, struct bnxt_qplib_chip_ctx *cctx, bool arm) bnxt_qplib_ring_nq_db() argument
486 bnxt_qplib_dbr_pacing_en(struct bnxt_qplib_chip_ctx *cctx) bnxt_qplib_dbr_pacing_en() argument
[all...]
H A Dmain.c92 struct bnxt_qplib_chip_ctx *cctx; in bnxt_re_set_db_offset() local
102 cctx = rdev->chip_ctx; in bnxt_re_set_db_offset()
120 if (cctx->modes.db_push && l2db_len && en_dev->l2_db_size != barlen) { in bnxt_re_set_db_offset()
128 struct bnxt_qplib_chip_ctx *cctx; in bnxt_re_set_drv_mode() local
130 cctx = rdev->chip_ctx; in bnxt_re_set_drv_mode()
131 cctx->modes.wqe_mode = bnxt_qplib_is_chip_gen_p5(rdev->chip_ctx) ? in bnxt_re_set_drv_mode()
147 rdev->qplib_res.cctx = NULL; in bnxt_re_destroy_chip_ctx()
170 rdev->qplib_res.cctx = rdev->chip_ctx; in bnxt_re_setup_chip_ctx()
419 struct bnxt_qplib_chip_ctx *cctx; in bnxt_re_hwrm_qcaps() local
423 cctx in bnxt_re_hwrm_qcaps()
445 struct bnxt_qplib_chip_ctx *cctx; bnxt_re_hwrm_dbr_pacing_qcfg() local
1346 struct bnxt_qplib_chip_ctx *cctx; bnxt_re_query_hwrm_intf_version() local
[all...]
/kernel/linux/linux-5.10/crypto/
H A Dzstd.c21 ZSTD_CCtx *cctx; member
44 ctx->cctx = ZSTD_initCCtx(ctx->cwksp, wksp_size); in zstd_comp_init()
45 if (!ctx->cctx) { in zstd_comp_init()
83 ctx->cctx = NULL; in zstd_comp_exit()
157 out_len = ZSTD_compressCCtx(zctx->cctx, dst, *dlen, src, slen, params); in __zstd_compress()
/kernel/linux/linux-6.6/crypto/
H A Dzstd.c21 zstd_cctx *cctx; member
44 ctx->cctx = zstd_init_cctx(ctx->cwksp, wksp_size); in zstd_comp_init()
45 if (!ctx->cctx) { in zstd_comp_init()
83 ctx->cctx = NULL; in zstd_comp_exit()
157 out_len = zstd_compress_cctx(zctx->cctx, dst, *dlen, src, slen, &params); in __zstd_compress()
/kernel/linux/linux-5.10/fs/hmdfs/comm/
H A Dcrypto.c24 struct cipher_context *cctx = NULL; in tls_crypto_set_key() local
34 cctx = &ctx->tx; in tls_crypto_set_key()
39 cctx = &ctx->rx; in tls_crypto_set_key()
44 memcpy(cctx->iv, crypto_info->salt, TLS_CIPHER_AES_GCM_128_SALT_SIZE); in tls_crypto_set_key()
45 memcpy(cctx->iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, crypto_info->iv, in tls_crypto_set_key()
47 memcpy(cctx->rec_seq, crypto_info->rec_seq, in tls_crypto_set_key()
/kernel/linux/linux-6.6/fs/hmdfs/comm/
H A Dcrypto.c24 struct cipher_context *cctx = NULL; in tls_crypto_set_key() local
34 cctx = &ctx->tx; in tls_crypto_set_key()
39 cctx = &ctx->rx; in tls_crypto_set_key()
44 memcpy(cctx->iv, crypto_info->salt, TLS_CIPHER_AES_GCM_128_SALT_SIZE); in tls_crypto_set_key()
45 memcpy(cctx->iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, crypto_info->iv, in tls_crypto_set_key()
47 memcpy(cctx->rec_seq, crypto_info->rec_seq, in tls_crypto_set_key()
/kernel/linux/linux-6.6/drivers/pinctrl/intel/
H A Dpinctrl-cherryview.c761 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_request_enable() local
765 for (i = 0; i < ARRAY_SIZE(cctx->intr_lines); i++) { in chv_gpio_request_enable()
766 if (cctx->intr_lines[i] == offset) { in chv_gpio_request_enable()
767 cctx->intr_lines[i] = CHV_INVALID_HWIRQ; in chv_gpio_request_enable()
1269 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_irq_startup() local
1286 if (cctx->intr_lines[intsel] == CHV_INVALID_HWIRQ) { in chv_gpio_irq_startup()
1290 cctx->intr_lines[intsel] = hwirq; in chv_gpio_irq_startup()
1302 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_set_intr_line() local
1310 if (cctx->intr_lines[intsel] == pin) in chv_gpio_set_intr_line()
1313 if (cctx in chv_gpio_set_intr_line()
1430 struct intel_community_context *cctx = &pctrl->context.communities[0]; chv_gpio_irq_handler() local
1649 struct intel_community_context *cctx; chv_pinctrl_probe() local
1746 struct intel_community_context *cctx = &pctrl->context.communities[0]; chv_pinctrl_suspend_noirq() local
1776 struct intel_community_context *cctx = &pctrl->context.communities[0]; chv_pinctrl_resume_noirq() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/mediatek/
H A Dmtk-aes.c556 struct mtk_aes_ctr_ctx *cctx = mtk_aes_ctr_ctx_cast(ctx); in mtk_aes_ctr_transfer() local
564 cctx->offset += aes->total; in mtk_aes_ctr_transfer()
565 if (cctx->offset >= req->cryptlen) in mtk_aes_ctr_transfer()
569 datalen = req->cryptlen - cctx->offset; in mtk_aes_ctr_transfer()
571 ctr = be32_to_cpu(cctx->iv[3]); in mtk_aes_ctr_transfer()
583 src = scatterwalk_ffwd(cctx->src, req->src, cctx->offset); in mtk_aes_ctr_transfer()
585 scatterwalk_ffwd(cctx->dst, req->dst, cctx->offset)); in mtk_aes_ctr_transfer()
588 memcpy(ctx->info.state + ctx->keylen, cctx in mtk_aes_ctr_transfer()
604 struct mtk_aes_ctr_ctx *cctx = mtk_aes_ctr_ctx_cast(aes->ctx); mtk_aes_ctr_start() local
[all...]
/kernel/linux/linux-5.10/drivers/pinctrl/intel/
H A Dpinctrl-cherryview.c809 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_request_enable() local
813 for (i = 0; i < ARRAY_SIZE(cctx->intr_lines); i++) { in chv_gpio_request_enable()
814 if (cctx->intr_lines[i] == offset) { in chv_gpio_request_enable()
815 cctx->intr_lines[i] = 0; in chv_gpio_request_enable()
1310 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_irq_startup() local
1327 if (!cctx->intr_lines[intsel]) { in chv_gpio_irq_startup()
1329 cctx->intr_lines[intsel] = pin; in chv_gpio_irq_startup()
1342 struct intel_community_context *cctx = &pctrl->context.communities[0]; in chv_gpio_irq_type() local
1387 cctx->intr_lines[value] = pin; in chv_gpio_irq_type()
1404 struct intel_community_context *cctx in chv_gpio_irq_handler() local
1718 struct intel_community_context *cctx = &pctrl->context.communities[0]; chv_pinctrl_suspend_noirq() local
1748 struct intel_community_context *cctx = &pctrl->context.communities[0]; chv_pinctrl_resume_noirq() local
[all...]
/kernel/linux/linux-5.10/net/tls/
H A Dtls_main.c342 struct cipher_context *cctx; in do_tls_getsockopt_conf() local
361 cctx = &ctx->tx; in do_tls_getsockopt_conf()
364 cctx = &ctx->rx; in do_tls_getsockopt_conf()
391 cctx->iv + TLS_CIPHER_AES_GCM_128_SALT_SIZE, in do_tls_getsockopt_conf()
393 memcpy(crypto_info_aes_gcm_128->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()
413 cctx->iv + TLS_CIPHER_AES_GCM_256_SALT_SIZE, in do_tls_getsockopt_conf()
415 memcpy(crypto_info_aes_gcm_256->rec_seq, cctx->rec_seq, in do_tls_getsockopt_conf()

Completed in 40 milliseconds

123