Home
last modified time | relevance | path

Searched refs:size_t (Results 76 - 100 of 17927) sorted by relevance

12345678910>>...718

/kernel/linux/linux-6.6/fs/ntfs3/
H A Dbitfunc.c12 #define BITS_IN_SIZE_T (sizeof(size_t) * 8)
33 bool are_bits_clear(const void *lmap, size_t bit, size_t nbits) in are_bits_clear()
35 size_t pos = bit & 7; in are_bits_clear()
48 pos = ((size_t)map) & (sizeof(size_t) - 1); in are_bits_clear()
50 pos = sizeof(size_t) - pos; in are_bits_clear()
59 for (pos = nbits / BITS_IN_SIZE_T; pos; pos--, map += sizeof(size_t)) { in are_bits_clear()
60 if (*((size_t *)map)) in are_bits_clear()
81 bool are_bits_set(const void *lmap, size_t bi
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dpercpu.h81 size_t static_size;
82 size_t reserved_size;
83 size_t dyn_size;
84 size_t unit_size;
85 size_t atom_size;
86 size_t alloc_size;
87 size_t __ai_size; /* internal, don't use */
113 extern int __init pcpu_embed_first_chunk(size_t reserved_size, size_t dyn_size,
114 size_t atom_siz
[all...]
H A Dhighmem.h132 static inline void *kmap_local_folio(struct folio *folio, size_t offset);
388 static inline void memcpy_page(struct page *dst_page, size_t dst_off, in memcpy_page()
389 struct page *src_page, size_t src_off, in memcpy_page()
390 size_t len) in memcpy_page()
401 static inline void memset_page(struct page *page, size_t offset, int val, in memset_page()
402 size_t len) in memset_page()
412 size_t offset, size_t len) in memcpy_from_page()
421 static inline void memcpy_to_page(struct page *page, size_t offset, in memcpy_to_page()
422 const char *from, size_t le in memcpy_to_page()
[all...]
H A Ddmapool.h22 size_t size, size_t align, size_t allocation);
34 size_t size, size_t align, size_t allocation);
39 struct device *dev, size_t size, size_t align, size_t allocation) in dma_pool_create()
47 struct device *dev, size_t siz in dmam_pool_create()
[all...]
H A Dkmemleak.h18 extern void kmemleak_alloc(const void *ptr, size_t size, int min_count,
20 extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size,
22 extern void kmemleak_vmalloc(const struct vm_struct *area, size_t size,
25 extern void kmemleak_free_part(const void *ptr, size_t size) __ref;
30 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref;
32 extern void kmemleak_alloc_phys(phys_addr_t phys, size_t size,
34 extern void kmemleak_free_part_phys(phys_addr_t phys, size_t size) __ref;
37 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
61 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
65 static inline void kmemleak_alloc_recursive(const void *ptr, size_t siz in kmemleak_alloc()
[all...]
H A Dkmsan-checks.h27 void kmsan_poison_memory(const void *address, size_t size, gfp_t flags);
37 void kmsan_unpoison_memory(const void *address, size_t size);
47 void kmsan_check_memory(const void *address, size_t size);
61 void kmsan_copy_to_user(void __user *to, const void *from, size_t to_copy,
62 size_t left);
66 static inline void kmsan_poison_memory(const void *address, size_t size, in kmsan_poison_memory()
70 static inline void kmsan_unpoison_memory(const void *address, size_t size) in kmsan_unpoison_memory()
73 static inline void kmsan_check_memory(const void *address, size_t size) in kmsan_check_memory()
77 size_t to_copy, size_t lef in kmsan_copy_to_user()
[all...]
H A Dsysctl.h65 size_t *lenp, loff_t *ppos);
67 int proc_dostring(struct ctl_table *, int, void *, size_t *, loff_t *);
69 size_t *lenp, loff_t *ppos);
70 int proc_dointvec(struct ctl_table *, int, void *, size_t *, loff_t *);
71 int proc_douintvec(struct ctl_table *, int, void *, size_t *, loff_t *);
72 int proc_dointvec_minmax(struct ctl_table *, int, void *, size_t *, loff_t *);
74 size_t *lenp, loff_t *ppos);
76 size_t *lenp, loff_t *ppos);
77 int proc_dointvec_jiffies(struct ctl_table *, int, void *, size_t *, loff_t *);
79 void *buffer, size_t *len
[all...]
/kernel/linux/linux-6.6/crypto/
H A Drsa_helper.c16 int rsa_get_n(void *context, size_t hdrlen, unsigned char tag, in rsa_get_n()
17 const void *value, size_t vlen) in rsa_get_n()
21 size_t n_sz = vlen; in rsa_get_n()
46 int rsa_get_e(void *context, size_t hdrlen, unsigned char tag, in rsa_get_e()
47 const void *value, size_t vlen) in rsa_get_e()
61 int rsa_get_d(void *context, size_t hdrlen, unsigned char tag, in rsa_get_d()
62 const void *value, size_t vlen) in rsa_get_d()
76 int rsa_get_p(void *context, size_t hdrlen, unsigned char tag, in rsa_get_p()
77 const void *value, size_t vlen) in rsa_get_p()
91 int rsa_get_q(void *context, size_t hdrle
[all...]
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dfse_decompress.c71 static size_t FSE_buildDTable_internal(FSE_DTable* dt, const short* normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void* workSpace, size_t wkspSize) in FSE_buildDTable_internal()
106 size_t const tableMask = tableSize-1; in FSE_buildDTable_internal()
107 size_t const step = FSE_TABLESTEP(tableSize); in FSE_buildDTable_internal()
116 size_t pos = 0; in FSE_buildDTable_internal()
136 size_t position = 0; in FSE_buildDTable_internal()
137 size_t s; in FSE_buildDTable_internal()
138 size_t const unroll = 2; in FSE_buildDTable_internal()
140 for (s = 0; s < (size_t)tableSize; s += unroll) { in FSE_buildDTable_internal()
141 size_t in FSE_buildDTable_internal()
[all...]
H A Dmem.h21 #include <linux/types.h> /* size_t, ptrdiff_t */
54 MEM_STATIC size_t MEM_readST(const void* memPtr);
65 MEM_STATIC size_t MEM_readLEST(const void* memPtr);
71 MEM_STATIC void MEM_writeLEST(void* memPtr, size_t val);
76 MEM_STATIC size_t MEM_readBEST(const void* memPtr);
80 MEM_STATIC void MEM_writeBEST(void* memPtr, size_t val);
85 MEM_STATIC size_t MEM_swapST(size_t in);
92 return sizeof(size_t) == 4; in MEM_32bits()
97 return sizeof(size_t) in MEM_64bits()
[all...]
/kernel/linux/linux-5.10/include/crypto/
H A Dchacha20poly1305.h18 void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
19 const u8 *ad, const size_t ad_len,
24 chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len,
25 const u8 *ad, const size_t ad_len, const u64 nonce,
28 void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
29 const u8 *ad, const size_t ad_len,
34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad,
35 const size_t ad_len, const u8 nonce[XCHACHA20POLY1305_NONCE_SIZE],
38 bool chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len,
39 const u8 *ad, const size_t ad_le
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddmapool.h22 size_t size, size_t align, size_t allocation);
34 size_t size, size_t align, size_t allocation);
39 struct device *dev, size_t size, size_t align, size_t allocation) in dma_pool_create()
47 struct device *dev, size_t siz in dmam_pool_create()
[all...]
H A Dkmemleak.h18 extern void kmemleak_alloc(const void *ptr, size_t size, int min_count,
20 extern void kmemleak_alloc_percpu(const void __percpu *ptr, size_t size,
22 extern void kmemleak_vmalloc(const struct vm_struct *area, size_t size,
25 extern void kmemleak_free_part(const void *ptr, size_t size) __ref;
30 extern void kmemleak_scan_area(const void *ptr, size_t size, gfp_t gfp) __ref;
32 extern void kmemleak_alloc_phys(phys_addr_t phys, size_t size, int min_count,
34 extern void kmemleak_free_part_phys(phys_addr_t phys, size_t size) __ref;
38 static inline void kmemleak_alloc_recursive(const void *ptr, size_t size, in kmemleak_alloc_recursive()
62 static inline void kmemleak_alloc(const void *ptr, size_t size, int min_count, in kmemleak_alloc()
66 static inline void kmemleak_alloc_recursive(const void *ptr, size_t siz in kmemleak_alloc()
[all...]
/kernel/linux/linux-6.6/include/crypto/
H A Dchacha20poly1305.h18 void chacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
19 const u8 *ad, const size_t ad_len,
24 chacha20poly1305_decrypt(u8 *dst, const u8 *src, const size_t src_len,
25 const u8 *ad, const size_t ad_len, const u64 nonce,
28 void xchacha20poly1305_encrypt(u8 *dst, const u8 *src, const size_t src_len,
29 const u8 *ad, const size_t ad_len,
34 u8 *dst, const u8 *src, const size_t src_len, const u8 *ad,
35 const size_t ad_len, const u8 nonce[XCHACHA20POLY1305_NONCE_SIZE],
38 bool chacha20poly1305_encrypt_sg_inplace(struct scatterlist *src, size_t src_len,
39 const u8 *ad, const size_t ad_le
[all...]
/kernel/linux/linux-6.6/lib/zstd/compress/
H A Dzstd_compress_sequences.h25 size_t const mostFrequent, size_t nbSeq, unsigned const FSELog,
31 size_t
32 ZSTD_buildCTable(void* dst, size_t dstCapacity,
35 const BYTE* codeTable, size_t nbSeq,
37 const FSE_CTable* prevCTable, size_t prevCTableSize,
38 void* entropyWorkspace, size_t entropyWorkspaceSize);
40 size_t ZSTD_encodeSequences(
41 void* dst, size_t dstCapacity,
45 seqDef const* sequences, size_t nbSe
[all...]
H A Dzstd_compress.c64 size_t ZSTD_compressBound(size_t srcSize) { in ZSTD_compressBound()
74 size_t dictContentSize;
100 { size_t const err = ZSTD_CCtx_reset(cctx, ZSTD_reset_parameters); in ZSTD_initCCtx()
118 ZSTD_CCtx* ZSTD_initStaticCCtx(void* workspace, size_t workspaceSize) in ZSTD_initStaticCCtx()
123 if ((size_t)workspace & 7) return NULL; /* must be 8-aligned */ in ZSTD_initStaticCCtx()
154 static size_t ZSTD_sizeof_localDict(ZSTD_localDict dict) in ZSTD_sizeof_localDict()
156 size_t const bufferSize = dict.dictBuffer != NULL ? dict.dictSize : 0; in ZSTD_sizeof_localDict()
157 size_t const cdictSize = ZSTD_sizeof_CDict(dict.cdict); in ZSTD_sizeof_localDict()
169 size_t ZSTD_freeCCt
[all...]
/kernel/linux/linux-5.10/lib/zstd/
H A Dcompress.c38 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 cons in ZSTD_CCtxWorkspaceBound()
[all...]
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dstring_32.h13 extern char *strncpy(char *dest, const char *src, size_t count);
19 extern char *strncat(char *dest, const char *src, size_t count);
25 extern int strncmp(const char *cs, const char *ct, size_t count);
31 extern size_t strlen(const char *s);
33 static __always_inline void *__memcpy(void *to, const void *from, size_t n) in __memcpy()
53 size_t n) in __constant_memcpy()
146 extern void *memcpy(void *, const void *, size_t);
157 static inline void *__constant_memcpy3d(void *to, const void *from, size_t len) in __constant_memcpy3d()
164 static inline void *__memcpy3d(void *to, const void *from, size_t len) in __memcpy3d()
188 void *memmove(void *dest, const void *src, size_t
[all...]
/kernel/linux/linux-6.6/include/linux/mtd/
H A Dmtd.h72 size_t len;
73 size_t retlen;
74 size_t ooblen;
75 size_t oobretlen;
317 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
318 size_t *retlen, void **virt, resource_size_t *phys);
319 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
320 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
321 size_t *retlen, u_char *buf);
322 int (*_write) (struct mtd_info *mtd, loff_t to, size_t le
[all...]
/kernel/linux/linux-5.10/tools/perf/trace/beauty/
H A Dioctl.c21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd()
47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd()
58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd()
69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_ctl_cmd()
80 static size_t ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t siz
[all...]
/kernel/linux/linux-6.6/tools/perf/trace/beauty/
H A Dioctl.c21 static size_t ioctl__scnprintf_tty_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_tty_cmd()
47 static size_t ioctl__scnprintf_drm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_drm_cmd()
58 static size_t ioctl__scnprintf_sndrv_pcm_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_pcm_cmd()
69 static size_t ioctl__scnprintf_sndrv_ctl_cmd(int nr, int dir, char *bf, size_t size) in ioctl__scnprintf_sndrv_ctl_cmd()
80 static size_t ioctl__scnprintf_kvm_cmd(int nr, int dir, char *bf, size_t siz
[all...]
/kernel/linux/linux-5.10/include/media/
H A Ddvb_ringbuffer.h62 size_t len);
151 u8 __user *buf, size_t len);
165 u8 *buf, size_t len);
193 size_t len);
208 const u8 __user *buf, size_t len);
220 size_t len);
240 size_t idx,
242 size_t len);
257 extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx,
258 int offset, u8 *buf, size_t le
[all...]
/kernel/linux/linux-6.6/include/media/
H A Ddvb_ringbuffer.h62 size_t len);
151 u8 __user *buf, size_t len);
165 u8 *buf, size_t len);
193 size_t len);
208 const u8 __user *buf, size_t len);
220 size_t len);
240 size_t idx,
242 size_t len);
257 extern ssize_t dvb_ringbuffer_pkt_read(struct dvb_ringbuffer *rbuf, size_t idx,
258 int offset, u8 *buf, size_t le
[all...]
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dstring_64.h18 extern void *memcpy(void *to, const void *from, size_t len);
19 extern void *__memcpy(void *to, const void *from, size_t len);
22 void *memset(void *s, int c, size_t n);
23 void *__memset(void *s, int c, size_t n);
31 static inline void *memset16(uint16_t *s, uint16_t v, size_t n) in memset16()
43 static inline void *memset32(uint32_t *s, uint32_t v, size_t n) in memset32()
55 static inline void *memset64(uint64_t *s, uint64_t v, size_t n) in memset64()
68 void *memmove(void *dest, const void *src, size_t count);
69 void *__memmove(void *dest, const void *src, size_t count);
71 int memcmp(const void *cs, const void *ct, size_t coun
[all...]
/kernel/linux/linux-5.10/include/linux/mtd/
H A Dmtd.h66 size_t len;
67 size_t retlen;
68 size_t ooblen;
69 size_t oobretlen;
314 int (*_point) (struct mtd_info *mtd, loff_t from, size_t len,
315 size_t *retlen, void **virt, resource_size_t *phys);
316 int (*_unpoint) (struct mtd_info *mtd, loff_t from, size_t len);
317 int (*_read) (struct mtd_info *mtd, loff_t from, size_t len,
318 size_t *retlen, u_char *buf);
319 int (*_write) (struct mtd_info *mtd, loff_t to, size_t le
[all...]

Completed in 18 milliseconds

12345678910>>...718