Home
last modified time | relevance | path

Searched refs:size_t (Results 10326 - 10350 of 38523) sorted by relevance

1...<<411412413414415416417418419420>>...1541

/kernel/linux/linux-6.6/drivers/mtd/nand/onenand/
H A Donenand_base.c398 static int onenand_command(struct mtd_info *mtd, int cmd, loff_t addr, size_t len) in onenand_command()
759 unsigned char *buffer, int offset, size_t count) in onenand_read_bufferram()
795 unsigned char *buffer, int offset, size_t count) in onenand_sync_read_bufferram()
835 const unsigned char *buffer, int offset, size_t count) in onenand_write_bufferram()
1119 size_t len = ops->len; in onenand_mlc_read_ops_nolock()
1120 size_t ooblen = ops->ooblen; in onenand_mlc_read_ops_nolock()
1220 size_t len = ops->len; in onenand_read_ops_nolock()
1221 size_t ooblen = ops->ooblen; in onenand_read_ops_nolock()
1350 size_t len = ops->ooblen; in onenand_read_oob_nolock()
1544 size_t le in onenand_bbt_read_oob()
[all...]
/third_party/lzma/C/
H A DLzmaEnc.c30 Byte *dest, size_t *destLen, UInt32 desiredPackSize, UInt32 *unpackSize);
207 #define kNumLogBits (11 + sizeof(size_t) / 8 * 3)
220 size_t k = ((size_t)1 << ((slot >> 1) - 1)); in LzmaEnc_FastPosInit()
221 size_t j; in LzmaEnc_FastPosInit()
338 ((p)->prices[posState][(size_t)(len) - LZMA_MATCH_LEN_MIN])
342 ((p)->prices2[(size_t)(len) - 2] + ((p)->prices1[posState][((len) - 2) & (kLenNumLowSymbols * 2 - 1)] & (((len) - 2 - kLenNumLowSymbols * 2) >> 9)))
637 #define RangeEnc_GetProcessed(p) ( (p)->processed + (size_t)((p)->buf - (p)->bufBase) + (p)->cacheSize)
638 #define RangeEnc_GetProcessed_sizet(p) ((size_t)(p)->processed + (size_t)((
[all...]
/third_party/libcoap/src/
H A Dcoap_net.c328 size_t key_len) { in coap_context_set_psk()
391 size_t max_token_size) { in coap_context_set_max_token_size()
750 size_t used_size = pdu->used_size; in coap_option_check_critical()
960 size_t i; in coap_send_test_extended_token()
1317 size_t len; in coap_send()
1401 size_t hop_limit; in coap_send_internal()
1407 size_t len; in coap_send_internal()
1455 size_t data_len; in coap_send_internal()
1469 ((size_t)(a_match - (char *)pdu->data + len) == data_len || in coap_send_internal()
1478 size_t old_siz in coap_send_internal()
[all...]
/kernel/linux/linux-5.10/drivers/firewire/
H A Dnosy.c60 size_t capacity;
115 packet_buffer_init(struct packet_buffer *buffer, size_t capacity) in packet_buffer_init()
137 packet_buffer_get(struct client *client, char __user *data, size_t user_length) in packet_buffer_get()
140 size_t length; in packet_buffer_get()
161 size_t split = end - buffer->head->data; in packet_buffer_get()
181 packet_buffer_put(struct packet_buffer *buffer, void *data, size_t length) in packet_buffer_put()
200 size_t split = end - buffer->tail->data; in packet_buffer_put()
336 nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset) in nosy_read()
410 size_t length; in packet_irq_handler()
/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-roccat-kovaplus.c127 char *buf, loff_t off, size_t count, in kovaplus_sysfs_read()
128 size_t real_size, uint command) in kovaplus_sysfs_read()
152 void const *buf, loff_t off, size_t count, in kovaplus_sysfs_write()
153 size_t real_size, uint command) in kovaplus_sysfs_write()
177 loff_t off, size_t count) \
186 loff_t off, size_t count) \
219 loff_t off, size_t count) in kovaplus_sysfs_read_profilex_settings()
237 loff_t off, size_t count) in kovaplus_sysfs_read_profilex_buttons()
281 struct device_attribute *attr, char const *buf, size_t size) in kovaplus_sysfs_set_actual_profile()
H A Dhid-roccat-pyra.c87 char *buf, loff_t off, size_t count, in pyra_sysfs_read()
88 size_t real_size, uint command) in pyra_sysfs_read()
112 void const *buf, loff_t off, size_t count, in pyra_sysfs_write()
113 size_t real_size, uint command) in pyra_sysfs_write()
136 loff_t off, size_t count) \
145 loff_t off, size_t count) \
187 loff_t off, size_t count) in pyra_sysfs_read_profilex_settings()
205 loff_t off, size_t count) in pyra_sysfs_read_profilex_buttons()
242 loff_t off, size_t count) in pyra_sysfs_write_settings()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_debug.c20 size_t count, loff_t *ppos) in read_file_tgt_int_stats()
78 size_t count, loff_t *ppos) in read_file_tgt_tx_stats()
148 size_t count, loff_t *ppos) in read_file_tgt_rx_stats()
194 size_t count, loff_t *ppos) in read_file_xmit()
252 size_t count, loff_t *ppos) in read_file_skb_rx()
290 size_t count, loff_t *ppos) in read_file_slot()
314 size_t count, loff_t *ppos) in read_file_queue()
361 size_t count, loff_t *ppos) in read_file_debug()
373 size_t count, loff_t *ppos) in write_file_debug()
/kernel/linux/linux-5.10/drivers/net/
H A Dnetconsole.c312 const char *buf, size_t count) in enabled_store()
371 size_t count) in extended_store()
403 size_t count) in dev_name_store()
406 size_t len; in dev_name_store()
428 size_t count) in local_port_store()
451 const char *buf, size_t count) in remote_port_store()
474 size_t count) in local_ip_store()
510 size_t count) in remote_ip_store()
546 size_t count) in remote_mac_store()
/kernel/linux/linux-5.10/drivers/staging/vme/devices/
H A Dvme_user.c119 static ssize_t resource_to_user(int minor, char __user *buf, size_t count, in resource_to_user()
139 size_t count, loff_t *ppos) in resource_from_user()
152 size_t count, loff_t *ppos) in buffer_to_user()
164 size_t count, loff_t *ppos) in buffer_from_user()
175 static ssize_t vme_user_read(struct file *file, char __user *buf, size_t count, in vme_user_read()
180 size_t image_size; in vme_user_read()
219 size_t count, loff_t *ppos) in vme_user_write()
223 size_t image_size; in vme_user_write()
264 size_t image_size; in vme_user_llseek()
/kernel/linux/linux-5.10/drivers/thunderbolt/
H A Ddebugfs.c56 size_t *count) in validate_and_copy_from_user()
58 size_t nbytes; in validate_and_copy_from_user()
71 nbytes = min_t(size_t, *count, PAGE_SIZE); in validate_and_copy_from_user()
124 const char __user *user_buf, size_t count, in regs_write()
167 size_t count, loff_t *ppos) in port_regs_write()
176 size_t count, loff_t *ppos) in switch_regs_write()
208 size_t count, loff_t *ppos) in counters_write()
293 size_t length; in port_cap_show()
481 size_t dwords; in switch_basic_regs_show()
/kernel/linux/linux-5.10/drivers/staging/wfx/
H A Dhif_tx.c26 unsigned int cmd, size_t size) in wfx_fill_header()
40 static void *wfx_alloc_hif(size_t body_len, struct hif_msg **hif) in wfx_alloc_hif()
50 void *reply, size_t reply_len, bool no_reply) in wfx_cmd_send()
142 int hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len) in hif_configuration()
145 size_t buf_len = sizeof(struct hif_req_configuration) + len; in hif_configuration()
175 void *val, size_t val_len) in hif_read_mib()
211 void *val, size_t val_len) in hif_write_mib()
234 size_t buf_len = in hif_scan()
507 int hif_update_ie_beacon(struct wfx_vif *wvif, const u8 *ies, size_t ies_len) in hif_update_ie_beacon()
/kernel/linux/linux-5.10/drivers/tee/optee/
H A Dcall.c175 static struct tee_shm *get_msg_arg(struct tee_context *ctx, size_t num_params, in get_msg_arg()
495 size_t page_offset) in optee_fill_pages_list()
551 static size_t get_pages_list_size(size_t num_entries) in get_pages_list_size()
558 u64 *optee_allocate_pages_list(size_t num_entries) in optee_allocate_pages_list()
563 void optee_free_pages_list(void *list, size_t num_entries) in optee_free_pages_list()
591 static int check_mem_type(unsigned long start, size_t num_pages) in check_mem_type()
612 struct page **pages, size_t num_pages, in optee_shm_register()
687 struct page **pages, size_t num_pages, in optee_shm_register_supp()
/kernel/linux/linux-5.10/drivers/usb/misc/
H A Dadutux.c343 static ssize_t adu_read(struct file *file, __user char *buffer, size_t count, in adu_read()
347 size_t bytes_read = 0; in adu_read()
348 size_t bytes_to_read = count; in adu_read()
376 size_t data_in_secondary = dev->secondary_tail - dev->secondary_head; in adu_read()
384 size_t amount = min(bytes_to_read, data_in_secondary); in adu_read()
507 size_t count, loff_t *ppos) in adu_write()
511 size_t bytes_written = 0; in adu_write()
512 size_t bytes_to_write; in adu_write()
513 size_t buffer_size; in adu_write()
/kernel/linux/linux-5.10/net/xfrm/
H A Dxfrm_compat.c354 static size_t xfrm_user_rcv_calculate_len64(const struct nlmsghdr *src, in xfrm_user_rcv_calculate_len64()
358 size_t len = nlmsg_len(src); in xfrm_user_rcv_calculate_len64()
399 static int xfrm_attr_cpy32(void *dst, size_t *pos, const struct nlattr *src, in xfrm_attr_cpy32()
400 size_t size, int copy_len, int payload) in xfrm_attr_cpy32()
429 size_t *pos, size_t size, in xfrm_xlate32_attr()
466 size_t size, u8 type, int maxtype, in xfrm_xlate32()
469 size_t pos; in xfrm_xlate32()
591 size_t len; in xfrm_user_rcv_msg_compat()
/kernel/linux/linux-5.10/sound/oss/dmasound/
H A Ddmasound_paula.c123 static int AmiStateInfo(char *buffer, size_t space);
157 static ssize_t ami_ct_s8(const u_char __user *userPtr, size_t userCount, in ami_ct_s8()
190 static ssize_t funcname(const u_char __user *userPtr, size_t userCount, \
198 count = min_t(size_t, userCount, frameLeft) & ~1; \
210 count = min_t(size_t, userCount, frameLeft)>>1 & ~1; \
241 static ssize_t funcname(const u_char __user *userPtr, size_t userCount, \
252 count = min_t(size_t, userCount, frameLeft)>>1 & ~1; \
267 count = min_t(size_t, userCount, frameLeft)>>2 & ~1; \
654 static int AmiStateInfo(char *buffer, size_t space) in AmiStateInfo()
/kernel/linux/linux-5.10/lib/lz4/
H A Dlz4hc_compress.c85 size_t delta = idx - hashTable[h]; in LZ4HC_Insert()
116 size_t ml = 0; in LZ4HC_InsertAndFindBestMatch()
130 size_t const mlt = LZ4_count(ip + MINMATCH, in LZ4HC_InsertAndFindBestMatch()
142 size_t mlt; in LZ4HC_InsertAndFindBestMatch()
228 size_t mlt; in LZ4HC_InsertAndGetWiderMatch()
591 if (((size_t)(state)&(sizeof(void *) - 1)) != 0) { in LZ4_compress_HC_extStateHC()
682 if ((size_t)(ctxPtr->end - ctxPtr->base) > 2 * GB) { in LZ4_compressHC_continue_generic()
683 size_t dictSize = (size_t)(ctxPtr->end - ctxPtr->base) in LZ4_compressHC_continue_generic()
/kernel/linux/linux-5.10/net/core/
H A Ddatagram.c407 INDIRECT_CALLABLE_DECLARE(static size_t simple_copy_to_iter(const void *addr,
408 size_t bytes,
414 size_t (*cb)(const void *, size_t, void *, in __skb_datagram_iter()
516 static size_t simple_copy_to_iter(const void *addr, size_t bytes, in simple_copy_to_iter()
575 size_t copied; in skb_copy_datagram_from_iter()
620 struct iov_iter *from, size_t length) in __zerocopy_sg_from_iter()
627 size_t start; in __zerocopy_sg_from_iter()
/kernel/linux/linux-5.10/drivers/gpu/drm/
H A Ddrm_gem_vram_helper.c176 size_t size, unsigned long pg_align) in drm_gem_vram_init()
181 size_t acc_size; in drm_gem_vram_init()
227 size_t size, in drm_gem_vram_create()
552 size_t pitch, size; in drm_gem_vram_fill_create_dumb()
722 size_t i; in drm_gem_vram_plane_helper_prepare_fb()
768 size_t i; in drm_gem_vram_plane_helper_cleanup_fb()
1046 uint64_t vram_base, size_t vram_size) in drm_vram_mm_init()
1080 struct drm_device *dev, uint64_t vram_base, size_t vram_size) in drm_vram_helper_alloc_mm()
1136 size_t vram_size) in drmm_vram_helper_init()
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
H A Ddpaux.c93 size_t size) in tegra_dpaux_write_fifo()
95 size_t i, j; in tegra_dpaux_write_fifo()
98 size_t num = min_t(size_t, size - i * 4, 4); in tegra_dpaux_write_fifo()
109 size_t size) in tegra_dpaux_read_fifo()
111 size_t i, j; in tegra_dpaux_read_fifo()
114 size_t num = min_t(size_t, size - i * 4, 4); in tegra_dpaux_read_fifo()
248 size_t count = value & DPAUX_DP_AUXSTAT_REPLY_MASK; in tegra_dpaux_transfer()
/kernel/linux/linux-6.6/drivers/base/
H A Dcomponent.c51 size_t alloc;
52 size_t num;
87 size_t i; in component_devices_show()
176 size_t i; in find_components()
212 size_t i; in remove_component()
359 static int component_match_realloc(struct component_match *match, size_t num) in component_match_realloc()
407 size_t new_size = match->alloc + 16; in __component_match_add()
598 size_t i; in component_unbind_all()
681 size_t i; in component_bind_all()
/kernel/linux/linux-6.6/drivers/usb/misc/
H A Dadutux.c343 static ssize_t adu_read(struct file *file, __user char *buffer, size_t count, in adu_read()
347 size_t bytes_read = 0; in adu_read()
348 size_t bytes_to_read = count; in adu_read()
376 size_t data_in_secondary = dev->secondary_tail - dev->secondary_head; in adu_read()
384 size_t amount = min(bytes_to_read, data_in_secondary); in adu_read()
504 size_t count, loff_t *ppos) in adu_write()
508 size_t bytes_written = 0; in adu_write()
509 size_t bytes_to_write; in adu_write()
510 size_t buffer_size; in adu_write()
/kernel/linux/linux-6.6/drivers/staging/vme_user/
H A Dvme_user.c119 static ssize_t resource_to_user(int minor, char __user *buf, size_t count, in resource_to_user()
139 size_t count, loff_t *ppos) in resource_from_user()
152 size_t count, loff_t *ppos) in buffer_to_user()
164 size_t count, loff_t *ppos) in buffer_from_user()
175 static ssize_t vme_user_read(struct file *file, char __user *buf, size_t count, in vme_user_read()
180 size_t image_size; in vme_user_read()
219 size_t count, loff_t *ppos) in vme_user_write()
223 size_t image_size; in vme_user_write()
264 size_t image_size; in vme_user_llseek()
/kernel/linux/linux-6.6/drivers/crypto/aspeed/
H A Daspeed-acry.c120 size_t n_sz;
121 size_t e_sz;
122 size_t d_sz;
212 size_t nbytes) in aspeed_acry_rsa_sg_copy_to_buffer()
248 const void *xbuf, size_t nbytes, in aspeed_acry_rsa_ctx_copy()
437 static u8 *aspeed_rsa_key_copy(u8 *src, size_t len) in aspeed_rsa_key_copy()
443 size_t len) in aspeed_rsa_set_n()
454 size_t len) in aspeed_rsa_set_e()
465 size_t len) in aspeed_rsa_set_d()
/kernel/linux/linux-6.6/drivers/firewire/
H A Dnosy.c60 size_t capacity;
115 packet_buffer_init(struct packet_buffer *buffer, size_t capacity) in packet_buffer_init()
137 packet_buffer_get(struct client *client, char __user *data, size_t user_length) in packet_buffer_get()
140 size_t length; in packet_buffer_get()
161 size_t split = end - buffer->head->data; in packet_buffer_get()
181 packet_buffer_put(struct packet_buffer *buffer, void *data, size_t length) in packet_buffer_put()
200 size_t split = end - buffer->tail->data; in packet_buffer_put()
336 nosy_read(struct file *file, char __user *buffer, size_t count, loff_t *offset) in nosy_read()
410 size_t length; in packet_irq_handler()
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_debug.c20 size_t count, loff_t *ppos) in read_file_tgt_int_stats()
78 size_t count, loff_t *ppos) in read_file_tgt_tx_stats()
148 size_t count, loff_t *ppos) in read_file_tgt_rx_stats()
194 size_t count, loff_t *ppos) in read_file_xmit()
252 size_t count, loff_t *ppos) in read_file_skb_rx()
290 size_t count, loff_t *ppos) in read_file_slot()
314 size_t count, loff_t *ppos) in read_file_queue()
361 size_t count, loff_t *ppos) in read_file_debug()
373 size_t count, loff_t *ppos) in write_file_debug()

Completed in 59 milliseconds

1...<<411412413414415416417418419420>>...1541