/kernel/linux/linux-6.6/drivers/firmware/tegra/ |
H A D | bpmp-debugfs.c | 17 size_t pos; 18 size_t size; 21 static void seqbuf_init(struct seqbuf *seqbuf, void *buf, size_t size) in seqbuf_init() 28 static size_t seqbuf_avail(struct seqbuf *seqbuf) in seqbuf_avail() 33 static size_t seqbuf_status(struct seqbuf *seqbuf) in seqbuf_status() 43 static int seqbuf_read(struct seqbuf *seqbuf, void *buf, size_t nbyte) in seqbuf_read() 75 size_t root_len; in get_filename() 76 size_t root_path_buf_len = 512; in get_filename() 178 char *data, size_t sz_data, u32 *nbytes) in mrq_debug_read() 243 uint8_t *data, size_t sz_dat in mrq_debug_write() [all...] |
/kernel/linux/linux-6.6/kernel/kcsan/ |
H A D | core.c | 115 size_t size, in find_watchpoint() 123 size_t wp_size; in find_watchpoint() 148 insert_watchpoint(unsigned long addr, size_t size, bool is_write) in insert_watchpoint() 210 check_access(const volatile void *ptr, size_t size, int type, unsigned long ip); 231 is_atomic(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in is_atomic() 268 should_watch(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, int type) in should_watch() 338 static __always_inline u64 read_instrumented_memory(const volatile void *ptr, size_t size) in read_instrumented_memory() 401 find_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in find_reorder_access() 418 set_reorder_access(struct kcsan_ctx *ctx, const volatile void *ptr, size_t size, in set_reorder_access() 456 size_t siz in kcsan_found_watchpoint() [all...] |
/kernel/linux/linux-6.6/mm/ |
H A D | util.c | 55 size_t len; in kstrdup() 99 char *kstrndup(const char *s, size_t max, gfp_t gfp) in kstrndup() 101 size_t len; in kstrndup() 127 void *kmemdup(const void *src, size_t len, gfp_t gfp) in kmemdup() 148 void *kvmemdup(const void *src, size_t len, gfp_t gfp) in kvmemdup() 168 char *kmemdup_nul(const char *s, size_t len, gfp_t gfp) in kmemdup_nul() 193 void *memdup_user(const void __user *src, size_t len) in memdup_user() 219 void *vmemdup_user(const void __user *src, size_t len) in vmemdup_user() 275 void *memdup_user_nul(const void __user *src, size_t len) in memdup_user_nul() 595 void *kvmalloc_node(size_t siz [all...] |
/kernel/linux/linux-5.10/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; 106 ssize_t read_from_oldmem(char *buf, size_t count, in read_from_oldmem() 111 size_t nr_bytes; in read_from_oldmem() 174 ssize_t __weak elfcorehdr_read(char *buf, size_t count, u64 *ppos) in elfcorehdr_read() 182 ssize_t __weak elfcorehdr_read_notes(char *buf, size_t count, u64 *ppos) in elfcorehdr_read_notes() 202 copy_oldmem_page_encrypted(unsigned long pfn, char *buf, size_t csiz [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | syscalls.h | 345 const void __user *argp, size_t argsz); 351 const void __user *value, size_t size, int flags); 353 const void __user *value, size_t size, int flags); 355 const void __user *value, size_t size, int flags); 357 void __user *value, size_t size); 359 void __user *value, size_t size); 361 void __user *value, size_t size); 363 size_t size); 365 size_t size); 366 asmlinkage long sys_flistxattr(int fd, char __user *list, size_t siz [all...] |
H A D | random.h | 15 void add_device_randomness(const void *buf, size_t len); 16 void add_bootloader_randomness(const void *buf, size_t len); 20 void add_hwgenerator_randomness(const void *buf, size_t len, size_t entropy); 31 void get_random_bytes(void *buf, size_t len); 32 size_t __must_check get_random_bytes_arch(void *buf, size_t len); 75 static inline int get_random_bytes_wait(void *buf, size_t nbytes) in get_random_bytes_wait()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/ |
H A D | mcdi.c | 40 size_t inlen; 41 size_t outlen; 152 const efx_dword_t *inbuf, size_t inlen) in efx_mcdi_send_request() 159 size_t hdr_len; in efx_mcdi_send_request() 292 size_t hdr_len, data_len; in efx_mcdi_read_response_header() 505 size_t hdr_len, data_len, err_len; in efx_mcdi_complete_async() 618 efx_mcdi_check_supported(struct efx_nic *efx, unsigned int cmd, size_t inlen) in efx_mcdi_check_supported() 634 size_t hdr_len, size_t data_len, in efx_mcdi_get_proxy_handle() 638 const size_t bufle in efx_mcdi_get_proxy_handle() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 124 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read() 148 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write() 175 size_t count, loff_t *ppos) in xgmac_reg_addr_read() 184 size_t count, loff_t *ppos) in xgmac_reg_addr_write() 193 size_t count, loff_t *ppos) in xgmac_reg_value_read() 205 size_t count, loff_t *ppos) in xgmac_reg_value_write() 235 size_t count, loff_t *ppos) in xpcs_mmd_read() 243 size_t count, loff_t *ppos) in xpcs_mmd_write() 252 size_t count, loff_t *ppos) in xpcs_reg_addr_read() 260 size_t coun in xpcs_reg_addr_write() [all...] |
/kernel/linux/linux-6.6/arch/loongarch/kernel/ |
H A D | module.c | 24 static int rela_stack_push(s64 stack_value, s64 *rela_stack, size_t *rela_stack_top) in rela_stack_push() 35 static int rela_stack_pop(s64 *stack_value, s64 *rela_stack, size_t *rela_stack_top) in rela_stack_pop() 47 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_none() 53 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_error() 60 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_32() 67 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_64() 74 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_pcrel() 80 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_absolute() 86 s64 *rela_stack, size_t *rela_stack_top, unsigned int type) in apply_r_larch_sop_push_dup() 106 s64 *rela_stack, size_t *rela_stack_to in apply_r_larch_sop_push_plt_pcrel() [all...] |
/kernel/linux/linux-5.10/drivers/thunderbolt/ |
H A D | property.c | 39 size_t block_len, unsigned int dir_offset, size_t dir_len, 42 static inline void parse_dwdata(void *dst, const void *src, size_t dwords) in parse_dwdata() 47 static inline void format_dwdata(void *dst, const void *src, size_t dwords) in format_dwdata() 53 size_t block_len) in tb_property_entry_valid() 95 static struct tb_property *tb_property_parse(const u32 *block, size_t block_len, in tb_property_parse() 162 size_t block_len, unsigned int dir_offset, size_t dir_len, bool is_root) in __tb_property_parse_dir() 165 size_t i, content_len, nentries; in __tb_property_parse_dir() 221 size_t block_le in tb_property_parse_dir() [all...] |
/kernel/linux/linux-5.10/sound/core/ |
H A D | pcm_memory.c | 28 static const size_t snd_minimum_buffer = 16384; 46 static void decrease_allocated_size(struct snd_card *card, size_t bytes) in decrease_allocated_size() 55 size_t size, struct snd_dma_buffer *dmab) in do_alloc_pages() 98 static int preallocate_pcm_pages(struct snd_pcm_substream *substream, size_t size) in preallocate_pcm_pages() 102 size_t orig_size = size; in preallocate_pcm_pages() 192 size_t size; in snd_pcm_lib_preallocate_proc_write() 261 size_t size, size_t max, bool managed) in preallocate_pages() 282 void *data, size_t size, size_t ma in preallocate_pages_for_all() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/spi-nor/ |
H A D | otp.c | 36 int spi_nor_otp_read_secr(struct spi_nor *nor, loff_t addr, size_t len, u8 *buf) in spi_nor_otp_read_secr() 83 int spi_nor_otp_write_secr(struct spi_nor *nor, loff_t addr, size_t len, in spi_nor_otp_write_secr() 230 static size_t spi_nor_otp_size(struct spi_nor *nor) in spi_nor_otp_size() 246 static int spi_nor_mtd_otp_info(struct mtd_info *mtd, size_t len, in spi_nor_mtd_otp_info() 247 size_t *retlen, struct otp_info *buf) in spi_nor_mtd_otp_info() 285 size_t len) in spi_nor_mtd_otp_range_is_locked() 308 size_t total_len, size_t *retlen, in spi_nor_mtd_otp_read_write() 313 const size_t rlen = spi_nor_otp_region_len(nor); in spi_nor_mtd_otp_read_write() 316 size_t le in spi_nor_mtd_otp_read_write() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-debugfs.c | 124 static ssize_t xgbe_common_read(char __user *buffer, size_t count, in xgbe_common_read() 148 static ssize_t xgbe_common_write(const char __user *buffer, size_t count, in xgbe_common_write() 175 size_t count, loff_t *ppos) in xgmac_reg_addr_read() 184 size_t count, loff_t *ppos) in xgmac_reg_addr_write() 193 size_t count, loff_t *ppos) in xgmac_reg_value_read() 205 size_t count, loff_t *ppos) in xgmac_reg_value_write() 235 size_t count, loff_t *ppos) in xpcs_mmd_read() 243 size_t count, loff_t *ppos) in xpcs_mmd_write() 252 size_t count, loff_t *ppos) in xpcs_reg_addr_read() 260 size_t coun in xpcs_reg_addr_write() [all...] |
/kernel/linux/linux-6.6/drivers/thunderbolt/ |
H A D | property.c | 39 size_t block_len, unsigned int dir_offset, size_t dir_len, 42 static inline void parse_dwdata(void *dst, const void *src, size_t dwords) in parse_dwdata() 47 static inline void format_dwdata(void *dst, const void *src, size_t dwords) in format_dwdata() 53 size_t block_len) in tb_property_entry_valid() 95 static struct tb_property *tb_property_parse(const u32 *block, size_t block_len, in tb_property_parse() 162 size_t block_len, unsigned int dir_offset, size_t dir_len, bool is_root) in __tb_property_parse_dir() 165 size_t i, content_len, nentries; in __tb_property_parse_dir() 221 size_t block_le in tb_property_parse_dir() [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | pcm_memory.c | 28 static const size_t snd_minimum_buffer = 16384; 46 static void decrease_allocated_size(struct snd_card *card, size_t bytes) in decrease_allocated_size() 55 int str, size_t size, struct snd_dma_buffer *dmab) in do_alloc_pages() 104 size_t size, bool no_fallback) in preallocate_pcm_pages() 108 size_t orig_size = size; in preallocate_pcm_pages() 191 size_t size; in snd_pcm_lib_preallocate_proc_write() 267 size_t size, size_t max, bool managed) in preallocate_pages() 302 void *data, size_t size, size_t ma in preallocate_pages_for_all() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | string_helpers.c | 147 int parse_int_array_user(const char __user *from, size_t count, int **array) in parse_int_array_user() 313 int string_unescape(char *src, char *dst, size_t size, unsigned int flags) in string_unescape() 564 int string_escape_mem(const char *src, size_t isz, char *dst, size_t osz, in string_escape_mem() 640 size_t slen, dlen; in kstrdup_quotable() 749 char **kasprintf_strarray(gfp_t gfp, const char *prefix, size_t n) in kasprintf_strarray() 752 size_t i; in kasprintf_strarray() 780 void kfree_strarray(char **array, size_t n) in kfree_strarray() 795 size_t n; 805 char **devm_kasprintf_strarray(struct device *dev, const char *prefix, size_t [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | sdk.c | 61 static int mlx5_fpga_mem_read_i2c(struct mlx5_fpga_device *fdev, size_t size, in mlx5_fpga_mem_read_i2c() 64 size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX; in mlx5_fpga_mem_read_i2c() 65 size_t bytes_done = 0; in mlx5_fpga_mem_read_i2c() 93 static int mlx5_fpga_mem_write_i2c(struct mlx5_fpga_device *fdev, size_t size, in mlx5_fpga_mem_write_i2c() 96 size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX; in mlx5_fpga_mem_write_i2c() 97 size_t bytes_done = 0; in mlx5_fpga_mem_write_i2c() 124 int mlx5_fpga_mem_read(struct mlx5_fpga_device *fdev, size_t size, u64 addr, in mlx5_fpga_mem_read() 145 int mlx5_fpga_mem_write(struct mlx5_fpga_device *fdev, size_t size, u64 addr, in mlx5_fpga_mem_write()
|
/kernel/linux/linux-5.10/drivers/net/wireless/st/cw1200/ |
H A D | queue.h | 28 size_t capacity; 29 size_t num_queued; 30 size_t num_pending; 31 size_t num_sent; 50 size_t map_capacity; 65 size_t map_capacity, 71 size_t capacity, 77 size_t cw1200_queue_get_num_queued(struct cw1200_queue *queue,
|
/kernel/linux/linux-5.10/include/linux/sunrpc/ |
H A D | addr.h | 16 size_t rpc_ntop(const struct sockaddr *, char *, const size_t); 17 size_t rpc_pton(struct net *, const char *, const size_t, 18 struct sockaddr *, const size_t); 20 size_t rpc_uaddr2sockaddr(struct net *, const char *, const size_t, 21 struct sockaddr *, const size_t);
|
/kernel/linux/linux-5.10/include/trace/events/ |
H A D | percpu.h | 12 TP_PROTO(bool reserved, bool is_atomic, size_t size, 13 size_t align, void *base_addr, int off, void __percpu *ptr), 20 __field( size_t, size ) 21 __field( size_t, align ) 67 TP_PROTO(bool reserved, bool is_atomic, size_t size, size_t align), 74 __field( size_t, size ) 75 __field( size_t, align )
|
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | aead_api.c | 18 int aead_encrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_encrypt() 19 u8 *data, size_t data_len, u8 *mic) in aead_encrypt() 21 size_t mic_len = crypto_aead_authsize(tfm); in aead_encrypt() 50 int aead_decrypt(struct crypto_aead *tfm, u8 *b_0, u8 *aad, size_t aad_len, in aead_decrypt() 51 u8 *data, size_t data_len, u8 *mic) in aead_decrypt() 53 size_t mic_len = crypto_aead_authsize(tfm); in aead_decrypt() 87 size_t key_len, size_t mic_len) in aead_key_setup_encrypt()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/fpga/ |
H A D | sdk.c | 61 static int mlx5_fpga_mem_read_i2c(struct mlx5_fpga_device *fdev, size_t size, in mlx5_fpga_mem_read_i2c() 64 size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX; in mlx5_fpga_mem_read_i2c() 65 size_t bytes_done = 0; in mlx5_fpga_mem_read_i2c() 93 static int mlx5_fpga_mem_write_i2c(struct mlx5_fpga_device *fdev, size_t size, in mlx5_fpga_mem_write_i2c() 96 size_t max_size = MLX5_FPGA_ACCESS_REG_SIZE_MAX; in mlx5_fpga_mem_write_i2c() 97 size_t bytes_done = 0; in mlx5_fpga_mem_write_i2c() 124 int mlx5_fpga_mem_read(struct mlx5_fpga_device *fdev, size_t size, u64 addr, in mlx5_fpga_mem_read() 145 int mlx5_fpga_mem_write(struct mlx5_fpga_device *fdev, size_t size, u64 addr, in mlx5_fpga_mem_write()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | evm.h | 18 extern int evm_set_key(void *key, size_t keylen); 22 size_t xattr_value_len, 29 const void *value, size_t size); 33 size_t xattr_value_len); 78 static inline int evm_set_key(void *key, size_t keylen) in evm_set_key() 87 size_t xattr_value_len, in evm_verifyxattr() 107 const void *value, size_t size) in evm_inode_setxattr() 115 size_t xattr_value_len) in evm_inode_post_setxattr()
|
H A D | mei_cl_bus.h | 96 size_t length); 97 ssize_t mei_cldev_recv(struct mei_cl_device *cldev, u8 *buf, size_t length); 99 size_t length); 101 size_t length, u8 vtag); 102 ssize_t mei_cldev_recv_vtag(struct mei_cl_device *cldev, u8 *buf, size_t length, 105 size_t length, u8 *vtag); 123 size_t total_in_len, 126 void *mei_cldev_dma_map(struct mei_cl_device *cldev, u8 buffer_id, size_t size);
|
/kernel/linux/linux-6.6/include/linux/sunrpc/ |
H A D | addr.h | 16 size_t rpc_ntop(const struct sockaddr *, char *, const size_t); 17 size_t rpc_pton(struct net *, const char *, const size_t, 18 struct sockaddr *, const size_t); 20 size_t rpc_uaddr2sockaddr(struct net *, const char *, const size_t, 21 struct sockaddr *, const size_t);
|