Home
last modified time | relevance | path

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

12345678910>>...276

/kernel/linux/linux-5.10/lib/zstd/
Dhuf.h48 size_t HUF_compressBound(size_t size); /**< maximum compressed size (worst case) */
51 unsigned HUF_isError(size_t code); /**< tells if a return value is an error code */
57 size_t HUF_compress4X_wksp(void *dst, size_t dstSize, const void *src, size_t srcSize, unsigned max…
58size_t wkspSize); /**< `workSpace` must be a table of at least HUF_COMPRESS_WORKSPACE_SIZE_U32 uns…
104 size_t HUF_decompress4X_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, si…
105 size_t HUF_decompress4X_hufOnly_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc,…
106 size_t workspaceSize); /**< considers RLE and uncompressed as errors */
107 size_t HUF_decompress4X2_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s…
108 size_t workspaceSize); /**< single-symbol decoder */
109 size_t HUF_decompress4X4_DCtx_wksp(HUF_DTable *dctx, void *dst, size_t dstSize, const void *cSrc, s…
[all …]
Dfse.h69 FSE_PUBLIC_API size_t FSE_compressBound(size_t size); /* maximum compressed size */
72 FSE_PUBLIC_API unsigned FSE_isError(size_t code); /* tells if a return value is an error code */
100 FSE_PUBLIC_API unsigned FSE_optimalTableLog(unsigned maxTableLog, size_t srcSize, unsigned maxSymbo…
107 FSE_PUBLIC_API size_t FSE_normalizeCount(short *normalizedCounter, unsigned tableLog, const unsigne…
112 FSE_PUBLIC_API size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog);
118 FSE_PUBLIC_API size_t FSE_writeNCount(void *buffer, size_t bufferSize, const short *normalizedCount…
129 FSE_PUBLIC_API size_t FSE_compress_usingCTable(void *dst, size_t dstCapacity, const void *src, size…
181 …E_PUBLIC_API size_t FSE_readNCount(short *normalizedCounter, unsigned *maxSymbolValuePtr, unsigned…
190 …_API size_t FSE_buildDTable_wksp(FSE_DTable *dt, const short *normalizedCounter, unsigned maxSymbo…
197 FSE_PUBLIC_API size_t FSE_decompress_usingDTable(void *dst, size_t dstCapacity, const void *cSrc, s…
[all …]
Dbitstream.h71 size_t bitContainer;
78 ZSTD_STATIC size_t BIT_initCStream(BIT_CStream_t *bitC, void *dstBuffer, size_t dstCapacity);
79 ZSTD_STATIC void BIT_addBits(BIT_CStream_t *bitC, size_t value, unsigned nbBits);
81 ZSTD_STATIC size_t BIT_closeCStream(BIT_CStream_t *bitC);
104 size_t bitContainer;
118 ZSTD_STATIC size_t BIT_initDStream(BIT_DStream_t *bitD, const void *srcBuffer, size_t srcSize);
119 ZSTD_STATIC size_t BIT_readBits(BIT_DStream_t *bitD, unsigned nbBits);
136 ZSTD_STATIC void BIT_addBitsFast(BIT_CStream_t *bitC, size_t value, unsigned nbBits);
142 ZSTD_STATIC size_t BIT_readBitsFast(BIT_DStream_t *bitD, unsigned nbBits);
162 ZSTD_STATIC size_t BIT_initCStream(BIT_CStream_t *bitC, void *startPtr, size_t dstCapacity) in BIT_initCStream()
[all …]
Dhuf_decompress.c90 size_t HUF_readDTableX2_wksp(HUF_DTable *DTable, const void *src, size_t srcSize, void *workspace, in HUF_readDTableX2_wksp()
94 size_t iSize; in HUF_readDTableX2_wksp()
100 size_t spaceUsed32 = 0; in HUF_readDTableX2_wksp()
160 size_t const val = BIT_lookBitsFast(Dstream, dtLog); /* note : dtLog >= 1 */ in HUF_decodeSymbolX2()
176 FORCE_INLINE size_t HUF_decodeStreamX2(BYTE *p, BIT_DStream_t *const bitDPtr, BYTE *const pEnd, con… in HUF_decodeStreamX2()
199 static size_t HUF_decompress1X2_usingDTable_internal(void *dst, size_t dstSize, const void *cSrc, s… in HUF_decompress1X2_usingDTable_internal()
210 size_t const errorCode = BIT_initDStream(&bitD, cSrc, cSrcSize); in HUF_decompress1X2_usingDTable_internal()
224 size_t HUF_decompress1X2_usingDTable(void *dst, size_t dstSize, const void *cSrc, size_t cSrcSize, … in HUF_decompress1X2_usingDTable()
232 size_t HUF_decompress1X2_DCtx_wksp(HUF_DTable *DCtx, void *dst, size_t dstSize, const void *cSrc, s… in HUF_decompress1X2_DCtx_wksp()
236 size_t const hSize = HUF_readDTableX2_wksp(DCtx, cSrc, cSrcSize, workspace, workspaceSize); in HUF_decompress1X2_DCtx_wksp()
[all …]
Ddecompress.c87 size_t expected;
94 size_t headerSize;
98 size_t litSize;
99 size_t rleSize;
104 size_t ZSTD_DCtxWorkspaceBound(void) { return ZSTD_ALIGN(sizeof(ZSTD_stack)) + ZSTD_ALIGN(sizeof(ZS… in ZSTD_DCtxWorkspaceBound()
106 size_t ZSTD_decompressBegin(ZSTD_DCtx *dctx) in ZSTD_decompressBegin()
141 ZSTD_DCtx *ZSTD_initDCtx(void *workspace, size_t workspaceSize) in ZSTD_initDCtx()
147 size_t ZSTD_freeDCtx(ZSTD_DCtx *dctx) in ZSTD_freeDCtx()
157size_t const workSpaceSize = (ZSTD_BLOCKSIZE_ABSOLUTEMAX + WILDCOPY_OVERLENGTH) + ZSTD_frameHeader… in ZSTD_copyDCtx()
172 unsigned ZSTD_isFrame(const void *buffer, size_t size) in ZSTD_isFrame()
[all …]
/kernel/linux/linux-5.10/include/linux/
Dzstd.h88 size_t ZSTD_compressBound(size_t srcSize);
95 static __attribute__((unused)) unsigned int ZSTD_isError(size_t code) in ZSTD_isError()
97 return code > (size_t)-ZSTD_error_maxCode; in ZSTD_isError()
107 size_t functionResult) in ZSTD_getErrorCode()
191 unsigned long long estimatedSrcSize, size_t dictSize);
205 unsigned long long estimatedSrcSize, size_t dictSize);
222 size_t ZSTD_CCtxWorkspaceBound(ZSTD_compressionParameters cParams);
240 ZSTD_CCtx *ZSTD_initCCtx(void *workspace, size_t workspaceSize);
256 size_t ZSTD_compressCCtx(ZSTD_CCtx *ctx, void *dst, size_t dstCapacity,
257 const void *src, size_t srcSize, ZSTD_parameters params);
[all …]
Duio.h17 size_t iov_len;
30 size_t iov_offset;
31 size_t count;
42 size_t iov_offset;
43 size_t count;
109 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length()
112 size_t ret = 0; in iov_length()
128 size_t iov_iter_copy_from_user_atomic(struct page *page,
129 struct iov_iter *i, unsigned long offset, size_t bytes);
130 void iov_iter_advance(struct iov_iter *i, size_t bytes);
[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 …]
Ddma-map-ops.h15 void *(*alloc)(struct device *dev, size_t size,
18 void (*free)(struct device *dev, size_t size, void *vaddr,
20 struct page *(*alloc_pages)(struct device *dev, size_t size,
23 void (*free_pages)(struct device *dev, size_t size, struct page *vaddr,
25 void *(*alloc_noncoherent)(struct device *dev, size_t size,
28 void (*free_noncoherent)(struct device *dev, size_t size, void *vaddr,
31 void *, dma_addr_t, size_t, unsigned long attrs);
34 void *cpu_addr, dma_addr_t dma_addr, size_t size,
38 unsigned long offset, size_t size,
41 size_t size, enum dma_data_direction dir,
[all …]
Dpercpu.h76 size_t static_size;
77 size_t reserved_size;
78 size_t dyn_size;
79 size_t unit_size;
80 size_t atom_size;
81 size_t alloc_size;
82 size_t __ai_size; /* internal, don't use */
98 typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int cpu, size_t size,
99 size_t align);
100 typedef void (*pcpu_fc_free_fn_t)(void *ptr, size_t size);
[all …]
Dcounter.h43 const char *buf, size_t len);
61 size_t num_ext;
86 size_t num_items;
88 struct counter_signal *signal, size_t *item);
90 struct counter_signal *signal, size_t item);
139 size_t action;
141 size_t num_actions;
161 const char *buf, size_t len);
194 size_t function;
196 size_t num_functions;
[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 …]
Dxattr.h36 size_t size);
39 size_t size, int flags);
47 size_t value_len;
50 ssize_t __vfs_getxattr(struct dentry *, struct inode *, const char *, void *, size_t);
51 ssize_t vfs_getxattr(struct dentry *, const char *, void *, size_t);
52 ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size);
53 int __vfs_setxattr(struct dentry *, struct inode *, const char *, const void *, size_t, int);
54 int __vfs_setxattr_noperm(struct dentry *, const char *, const void *, size_t, int);
55 int __vfs_setxattr_locked(struct dentry *, const char *, const void *, size_t, int, struct inode **…
56 int vfs_setxattr(struct dentry *, const char *, const void *, size_t, int);
[all …]
Drelay.h38 size_t offset; /* current offset into sub-buffer */
39 size_t subbufs_produced; /* count of sub-buffers produced */
40 size_t subbufs_consumed; /* count of sub-buffers consumed */
49 size_t *padding; /* padding counts per sub-buffer */
50 size_t prev_padding; /* temporary variable */
51 size_t bytes_consumed; /* bytes consumed in cur read subbuf */
52 size_t early_bytes; /* bytes consumed before VFS inited */
62 size_t subbuf_size; /* sub-buffer size */
63 size_t n_subbufs; /* number of sub-buffers per buffer */
64 size_t alloc_size; /* total buffer size allocated */
[all …]
/kernel/linux/linux-5.10/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);
123 size_t syscall_arg__scnprintf_strarray_flags(char *bf, size_t size, struct syscall_arg *arg);
126 bool syscall_arg__strtoul_strarray(char *bf, size_t size, struct syscall_arg *arg, u64 *ret);
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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);
43 int memcmp(const void *s1, const void *s2, size_t n);
45 size_t strlcat(char *dest, const char *src, size_t n);
46 size_t strlcpy(char *dest, const char *src, size_t size);
47 char *strncat(char *dest, const char *src, size_t n);
48 char *strncpy(char *dest, const char *src, size_t n);
62 extern void *__memcpy(void *dest, const void *src, size_t n);
63 extern void *__memset(void *s, int c, size_t n);
[all …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dcyttsp4_core.h255 size_t ofs; /* abs byte offset */
256 size_t size; /* size in bits */
257 size_t max; /* max value */
258 size_t bofs; /* bit offset */
262 size_t chip_type;
263 size_t cmd_ofs;
264 size_t rep_ofs;
265 size_t rep_sz;
266 size_t num_btns;
267 size_t num_btn_regs; /* ceil(num_btns/4) */
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/arm64/mte/
Dmte_common_util.h45 void *mte_allocate_memory(size_t size, int mem_type, int mapping, bool tags);
46 void *mte_allocate_memory_tag_range(size_t size, int mem_type, int mapping,
47 size_t range_before, size_t range_after);
48 void *mte_allocate_file_memory(size_t size, int mem_type, int mapping,
50 void *mte_allocate_file_memory_tag_range(size_t size, int mem_type, int mapping,
51 size_t range_before, size_t range_after, int fd);
52 void mte_free_memory(void *ptr, size_t size, int mem_type, bool tags);
53 void mte_free_memory_tag_range(void *ptr, size_t size, int mem_type,
54 size_t range_before, size_t range_after);
55 void *mte_insert_tags(void *ptr, size_t size);
[all …]
/kernel/linux/linux-5.10/arch/alpha/include/asm/
Dstring.h15 extern void * memcpy(void *, const void *, size_t);
17 extern void * memmove(void *, const void *, size_t);
20 extern void * __memcpy(void *, const void *, size_t);
25 extern void * __constant_c_memset(void *, unsigned long, size_t);
26 extern void * ___memset(void *, int, size_t);
27 extern void * __memset(void *, int, size_t);
28 extern void * memset(void *, int, size_t);
33 extern inline void *__memset(void *s, int c, size_t n) in __memset()
51 extern char * strncpy(char *, const char *, size_t);
55 extern char * strncat(char *, const char *, size_t);
[all …]
/kernel/liteos_m/kal/posix/src/
Dmalloc.c38 void *__wrap__calloc_r(struct _reent *reent, size_t nitems, size_t size) in __wrap__calloc_r()
40 void *calloc(size_t nitems, size_t size) in __wrap__calloc_r()
46 size_t real_size; in __wrap__calloc_r()
53 real_size = (size_t)(nitems * size); in __wrap__calloc_r()
78 size_t __wrap__malloc_usable_size_r(struct _reent *reent, void *aptr) in __wrap__malloc_usable_size_r()
87 void *__wrap__malloc_r(struct _reent *reent, size_t size) in __wrap__malloc_r()
89 void *malloc(size_t size) in __wrap__malloc_r()
102 void *zalloc(size_t size) in zalloc()
118 void *__wrap__memalign_r(struct _reent *reent, size_t boundary, size_t size) in __wrap__memalign_r()
120 void *memalign(size_t boundary, size_t size) in __wrap__memalign_r()
[all …]

12345678910>>...276