Home
last modified time | relevance | path

Searched refs:size_t (Results 1 – 25 of 7199) sorted by relevance

12345678910>>...288

/linux-6.12.1/lib/zstd/common/
Dhuf.h51 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 …]
Dfse.h64 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 …]
/linux-6.12.1/include/linux/
Dzstd_lib.h113 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 …]
Dzstd.h35 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);
174 unsigned long long estimated_src_size, size_t dict_size);
191 size_t zstd_cctx_workspace_bound(const zstd_compression_parameters *parameters);
202 zstd_cctx *zstd_init_cctx(void *workspace, size_t workspace_size);
217 size_t zstd_compress_cctx(zstd_cctx *cctx, void *dst, size_t dst_capacity,
218 const void *src, size_t src_size, const zstd_parameters *parameters);
234 size_t zstd_free_cctx(zstd_cctx* cctx);
[all …]
Duio.h20 size_t iov_len;
38 size_t iov_offset;
39 size_t count;
47 size_t iov_offset;
75 size_t count;
160 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length()
163 size_t ret = 0; in iov_length()
170 size_t copy_page_from_iter_atomic(struct page *page, size_t offset,
171 size_t bytes, struct iov_iter *i);
172 void iov_iter_advance(struct iov_iter *i, size_t bytes);
[all …]
Dstring.h17 extern void *memdup_user(const void __user *, size_t) __realloc_size(2);
18 extern void *vmemdup_user(const void __user *, size_t) __realloc_size(2);
19 extern void *memdup_user_nul(const void __user *, size_t);
31 void *memdup_array_user(const void __user *src, size_t n, size_t size) in memdup_array_user()
33 size_t nbytes; in memdup_array_user()
51 void *vmemdup_array_user(const void __user *src, size_t n, size_t size) in vmemdup_array_user()
53 size_t nbytes; in vmemdup_array_user()
72 ssize_t sized_strscpy(char *, const char *, size_t);
118 const size_t __count = (count); \
157 extern size_t strlcat(char *, const char *, __kernel_size_t);
[all …]
Ddma-map-ops.h17 void *(*alloc)(struct device *dev, size_t size,
20 void (*free)(struct device *dev, size_t size, void *vaddr,
22 struct page *(*alloc_pages_op)(struct device *dev, size_t size,
25 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr,
28 void *, dma_addr_t, size_t, unsigned long attrs);
31 void *cpu_addr, dma_addr_t dma_addr, size_t size,
35 unsigned long offset, size_t size,
38 size_t size, enum dma_data_direction dir,
50 size_t size, enum dma_data_direction dir,
53 size_t size, enum dma_data_direction dir,
[all …]
Dparport.h86 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 …]
Diov_iter.h15 typedef size_t (*iov_step_f)(void *iter_base, size_t progress, size_t len,
17 typedef size_t (*iov_ustep_f)(void __user *iter_base, size_t progress, size_t len,
24 size_t iterate_ubuf(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_ubuf()
28 size_t progress = 0, remain; in iterate_ubuf()
41 size_t iterate_iovec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_iovec()
45 size_t progress = 0, skip = iter->iov_offset; in iterate_iovec()
48 size_t remain, consumed; in iterate_iovec()
49 size_t part = min(len, p->iov_len - skip); in iterate_iovec()
75 size_t iterate_kvec(struct iov_iter *iter, size_t len, void *priv, void *priv2, in iterate_kvec()
79 size_t progress = 0, skip = iter->iov_offset; in iterate_kvec()
[all …]
Dfortify-string.h55 void __fortify_report(const u8 reason, const size_t avail, const size_t size);
56 void __fortify_panic(const u8 reason, const size_t avail, const size_t size) __cold __noreturn;
59 void __read_overflow2_field(size_t avail, size_t wanted) __compiletime_warning("detected read beyon…
61 void __write_overflow_field(size_t avail, size_t wanted) __compiletime_warning("detected write beyo…
66 size_t __ret = SIZE_MAX; \
67 const size_t __p_size = __member_size(p); \
70 size_t __p_len = __p_size - 1; \
199 const size_t p_size = __member_size(p); in strncpy()
221 const size_t p_size = __member_size(p); in strnlen()
222 const size_t p_len = __compiletime_strlen(p); in strnlen()
[all …]
/linux-6.12.1/tools/perf/trace/beauty/
Dbeauty.h30 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);
125 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg);
128 bool syscall_arg__strtoul_strarray(char *bf, size_t size, struct syscall_arg *arg, u64 *ret);
[all …]
/linux-6.12.1/lib/zstd/compress/
Dzstd_lazy.h32 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 …]
Dhuf_compress.c44 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 …]
Dzstd_compress_superblock.c41 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 …]
Dzstd_cwksp.h161 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 …]
/linux-6.12.1/drivers/hid/
Dhid-uclogic-rdesc.h27 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 …]
Dhid-uclogic-rdesc.c64 const size_t uclogic_rdesc_wp4030u_fixed_size =
141 const size_t uclogic_rdesc_wp5540u_fixed_size =
218 const size_t uclogic_rdesc_wp8060u_fixed_size =
266 const size_t uclogic_rdesc_wp1062_fixed_size =
343 const size_t uclogic_rdesc_pf1209_fixed_size =
389 const size_t uclogic_rdesc_twhl850_fixed0_size =
429 const size_t uclogic_rdesc_twhl850_fixed1_size =
455 const size_t uclogic_rdesc_twhl850_fixed2_size =
504 const size_t uclogic_rdesc_twha60_fixed0_size =
532 const size_t uclogic_rdesc_twha60_fixed1_size =
[all …]
/linux-6.12.1/arch/arm/mm/
Dcache.c17 void v4_flush_kern_dcache_area(void *, size_t);
18 void v4_dma_map_area(const void *, size_t, int);
19 void v4_dma_unmap_area(const void *, size_t, int);
45 void v4wb_flush_kern_dcache_area(void *, size_t);
46 void v4wb_dma_map_area(const void *, size_t, int);
47 void v4wb_dma_unmap_area(const void *, size_t, int);
73 void v4wt_flush_kern_dcache_area(void *, size_t);
74 void v4wt_dma_map_area(const void *, size_t, int);
75 void v4wt_dma_unmap_area(const void *, size_t, int);
101 void fa_flush_kern_dcache_area(void *, size_t);
[all …]
/linux-6.12.1/lib/zstd/
Dzstd_decompress_module.c21 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()
53 size_t zstd_free_dctx(zstd_dctx *dctx) in zstd_free_dctx()
59 zstd_ddict *zstd_create_ddict_byreference(const void *dict, size_t dict_size, in zstd_create_ddict_byreference()
68 size_t zstd_free_ddict(zstd_ddict *ddict) in zstd_free_ddict()
74 zstd_dctx *zstd_init_dctx(void *workspace, size_t workspace_size) in zstd_init_dctx()
82 size_t zstd_decompress_dctx(zstd_dctx *dctx, void *dst, size_t dst_capacity, in zstd_decompress_dctx()
83 const void *src, size_t src_size) in zstd_decompress_dctx()
[all …]
/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress.c87 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.12.1/tools/testing/selftests/arm64/pauth/
Dhelper.h12 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.12.1/arch/s390/include/asm/
Dstring.h19 void *memcpy(void *dest, const void *src, size_t n);
20 void *memset(void *s, int c, size_t n);
21 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.12.1/lib/
Diov_iter.c17 size_t copy_to_user_iter(void __user *iter_to, size_t progress, in copy_to_user_iter()
18 size_t len, void *from, void *priv2) in copy_to_user_iter()
31 size_t copy_to_user_iter_nofault(void __user *iter_to, size_t progress, in copy_to_user_iter_nofault()
32 size_t len, void *from, void *priv2) in copy_to_user_iter_nofault()
45 size_t copy_from_user_iter(void __user *iter_from, size_t progress, in copy_from_user_iter()
46 size_t len, void *to, void *priv2) in copy_from_user_iter()
48 size_t res = len; in copy_from_user_iter()
62 size_t memcpy_to_iter(void *iter_to, size_t progress, in memcpy_to_iter()
63 size_t len, void *from, void *priv2) in memcpy_to_iter()
70 size_t memcpy_from_iter(void *iter_from, size_t progress, in memcpy_from_iter()
[all …]
/linux-6.12.1/tools/include/nolibc/
Dstring.h13 static void *malloc(size_t len);
20 int memcmp(const void *s1, const void *s2, size_t n) in memcmp()
22 size_t ofs = 0; in memcmp()
36 void *memmove(void *dst, const void *src, size_t len) in memmove()
38 size_t dir, pos; in memmove()
60 void *memcpy(void *dst, const void *src, size_t len) in memcpy()
62 size_t pos = 0; in memcpy()
77 void *memset(void *dst, int b, size_t len) in memset()
128 size_t strlen(const char *str) in strlen()
130 size_t len; in strlen()
[all …]
/linux-6.12.1/tools/perf/util/
Dcompress.h35 ssize_t zstd_compress_stream_to_records(struct zstd_data *data, void *dst, size_t dst_size,
36 void *src, size_t src_size, size_t max_record_size,
37 size_t process_header(void *record, size_t increment));
39 size_t zstd_decompress_stream(struct zstd_data *data, void *src, size_t src_size,
40 void *dst, size_t dst_size);
55 void *dst __maybe_unused, size_t dst_size __maybe_unused, in zstd_compress_stream_to_records()
56 void *src __maybe_unused, size_t src_size __maybe_unused, in zstd_compress_stream_to_records()
57 size_t max_record_size __maybe_unused, in zstd_compress_stream_to_records()
58 size_t process_header(void *record, size_t increment) __maybe_unused) in zstd_compress_stream_to_records()
63 static inline size_t zstd_decompress_stream(struct zstd_data *data __maybe_unused, void *src __mayb… in zstd_decompress_stream()
[all …]

12345678910>>...288