/linux-6.6.21/lib/zstd/common/ |
D | huf.h | 51 HUF_PUBLIC_API size_t HUF_compress(void* dst, size_t dstCapacity, 52 const void* src, size_t srcSize); 64 HUF_PUBLIC_API size_t HUF_decompress(void* dst, size_t originalSize, 65 const void* cSrc, size_t cSrcSize); 70 HUF_PUBLIC_API size_t HUF_compressBound(size_t size); /*< maximum compressed size (worst case) */ 73 HUF_PUBLIC_API unsigned HUF_isError(size_t code); /*< tells if a return value is an error … 74 HUF_PUBLIC_API const char* HUF_getErrorName(size_t code); /*< provides error code string (useful f… 83 HUF_PUBLIC_API size_t HUF_compress2 (void* dst, size_t dstCapacity, 84 const void* src, size_t srcSize, 92 HUF_PUBLIC_API size_t HUF_compress4X_wksp (void* dst, size_t dstCapacity, [all …]
|
D | fse.h | 64 FSE_PUBLIC_API size_t FSE_compress(void* dst, size_t dstCapacity, 65 const void* src, size_t srcSize); 77 FSE_PUBLIC_API size_t FSE_decompress(void* dst, size_t dstCapacity, 78 const void* cSrc, size_t cSrcSize); 84 FSE_PUBLIC_API size_t FSE_compressBound(size_t size); /* maximum compressed size */ 87 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error … 88 FSE_PUBLIC_API const char* FSE_getErrorName(size_t code); /* provides error code string (useful f… 102 FSE_PUBLIC_API size_t FSE_compress2 (void* dst, size_t dstSize, const void* src, size_t srcSize, un… 132 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbo… 145 FSE_PUBLIC_API size_t FSE_normalizeCount(short* normalizedCounter, unsigned tableLog, [all …]
|
D | entropy_common.c | 31 unsigned FSE_isError(size_t code) { return ERR_isError(code); } in FSE_isError() 32 const char* FSE_getErrorName(size_t code) { return ERR_getErrorName(code); } in FSE_getErrorName() 34 unsigned HUF_isError(size_t code) { return ERR_isError(code); } in HUF_isError() 35 const char* HUF_getErrorName(size_t code) { return ERR_getErrorName(code); } in HUF_getErrorName() 59 size_t FSE_readNCount_body(short* normalizedCounter, unsigned* maxSVPtr, unsigned* tableLogPtr, in FSE_readNCount_body() 60 const void* headerBuffer, size_t hbSize) in FSE_readNCount_body() 78 { size_t const countSize = FSE_readNCount(normalizedCounter, maxSVPtr, tableLogPtr, in FSE_readNCount_body() 207 static size_t FSE_readNCount_body_default( in FSE_readNCount_body_default() 209 const void* headerBuffer, size_t hbSize) in FSE_readNCount_body_default() 215 BMI2_TARGET_ATTRIBUTE static size_t FSE_readNCount_body_bmi2( in FSE_readNCount_body_bmi2() [all …]
|
/linux-6.6.21/include/linux/ |
D | zstd_lib.h | 113 ZSTDLIB_API size_t ZSTD_compress( void* dst, size_t dstCapacity, 114 const void* src, size_t srcSize, 123 ZSTDLIB_API size_t ZSTD_decompress( void* dst, size_t dstCapacity, 124 const void* src, size_t compressedSize); 151 ZSTDLIB_API unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize); 159 ZSTDLIB_API unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize); 167 ZSTDLIB_API size_t ZSTD_findFrameCompressedSize(const void* src, size_t srcSize); 172 ZSTDLIB_API size_t ZSTD_compressBound(size_t srcSize); /*!< maximum compressed size in worst c… 173 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function resul… 174 ZSTDLIB_API const char* ZSTD_getErrorName(size_t code); /*!< provides readable string from an e… [all …]
|
D | uio.h | 19 size_t iov_len; 36 size_t iov_offset; 37 size_t count; 48 size_t iov_offset; 77 size_t count; 156 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length() 159 size_t ret = 0; in iov_length() 166 size_t copy_page_from_iter_atomic(struct page *page, size_t offset, 167 size_t bytes, struct iov_iter *i); 168 void iov_iter_advance(struct iov_iter *i, size_t bytes); [all …]
|
D | zstd.h | 35 size_t zstd_compress_bound(size_t src_size); 43 unsigned int zstd_is_error(size_t code); 56 zstd_error_code zstd_get_error_code(size_t code); 64 const char *zstd_get_error_name(size_t code); 154 size_t zstd_cctx_workspace_bound(const zstd_compression_parameters *parameters); 165 zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size); 180 size_t zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacity, 181 const void *src, size_t src_size, const zstd_parameters *parameters); 193 size_t zstd_dctx_workspace_bound(void); 204 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size); [all …]
|
D | string.h | 15 extern void *memdup_user(const void __user *, size_t); 16 extern void *vmemdup_user(const void __user *, size_t); 17 extern void *memdup_user_nul(const void __user *, size_t); 28 static inline void *memdup_array_user(const void __user *src, size_t n, size_t size) in memdup_array_user() 30 size_t nbytes; in memdup_array_user() 47 static inline void *vmemdup_array_user(const void __user *src, size_t n, size_t size) in vmemdup_array_user() 49 size_t nbytes; in vmemdup_array_user() 69 size_t strlcpy(char *, const char *, size_t); 72 ssize_t strscpy(char *, const char *, size_t); 76 ssize_t strscpy_pad(char *dest, const char *src, size_t count); [all …]
|
D | fortify-string.h | 15 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyon… 17 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyo… 22 size_t __ret = SIZE_MAX; \ 23 const size_t __p_size = __member_size(p); \ 26 size_t __p_len = __p_size - 1; \ 145 const size_t p_size = __member_size(p); in strncpy() 167 const size_t p_size = __member_size(p); in strnlen() 168 const size_t p_len = __compiletime_strlen(p); in strnlen() 169 size_t ret; in strnlen() 209 const size_t p_size = __member_size(p); in __fortify_strlen() [all …]
|
D | dma-map-ops.h | 26 void *(*alloc)(struct device *dev, size_t size, 29 void (*free)(struct device *dev, size_t size, void *vaddr, 31 struct page *(*alloc_pages)(struct device *dev, size_t size, 34 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr, 36 struct sg_table *(*alloc_noncontiguous)(struct device *dev, size_t size, 39 void (*free_noncontiguous)(struct device *dev, size_t size, 42 void *, dma_addr_t, size_t, unsigned long attrs); 45 void *cpu_addr, dma_addr_t dma_addr, size_t size, 49 unsigned long offset, size_t size, 52 size_t size, enum dma_data_direction dir, [all …]
|
D | parport.h | 86 size_t (*epp_write_data) (struct parport *port, const void *buf, 87 size_t len, int flags); 88 size_t (*epp_read_data) (struct parport *port, void *buf, size_t len, 90 size_t (*epp_write_addr) (struct parport *port, const void *buf, 91 size_t len, int flags); 92 size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len, 95 size_t (*ecp_write_data) (struct parport *port, const void *buf, 96 size_t len, int flags); 97 size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len, 99 size_t (*ecp_write_addr) (struct parport *port, const void *buf, [all …]
|
D | slab.h | 226 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __realloc_size(2); 229 size_t __ksize(const void *objp); 245 size_t ksize(const void *objp); 443 static __always_inline unsigned int __kmalloc_index(size_t size, in __kmalloc_index() 487 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1); 511 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p); 512 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, void **p); 514 static __always_inline void kfree_bulk(size_t size, void **p) in kfree_bulk() 519 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment 524 void *kmalloc_trace(struct kmem_cache *s, gfp_t flags, size_t size) [all …]
|
/linux-6.6.21/tools/perf/trace/beauty/ |
D | beauty.h | 30 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool sho… 31 size_t strarray__scnprintf_suffix(struct strarray *sa, char *bf, size_t size, const char *intfmt, b… 32 size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsi… 34 bool strarray__strtoul(struct strarray *sa, char *bf, size_t size, u64 *ret); 35 bool strarray__strtoul_flags(struct strarray *sa, char *bf, size_t size, u64 *ret); 57 size_t strarrays__scnprintf(struct strarrays *sas, char *bf, size_t size, const char *intfmt, bool … 59 bool strarrays__strtoul(struct strarrays *sas, char *bf, size_t size, u64 *ret); 61 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size); 124 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg); 127 bool syscall_arg__strtoul_strarray(char *bf, size_t size, struct syscall_arg *arg, u64 *ret); [all …]
|
/linux-6.6.21/lib/zstd/compress/ |
D | zstd_lazy.h | 32 size_t ZSTD_compressBlock_btlazy2( 34 void const* src, size_t srcSize); 35 size_t ZSTD_compressBlock_lazy2( 37 void const* src, size_t srcSize); 38 size_t ZSTD_compressBlock_lazy( 40 void const* src, size_t srcSize); 41 size_t ZSTD_compressBlock_greedy( 43 void const* src, size_t srcSize); 44 size_t ZSTD_compressBlock_lazy2_row( 46 void const* src, size_t srcSize); [all …]
|
D | huf_compress.c | 44 unsigned HUF_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbolValue) in HUF_optimalTableLog() 55 static void* HUF_alignUpWorkspace(void* workspace, size_t* workspaceSizePtr, size_t align) in HUF_alignUpWorkspace() 57 size_t const mask = align - 1; in HUF_alignUpWorkspace() 58 size_t const rem = (size_t)workspace & mask; in HUF_alignUpWorkspace() 59 size_t const add = (align - rem) & mask; in HUF_alignUpWorkspace() 65 assert(((size_t)aligned & mask) == 0); in HUF_alignUpWorkspace() 89 static size_t HUF_compressWeights(void* dst, size_t dstSize, const void* weightTable, size_t wtSize… in HUF_compressWeights() 114 …{ CHECK_V_F(hSize, FSE_writeNCount(op, (size_t)(oend-op), wksp->norm, maxSymbolValue, tableLog) … in HUF_compressWeights() 120 …{ CHECK_V_F(cSize, FSE_compress_usingCTable(op, (size_t)(oend - op), weightTable, wtSize, wksp->… in HUF_compressWeights() 125 return (size_t)(op-ostart); in HUF_compressWeights() [all …]
|
D | zstd_cwksp.h | 161 MEM_STATIC size_t ZSTD_cwksp_available_space(ZSTD_cwksp* ws); 176 MEM_STATIC size_t ZSTD_cwksp_align(size_t size, size_t const align) { in ZSTD_cwksp_align() 177 size_t const mask = align - 1; in ZSTD_cwksp_align() 194 MEM_STATIC size_t ZSTD_cwksp_alloc_size(size_t size) { in ZSTD_cwksp_alloc_size() 204 MEM_STATIC size_t ZSTD_cwksp_aligned_alloc_size(size_t size) { in ZSTD_cwksp_aligned_alloc_size() 212 MEM_STATIC size_t ZSTD_cwksp_slack_space_required(void) { in ZSTD_cwksp_slack_space_required() 220 size_t const slackSpace = ZSTD_CWKSP_ALIGNMENT_BYTES; in ZSTD_cwksp_slack_space_required() 229 MEM_STATIC size_t ZSTD_cwksp_bytes_to_align_ptr(void* ptr, const size_t alignBytes) { in ZSTD_cwksp_bytes_to_align_ptr() 230 size_t const alignBytesMask = alignBytes - 1; in ZSTD_cwksp_bytes_to_align_ptr() 231 size_t const bytes = (alignBytes - ((size_t)ptr & (alignBytesMask))) & alignBytesMask; in ZSTD_cwksp_bytes_to_align_ptr() [all …]
|
D | zstd_compress_superblock.c | 41 static size_t ZSTD_compressSubBlock_literal(const HUF_CElt* hufTable, in ZSTD_compressSubBlock_literal() 43 const BYTE* literals, size_t litSize, in ZSTD_compressSubBlock_literal() 44 void* dst, size_t dstSize, in ZSTD_compressSubBlock_literal() 47 size_t const header = writeEntropy ? 200 : 0; in ZSTD_compressSubBlock_literal() 48 size_t const lhSize = 3 + (litSize >= (1 KB - header)) + (litSize >= (16 KB - header)); in ZSTD_compressSubBlock_literal() 54 size_t cLitSize = 0; in ZSTD_compressSubBlock_literal() 80 …{ const size_t cSize = singleStream ? HUF_compress1X_usingCTable(op, oend-op, literals, litSize,… in ZSTD_compressSubBlock_literal() 94 if (lhSize < (size_t)(3 + (cLitSize >= 1 KB) + (cLitSize >= 16 KB))) { in ZSTD_compressSubBlock_literal() 129 static size_t ZSTD_seqDecompressedSize(seqStore_t const* seqStore, const seqDef* sequences, size_t … in ZSTD_seqDecompressedSize() 133 size_t matchLengthSum = 0; in ZSTD_seqDecompressedSize() [all …]
|
/linux-6.6.21/drivers/hid/ |
D | hid-uclogic-rdesc.h | 27 extern const size_t uclogic_rdesc_wp4030u_fixed_size; 31 extern const size_t uclogic_rdesc_wp5540u_fixed_size; 35 extern const size_t uclogic_rdesc_wp8060u_fixed_size; 45 extern const size_t uclogic_rdesc_wp1062_fixed_size; 52 extern const size_t uclogic_rdesc_pf1209_fixed_size; 61 extern const size_t uclogic_rdesc_twhl850_fixed0_size; 65 extern const size_t uclogic_rdesc_twhl850_fixed1_size; 69 extern const size_t uclogic_rdesc_twhl850_fixed2_size; 77 extern const size_t uclogic_rdesc_twha60_fixed0_size; 81 extern const size_t uclogic_rdesc_twha60_fixed1_size; [all …]
|
D | hid-uclogic-rdesc.c | 63 const size_t uclogic_rdesc_wp4030u_fixed_size = 140 const size_t uclogic_rdesc_wp5540u_fixed_size = 217 const size_t uclogic_rdesc_wp8060u_fixed_size = 265 const size_t uclogic_rdesc_wp1062_fixed_size = 342 const size_t uclogic_rdesc_pf1209_fixed_size = 388 const size_t uclogic_rdesc_twhl850_fixed0_size = 428 const size_t uclogic_rdesc_twhl850_fixed1_size = 454 const size_t uclogic_rdesc_twhl850_fixed2_size = 503 const size_t uclogic_rdesc_twha60_fixed0_size = 531 const size_t uclogic_rdesc_twha60_fixed1_size = [all …]
|
/linux-6.6.21/tools/testing/selftests/arm64/pauth/ |
D | helper.h | 12 size_t keyia; 13 size_t keyib; 14 size_t keyda; 15 size_t keydb; 16 size_t keyg; 22 size_t keyia_sign(size_t val); 23 size_t keyib_sign(size_t val); 24 size_t keyda_sign(size_t val); 25 size_t keydb_sign(size_t val); 26 size_t keyg_sign(size_t val);
|
/linux-6.6.21/lib/zstd/decompress/ |
D | zstd_decompress.c | 87 static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getIndex() 97 static size_t ZSTD_DDictHashSet_emplaceDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict) { in ZSTD_DDictHashSet_emplaceDDict() 99 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_emplaceDDict() 100 const size_t idxRangeMask = hashSet->ddictPtrTableSize - 1; in ZSTD_DDictHashSet_emplaceDDict() 123 static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_expand() 124 size_t newTableSize = hashSet->ddictPtrTableSize * DDICT_HASHSET_RESIZE_FACTOR; in ZSTD_DDictHashSet_expand() 127 size_t oldTableSize = hashSet->ddictPtrTableSize; in ZSTD_DDictHashSet_expand() 128 size_t i; in ZSTD_DDictHashSet_expand() 149 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_getDDict() 150 const size_t idxRangeMask = hashSet->ddictPtrTableSize - 1; in ZSTD_DDictHashSet_getDDict() [all …]
|
/linux-6.6.21/tools/perf/util/ |
D | compress.h | 32 size_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size, 33 void *src, size_t src_size, size_t max_record_size, 34 size_t process_header(void *record, size_t increment)); 36 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size, 37 void *dst, size_t dst_size); 51 size_t zstd_compress_stream_to_records(struct zstd_data *data __maybe_unused, in zstd_compress_stream_to_records() 52 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records() 53 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records() 54 size_t max_record_size __maybe_unused, in zstd_compress_stream_to_records() 55 size_t process_header(void *record, size_t increment) __maybe_unused) in zstd_compress_stream_to_records() [all …]
|
/linux-6.6.21/arch/s390/include/asm/ |
D | string.h | 22 void *memcpy(void *dest, const void *src, size_t n); 23 void *memset(void *s, int c, size_t n); 24 void *memmove(void *dest, const void *src, size_t n); 41 int memcmp(const void *s1, const void *s2, size_t n); 43 size_t strlcat(char *dest, const char *src, size_t n); 44 char *strncat(char *dest, const char *src, size_t n); 45 char *strncpy(char *dest, const char *src, size_t n); 70 void *__memcpy(void *dest, const void *src, size_t n); 71 void *__memset(void *s, int c, size_t n); 72 void *__memmove(void *dest, const void *src, size_t n); [all …]
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | cyttsp4_core.h | 241 size_t ofs; /* abs byte offset */ 242 size_t size; /* size in bits */ 243 size_t max; /* max value */ 244 size_t bofs; /* bit offset */ 248 size_t chip_type; 249 size_t cmd_ofs; 250 size_t rep_ofs; 251 size_t rep_sz; 252 size_t num_btns; 253 size_t num_btn_regs; /* ceil(num_btns/4) */ [all …]
|
/linux-6.6.21/lib/zstd/ |
D | zstd_decompress_module.c | 21 unsigned int zstd_is_error(size_t code) in zstd_is_error() 27 zstd_error_code zstd_get_error_code(size_t code) in zstd_get_error_code() 33 const char *zstd_get_error_name(size_t code) in zstd_get_error_name() 41 size_t zstd_dctx_workspace_bound(void) in zstd_dctx_workspace_bound() 47 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size) in zstd_init_dctx() 55 size_t zstd_decompress_dctx(zstd_dctx *dctx, void *dst, size_t dst_capacity, in zstd_decompress_dctx() 56 const void *src, size_t src_size) in zstd_decompress_dctx() 62 size_t zstd_dstream_workspace_bound(size_t max_window_size) in zstd_dstream_workspace_bound() 68 zstd_dstream *zstd_init_dstream(size_t max_window_size, void *workspace, in zstd_init_dstream() 69 size_t workspace_size) in zstd_init_dstream() [all …]
|
/linux-6.6.21/tools/include/nolibc/ |
D | string.h | 12 static void *malloc(size_t len); 19 int memcmp(const void *s1, const void *s2, size_t n) in memcmp() 21 size_t ofs = 0; in memcmp() 31 void *_nolibc_memcpy_up(void *dst, const void *src, size_t len) in _nolibc_memcpy_up() 33 size_t pos = 0; in _nolibc_memcpy_up() 43 void *_nolibc_memcpy_down(void *dst, const void *src, size_t len) in _nolibc_memcpy_down() 56 void *memmove(void *dst, const void *src, size_t len) in memmove() 58 size_t dir, pos; in memmove() 78 void *memcpy(void *dst, const void *src, size_t len) in memcpy() 87 void *memset(void *dst, int b, size_t len) in memset() [all …]
|