/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/ |
H A D | debugfs.c | 75 size_t count, loff_t *ppos) in iwl_dbgfs_ctdp_budget_read() 101 size_t count, loff_t *ppos) in iwl_dbgfs_stop_ctdp_write() 120 size_t count, loff_t *ppos) in iwl_dbgfs_force_ctkill_write() 132 size_t count, loff_t *ppos) in iwl_dbgfs_tx_flush_write() 166 size_t count, loff_t *ppos) in iwl_dbgfs_sta_drain_write() 197 size_t count, loff_t *ppos) in iwl_dbgfs_sram_read() 202 size_t ret; in iwl_dbgfs_sram_read() 232 size_t count, loff_t *ppos) in iwl_dbgfs_sram_write() 264 size_t count, loff_t *ppos) in iwl_dbgfs_set_nic_temperature_read() 286 char *buf, size_t coun in iwl_dbgfs_set_nic_temperature_write() [all...] |
/kernel/linux/linux-5.10/tools/lib/bpf/ |
H A D | libbpf.h | 17 #include <sys/types.h> // for size_t 47 LIBBPF_API int libbpf_strerror(int err, char *buf, size_t size); 70 size_t sz; 103 bpf_object__open_mem(const void *obj_buf, size_t obj_buf_sz, 108 bpf_object__open_buffer(const void *obj_buf, size_t obj_buf_sz, 208 LIBBPF_API size_t bpf_program__size(const struct bpf_program *prog); 246 size_t func_offset); 273 size_t sz; /* size of this struct for forward/backward compatibility */ 421 bpf_object__find_map_by_offset(struct bpf_object *obj, size_t offset); 472 const void *data, size_t siz 510 size_t :0; global() member [all...] |
/kernel/linux/linux-5.10/mm/ |
H A D | util.c | 53 size_t len; in kstrdup() 97 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup() 99 size_t len; in kstrndup() 124 void *kmemdup(const void *src, size_t len, gfp_t gfp) in kmemdup() 144 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul() 169 void *memdup_user(const void __user *src, size_t len) in memdup_user() 195 void *vmemdup_user(const void __user *src, size_t len) in vmemdup_user() 251 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul() 581 void *kvmalloc_node(size_t size, gfp_t flags, int node) in kvmalloc_node() 655 void kvfree_sensitive(const void *addr, size_t le [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | bcm2835-dma.c | 91 size_t size; 175 static inline size_t bcm2835_dma_max_frame_length(struct bcm2835_chan *c) in bcm2835_dma_max_frame_length() 182 static inline size_t bcm2835_dma_frames_for_length(size_t len, in bcm2835_dma_frames_for_length() 183 size_t max_len) in bcm2835_dma_frames_for_length() 206 size_t i; in bcm2835_dma_free_cb_chain() 224 size_t len, in bcm2835_dma_create_cb_set_length() 225 size_t period_len, in bcm2835_dma_create_cb_set_length() 226 size_t *total_len, in bcm2835_dma_create_cb_set_length() 229 size_t max_le in bcm2835_dma_create_cb_set_length() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | bcm2835-dma.c | 91 size_t size; 175 static inline size_t bcm2835_dma_max_frame_length(struct bcm2835_chan *c) in bcm2835_dma_max_frame_length() 182 static inline size_t bcm2835_dma_frames_for_length(size_t len, in bcm2835_dma_frames_for_length() 183 size_t max_len) in bcm2835_dma_frames_for_length() 206 size_t i; in bcm2835_dma_free_cb_chain() 224 size_t len, in bcm2835_dma_create_cb_set_length() 225 size_t period_len, in bcm2835_dma_create_cb_set_length() 226 size_t *total_len, in bcm2835_dma_create_cb_set_length() 229 size_t max_le in bcm2835_dma_create_cb_set_length() [all...] |
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/ |
H A D | tx.c | 323 size_t __i2400m_tx_tail_room(struct i2400m *i2400m) in __i2400m_tx_tail_room() 325 size_t tail_room; in __i2400m_tx_tail_room() 326 size_t tx_in; in __i2400m_tx_tail_room() 434 void *i2400m_tx_fifo_push(struct i2400m *i2400m, size_t size, in i2400m_tx_fifo_push() 435 size_t padding, bool try_head) in i2400m_tx_fifo_push() 438 size_t room, tail_room, needed_size; in i2400m_tx_fifo_push() 508 size_t tx_in = i2400m->tx_in % I2400M_TX_BUF_SIZE; in i2400m_tx_skip_tail() 509 size_t tail_room = __i2400m_tx_tail_room(i2400m); in i2400m_tx_skip_tail() 618 size_t aligned_size, padding, hdr_size; in i2400m_tx_close() 713 int i2400m_tx(struct i2400m *i2400m, const void *buf, size_t buf_le [all...] |
/kernel/linux/linux-5.10/lib/lz4/ |
H A D | lz4_decompress.c | 80 const size_t dictSize in LZ4_decompress_generic() 122 size_t length; in LZ4_decompress_generic() 124 size_t offset; in LZ4_decompress_generic() 342 length = min(length, (size_t)(oend - op)); in LZ4_decompress_generic() 345 if (length <= (size_t)(lowPrefix - match)) { in LZ4_decompress_generic() 358 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic() 359 size_t const restSize = length - copySize; in LZ4_decompress_generic() 363 if (restSize > (size_t)(op - lowPrefix)) { in LZ4_decompress_generic() 388 size_t cons in LZ4_decompress_generic() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/powerpc/ |
H A D | utils.c | 31 int read_file(const char *path, char *buf, size_t count, size_t *len) in read_file() 68 int read_file_alloc(const char *path, char **buf, size_t *len) in read_file_alloc() 70 size_t read_offset = 0; in read_file_alloc() 71 size_t buffer_len = 0; in read_file_alloc() 126 int write_file(const char *path, const char *buf, size_t count) in write_file() 168 int read_debugfs_file(const char *subpath, char *buf, size_t count) in read_debugfs_file() 177 int write_debugfs_file(const char *subpath, const char *buf, size_t count) in write_debugfs_file() 186 static int validate_int_parse(const char *buffer, size_t count, char *end) in validate_int_parse() 212 static int parse_bounded_int(const char *buffer, size_t coun [all...] |
/kernel/linux/linux-6.6/lib/lz4/ |
H A D | lz4_decompress.c | 80 const size_t dictSize in LZ4_decompress_generic() 122 size_t length; in LZ4_decompress_generic() 124 size_t offset; in LZ4_decompress_generic() 342 length = min(length, (size_t)(oend - op)); in LZ4_decompress_generic() 345 if (length <= (size_t)(lowPrefix - match)) { in LZ4_decompress_generic() 358 size_t const copySize = (size_t)(lowPrefix - match); in LZ4_decompress_generic() 359 size_t const restSize = length - copySize; in LZ4_decompress_generic() 363 if (restSize > (size_t)(op - lowPrefix)) { in LZ4_decompress_generic() 388 size_t cons in LZ4_decompress_generic() [all...] |
/kernel/linux/linux-5.10/drivers/firmware/arm_scmi/ |
H A D | notify.h | 30 size_t max_payld_sz; 31 size_t max_report_sz; 53 const void *payld, size_t payld_sz, 61 u8 proto_id, size_t queue_sz, 66 const void *buf, size_t len, ktime_t ts);
|
/kernel/linux/linux-5.10/drivers/siox/ |
H A D | siox.h | 14 size_t setbuf_len, const u8 setbuf[], 15 size_t getbuf_len, u8 getbuf[]); 28 size_t setbuf_len, getbuf_len; 29 size_t buf_len; 42 struct siox_master *siox_master_alloc(struct device *dev, size_t size);
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | xz.h | 138 size_t in_pos; 139 size_t in_size; 142 size_t out_pos; 143 size_t out_size; 262 XZ_EXTERN uint32_t xz_crc32(const uint8_t *buf, size_t size, uint32_t crc);
|
/kernel/linux/linux-5.10/tools/include/linux/ |
H A D | string.h | 5 #include <linux/types.h> /* for size_t */ 8 void *memdup(const void *src, size_t len); 25 extern size_t strlcpy(char *dest, const char *src, size_t size); 31 char *str_error_r(int errnum, char *buf, size_t buflen); 49 extern void *memchr_inv(const void *start, int c, size_t bytes);
|
/kernel/linux/linux-5.10/tools/lib/perf/ |
H A D | lib.c | 10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion() 13 size_t left = n; in ion() 29 BUG_ON((size_t)(buf - buf_start) != n); in ion() 36 ssize_t readn(int fd, void *buf, size_t n) in readn() 44 ssize_t writen(int fd, const void *buf, size_t n) in writen()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | posix_acl_xattr.h | 17 static inline size_t 25 posix_acl_xattr_count(size_t size) in posix_acl_xattr_count() 37 const void *value, size_t size); 41 size_t size) in posix_acl_from_xattr() 48 const struct posix_acl *acl, void *buffer, size_t size);
|
/kernel/linux/linux-6.6/drivers/siox/ |
H A D | siox.h | 14 size_t setbuf_len, const u8 setbuf[], 15 size_t getbuf_len, u8 getbuf[]); 28 size_t setbuf_len, getbuf_len; 29 size_t buf_len; 42 struct siox_master *siox_master_alloc(struct device *dev, size_t size);
|
/kernel/linux/linux-6.6/drivers/pinctrl/intel/ |
H A D | pinctrl-tangier.h | 38 size_t npins; 81 size_t nfamilies; 83 size_t nfunctions; 85 size_t ngroups; 87 size_t npins;
|
/kernel/linux/linux-6.6/lib/zstd/common/ |
H A D | zstd_common.c | 37 unsigned ZSTD_isError(size_t code) { return ERR_isError(code); } in ZSTD_isError() 41 const char* ZSTD_getErrorName(size_t code) { return ERR_getErrorName(code); } in ZSTD_getErrorName() 44 * convert a `size_t` function result into a proper ZSTD_errorCode enum */ 45 ZSTD_ErrorCode ZSTD_getErrorCode(size_t code) { return ERR_getErrorCode(code); } in ZSTD_getErrorCode() 56 void* ZSTD_customMalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customMalloc() 63 void* ZSTD_customCalloc(size_t size, ZSTD_customMem customMem) in ZSTD_customCalloc()
|
/kernel/linux/linux-6.6/tools/include/linux/ |
H A D | string.h | 5 #include <linux/types.h> /* for size_t */ 8 void *memdup(const void *src, size_t len); 25 extern size_t strlcpy(char *dest, const char *src, size_t size); 31 char *str_error_r(int errnum, char *buf, size_t buflen); 49 extern void *memchr_inv(const void *start, int c, size_t bytes);
|
/kernel/linux/linux-6.6/include/asm-generic/ |
H A D | archrandom.h | 5 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs() 10 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-6.6/sound/drivers/ |
H A D | pcmtest.c | 100 size_t buf_pos; // position in the DMA buffer 101 size_t period_pos; // period-relative position 102 size_t b_rw; // Bytes to write on every timer tick 103 size_t s_rw_ch; // Samples to write to one channel on every tick 106 size_t period_bytes; // bytes in a one period 108 size_t total_bytes; // Total bytes read/written 109 size_t chan_block; // Bytes in one channel buffer when non-interleaved 142 static inline void inc_buf_pos(struct pcmtst_buf_iter *v_iter, size_t by, size_t bytes) in inc_buf_pos() 155 static inline size_t buf_pos_ [all...] |
/kernel/linux/linux-6.6/mm/kfence/ |
H A D | kfence_test.c | 50 static void probe_console(void *ignore, const char *buf, size_t len) in probe_console() 185 static size_t setup_test_cache(struct kunit *test, size_t size, slab_flags_t flags, in setup_test_cache() 213 static inline size_t kmalloc_cache_alignment(size_t size) in kmalloc_cache_alignment() 244 static void *test_alloc(struct kunit *test, size_t size, gfp_t gfp, enum allocation_policy policy) in test_alloc() 320 size_t size = 32; in test_out_of_bounds_read() 354 size_t size = 32; in test_out_of_bounds_write() 372 const size_t size = 32; in test_use_after_free_read() 388 const size_t siz in test_double_free() [all...] |
/kernel/linux/linux-6.6/arch/powerpc/include/asm/ |
H A D | archrandom.h | 5 static inline size_t __must_check arch_get_random_longs(unsigned long *v, size_t max_longs) in arch_get_random_longs() 10 size_t __must_check arch_get_random_seed_longs(unsigned long *v, size_t max_longs);
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | vmcore.c | 40 static size_t elfcorebuf_sz; 41 static size_t elfcorebuf_sz_orig; 44 static size_t elfnotes_sz; 46 static size_t elfnotes_orig_sz; 63 static size_t vmcoredd_orig_sz; 131 ssize_t read_from_oldmem(struct iov_iter *iter, size_t count, in read_from_oldmem() 197 ssize_t __weak elfcorehdr_read(char *buf, size_t count, u64 *ppos) in elfcorehdr_read() 210 ssize_t __weak elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos) in elfcorehdr_read_notes() 236 unsigned long pfn, size_t csize, unsigned long offset) in copy_oldmem_page_encrypted() 242 static int vmcoredd_copy_dumps(struct iov_iter *iter, u64 start, size_t siz [all...] |
/kernel/linux/linux-5.10/net/sunrpc/ |
H A D | socklib.c | 29 size_t count; 33 typedef size_t (*xdr_skb_read_actor)(struct xdr_skb_reader *desc, void *to, 34 size_t len); 45 static size_t 46 xdr_skb_read_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_bits() 65 static size_t xdr_skb_read_and_csum_bits(struct xdr_skb_reader *desc, void *to, size_t len) in xdr_skb_read_and_csum_bits() 94 size_t ret; in xdr_partial_copy_from_skb() 206 size_t seek) in xprt_sendmsg() 214 struct kvec *vec, size_t see in xprt_send_kvec() [all...] |