/kernel/linux/linux-6.6/drivers/android/ |
H A D | binder_alloc.c | 60 static size_t binder_alloc_buffer_size(struct binder_alloc *alloc, in binder_alloc_buffer_size() 74 size_t buffer_size; in binder_insert_free_buffer() 75 size_t new_buffer_size; in binder_insert_free_buffer() 229 size_t index; in binder_update_page_range() 281 size_t index; in binder_update_page_range() 337 size_t total_alloc_size = 0; in debug_low_async_space_locked() 338 size_t num_buffers = 0; in debug_low_async_space_locked() 370 size_t data_size, in binder_alloc_new_buf_locked() 371 size_t offsets_size, in binder_alloc_new_buf_locked() 372 size_t extra_buffers_siz in binder_alloc_new_buf_locked() [all...] |
/third_party/eudev/src/shared/ |
H A D | util.c | 78 size_t page_size(void) { in page_size() 79 static thread_local size_t pgsz = 0; in page_size() 88 pgsz = (size_t) r; in page_size() 106 size_t sl, pl; in endswith() 126 size_t cescape_char(char c, char *buf) { in cescape_char() 358 static size_t strcspn_escaped(const char *s, const char *reject) { in strcspn_escaped() 376 const char* split(const char **state, size_t *l, const char *separator, bool quoted) { in split() 426 char *strnappend(const char *s, const char *suffix, size_t b) { in strnappend() 427 size_t a; in strnappend() 443 if (b > ((size_t) in strnappend() [all...] |
/kernel/linux/linux-5.10/drivers/dma/ioat/ |
H A D | dma.h | 125 size_t xfercap_log; 143 ssize_t (*store)(struct dma_chan *, const char *, size_t); 186 size_t len; 333 ioat_xferlen_to_descs(struct ioatdma_chan *ioat_chan, size_t len) in ioat_xferlen_to_descs() 359 dma_addr_t dma_src, size_t len, unsigned long flags); 364 unsigned int src_cnt, size_t len, unsigned long flags); 367 unsigned int src_cnt, size_t len, 371 unsigned int src_cnt, const unsigned char *scf, size_t len, 375 unsigned int src_cnt, const unsigned char *scf, size_t len, 379 unsigned int src_cnt, size_t le [all...] |
/kernel/linux/linux-5.10/arch/mips/kernel/ |
H A D | rtlx.c | 242 ssize_t rtlx_read(int index, void __user *buff, size_t count) in rtlx_read() 244 size_t lx_write, fl = 0L; in rtlx_read() 259 (size_t)(lx_write + lx->buffer_size - lx->lx_read) in rtlx_read() 263 fl = min(count, (size_t)lx->buffer_size - lx->lx_read); in rtlx_read() 284 ssize_t rtlx_write(int index, const void __user *buffer, size_t count) in rtlx_write() 288 size_t rt_read; in rtlx_write() 289 size_t fl; in rtlx_write() 301 count = min_t(size_t, count, write_spacefree(rt_read, rt->rt_write, in rtlx_write() 305 fl = min(count, (size_t) rt->buffer_size - rt->rt_write); in rtlx_write() 361 static ssize_t file_read(struct file *file, char __user *buffer, size_t coun [all...] |
/kernel/linux/linux-5.10/drivers/base/regmap/ |
H A D | regmap-i2c.c | 123 static int regmap_i2c_write(void *context, const void *data, size_t count) in regmap_i2c_write() 139 const void *reg, size_t reg_size, in regmap_i2c_gather_write() 140 const void *val, size_t val_size) in regmap_i2c_gather_write() 173 const void *reg, size_t reg_size, in regmap_i2c_read() 174 void *val, size_t val_size) in regmap_i2c_read() 209 size_t count) in regmap_i2c_smbus_i2c_write() 223 size_t reg_size, void *val, in regmap_i2c_smbus_i2c_read() 224 size_t val_size) in regmap_i2c_smbus_i2c_read() 250 size_t count) in regmap_i2c_smbus_i2c_write_reg16() 264 size_t reg_siz in regmap_i2c_smbus_i2c_read_reg16() [all...] |
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | rtlx.c | 242 ssize_t rtlx_read(int index, void __user *buff, size_t count) in rtlx_read() 244 size_t lx_write, fl = 0L; in rtlx_read() 259 (size_t)(lx_write + lx->buffer_size - lx->lx_read) in rtlx_read() 263 fl = min(count, (size_t)lx->buffer_size - lx->lx_read); in rtlx_read() 284 ssize_t rtlx_write(int index, const void __user *buffer, size_t count) in rtlx_write() 288 size_t rt_read; in rtlx_write() 289 size_t fl; in rtlx_write() 301 count = min_t(size_t, count, write_spacefree(rt_read, rt->rt_write, in rtlx_write() 305 fl = min(count, (size_t) rt->buffer_size - rt->rt_write); in rtlx_write() 361 static ssize_t file_read(struct file *file, char __user *buffer, size_t coun [all...] |
/kernel/linux/linux-5.10/drivers/nfc/st21nfca/ |
H A D | vendor_cmds.c | 36 size_t data_len) in st21nfca_factory_mode() 60 size_t data_len) in st21nfca_hci_clear_all_pipes() 68 size_t data_len) in st21nfca_hci_dm_put_data() 78 size_t data_len) in st21nfca_hci_dm_update_aid() 87 size_t data_len) in st21nfca_hci_dm_get_info() 122 size_t data_len) in st21nfca_hci_dm_get_data() 157 size_t data_len) in st21nfca_hci_dm_load() 166 size_t data_len) in st21nfca_hci_dm_reset() 184 size_t data_len) in st21nfca_hci_get_param() 220 size_t data_le in st21nfca_hci_dm_field_generator() [all...] |
/kernel/linux/linux-5.10/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 49 size_t remaining; in ft_queue_data_in() 54 size_t frame_len = 0; in ft_queue_data_in() 55 size_t mem_len = 0; in ft_queue_data_in() 56 size_t tlen; in ft_queue_data_in() 57 size_t off_in_page; in ft_queue_data_in() 101 mem_len = min((size_t)sg->length, remaining); in ft_queue_data_in() 145 tlen = min(tlen, (size_t)(PAGE_SIZE - in ft_queue_data_in() 206 size_t frame_len; in ft_recv_write_data() 207 size_t mem_len = 0; in ft_recv_write_data() 208 size_t tle in ft_recv_write_data() [all...] |
/kernel/linux/linux-5.10/drivers/tee/optee/ |
H A D | supp.c | 16 size_t num_params; 76 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, in optee_supp_thrd_req() 185 static int supp_check_recv_params(size_t num_params, struct tee_param *params, in supp_check_recv_params() 186 size_t *num_meta) in supp_check_recv_params() 188 size_t n; in supp_check_recv_params() 237 size_t num_meta; in optee_supp_recv() 292 size_t num_params, in supp_pop_req() 294 size_t *num_meta) in supp_pop_req() 298 size_t nm; in supp_pop_req() 345 size_t in optee_supp_send() [all...] |
/kernel/linux/linux-5.10/include/linux/ |
H A D | seq_file.h | 18 size_t size; 19 size_t from; 20 size_t count; 21 size_t pad_until; 63 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() 101 static inline void seq_setwidth(struct seq_file *m, size_t size) in seq_setwidth() 109 ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); 113 int seq_write(struct seq_file *seq, const void *data, size_t len); 130 void seq_escape_mem_ascii(struct seq_file *m, const char *src, size_t isz); 133 int rowsize, int groupsize, const void *buf, size_t le [all...] |
H A D | uaccess.h | 220 copy_mc_to_kernel(void *dst, const void *src, size_t cnt) in copy_mc_to_kernel() 295 extern __must_check int check_zeroed_user(const void __user *from, size_t size); 314 * SYSCALL_DEFINE2(foobar, const struct foo __user *, uarg, size_t, usize) 345 copy_struct_from_user(void *dst, size_t ksize, const void __user *src, in copy_struct_from_user() 346 size_t usize) in copy_struct_from_user() 348 size_t size = min(ksize, usize); in copy_struct_from_user() 349 size_t rest = max(ksize, usize) - size; in copy_struct_from_user() 369 bool copy_from_kernel_nofault_allowed(const void *unsafe_src, size_t size); 371 long copy_from_kernel_nofault(void *dst, const void *src, size_t size); 372 long notrace copy_to_kernel_nofault(void *dst, const void *src, size_t siz [all...] |
/kernel/linux/linux-5.10/fs/ext4/ |
H A D | verity.c | 41 static int pagecache_read(struct inode *inode, void *buf, size_t count, in pagecache_read() 45 size_t n = min_t(size_t, count, in pagecache_read() 72 static int pagecache_write(struct inode *inode, const void *buf, size_t count, in pagecache_write() 79 size_t n = min_t(size_t, count, in pagecache_write() 176 size_t desc_size, u64 merkle_tree_size) in ext4_write_verity_descriptor() 196 size_t desc_size, u64 merkle_tree_size) in ext4_end_enable_verity() 274 size_t *desc_size_ret, in ext4_get_verity_descriptor_location() 346 size_t buf_siz in ext4_get_verity_descriptor() [all...] |
/kernel/linux/linux-5.10/fs/afs/ |
H A D | xattr.c | 39 void *buffer, size_t size) in afs_xattr_get_acl() 74 const void *buffer, size_t size) in afs_make_acl() 102 const void *buffer, size_t size, int flags) in afs_xattr_set_acl() 140 void *buffer, size_t size) in afs_xattr_get_yfs() 232 const void *buffer, size_t size, int flags) in afs_xattr_set_yfs() 269 void *buffer, size_t size) in afs_xattr_get_cell() 273 size_t namelen; in afs_xattr_get_cell() 296 void *buffer, size_t size) in afs_xattr_get_fid() 300 size_t len; in afs_xattr_get_fid() 334 void *buffer, size_t siz in afs_xattr_get_volume() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
H A D | msm_iommu.c | 33 size_t size) in msm_iommu_pagetable_unmap() 37 size_t unmapped = 0; in msm_iommu_pagetable_unmap() 52 struct sg_table *sgt, size_t len, int prot) in msm_iommu_pagetable_map() 57 size_t mapped = 0; in msm_iommu_pagetable_map() 62 size_t size = sg->length; in msm_iommu_pagetable_map() 129 static void msm_iommu_tlb_flush_walk(unsigned long iova, size_t size, in msm_iommu_tlb_flush_walk() 130 size_t granule, void *cookie) in msm_iommu_tlb_flush_walk() 135 unsigned long iova, size_t granule, void *cookie) in msm_iommu_tlb_add_page() 234 struct sg_table *sgt, size_t len, int prot) in msm_iommu_map() 237 size_t re in msm_iommu_map() [all...] |
/kernel/linux/linux-6.6/drivers/mtd/devices/ |
H A D | phram.c | 51 static int phram_point(struct mtd_info *mtd, loff_t from, size_t len, in phram_point() 52 size_t *retlen, void **virt, resource_size_t *phys) in phram_point() 59 static int phram_unpoint(struct mtd_info *mtd, loff_t from, size_t len) in phram_unpoint() 64 static int phram_read(struct mtd_info *mtd, loff_t from, size_t len, in phram_read() 65 size_t *retlen, u_char *buf) in phram_read() 74 static int phram_write(struct mtd_info *mtd, loff_t to, size_t len, in phram_write() 75 size_t *retlen, const u_char *buf) in phram_write() 84 static int phram_map(struct phram_mtd_list *phram, phys_addr_t start, size_t len) in phram_map() 125 phys_addr_t start, size_t len, uint32_t erasesize) in register_device() 183 size_t le in parse_num64() [all...] |
/kernel/linux/linux-6.6/fs/afs/ |
H A D | xattr.c | 39 void *buffer, size_t size) in afs_xattr_get_acl() 74 const void *buffer, size_t size) in afs_make_acl() 103 const void *buffer, size_t size, int flags) in afs_xattr_set_acl() 141 void *buffer, size_t size) in afs_xattr_get_yfs() 234 const void *buffer, size_t size, int flags) in afs_xattr_set_yfs() 271 void *buffer, size_t size) in afs_xattr_get_cell() 275 size_t namelen; in afs_xattr_get_cell() 298 void *buffer, size_t size) in afs_xattr_get_fid() 302 size_t len; in afs_xattr_get_fid() 336 void *buffer, size_t siz in afs_xattr_get_volume() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | vringh.h | 100 size_t consumed; /* Within iov[i] */ 118 size_t consumed; /* Within iov[i] */ 166 ssize_t vringh_iov_pull_user(struct vringh_iov *riov, void *dst, size_t len); 170 const void *src, size_t len); 219 static inline size_t vringh_kiov_length(struct vringh_kiov *kiov) in vringh_kiov_length() 221 size_t len = 0; in vringh_kiov_length() 230 void vringh_kiov_advance(struct vringh_kiov *kiov, size_t len); 238 ssize_t vringh_iov_pull_kern(struct vringh_kiov *riov, void *dst, size_t len); 240 const void *src, size_t len); 317 void *dst, size_t le [all...] |
H A D | mhi.h | 392 size_t fw_sz; 394 size_t rddm_size; 395 size_t sbl_size; 396 size_t seg_len; 397 size_t reg_len; 454 size_t buffer_len; 499 size_t bytes_xferd; 517 size_t len; 784 struct mhi_buf *mhi_buf, size_t len, enum mhi_flags mflags); 796 void *buf, size_t le [all...] |
H A D | seq_file.h | 19 size_t size; 20 size_t from; 21 size_t count; 22 size_t pad_until; 64 static inline size_t seq_get_buf(struct seq_file *m, char **bufp) in seq_get_buf() 102 static inline void seq_setwidth(struct seq_file *m, size_t size) in seq_setwidth() 110 ssize_t seq_read(struct file *, char __user *, size_t, loff_t *); 114 int seq_write(struct seq_file *seq, const void *data, size_t len); 130 void seq_escape_mem(struct seq_file *m, const char *src, size_t len, 156 int rowsize, int groupsize, const void *buf, size_t le [all...] |
/kernel/linux/linux-6.6/drivers/tee/optee/ |
H A D | supp.c | 16 size_t num_params; 76 u32 optee_supp_thrd_req(struct tee_context *ctx, u32 func, size_t num_params, in optee_supp_thrd_req() 185 static int supp_check_recv_params(size_t num_params, struct tee_param *params, in supp_check_recv_params() 186 size_t *num_meta) in supp_check_recv_params() 188 size_t n; in supp_check_recv_params() 237 size_t num_meta; in optee_supp_recv() 292 size_t num_params, in supp_pop_req() 294 size_t *num_meta) in supp_pop_req() 298 size_t nm; in supp_pop_req() 345 size_t in optee_supp_send() [all...] |
/kernel/linux/linux-6.6/drivers/target/tcm_fc/ |
H A D | tfc_io.c | 48 size_t remaining; in ft_queue_data_in() 53 size_t frame_len = 0; in ft_queue_data_in() 54 size_t mem_len = 0; in ft_queue_data_in() 55 size_t tlen; in ft_queue_data_in() 56 size_t off_in_page; in ft_queue_data_in() 100 mem_len = min((size_t)sg->length, remaining); in ft_queue_data_in() 144 tlen = min(tlen, (size_t)(PAGE_SIZE - in ft_queue_data_in() 205 size_t frame_len; in ft_recv_write_data() 206 size_t mem_len = 0; in ft_recv_write_data() 207 size_t tle in ft_recv_write_data() [all...] |
/kernel/linux/linux-6.6/drivers/base/regmap/ |
H A D | regmap-i2c.c | 123 static int regmap_i2c_write(void *context, const void *data, size_t count) in regmap_i2c_write() 139 const void *reg, size_t reg_size, in regmap_i2c_gather_write() 140 const void *val, size_t val_size) in regmap_i2c_gather_write() 173 const void *reg, size_t reg_size, in regmap_i2c_read() 174 void *val, size_t val_size) in regmap_i2c_read() 209 size_t count) in regmap_i2c_smbus_i2c_write() 223 size_t reg_size, void *val, in regmap_i2c_smbus_i2c_read() 224 size_t val_size) in regmap_i2c_smbus_i2c_read() 250 size_t count) in regmap_i2c_smbus_i2c_write_reg16() 264 size_t reg_siz in regmap_i2c_smbus_i2c_read_reg16() [all...] |
/kernel/linux/linux-6.6/drivers/dma/ioat/ |
H A D | dma.h | 126 size_t xfercap_log; 144 ssize_t (*store)(struct dma_chan *, const char *, size_t); 187 size_t len; 332 ioat_xferlen_to_descs(struct ioatdma_chan *ioat_chan, size_t len) in ioat_xferlen_to_descs() 358 dma_addr_t dma_src, size_t len, unsigned long flags); 363 unsigned int src_cnt, size_t len, unsigned long flags); 366 unsigned int src_cnt, size_t len, 370 unsigned int src_cnt, const unsigned char *scf, size_t len, 374 unsigned int src_cnt, const unsigned char *scf, size_t len, 378 unsigned int src_cnt, size_t le [all...] |
/kernel/linux/linux-6.6/drivers/nfc/st21nfca/ |
H A D | vendor_cmds.c | 36 size_t data_len) in st21nfca_factory_mode() 60 size_t data_len) in st21nfca_hci_clear_all_pipes() 68 size_t data_len) in st21nfca_hci_dm_put_data() 78 size_t data_len) in st21nfca_hci_dm_update_aid() 87 size_t data_len) in st21nfca_hci_dm_get_info() 122 size_t data_len) in st21nfca_hci_dm_get_data() 157 size_t data_len) in st21nfca_hci_dm_load() 166 size_t data_len) in st21nfca_hci_dm_reset() 184 size_t data_len) in st21nfca_hci_get_param() 220 size_t data_le in st21nfca_hci_dm_field_generator() [all...] |
/kernel/linux/linux-6.6/drivers/nvmem/ |
H A D | u-boot-env.c | 54 size_t bytes) in u_boot_env_read() 58 size_t bytes_read; in u_boot_env_read() 76 unsigned int offset, void *buf, size_t bytes) in u_boot_env_read_post_process_ethaddr() 95 size_t data_offset, size_t data_len) in u_boot_env_add_cells() 141 size_t crc32_data_offset; in u_boot_env_parse() 142 size_t crc32_data_len; in u_boot_env_parse() 143 size_t crc32_offset; in u_boot_env_parse() 144 size_t data_offset; in u_boot_env_parse() 145 size_t data_le in u_boot_env_parse() [all...] |