Home
last modified time | relevance | path

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

12345678910>>...239

/linux-6.1.9/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 …]
Dbitstream.h49 size_t bitContainer;
56 MEM_STATIC size_t BIT_initCStream(BIT_CStream_t* bitC, void* dstBuffer, size_t dstCapacity);
57 MEM_STATIC void BIT_addBits(BIT_CStream_t* bitC, size_t value, unsigned nbBits);
59 MEM_STATIC size_t BIT_closeCStream(BIT_CStream_t* bitC);
83 size_t bitContainer;
96 MEM_STATIC size_t BIT_initDStream(BIT_DStream_t* bitD, const void* srcBuffer, size_t srcSize);
97 MEM_STATIC size_t BIT_readBits(BIT_DStream_t* bitD, unsigned nbBits);
116 MEM_STATIC void BIT_addBitsFast(BIT_CStream_t* bitC, size_t value, unsigned nbBits);
122 MEM_STATIC size_t BIT_readBitsFast(BIT_DStream_t* bitD, unsigned nbBits);
169 MEM_STATIC size_t BIT_initCStream(BIT_CStream_t* bitC, in BIT_initCStream()
[all …]
/linux-6.1.9/include/linux/
Dzstd_lib.h106 ZSTDLIB_API size_t ZSTD_compress( void* dst, size_t dstCapacity,
107 const void* src, size_t srcSize,
116 ZSTDLIB_API size_t ZSTD_decompress( void* dst, size_t dstCapacity,
117 const void* src, size_t compressedSize);
144 ZSTDLIB_API unsigned long long ZSTD_getFrameContentSize(const void *src, size_t srcSize);
152 ZSTDLIB_API unsigned long long ZSTD_getDecompressedSize(const void* src, size_t srcSize);
160 ZSTDLIB_API size_t ZSTD_findFrameCompressedSize(const void* src, size_t srcSize);
165 ZSTDLIB_API size_t ZSTD_compressBound(size_t srcSize); /*!< maximum compressed size in worst c…
166 ZSTDLIB_API unsigned ZSTD_isError(size_t code); /*!< tells if a `size_t` function resul…
167 ZSTDLIB_API const char* ZSTD_getErrorName(size_t code); /*!< provides readable string from an e…
[all …]
Duio.h18 size_t iov_len;
33 size_t iov_offset;
34 size_t count;
44 size_t iov_offset;
47 size_t count;
131 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length()
134 size_t ret = 0; in iov_length()
150 size_t copy_page_from_iter_atomic(struct page *page, unsigned offset,
151 size_t bytes, struct iov_iter *i);
152 void iov_iter_advance(struct iov_iter *i, size_t bytes);
[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);
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 …]
Ddma-map-ops.h25 void *(*alloc)(struct device *dev, size_t size,
28 void (*free)(struct device *dev, size_t size, void *vaddr,
30 struct page *(*alloc_pages)(struct device *dev, size_t size,
33 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr,
35 struct sg_table *(*alloc_noncontiguous)(struct device *dev, size_t size,
38 void (*free_noncontiguous)(struct device *dev, size_t size,
41 void *, dma_addr_t, size_t, unsigned long attrs);
44 void *cpu_addr, dma_addr_t dma_addr, size_t size,
48 unsigned long offset, size_t size,
51 size_t size, enum dma_data_direction dir,
[all …]
Dstring.h13 extern void *memdup_user(const void __user *, size_t);
14 extern void *vmemdup_user(const void __user *, size_t);
15 extern void *memdup_user_nul(const void __user *, size_t);
29 size_t strlcpy(char *, const char *, size_t);
32 ssize_t strscpy(char *, const char *, size_t);
36 ssize_t strscpy_pad(char *dest, const char *src, size_t count);
45 extern size_t strlcat(char *, const char *, __kernel_size_t);
57 extern int strncasecmp(const char *s1, const char *s2, size_t n);
65 extern char * strnchrnul(const char *, size_t, int);
67 extern char * strnchr(const char *, size_t, int);
[all …]
Dfortify-string.h15 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 size_t __p_size = __member_size(p); \
26 size_t __p_len = __p_size - 1; \
138 size_t p_size = __member_size(p); in strncpy()
150 size_t p_size = __member_size(p); in strcat()
162 size_t p_size = __member_size(p); in strnlen()
163 size_t p_len = __compiletime_strlen(p); in strnlen()
164 size_t ret; in strnlen()
[all …]
Dparport.h91 size_t (*epp_write_data) (struct parport *port, const void *buf,
92 size_t len, int flags);
93 size_t (*epp_read_data) (struct parport *port, void *buf, size_t len,
95 size_t (*epp_write_addr) (struct parport *port, const void *buf,
96 size_t len, int flags);
97 size_t (*epp_read_addr) (struct parport *port, void *buf, size_t len,
100 size_t (*ecp_write_data) (struct parport *port, const void *buf,
101 size_t len, int flags);
102 size_t (*ecp_read_data) (struct parport *port, void *buf, size_t len,
104 size_t (*ecp_write_addr) (struct parport *port, const void *buf,
[all …]
Dslab.h195 void * __must_check krealloc(const void *objp, size_t new_size, gfp_t flags) __realloc_size(2);
198 size_t __ksize(const void *objp);
212 size_t ksize(const void *objp);
398 static __always_inline unsigned int __kmalloc_index(size_t size, in __kmalloc_index()
443 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __alloc_size(1);
456 void kmem_cache_free_bulk(struct kmem_cache *s, size_t size, void **p);
457 int kmem_cache_alloc_bulk(struct kmem_cache *s, gfp_t flags, size_t size, void **p);
463 static __always_inline void kfree_bulk(size_t size, void **p) in kfree_bulk()
468 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment
473 void *kmalloc_trace(struct kmem_cache *s, gfp_t flags, size_t size)
[all …]
/linux-6.1.9/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.1.9/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.c63 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.1.9/lib/zstd/compress/
Dzstd_lazy.h31 size_t ZSTD_compressBlock_btlazy2(
33 void const* src, size_t srcSize);
34 size_t ZSTD_compressBlock_lazy2(
36 void const* src, size_t srcSize);
37 size_t ZSTD_compressBlock_lazy(
39 void const* src, size_t srcSize);
40 size_t ZSTD_compressBlock_greedy(
42 void const* src, size_t srcSize);
44 size_t ZSTD_compressBlock_btlazy2_dictMatchState(
46 void const* src, size_t srcSize);
[all …]
Dzstd_compress_internal.h47 size_t dictSize;
54 size_t dictSize;
91 size_t pos; /* The index in seq where reading stopped. pos <= size. */
92 size_t posInSequence; /* The position within the sequence at seq[pos] where reading
94 size_t size; /* The number of sequences. <= capacity. */
95 size_t capacity; /* The capacity starting from `seq` pointer */
194 size_t splitIndices[LDM_BATCH_SIZE];
210 size_t seqIndex;
211 size_t maxSequences;
222 size_t targetCBlockSize; /* Tries to fit compressed block size to be around targetCBlockSize.
[all …]
Dzstd_compress_superblock.c33 size_t hufDesSize;
46 size_t fseTablesSize;
47size_t lastCountSize; /* This is to account for bug in 1.3.4. More detail in ZSTD_compressSubBlock…
61 static size_t ZSTD_buildSuperBlockEntropy_literal(void* const src, size_t srcSize, in ZSTD_buildSuperBlockEntropy_literal()
66 void* workspace, size_t wkspSize) in ZSTD_buildSuperBlockEntropy_literal()
72 const size_t countWkspSize = (HUF_SYMBOLVALUE_MAX + 1) * sizeof(unsigned); in ZSTD_buildSuperBlockEntropy_literal()
74 const size_t nodeWkspSize = wkspEnd-nodeWksp; in ZSTD_buildSuperBlockEntropy_literal()
92 …{ size_t const minLitSize = (prevHuf->repeatMode == HUF_repeat_valid) ? 6 : COMPRESS_LITERALS_SI… in ZSTD_buildSuperBlockEntropy_literal()
101 …{ size_t const largest = HIST_count_wksp (countWksp, &maxSymbolValue, (const BYTE*)src, srcSize,… in ZSTD_buildSuperBlockEntropy_literal()
123 { size_t const maxBits = HUF_buildCTable_wksp((HUF_CElt*)nextHuf->CTable, countWksp, in ZSTD_buildSuperBlockEntropy_literal()
[all …]
/linux-6.1.9/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);
Dhelper.c6 size_t keyia_sign(size_t ptr) in keyia_sign()
12 size_t keyib_sign(size_t ptr) in keyib_sign()
18 size_t keyda_sign(size_t ptr) in keyda_sign()
24 size_t keydb_sign(size_t ptr) in keydb_sign()
30 size_t keyg_sign(size_t ptr) in keyg_sign()
33 size_t dest = 0; in keyg_sign()
34 size_t modifier = 0; in keyg_sign()
/linux-6.1.9/lib/zstd/decompress/
Dzstd_decompress.c88 static size_t ZSTD_DDictHashSet_getIndex(const ZSTD_DDictHashSet* hashSet, U32 dictID) { in ZSTD_DDictHashSet_getIndex()
98 static size_t ZSTD_DDictHashSet_emplaceDDict(ZSTD_DDictHashSet* hashSet, const ZSTD_DDict* ddict) { in ZSTD_DDictHashSet_emplaceDDict()
100 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_emplaceDDict()
101 const size_t idxRangeMask = hashSet->ddictPtrTableSize - 1; in ZSTD_DDictHashSet_emplaceDDict()
124 static size_t ZSTD_DDictHashSet_expand(ZSTD_DDictHashSet* hashSet, ZSTD_customMem customMem) { in ZSTD_DDictHashSet_expand()
125 size_t newTableSize = hashSet->ddictPtrTableSize * DDICT_HASHSET_RESIZE_FACTOR; in ZSTD_DDictHashSet_expand()
128 size_t oldTableSize = hashSet->ddictPtrTableSize; in ZSTD_DDictHashSet_expand()
129 size_t i; in ZSTD_DDictHashSet_expand()
150 size_t idx = ZSTD_DDictHashSet_getIndex(hashSet, dictID); in ZSTD_DDictHashSet_getDDict()
151 const size_t idxRangeMask = hashSet->ddictPtrTableSize - 1; in ZSTD_DDictHashSet_getDDict()
[all …]
/linux-6.1.9/tools/perf/util/
Dcompress.h32 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.1.9/arch/s390/include/asm/
Dstring.h22 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);
58 extern void *__memcpy(void *dest, const void *src, size_t n);
59 extern void *__memset(void *s, int c, size_t n);
60 extern void *__memmove(void *dest, const void *src, size_t n);
[all …]
/linux-6.1.9/drivers/input/touchscreen/
Dcyttsp4_core.h241 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.1.9/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()
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.1.9/tools/include/nolibc/
Dstring.h12 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 …]

12345678910>>...239