/Linux-v4.19/lib/zstd/ |
D | huf.h | 48 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… 58 …size_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 …]
|
D | fse.h | 69 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 …]
|
D | bitstream.h | 71 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 …]
|
D | huf_decompress.c | 90 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 …]
|
D | decompress.c | 87 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() 157 …size_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 …]
|
D | compress.c | 38 size_t ZSTD_compressBound(size_t srcSize) { return FSE_compressBound(srcSize) + 12; } in ZSTD_compressBound() 71 size_t workSpaceSize; 72 size_t blockSize; 90 size_t ZSTD_CCtxWorkspaceBound(ZSTD_compressionParameters cParams) in ZSTD_CCtxWorkspaceBound() 92 size_t const blockSize = MIN(ZSTD_BLOCKSIZE_ABSOLUTEMAX, (size_t)1 << cParams.windowLog); in ZSTD_CCtxWorkspaceBound() 94 size_t const maxNbSeq = blockSize / divider; in ZSTD_CCtxWorkspaceBound() 95 size_t const tokenSpace = blockSize + 11 * maxNbSeq; in ZSTD_CCtxWorkspaceBound() 96 size_t const chainSize = (cParams.strategy == ZSTD_fast) ? 0 : (1 << cParams.chainLog); in ZSTD_CCtxWorkspaceBound() 97 size_t const hSize = ((size_t)1) << cParams.hashLog; in ZSTD_CCtxWorkspaceBound() 99 size_t const h3Size = ((size_t)1) << hashLog3; in ZSTD_CCtxWorkspaceBound() [all …]
|
/Linux-v4.19/include/linux/ |
D | zstd.h | 88 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 …]
|
D | uio.h | 21 size_t iov_len; 33 size_t iov_offset; 34 size_t count; 57 static inline size_t iov_length(const struct iovec *iov, unsigned long nr_segs) in iov_length() 60 size_t ret = 0; in iov_length() 83 size_t iov_iter_copy_from_user_atomic(struct page *page, 84 struct iov_iter *i, unsigned long offset, size_t bytes); 85 void iov_iter_advance(struct iov_iter *i, size_t bytes); 86 void iov_iter_revert(struct iov_iter *i, size_t bytes); 87 int iov_iter_fault_in_readable(struct iov_iter *i, size_t bytes); [all …]
|
D | string.h | 13 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); 41 extern size_t strlcat(char *, const char *, __kernel_size_t); 53 extern int strncasecmp(const char *s1, const char *s2, size_t n); 62 extern char * strnchr(const char *, size_t, int); 80 extern char * strnstr(const char *, const char *, size_t); 151 const void *src, size_t cnt) in memcpy_mcsafe() [all …]
|
D | percpu.h | 82 size_t static_size; 83 size_t reserved_size; 84 size_t dyn_size; 85 size_t unit_size; 86 size_t atom_size; 87 size_t alloc_size; 88 size_t __ai_size; /* internal, don't use */ 104 typedef void * (*pcpu_fc_alloc_fn_t)(unsigned int cpu, size_t size, 105 size_t align); 106 typedef void (*pcpu_fc_free_fn_t)(void *ptr, size_t size); [all …]
|
D | parport.h | 91 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 …]
|
D | dma-debug.h | 36 size_t offset, size_t size, 43 size_t size, int direction, bool map_single); 51 extern void debug_dma_alloc_coherent(struct device *dev, size_t size, 54 extern void debug_dma_free_coherent(struct device *dev, size_t size, 58 size_t size, int direction, 62 size_t size, int direction); 65 dma_addr_t dma_handle, size_t size, 70 size_t size, int direction); 75 size_t size, 81 size_t size, int direction); [all …]
|
D | relay.h | 38 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 …]
|
D | xattr.h | 35 size_t size); 38 size_t size, int flags); 46 size_t value_len; 49 ssize_t __vfs_getxattr(struct dentry *, struct inode *, const char *, void *, size_t); 50 ssize_t vfs_getxattr(struct dentry *, const char *, void *, size_t); 51 ssize_t vfs_listxattr(struct dentry *d, char *list, size_t size); 52 int __vfs_setxattr(struct dentry *, struct inode *, const char *, const void *, size_t, int); 53 int __vfs_setxattr_noperm(struct dentry *, const char *, const void *, size_t, int); 54 int vfs_setxattr(struct dentry *, const char *, const void *, size_t, int); 58 ssize_t generic_listxattr(struct dentry *dentry, char *buffer, size_t buffer_size); [all …]
|
D | kmemleak.h | 30 extern void kmemleak_alloc(const void *ptr, size_t size, int min_count, 32 extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size, 34 extern void kmemleak_vmalloc(const struct vm_struct *area, size_t size, 37 extern void kmemleak_free_part(const void *ptr, size_t size) __ref; 42 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref; 44 extern void kmemleak_alloc_phys(phys_addr_t phys, size_t size, int min_count, 46 extern void kmemleak_free_part_phys(phys_addr_t phys, size_t size) __ref; 50 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() 74 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc() 78 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive() [all …]
|
D | slab.h | 181 void * __must_check __krealloc(const void *, size_t, gfp_t); 182 void * __must_check krealloc(const void *, size_t, gfp_t); 185 size_t ksize(const void *); 312 static __always_inline unsigned int kmalloc_index(size_t size) in kmalloc_index() 355 void *__kmalloc(size_t size, gfp_t flags) __assume_kmalloc_alignment __malloc; 366 void kmem_cache_free_bulk(struct kmem_cache *, size_t, void **); 367 int kmem_cache_alloc_bulk(struct kmem_cache *, gfp_t, size_t, void **); 373 static __always_inline void kfree_bulk(size_t size, void **p) in kfree_bulk() 379 void *__kmalloc_node(size_t size, gfp_t flags, int node) __assume_kmalloc_alignment __malloc; 382 static __always_inline void *__kmalloc_node(size_t size, gfp_t flags, int node) in __kmalloc_node() [all …]
|
/Linux-v4.19/tools/perf/trace/beauty/ |
D | beauty.h | 26 size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, int val); 31 size_t pid__scnprintf_fd(struct trace *trace, pid_t pid, int fd, char *bf, size_t size); 55 size_t syscall_arg__scnprintf_strarrays(char *bf, size_t size, struct syscall_arg *arg); 58 size_t syscall_arg__scnprintf_fd(char *bf, size_t size, struct syscall_arg *arg); 61 size_t syscall_arg__scnprintf_hex(char *bf, size_t size, struct syscall_arg *arg); 64 size_t syscall_arg__scnprintf_int(char *bf, size_t size, struct syscall_arg *arg); 67 size_t syscall_arg__scnprintf_long(char *bf, size_t size, struct syscall_arg *arg); 70 size_t syscall_arg__scnprintf_pid(char *bf, size_t size, struct syscall_arg *arg); 73 size_t syscall_arg__scnprintf_clone_flags(char *bf, size_t size, struct syscall_arg *arg); 76 size_t syscall_arg__scnprintf_fcntl_cmd(char *bf, size_t size, struct syscall_arg *arg); [all …]
|
/Linux-v4.19/arch/s390/include/asm/ |
D | string.h | 37 int memcmp(const void *s1, const void *s2, size_t n); 38 void *memcpy(void *dest, const void *src, size_t n); 39 void *memset(void *s, int c, size_t n); 40 void *memmove(void *dest, const void *src, size_t n); 42 size_t strlcat(char *dest, const char *src, size_t n); 43 size_t strlcpy(char *dest, const char *src, size_t size); 44 char *strncat(char *dest, const char *src, size_t n); 45 char *strncpy(char *dest, const char *src, size_t n); 56 void *__memset16(uint16_t *s, uint16_t v, size_t count); 57 void *__memset32(uint32_t *s, uint32_t v, size_t count); [all …]
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | cyttsp4_core.h | 265 size_t ofs; /* abs byte offset */ 266 size_t size; /* size in bits */ 267 size_t max; /* max value */ 268 size_t bofs; /* bit offset */ 272 size_t chip_type; 273 size_t cmd_ofs; 274 size_t rep_ofs; 275 size_t rep_sz; 276 size_t num_btns; 277 size_t num_btn_regs; /* ceil(num_btns/4) */ [all …]
|
/Linux-v4.19/arch/alpha/include/asm/ |
D | string.h | 15 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 …]
|
/Linux-v4.19/include/linux/mtd/ |
D | mtd.h | 78 size_t len; 79 size_t retlen; 80 size_t ooblen; 81 size_t oobretlen; 286 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len, 287 size_t *retlen, void **virt, resource_size_t *phys); 288 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len); 289 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len, 290 size_t *retlen, u_char *buf); 291 int (*_write) (struct mtd_info *mtd, loff_t to, size_t len, [all …]
|
/Linux-v4.19/net/sunrpc/ |
D | addr.c | 27 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid() 65 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6() 66 char *buf, const size_t buflen) in rpc_ntop6() 70 size_t len; in rpc_ntop6() 84 if (unlikely((size_t)rc > sizeof(scopebuf))) in rpc_ntop6() 97 static size_t rpc_ntop6_noscopeid(const struct sockaddr *sap, in rpc_ntop6_noscopeid() 103 static size_t rpc_ntop6(const struct sockaddr *sap, in rpc_ntop6() 104 char *buf, const size_t buflen) in rpc_ntop6() 112 char *buf, const size_t buflen) in rpc_ntop4() 128 size_t rpc_ntop(const struct sockaddr *sap, char *buf, const size_t buflen) in rpc_ntop() [all …]
|
/Linux-v4.19/arch/s390/lib/ |
D | string.c | 29 static inline char *__strnend(const char *s, size_t n) in __strnend() 46 size_t strlen(const char *s) in strlen() 59 size_t strnlen(const char *s, size_t n) in strnlen() 96 size_t strlcpy(char *dest, const char *src, size_t size) in strlcpy() 98 size_t ret = __strend(src) - src; in strlcpy() 101 size_t len = (ret >= size) ? size-1 : ret; in strlcpy() 118 char *strncpy(char *dest, const char *src, size_t n) in strncpy() 120 size_t len = __strnend(src, n) - src; in strncpy() 156 size_t strlcat(char *dest, const char *src, size_t n) in strlcat() 158 size_t dsize = __strend(dest) - dest; in strlcat() [all …]
|
/Linux-v4.19/mm/kasan/ |
D | kasan.h | 43 size_t access_size; 58 size_t size; /* Size of the global variable. */ 59 size_t size_with_redzone; /* Size of the variable + size of the red zone. 32 bytes aligned */ 108 void kasan_report(unsigned long addr, size_t size, 128 void __asan_register_globals(struct kasan_global *globals, size_t size); 129 void __asan_unregister_globals(struct kasan_global *globals, size_t size); 130 void __asan_loadN(unsigned long addr, size_t size); 131 void __asan_storeN(unsigned long addr, size_t size); 133 void __asan_poison_stack_memory(const void *addr, size_t size); 134 void __asan_unpoison_stack_memory(const void *addr, size_t size); [all …]
|
/Linux-v4.19/crypto/ |
D | rsa_helper.c | 21 int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, in rsa_get_n() 22 const void *value, size_t vlen) in rsa_get_n() 26 size_t n_sz = vlen; in rsa_get_n() 51 int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, in rsa_get_e() 52 const void *value, size_t vlen) in rsa_get_e() 66 int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, in rsa_get_d() 67 const void *value, size_t vlen) in rsa_get_d() 81 int rsa_get_p(void *context, size_t hdrlen, unsigned char tag, in rsa_get_p() 82 const void *value, size_t vlen) in rsa_get_p() 96 int rsa_get_q(void *context, size_t hdrlen, unsigned char tag, in rsa_get_q() [all …]
|