Home
last modified time | relevance | path

Searched refs:size_t (Results 10376 - 10400 of 38644) sorted by relevance

1...<<411412413414415416417418419420>>...1546

/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()
/kernel/linux/linux-6.6/drivers/net/wireless/silabs/wfx/
H A Dhif_tx.c25 static void wfx_fill_header(struct wfx_hif_msg *hif, int if_id, unsigned int cmd, size_t size) in wfx_fill_header()
39 static void *wfx_alloc_hif(size_t body_len, struct wfx_hif_msg **hif) in wfx_alloc_hif()
49 void *reply, size_t reply_len, bool no_reply) in wfx_cmd_send()
140 int wfx_hif_configuration(struct wfx_dev *wdev, const u8 *conf, size_t len) in wfx_hif_configuration()
143 size_t buf_len = sizeof(struct wfx_hif_req_configuration) + len; in wfx_hif_configuration()
172 int wfx_hif_read_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len) in wfx_hif_read_mib()
205 int wfx_hif_write_mib(struct wfx_dev *wdev, int vif_id, u16 mib_id, void *val, size_t val_len) in wfx_hif_write_mib()
228 size_t buf_len = sizeof(struct wfx_hif_req_start_scan_alt) + chan_num * sizeof(u8); in wfx_hif_scan()
478 int wfx_hif_update_ie_beacon(struct wfx_vif *wvif, const u8 *ies, size_t ies_len) in wfx_hif_update_ie_beacon()
/kernel/linux/linux-6.6/drivers/pci/controller/dwc/
H A Dpcie-designware.h358 size_t addr_size;
359 size_t page_size;
372 size_t size);
374 size_t size, u32 val);
376 size_t size, u32 val);
388 size_t atu_size;
426 u32 dw_pcie_read_dbi(struct dw_pcie *pci, u32 reg, size_t size);
427 void dw_pcie_write_dbi(struct dw_pcie *pci, u32 reg, size_t size, u32 val);
428 void dw_pcie_write_dbi2(struct dw_pcie *pci, u32 reg, size_t size, u32 val);
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/
H A Dgud_pipe.c52 static size_t gud_xrgb8888_to_r124(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_r124()
61 size_t len; in gud_xrgb8888_to_r124()
101 static size_t gud_xrgb8888_to_color(u8 *dst, const struct drm_format_info *format, in gud_xrgb8888_to_color()
111 size_t len; in gud_xrgb8888_to_color()
160 size_t pitch, len; in gud_prep_flush()
240 static int gud_usb_bulk(struct gud_device *gdrm, size_t len) in gud_usb_bulk()
272 size_t len, trlen; in gud_flush_rect()
323 size_t pitch; in gud_flush_damage()
459 size_t len; in gud_pipe_check()
/kernel/linux/linux-6.6/drivers/gpu/drm/tegra/
H A Ddpaux.c94 size_t size) in tegra_dpaux_write_fifo()
96 size_t i, j; in tegra_dpaux_write_fifo()
99 size_t num = min_t(size_t, size - i * 4, 4); in tegra_dpaux_write_fifo()
110 size_t size) in tegra_dpaux_read_fifo()
112 size_t i, j; in tegra_dpaux_read_fifo()
115 size_t num = min_t(size_t, size - i * 4, 4); in tegra_dpaux_read_fifo()
249 size_t count = value & DPAUX_DP_AUXSTAT_REPLY_MASK; in tegra_dpaux_transfer()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-roccat-kovaplus.c125 char *buf, loff_t off, size_t count, in kovaplus_sysfs_read()
126 size_t real_size, uint command) in kovaplus_sysfs_read()
150 void const *buf, loff_t off, size_t count, in kovaplus_sysfs_write()
151 size_t real_size, uint command) in kovaplus_sysfs_write()
175 loff_t off, size_t count) \
184 loff_t off, size_t count) \
217 loff_t off, size_t count) in kovaplus_sysfs_read_profilex_settings()
235 loff_t off, size_t count) in kovaplus_sysfs_read_profilex_buttons()
279 struct device_attribute *attr, char const *buf, size_t size) in kovaplus_sysfs_set_actual_profile()
H A Dhid-roccat-pyra.c84 char *buf, loff_t off, size_t count, in pyra_sysfs_read()
85 size_t real_size, uint command) in pyra_sysfs_read()
109 void const *buf, loff_t off, size_t count, in pyra_sysfs_write()
110 size_t real_size, uint command) in pyra_sysfs_write()
133 loff_t off, size_t count) \
142 loff_t off, size_t count) \
184 loff_t off, size_t count) in pyra_sysfs_read_profilex_settings()
202 loff_t off, size_t count) in pyra_sysfs_read_profilex_buttons()
239 loff_t off, size_t count) in pyra_sysfs_write_settings()
/kernel/linux/linux-6.6/drivers/md/bcache/
H A Dutil.h36 size_t size, used; \
42 size_t _bytes; \
60 size_t _r, _j = i; \
77 size_t p = (i - 1) / 2; \
89 size_t _i = (h)->used++; \
116 size_t front, back, size, mask; \
127 size_t _allocated_size, _bytes; \
345 bool bch_is_zero(const char *p, size_t n);
526 static inline uint64_t bch_crc64(const void *p, size_t len) in bch_crc64()
/kernel/linux/linux-6.6/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-6.6/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-6.6/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-6.6/sound/soc/sof/
H A Dipc3-dtrace.c153 size_t size; in ipc3_trace_update_filter()
184 size_t count, loff_t *ppos) in dfsentry_trace_filter_write()
261 static size_t sof_dtrace_avail(struct snd_sof_dev *sdev, in sof_dtrace_avail()
262 loff_t pos, size_t buffer_size) in sof_dtrace_avail()
282 static size_t sof_wait_dtrace_avail(struct snd_sof_dev *sdev, loff_t pos, in sof_wait_dtrace_avail()
283 size_t buffer_size) in sof_wait_dtrace_avail()
285 size_t ret = sof_dtrace_avail(sdev, pos, buffer_size); in sof_wait_dtrace_avail()
317 size_t count, loff_t *ppos) in dfsentry_dtrace_read()
324 size_t avail, buffer_size = dfse->size; in dfsentry_dtrace_read()
/kernel/linux/linux-6.6/net/core/
H A Ddatagram.c401 INDIRECT_CALLABLE_DECLARE(static size_t simple_copy_to_iter(const void *addr,
402 size_t bytes,
408 size_t (*cb)(const void *, size_t, void *, in __skb_datagram_iter()
510 static size_t simple_copy_to_iter(const void *addr, size_t bytes, in simple_copy_to_iter()
569 size_t copied; in skb_copy_datagram_from_iter()
615 size_t length) in __zerocopy_sg_from_iter()
628 size_t start; in __zerocopy_sg_from_iter()
/third_party/elfutils/tests/
H A Dread_unaligned.c363 for (size_t i = 0; i < sizeof (u8_nums) / sizeof (u8); i++) in main()
382 for (size_t i = 0; i < sizeof (s8_nums) / sizeof (s8); i++) in main()
401 for (size_t i = 0; i < sizeof (u16_nums) / sizeof (u16); i++) in main()
421 for (size_t i = 0; i < sizeof (s16_nums) / sizeof (s16); i++) in main()
441 for (size_t i = 0; i < sizeof (u24_nums) / sizeof (uint32_t); i++) in main()
462 for (size_t i = 0; i < sizeof (u32_nums) / sizeof (u32); i++) in main()
484 for (size_t i = 0; i < sizeof (s32_nums) / sizeof (s32); i++) in main()
506 for (size_t i = 0; i < sizeof (u64_nums) / sizeof (u64); i++) in main()
532 for (size_t i = 0; i < sizeof (s64_nums) / sizeof (s64); i++) in main()
/third_party/ffmpeg/libavcodec/
H A Dvdpau_hevc.c73 for (size_t i = 0; i < 6; i++) { in vdpau_hevc_start_frame()
74 for (size_t j = 0; j < 16; j++) { in vdpau_hevc_start_frame()
80 for (size_t j = 0; j < 64; j++) { in vdpau_hevc_start_frame()
200 for (size_t i = 0; i < sps->nb_st_rps; i++) { in vdpau_hevc_start_frame()
234 for (size_t i = 0; i < 16; i++) { in vdpau_hevc_start_frame()
239 for (size_t i = 0, j = 0; i < FF_ARRAY_ELEMS(h->DPB); i++) { in vdpau_hevc_start_frame()
299 for (size_t k = 0; k < 16; k++) { in vdpau_hevc_start_frame()
322 for (size_t k = 0; k < 16; k++) { in vdpau_hevc_start_frame()
345 for (size_t k = 0; k < 16; k++) { in vdpau_hevc_start_frame()
/third_party/ffmpeg/libavutil/
H A Dimgutils.c111 int av_image_fill_plane_sizes(size_t sizes[4], enum AVPixelFormat pix_fmt, in av_image_fill_plane_sizes()
124 sizes[0] = linesizes[0] * (size_t)height; in av_image_fill_plane_sizes()
139 sizes[i] = (size_t)h * linesizes[i]; in av_image_fill_plane_sizes()
150 size_t sizes[4]; in av_image_fill_pointers()
224 size_t total_size, sizes[4]; in av_image_alloc()
472 size_t sizes[4]; in av_image_get_buffer_size()
549 static void memset_bytes(uint8_t *dst, size_t dst_size, uint8_t *clear, in memset_bytes()
550 size_t clear_size) in memset_bytes()
680 size_t bytewidth = plane_line_bytes[plane]; in av_image_fill_black()
/third_party/backends/backend/escl/
H A Descl_capabilities.c40 size_t size;
43 static size_t
44 header_callback(void *str, size_t size, size_t nmemb, void *userp) in header_callback()
47 size_t realsize = size * nmemb; in header_callback()
149 * \fn static size_t memory_callback_c(void *contents, size_t size, size_t nmemb, void *userp)
154 static size_t
155 memory_callback_c(void *contents, size_t siz
[all...]
/third_party/lzma/CPP/7zip/Common/
H A DFileStreams.cpp124 if ((VirtPos & mask) != 0 || ((size_t)(ptrdiff_t)data & mask) != 0 ) in Read()
197 const ssize_t res = File.read_part(data, (size_t)size); in Read()
219 size_t s2 = fread(data, 1, size, stdin); in Read()
250 res = read(0, data, (size_t)size); in Read()
694 size_t realProcessedSize; in Write()
695 const ssize_t res = File.write_full(data, (size_t)size, realProcessedSize); in Write()
745 size_t s2 = fwrite(data, 1, size, stdout); in Write()
785 res = write(1, data, (size_t)size); in Write()
792 _size += (size_t)res; in Write()
/third_party/jerryscript/jerry-main/
H A Dmain-unix.c54 size_t *out_size_p) in read_file()
77 size_t bytes_read = fread (buffer, 1u, sizeof (buffer), file); in read_file()
209 size_t source_size; in print_unhandled_exception()
290 size_t resource_name_size, /**< size of resource name */ in wait_for_source_callback()
292 size_t source_size, /**< source code size */ in wait_for_source_callback()
421 context_alloc (size_t size, in context_alloc()
706 size_t snapshot_size; in main()
735 size_t source_size; in main()
873 size_t len = 0; in main()
/third_party/node/deps/v8/third_party/wasm-api/
H A Dwasm.h71 size_t size; \
77 own wasm_##name##_vec_t* out, size_t); \
80 size_t, own wasm_##name##_t ptr_or_none const[]); \
359 size_t wasm_frame_func_offset(const wasm_frame_t*);
360 size_t wasm_frame_module_offset(const wasm_frame_t*);
415 size_t wasm_func_param_arity(const wasm_func_t*);
416 size_t wasm_func_result_arity(const wasm_func_t*);
459 static const size_t MEMORY_PAGE_SIZE = 0x10000;
466 size_t wasm_memory_data_size(const wasm_memory_t*);
/third_party/libfuse/lib/modules/
H A Dsubdir.c20 size_t baselen;
105 char *buf, size_t size) in transform_symlink()
108 size_t llen; in transform_symlink()
142 static int subdir_readlink(const char *path, char *buf, size_t size) in subdir_readlink()
368 size_t size, off_t offset, struct fuse_file_info *fi) in subdir_read_buf()
456 const char *value, size_t size, int flags) in subdir_setxattr()
470 size_t size) in subdir_getxattr()
482 static int subdir_listxattr(const char *path, char *list, size_t size) in subdir_listxattr()
531 static int subdir_bmap(const char *path, size_t blocksize, uint64_t *idx) in subdir_bmap()

Completed in 36 milliseconds

1...<<411412413414415416417418419420>>...1546