/kernel/linux/linux-5.10/drivers/s390/char/ |
H A D | vmur.c | 417 size_t count, size_t reclen, loff_t *ppos) in do_write() 443 size_t count, loff_t *ppos) in ur_write() 510 static ssize_t diag14_read(struct file *file, char __user *ubuf, size_t count, in diag14_read() 513 size_t len, copied, res; in diag14_read() 528 len = min((size_t) PAGE_SIZE, count); in diag14_read() 534 res = (size_t) (*offs % PAGE_SIZE); in diag14_read() 560 static ssize_t ur_read(struct file *file, char __user *ubuf, size_t count, in ur_read()
|
/kernel/linux/linux-5.10/drivers/usb/dwc3/ |
H A D | debugfs.c | 364 size_t count, loff_t *ppos) in dwc3_lsp_write() 373 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_lsp_write() 435 const char __user *ubuf, size_t count, loff_t *ppos) in dwc3_mode_write() 442 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_mode_write() 521 const char __user *ubuf, size_t count, loff_t *ppos) in dwc3_testmode_write() 530 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_testmode_write() 609 const char __user *ubuf, size_t count, loff_t *ppos) in dwc3_link_state_write() 620 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_link_state_write()
|
/kernel/linux/linux-5.10/drivers/video/backlight/ |
H A D | adp8860_bl.c | 438 size_t count, int reg) in adp8860_store() 462 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l3_dark_max_store() 477 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l2_office_max_store() 491 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l1_daylight_max_store() 512 const char *buf, size_t count) in adp8860_bl_l3_dark_dim_store() 527 const char *buf, size_t count) in adp8860_bl_l2_office_dim_store() 542 const char *buf, size_t count) in adp8860_bl_l1_daylight_dim_store() 597 const char *buf, size_t count) in adp8860_bl_ambient_light_zone_store()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | mmzone.h | 1017 int min_free_kbytes_sysctl_handler(struct ctl_table *, int, void *, size_t *, 1020 size_t *, loff_t *); 1023 size_t *, loff_t *); 1025 void *, size_t *, loff_t *); 1027 void *, size_t *, loff_t *); 1029 void *, size_t *, loff_t *); 1031 void *, size_t *, loff_t *); 1317 extern size_t mem_section_usage_size(void);
|
/kernel/linux/linux-5.10/sound/core/oss/ |
H A D | pcm_plugin.c | 53 size_t size; in snd_pcm_plugin_alloc() 153 size_t extra, in snd_pcm_plugin_build() 666 int snd_pcm_area_silence(const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_silence() 667 size_t samples, snd_pcm_format_t format) in snd_pcm_area_silence() 712 int snd_pcm_area_copy(const struct snd_pcm_channel_area *src_area, size_t src_offset, in snd_pcm_area_copy() 713 const struct snd_pcm_channel_area *dst_area, size_t dst_offset, in snd_pcm_area_copy() 714 size_t samples, snd_pcm_format_t format) in snd_pcm_area_copy() 731 size_t bytes = samples * width / 8; in snd_pcm_area_copy()
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | dwarf-aux.c | 25 size_t nfiles, i; in cu_find_realpath() 68 size_t nlines, l, u, n; in cu_getsrc_die() 432 size_t nexpr; in die_get_data_member_location() 856 size_t nlines, i; in die_walk_lines() 1105 size_t offset = 0; in die_get_var_innermost_scope() 1170 size_t nops; in die_get_var_range() 1171 size_t offset = 0; in die_get_var_range() 1381 size_t nr_lines = 0; in die_skip_prologue()
|
H A D | jitdump.c | 41 size_t bufsize; 50 size_t nr_debug_entries; 246 size_t bs, size; in jit_get_next_entry() 253 size_t sz = getpagesize(); in jit_get_next_entry() 281 bs = (size_t)size; in jit_get_next_entry() 410 size_t size; in jit_repipe_code_load() 523 size_t size; in jit_repipe_code_move() 609 size_t sz; in jit_repipe_debug_info()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | misc.c | 167 size_t buf_size = sizeof(struct smb2_sync_hdr); in cifs_buf_get() 424 size_t len = srv->total_read - sizeof(pSMBr->hdr.smb_buf_length); in is_valid_oplock_break() 842 size_t len; in setup_aio_ctx_iter() 843 size_t count = iov_iter_count(iter); in setup_aio_ctx_iter() 845 size_t start; in setup_aio_ctx_iter() 934 size_t size; in cifs_alloc_hash() 993 void extract_unc_hostname(const char *unc, const char **h, size_t *len) in extract_unc_hostname() 1097 const char *share, size_t share_len, in match_target_ip()
|
/kernel/linux/linux-5.10/fs/ |
H A D | posix_acl.c | 179 const size_t size = sizeof(struct posix_acl) + in posix_acl_alloc() 671 void *value, size_t size) in posix_acl_fix_xattr_userns() 708 void posix_acl_fix_xattr_from_user(void *value, size_t size) in posix_acl_fix_xattr_from_user() 716 void posix_acl_fix_xattr_to_user(void *value, size_t size) in posix_acl_fix_xattr_to_user() 729 const void *value, size_t size) in posix_acl_from_xattr() 798 void *buffer, size_t size) in posix_acl_to_xattr() 838 const char *name, void *value, size_t size) in posix_acl_xattr_get() 886 size_t size, int flags) in posix_acl_xattr_set()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_shader.c | 58 static size_t vmw_shader_dx_size; 715 size_t shader_size, in vmw_user_shader_alloc() 716 size_t offset, in vmw_user_shader_alloc() 790 size_t shader_size, in vmw_shader_alloc() 791 size_t offset, in vmw_shader_alloc() 841 u32 buffer_handle, size_t size, size_t offset, in vmw_shader_define() 963 size_t size, in vmw_compat_shader_add()
|
/kernel/linux/linux-5.10/drivers/staging/media/allegro-dvt/ |
H A D | nal-h264.c | 64 size_t size; 71 static void rbsp_init(struct rbsp *rbsp, void *addr, size_t size, in rbsp_init() 750 void *dest, size_t n, struct nal_h264_sps *sps) in nal_h264_write_sps() 791 struct nal_h264_sps *sps, void *src, size_t n) in nal_h264_read_sps() 841 void *dest, size_t n, struct nal_h264_pps *pps) in nal_h264_write_pps() 883 struct nal_h264_pps *pps, void *src, size_t n) in nal_h264_read_pps() 925 ssize_t nal_h264_write_filler(const struct device *dev, void *dest, size_t n) in nal_h264_write_filler() 968 ssize_t nal_h264_read_filler(const struct device *dev, void *src, size_t n) in nal_h264_read_filler()
|
/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-ti-qspi.c | 47 size_t mmap_size; 444 dma_addr_t dma_src, size_t len) in ti_qspi_dma_xfer() 483 void *to, size_t readsize) in ti_qspi_dma_bounce_buffer() 493 size_t xfer_len = min_t(size_t, QSPI_DMA_BUFFER_SIZE, in ti_qspi_dma_bounce_buffer() 582 size_t max_len; in ti_qspi_adjust_op_size() 589 op->data.nbytes = min((size_t) op->data.nbytes, in ti_qspi_adjust_op_size() 600 op->data.nbytes = min((size_t) op->data.nbytes, in ti_qspi_adjust_op_size()
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | xattr.c | 656 const void *value, size_t value_len, int flags) in __jfs_setxattr() 795 size_t buf_size) in __jfs_getxattr() 855 ssize_t jfs_listxattr(struct dentry * dentry, char *data, size_t buf_size) in jfs_listxattr() 909 const void *value, size_t size, int flags) in __jfs_xattr_set() 928 const char *name, void *value, size_t size) in jfs_xattr_get() 937 size_t size, int flags) in jfs_xattr_set() 945 const char *name, void *value, size_t size) in jfs_xattr_get_os2() 955 size_t size, int flags) in jfs_xattr_set_os2()
|
/kernel/linux/linux-6.6/drivers/misc/c2port/ |
H A D | core.c | 351 const char *buf, size_t count) in access_store() 381 const char *buf, size_t count) in c2port_store_reset() 520 const char *buf, size_t count) in c2port_store_flash_access() 604 const char *buf, size_t count) in c2port_store_flash_erase() 627 char *buffer, loff_t offset, size_t count) in __c2port_read_flash_data() 718 char *buffer, loff_t offset, size_t count) in c2port_read_flash_data() 738 char *buffer, loff_t offset, size_t count) in __c2port_write_flash_data() 833 char *buffer, loff_t offset, size_t count) in c2port_write_flash_data()
|
/kernel/linux/linux-6.6/drivers/media/platform/allegro-dvt/ |
H A D | nal-hevc.c | 520 void *dest, size_t n, struct nal_hevc_vps *vps) in nal_hevc_write_vps() 564 struct nal_hevc_vps *vps, void *src, size_t n) in nal_hevc_read_vps() 615 void *dest, size_t n, struct nal_hevc_sps *sps) in nal_hevc_write_sps() 659 struct nal_hevc_sps *sps, void *src, size_t n) in nal_hevc_read_sps() 710 void *dest, size_t n, struct nal_hevc_pps *pps) in nal_hevc_write_pps() 754 struct nal_hevc_pps *pps, void *src, size_t n) in nal_hevc_read_pps() 803 ssize_t nal_hevc_write_filler(const struct device *dev, void *dest, size_t n) in nal_hevc_write_filler() 850 ssize_t nal_hevc_read_filler(const struct device *dev, void *src, size_t n) in nal_hevc_read_filler()
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | xattr.c | 656 const void *value, size_t value_len, int flags) in __jfs_setxattr() 795 size_t buf_size) in __jfs_getxattr() 855 ssize_t jfs_listxattr(struct dentry * dentry, char *data, size_t buf_size) in jfs_listxattr() 909 const void *value, size_t size, int flags) in __jfs_xattr_set() 928 const char *name, void *value, size_t size) in jfs_xattr_get() 938 size_t size, int flags) in jfs_xattr_set() 946 const char *name, void *value, size_t size) in jfs_xattr_get_os2() 957 size_t size, int flags) in jfs_xattr_set_os2()
|
/kernel/linux/linux-6.6/include/kunit/ |
H A D | test.h | 322 size_t kunit_suite_num_test_cases(struct kunit_suite *suite); 422 void *kunit_kmalloc_array(struct kunit *test, size_t n, size_t size, gfp_t gfp); 435 static inline void *kunit_kmalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kmalloc() 455 static inline void *kunit_kzalloc(struct kunit *test, size_t size, gfp_t gfp) in kunit_kzalloc() 469 static inline void *kunit_kcalloc(struct kunit *test, size_t n, size_t size, gfp_t gfp) in kunit_kcalloc() 780 const size_t __size = (size_); \
|
/kernel/linux/linux-6.6/drivers/virt/coco/sev-guest/ |
H A D | sev-guest.c | 160 static struct snp_guest_crypto *init_crypto(struct snp_guest_dev *snp_dev, u8 *key, size_t keylen) in init_crypto() 213 u8 *src_buf, u8 *dst_buf, size_t len, bool enc) in enc_dec_message() 255 void *plaintext, size_t len) in __enc_payload() 267 void *plaintext, size_t len) in dec_payload() 314 void *payload, size_t sz) in enc_payload() 428 void *req_buf, size_t req_sz, void *resp_buf, in handle_guest_request() 681 static void free_shared_pages(void *buf, size_t sz) in free_shared_pages() 698 static void *alloc_shared_pages(struct device *dev, size_t sz) in alloc_shared_pages()
|
/kernel/linux/linux-6.6/drivers/video/backlight/ |
H A D | adp8860_bl.c | 438 size_t count, int reg) in adp8860_store() 462 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l3_dark_max_store() 477 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l2_office_max_store() 491 struct device_attribute *attr, const char *buf, size_t count) in adp8860_bl_l1_daylight_max_store() 512 const char *buf, size_t count) in adp8860_bl_l3_dark_dim_store() 527 const char *buf, size_t count) in adp8860_bl_l2_office_dim_store() 542 const char *buf, size_t count) in adp8860_bl_l1_daylight_dim_store() 597 const char *buf, size_t count) in adp8860_bl_ambient_light_zone_store()
|
/kernel/linux/linux-6.6/drivers/spi/ |
H A D | spi-ti-qspi.c | 46 size_t mmap_size; 442 dma_addr_t dma_src, size_t len) in ti_qspi_dma_xfer() 481 void *to, size_t readsize) in ti_qspi_dma_bounce_buffer() 491 size_t xfer_len = min_t(size_t, QSPI_DMA_BUFFER_SIZE, in ti_qspi_dma_bounce_buffer() 580 size_t max_len; in ti_qspi_adjust_op_size() 587 op->data.nbytes = min((size_t) op->data.nbytes, in ti_qspi_adjust_op_size() 598 op->data.nbytes = min((size_t) op->data.nbytes, in ti_qspi_adjust_op_size()
|
/kernel/linux/linux-6.6/drivers/usb/dwc3/ |
H A D | debugfs.c | 369 size_t count, loff_t *ppos) in dwc3_lsp_write() 378 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_lsp_write() 440 const char __user *ubuf, size_t count, loff_t *ppos) in dwc3_mode_write() 447 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_mode_write() 526 const char __user *ubuf, size_t count, loff_t *ppos) in dwc3_testmode_write() 535 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_testmode_write() 614 const char __user *ubuf, size_t count, loff_t *ppos) in dwc3_link_state_write() 625 if (copy_from_user(&buf, ubuf, min_t(size_t, sizeof(buf) - 1, count))) in dwc3_link_state_write()
|
/kernel/linux/linux-6.6/drivers/dma/ |
H A D | apple-admac.c | 141 size_t buf_len; 142 size_t period_len; 144 size_t submitted_pos; 145 size_t reclaimed_pos; 251 struct dma_chan *chan, dma_addr_t buf_addr, size_t buf_len, in admac_prep_dma_cyclic() 252 size_t period_len, enum dma_transfer_direction direction, in admac_prep_dma_cyclic() 349 size_t pos; in admac_cyclic_read_residue() 380 size_t residue; in admac_tx_status()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath10k/ |
H A D | core.h | 671 size_t ramdump_buf_len; 954 size_t firmware_len; 957 size_t otp_len; 960 size_t codeswap_len; 975 size_t board_len; 978 size_t ext_board_len; 1325 struct ath10k *ath10k_core_create(size_t priv_size, struct device *dev, 1332 size_t max_len);
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | w83l786ng.c | 238 const char *buf, size_t count) \ 291 const char *buf, size_t count) in store_fan_min() 329 const char *buf, size_t count) in store_fan_div() 417 const char *buf, size_t count) in store_temp() 475 const char *buf, size_t count) in store_pwm_mode() 503 const char *buf, size_t count) in store_pwm() 527 const char *buf, size_t count) in store_pwm_enable() 583 const char *buf, size_t count) in store_tolerance()
|
/kernel/linux/linux-6.6/drivers/iommu/ |
H A D | mtk_iommu_v1.c | 170 unsigned long iova, size_t size) in mtk_iommu_v1_tlb_flush_range() 330 phys_addr_t paddr, size_t pgsize, size_t pgcount, in mtk_iommu_v1_map() 331 int prot, gfp_t gfp, size_t *mapped) in mtk_iommu_v1_map() 355 static size_t mtk_iommu_v1_unmap(struct iommu_domain *domain, unsigned long iova, in mtk_iommu_v1_unmap() 356 size_t pgsize, size_t pgcount, in mtk_iommu_v1_unmap() 362 size_t size = pgcount * MT2701_IOMMU_PAGE_SIZE; in mtk_iommu_v1_unmap()
|