/kernel/linux/linux-6.6/lib/ |
H A D | test_hexdump.c | 67 static void __init test_hexdump_prepare_test(size_t len, int rowsize, in test_hexdump_prepare_test() 69 size_t testlen, bool ascii) in test_hexdump_prepare_test() 73 size_t l = len; in test_hexdump_prepare_test() 100 size_t amount = strlen(q); in test_hexdump_prepare_test() 125 static void __init test_hexdump(size_t len, int rowsize, int groupsize, in test_hexdump() 151 size_t d = min_t(size_t, sizeof(data_b), rowsize); in test_hexdump_set() 152 size_t len = get_random_u32_inclusive(1, d); in test_hexdump_set() 160 static void __init test_hexdump_overflow(size_t buflen, size_t le [all...] |
/kernel/linux/linux-6.6/lib/lzo/ |
H A D | lzo1x_decompress_safe.c | 23 #define HAVE_IP(x) ((size_t)(ip_end - ip) >= (size_t)(x)) 24 #define HAVE_OP(x) ((size_t)(op_end - op) >= (size_t)(x)) 37 #define MAX_255_COUNT ((((size_t)~0) / 255) - 2) 39 int lzo1x_decompress_safe(const unsigned char *in, size_t in_len, in lzo1x_decompress_safe() 40 unsigned char *out, size_t *out_len) in lzo1x_decompress_safe() 44 size_t t, next; in lzo1x_decompress_safe() 45 size_t state = 0; in lzo1x_decompress_safe() 79 size_t offse in lzo1x_decompress_safe() [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | bitmap.c | 27 size_t key; 36 static struct buffer_head *wnd_map(struct wnd_bitmap *wnd, size_t iw); 37 static bool wnd_is_free_hlp(struct wnd_bitmap *wnd, size_t bit, size_t bits); 62 static size_t wnd_scan(const void *buf, size_t wbit, u32 wpos, u32 wend, in wnd_scan() 63 size_t to_alloc, size_t *prev_tail, size_t *b_pos, in wnd_scan() 64 size_t *b_le in wnd_scan() [all...] |
/kernel/linux/linux-6.6/drivers/net/dsa/sja1105/ |
H A D | sja1105_static_config.c | 17 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t len) in sja1105_pack() 39 void sja1105_unpack(const void *buf, u64 *val, int start, int end, size_t len) in sja1105_unpack() 57 size_t len, enum packing_op op) in sja1105_packing() 79 u32 sja1105_crc32(const void *buf, size_t len) in sja1105_crc32() 94 static size_t sja1105et_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_avb_params_entry_packing() 97 const size_t size = SJA1105ET_SIZE_AVB_PARAMS_ENTRY; in sja1105et_avb_params_entry_packing() 105 size_t sja1105pqrs_avb_params_entry_packing(void *buf, void *entry_ptr, in sja1105pqrs_avb_params_entry_packing() 108 const size_t size = SJA1105PQRS_SIZE_AVB_PARAMS_ENTRY; in sja1105pqrs_avb_params_entry_packing() 117 static size_t sja1105et_general_params_entry_packing(void *buf, void *entry_ptr, in sja1105et_general_params_entry_packing() 120 const size_t siz in sja1105et_general_params_entry_packing() [all...] |
/kernel/linux/linux-6.6/kernel/ |
H A D | relay.c | 108 static void *relay_alloc_buf(struct rchan_buf *buf, size_t *size) in relay_alloc_buf() 151 if (chan->n_subbufs > KMALLOC_MAX_SIZE / sizeof(size_t)) in relay_create_buf() 157 buf->padding = kmalloc_array(chan->n_subbufs, sizeof(size_t), in relay_create_buf() 243 size_t ready = buf->subbufs_produced - buf->subbufs_consumed; in relay_buf_full() 253 void *prev_subbuf, size_t prev_padding) in relay_subbuf_start() 285 size_t i; in __relay_reset() 476 size_t subbuf_size, in relay_open() 477 size_t n_subbufs, in relay_open() 659 size_t relay_switch_subbuf(struct rchan_buf *buf, size_t lengt [all...] |
/kernel/linux/linux-6.6/arch/um/include/asm/ |
H A D | archrandom.h | 8 ssize_t os_getrandom(void *buf, size_t len, unsigned int flags); 10 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs() 20 static inline size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs) in arch_get_random_seed_longs()
|
/kernel/linux/linux-5.10/fs/9p/ |
H A D | xattr.h | 26 void *, size_t); 28 void *, size_t); 30 const void *, size_t, int); 32 const void *, size_t, int); 33 extern ssize_t v9fs_listxattr(struct dentry *, char *, size_t);
|
/kernel/linux/linux-6.6/include/sound/ |
H A D | pcm_iec958.h | 7 int snd_pcm_create_iec958_consumer_default(u8 *cs, size_t len); 10 size_t len); 13 u8 *cs, size_t len); 16 size_t len); 19 u8 *cs, size_t len);
|
/kernel/liteos_m/kal/libc/newlib/porting/include/ |
H A D | malloc.h | 37 size_t __wrap__malloc_usable_size_r(struct _reent *reent, void *aptr); 38 void *__wrap__malloc_r(struct _reent *reent, size_t nbytes); 39 void *__wrap__memalign_r(struct _reent *reent, size_t align, size_t nbytes); 40 void *__wrap__realloc_r(struct _reent *reent, void *aptr, size_t nbytes);
|
/kernel/linux/linux-5.10/arch/xtensa/kernel/ |
H A D | pci-dma.c | 24 static void do_cache_op(phys_addr_t paddr, size_t size, in do_cache_op() 35 size_t sz = min_t(size_t, size, PAGE_SIZE - off); in do_cache_op() 46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 83 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 94 void *arch_dma_set_uncached(void *p, size_t size) in arch_dma_set_uncached()
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | intel_scu_ipc.h | 47 u8 *data, size_t len); 49 u8 *data, size_t len); 57 int sub, const void *in, size_t inlen, 58 size_t size, void *out, size_t outlen); 61 int sub, const void *in, size_t inlen, in intel_scu_ipc_dev_command() 62 void *out, size_t outlen) in intel_scu_ipc_dev_command()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.h | 38 size_t size; 43 size_t key_offset; 44 size_t key_size; 67 size_t elem_size; 80 size_t table_size; 84 size_t key_offset; 85 size_t key_size;
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_managed.h | 49 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; 61 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc() 78 size_t n, size_t size, gfp_t flags) in drmm_kmalloc_array() 80 size_t bytes; in drmm_kmalloc_array() 100 size_t n, size_t size, gfp_t flags) in drmm_kcalloc()
|
/kernel/linux/linux-5.10/include/linux/iio/ |
H A D | buffer-dma.h | 55 size_t bytes_used; 63 size_t size; 85 size_t pos; 86 size_t block_size; 139 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, 141 size_t iio_dma_buffer_data_available(struct iio_buffer *buffer); 142 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
|
/kernel/linux/linux-6.6/include/linux/iio/ |
H A D | buffer-dma.h | 50 size_t bytes_used; 58 size_t size; 80 size_t pos; 81 size_t block_size; 134 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n, 136 size_t iio_dma_buffer_data_available(struct iio_buffer *buffer); 137 int iio_dma_buffer_set_bytes_per_datum(struct iio_buffer *buffer, size_t bpd);
|
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_managed.h | 48 void *drmm_kmalloc(struct drm_device *dev, size_t size, gfp_t gfp) __malloc; 60 static inline void *drmm_kzalloc(struct drm_device *dev, size_t size, gfp_t gfp) in drmm_kzalloc() 77 size_t n, size_t size, gfp_t flags) in drmm_kmalloc_array() 79 size_t bytes; in drmm_kmalloc_array() 99 size_t n, size_t size, gfp_t flags) in drmm_kcalloc()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | splice.h | 30 size_t total_len; /* remaining length */ 44 size_t num_spliced; /* number of bytes already spliced */ 72 loff_t *, size_t, unsigned int, 81 struct pipe_inode_info *pipe, size_t len, 87 size_t len, unsigned int flags); 89 extern long do_tee(struct file *in, struct file *out, size_t len, 92 loff_t *ppos, size_t len, unsigned int flags);
|
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | intel_scu_ipc.h | 47 u8 *data, size_t len); 49 u8 *data, size_t len); 57 int sub, const void *in, size_t inlen, 58 size_t size, void *out, size_t outlen); 61 int sub, const void *in, size_t inlen, in intel_scu_ipc_dev_command() 62 void *out, size_t outlen) in intel_scu_ipc_dev_command()
|
/kernel/linux/linux-6.6/arch/xtensa/kernel/ |
H A D | pci-dma.c | 24 static void do_cache_op(phys_addr_t paddr, size_t size, in do_cache_op() 35 size_t sz = min_t(size_t, size, PAGE_SIZE - off); in do_cache_op() 46 void arch_sync_dma_for_cpu(phys_addr_t paddr, size_t size, in arch_sync_dma_for_cpu() 64 void arch_sync_dma_for_device(phys_addr_t paddr, size_t size, in arch_sync_dma_for_device() 83 void arch_dma_prep_coherent(struct page *page, size_t size) in arch_dma_prep_coherent() 94 void *arch_dma_set_uncached(void *p, size_t size) in arch_dma_set_uncached()
|
/kernel/linux/linux-5.10/drivers/base/ |
H A D | devcoredump.c | 31 size_t datalen; 74 ssize_t (*read)(char *buffer, loff_t offset, size_t count, 75 void *data, size_t datalen); 117 char *buffer, loff_t offset, size_t count) in devcd_data_read() 127 char *buffer, loff_t offset, size_t count) in devcd_data_write() 205 const char *buf, size_t count) in disabled_store() 239 static ssize_t devcd_readv(char *buffer, loff_t offset, size_t count, in devcd_readv() 240 void *data, size_t datalen) in devcd_readv() 260 void dev_coredumpv(struct device *dev, void *data, size_t datalen, in dev_coredumpv() 298 size_t buf_le in devcd_read_from_sgtable() [all...] |
/kernel/linux/linux-5.10/arch/x86/boot/ |
H A D | boot.h | 188 static inline bool memcmp_fs(const void *s1, addr_t s2, size_t len) in memcmp_fs() 195 static inline bool memcmp_gs(const void *s1, addr_t s2, size_t len) in memcmp_gs() 208 static inline char *__get_heap(size_t s, size_t a, size_t n) in __get_heap() 212 HEAP = (char *)(((size_t)HEAP+(a-1)) & ~(a-1)); in __get_heap() 220 static inline bool heap_free(size_t n) in heap_free() 227 void copy_to_fs(addr_t dst, void *src, size_t len); 228 void *copy_from_fs(void *dst, addr_t src, size_t len); 229 void copy_to_gs(addr_t dst, void *src, size_t le [all...] |
/kernel/linux/linux-6.6/arch/x86/boot/ |
H A D | boot.h | 155 static inline bool memcmp_fs(const void *s1, addr_t s2, size_t len) in memcmp_fs() 162 static inline bool memcmp_gs(const void *s1, addr_t s2, size_t len) in memcmp_gs() 175 static inline char *__get_heap(size_t s, size_t a, size_t n) in __get_heap() 179 HEAP = (char *)(((size_t)HEAP+(a-1)) & ~(a-1)); in __get_heap() 187 static inline bool heap_free(size_t n) in heap_free() 194 void copy_to_fs(addr_t dst, void *src, size_t len); 195 void *copy_from_fs(void *dst, addr_t src, size_t len); 196 void copy_to_gs(addr_t dst, void *src, size_t le [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | net.h | 135 unsigned int, size_t); 173 size_t total_len); 183 size_t total_len, int flags); 187 int offset, size_t size, int flags); 189 struct pipe_inode_info *pipe, size_t len, unsigned int flags); 199 int offset, size_t size, int flags); 201 size_t size); 306 size_t num, size_t len); 308 struct kvec *vec, size_t nu [all...] |
H A D | scatterlist.h | 281 const size_t *split_sizes, 314 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf, 315 size_t buflen, off_t skip, bool to_buffer); 317 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents, 318 const void *buf, size_t buflen); 319 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents, 320 void *buf, size_t buflen); 322 size_t sg_pcopy_from_buffer(struct scatterlist *sgl, unsigned int nents, 323 const void *buf, size_t buflen, off_t skip); 324 size_t sg_pcopy_to_buffe [all...] |
/kernel/linux/linux-5.10/drivers/staging/fbtft/ |
H A D | fbtft-bus.c | 121 int fbtft_write_vmem16_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus8() 125 size_t remain; in fbtft_write_vmem16_bus8() 126 size_t to_copy; in fbtft_write_vmem16_bus8() 127 size_t tx_array_size; in fbtft_write_vmem16_bus8() 130 size_t startbyte_size = 0; in fbtft_write_vmem16_bus8() 175 int fbtft_write_vmem16_bus9(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus9() 179 size_t remain; in fbtft_write_vmem16_bus9() 180 size_t to_cop in fbtft_write_vmem16_bus9() [all...] |