Home
last modified time | relevance | path

Searched refs:size_t (Results 301 - 325 of 17927) sorted by relevance

1...<<11121314151617181920>>...718

/kernel/linux/linux-6.6/tools/testing/selftests/arm64/signal/testcases/
H A Dtestcases.h88 bool validate_reserved(ucontext_t *uc, size_t resv_sz, char **err);
91 size_t resv_sz, size_t *offset);
94 size_t resv_sz, in get_terminator()
95 size_t *offset) in get_terminator()
109 size_t need_sz, size_t resv_sz,
110 size_t *offset);
/kernel/liteos_a/arch/arm/arm/src/
H A Duser_copy.c40 size_t arch_copy_from_user(void *dst, const void *src, size_t len) in arch_copy_from_user()
45 size_t LOS_ArchCopyFromUser(void *dst, const void *src, size_t len) in LOS_ArchCopyFromUser()
54 size_t arch_copy_to_user(void *dst, const void *src, size_t len) in arch_copy_to_user()
59 size_t LOS_ArchCopyToUser(void *dst, const void *src, size_t len) in LOS_ArchCopyToUser()
/kernel/linux/linux-6.6/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-pkt-decoder.c77 static int intel_pt_get_long_tnt(const unsigned char *buf, size_t len, in intel_pt_get_long_tnt()
100 static int intel_pt_get_pip(const unsigned char *buf, size_t len, in intel_pt_get_pip()
121 static int intel_pt_get_cbr(const unsigned char *buf, size_t len, in intel_pt_get_cbr()
131 static int intel_pt_get_vmcs(const unsigned char *buf, size_t len, in intel_pt_get_vmcs()
155 static int intel_pt_get_psb(const unsigned char *buf, size_t len, in intel_pt_get_psb()
178 static int intel_pt_get_tma(const unsigned char *buf, size_t len, in intel_pt_get_tma()
196 static int intel_pt_get_mnt(const unsigned char *buf, size_t len, in intel_pt_get_mnt()
206 static int intel_pt_get_3byte(const unsigned char *buf, size_t len, in intel_pt_get_3byte()
220 static int intel_pt_get_ptwrite(const unsigned char *buf, size_t len, in intel_pt_get_ptwrite()
255 static int intel_pt_get_mwait(const unsigned char *buf, size_t le
[all...]
/kernel/linux/linux-5.10/include/media/
H A Dv4l2-jpeg.h28 size_t length;
121 size_t ecs_offset;
124 int v4l2_jpeg_parse_header(void *buf, size_t len, struct v4l2_jpeg_header *out);
126 int v4l2_jpeg_parse_frame_header(void *buf, size_t len,
128 int v4l2_jpeg_parse_scan_header(void *buf, size_t len,
130 int v4l2_jpeg_parse_quantization_tables(void *buf, size_t len, u8 precision,
132 int v4l2_jpeg_parse_huffman_tables(void *buf, size_t len,
/kernel/linux/linux-5.10/sound/soc/sof/
H A Dprobe.h70 u32 stream_tag, size_t buffer_size);
73 struct sof_probe_dma **dma, size_t *num_dma);
75 struct sof_probe_dma *dma, size_t num_dma);
77 unsigned int *stream_tag, size_t num_stream_tag);
79 struct sof_probe_point_desc **desc, size_t *num_desc);
81 struct sof_probe_point_desc *desc, size_t num_desc);
83 unsigned int *buffer_id, size_t num_buffer_id);
/kernel/linux/linux-5.10/include/linux/
H A Dcrc32.h11 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len);
12 u32 __pure crc32_be(u32 crc, unsigned char const *p, size_t len);
32 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len);
34 static inline u32 crc32_le_combine(u32 crc1, u32 crc2, size_t len2) in crc32_le_combine()
39 u32 __pure __crc32c_le(u32 crc, unsigned char const *p, size_t len);
59 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len);
61 static inline u32 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) in __crc32c_le_combine()
/kernel/linux/linux-6.6/include/linux/
H A Dcrc32.h11 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len);
12 u32 __pure crc32_be(u32 crc, unsigned char const *p, size_t len);
32 u32 __attribute_const__ crc32_le_shift(u32 crc, size_t len);
34 static inline u32 crc32_le_combine(u32 crc1, u32 crc2, size_t len2) in crc32_le_combine()
39 u32 __pure __crc32c_le(u32 crc, unsigned char const *p, size_t len);
59 u32 __attribute_const__ __crc32c_le_shift(u32 crc, size_t len);
61 static inline u32 __crc32c_le_combine(u32 crc1, u32 crc2, size_t len2) in __crc32c_le_combine()
H A Dnvme-auth.h13 size_t len;
24 size_t nvme_auth_hmac_hash_len(u8 hmac_id);
32 int nvme_auth_augmented_challenge(u8 hmac_id, u8 *skey, size_t skey_len,
33 u8 *challenge, u8 *aug, size_t hlen);
36 u8 *host_key, size_t host_key_len);
38 u8 *ctrl_key, size_t ctrl_key_len,
39 u8 *sess_key, size_t sess_key_len);
H A Dkasan.h101 void __kasan_unpoison_range(const void *addr, size_t size);
102 static __always_inline void kasan_unpoison_range(const void *addr, size_t size) in kasan_unpoison_range()
193 size_t size, gfp_t flags);
195 const void *object, size_t size, gfp_t flags) in kasan_kmalloc()
203 size_t size, gfp_t flags);
205 size_t size, gfp_t flags) in kasan_kmalloc_large()
213 size_t new_size, gfp_t flags);
215 size_t new_size, gfp_t flags) in kasan_krealloc()
236 static inline void kasan_unpoison_range(const void *address, size_t size) {} in kasan_unpoison_range()
266 size_t siz in kasan_kmalloc()
[all...]
H A Dscatterlist.h159 size_t len, size_t offset) in sg_set_folio()
427 const size_t *split_sizes,
492 size_t sg_copy_buffer(struct scatterlist *sgl, unsigned int nents, void *buf,
493 size_t buflen, off_t skip, bool to_buffer);
495 size_t sg_copy_from_buffer(struct scatterlist *sgl, unsigned int nents,
496 const void *buf, size_t buflen);
497 size_t sg_copy_to_buffer(struct scatterlist *sgl, unsigned int nents,
498 void *buf, size_t buflen);
500 size_t sg_pcopy_from_buffe
[all...]
/kernel/linux/linux-6.6/include/media/
H A Dv4l2-jpeg.h28 size_t length;
142 size_t ecs_offset;
146 int v4l2_jpeg_parse_header(void *buf, size_t len, struct v4l2_jpeg_header *out);
148 int v4l2_jpeg_parse_frame_header(void *buf, size_t len,
150 int v4l2_jpeg_parse_scan_header(void *buf, size_t len,
152 int v4l2_jpeg_parse_quantization_tables(void *buf, size_t len, u8 precision,
154 int v4l2_jpeg_parse_huffman_tables(void *buf, size_t len,
/kernel/linux/linux-6.6/drivers/firmware/efi/libstub/
H A Dintrinsics.c13 void *__memcpy(void *__dest, const void *__src, size_t __n) __alias(memcpy);
14 void *__memmove(void *__dest, const void *__src, size_t count) __alias(memmove);
15 void *__memset(void *s, int c, size_t count) __alias(memset);
18 void *memcpy(void *dst, const void *src, size_t len) in memcpy()
24 extern void *memmove(void *dst, const void *src, size_t len) __alias(memcpy);
26 void *memset(void *dst, int c, size_t len) in memset()
39 int memcmp(const void *cs, const void *ct, size_t count) in memcmp()
/kernel/linux/linux-6.6/tools/lib/perf/
H A Dlib.c10 static ssize_t ion(bool is_read, int fd, void *buf, size_t n) in ion()
13 size_t left = n; in ion()
29 BUG_ON((size_t)(buf - buf_start) != n); in ion()
36 ssize_t readn(int fd, void *buf, size_t n) in readn()
41 ssize_t preadn(int fd, void *buf, size_t n, off_t offs) in preadn()
43 size_t left = n; in preadn()
64 ssize_t writen(int fd, const void *buf, size_t n) in writen()
/kernel/liteos_a/syscall/
H A Dvm_syscall.c40 void *SysMmap(void *addr, size_t size, int prot, int flags, int fd, size_t offset) in SysMmap()
48 int SysMunmap(void *addr, size_t size) in SysMunmap()
53 void *SysMremap(void *oldAddr, size_t oldLen, size_t newLen, int flags, void *newAddr) in SysMremap()
58 int SysMprotect(void *vaddr, size_t len, int prot) in SysMprotect()
69 int SysShmGet(key_t key, size_t size, int shmflg) in SysShmGet()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/libertas/
H A Ddebugfs.c26 size_t count, loff_t *ppos) in write_file_dummy()
31 static const size_t len = PAGE_SIZE;
34 size_t count, loff_t *ppos) in lbs_dev_info()
37 size_t pos = 0; in lbs_dev_info()
56 const char __user *user_buf, size_t count, in lbs_sleepparams_write()
93 size_t count, loff_t *ppos) in lbs_sleepparams_read()
97 size_t pos = 0; in lbs_sleepparams_read()
121 const char __user *user_buf, size_t count, in lbs_host_sleep_write()
163 size_t count, loff_t *ppos) in lbs_host_sleep_read()
167 size_t po in lbs_host_sleep_read()
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/libertas/
H A Ddebugfs.c26 size_t count, loff_t *ppos) in write_file_dummy()
31 static const size_t len = PAGE_SIZE;
34 size_t count, loff_t *ppos) in lbs_dev_info()
37 size_t pos = 0; in lbs_dev_info()
56 const char __user *user_buf, size_t count, in lbs_sleepparams_write()
93 size_t count, loff_t *ppos) in lbs_sleepparams_read()
97 size_t pos = 0; in lbs_sleepparams_read()
121 const char __user *user_buf, size_t count, in lbs_host_sleep_write()
163 size_t count, loff_t *ppos) in lbs_host_sleep_read()
167 size_t po in lbs_host_sleep_read()
[all...]
/kernel/linux/linux-5.10/tools/perf/arch/x86/util/
H A Dintel-pt.c44 size_t ref_offset;
55 size_t snapshot_size;
56 size_t snapshot_ref_buf_size;
59 size_t priv_size;
142 static size_t intel_pt_psb_period(struct perf_pmu *intel_pt_pmu, in intel_pt_psb_period()
147 size_t psb_period; in intel_pt_psb_period()
293 static size_t intel_pt_filter_bytes(const char *filter) in intel_pt_filter_bytes()
295 size_t len = filter ? strlen(filter) : 0; in intel_pt_filter_bytes()
300 static size_t
325 size_t priv_siz in intel_pt_info_fill()
[all...]
/kernel/linux/linux-6.6/tools/perf/arch/x86/util/
H A Dintel-pt.c45 size_t ref_offset;
56 size_t snapshot_size;
57 size_t snapshot_ref_buf_size;
60 size_t priv_size;
139 static size_t intel_pt_psb_period(struct perf_pmu *intel_pt_pmu, in intel_pt_psb_period()
144 size_t psb_period; in intel_pt_psb_period()
293 static size_t intel_pt_filter_bytes(const char *filter) in intel_pt_filter_bytes()
295 size_t len = filter ? strlen(filter) : 0; in intel_pt_filter_bytes()
300 static size_t
326 size_t priv_siz in intel_pt_info_fill()
[all...]
/kernel/linux/linux-5.10/drivers/parport/
H A Dieee1284_ops.c35 size_t parport_ieee1284_write_compat (struct parport *port, in parport_ieee1284_write_compat()
36 const void *buffer, size_t len, in parport_ieee1284_write_compat()
144 size_t parport_ieee1284_read_nibble (struct parport *port, in parport_ieee1284_read_nibble()
145 void *buffer, size_t len, in parport_ieee1284_read_nibble()
232 size_t parport_ieee1284_read_byte (struct parport *port, in parport_ieee1284_read_byte()
233 void *buffer, size_t len, in parport_ieee1284_read_byte()
388 size_t parport_ieee1284_ecp_write_data (struct parport *port, in parport_ieee1284_ecp_write_data()
389 const void *buffer, size_t len, in parport_ieee1284_ecp_write_data()
396 size_t written; in parport_ieee1284_ecp_write_data()
474 size_t parport_ieee1284_ecp_read_dat
[all...]
/kernel/linux/linux-6.6/drivers/parport/
H A Dieee1284_ops.c35 size_t parport_ieee1284_write_compat (struct parport *port, in parport_ieee1284_write_compat()
36 const void *buffer, size_t len, in parport_ieee1284_write_compat()
144 size_t parport_ieee1284_read_nibble (struct parport *port, in parport_ieee1284_read_nibble()
145 void *buffer, size_t len, in parport_ieee1284_read_nibble()
232 size_t parport_ieee1284_read_byte (struct parport *port, in parport_ieee1284_read_byte()
233 void *buffer, size_t len, in parport_ieee1284_read_byte()
388 size_t parport_ieee1284_ecp_write_data (struct parport *port, in parport_ieee1284_ecp_write_data()
389 const void *buffer, size_t len, in parport_ieee1284_ecp_write_data()
396 size_t written; in parport_ieee1284_ecp_write_data()
474 size_t parport_ieee1284_ecp_read_dat
[all...]
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dlibbpf_internal.h123 size_t str_len = strlen(str); in str_has_sfx()
124 size_t sfx_len = strlen(sfx); in str_has_sfx()
194 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray()
196 size_t total; in libbpf_reallocarray()
215 static inline void libbpf_strlcpy(char *dst, const char *src, size_t sz) in libbpf_strlcpy()
217 size_t i; in libbpf_strlcpy()
281 void *libbpf_add_mem(void **data, size_t *cap_cnt, size_t elem_sz,
282 size_t cur_cn
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath6kl/
H A Dtrace.h11 static inline unsigned int ath6kl_get_wmi_id(void *buf, size_t buf_len) in ath6kl_get_wmi_id()
40 TP_PROTO(void *buf, size_t buf_len),
46 __field(size_t, buf_len)
63 TP_PROTO(void *buf, size_t buf_len),
69 __field(size_t, buf_len)
87 void *buf, size_t buf_len),
95 __field(size_t, buf_len)
131 __field(size_t, total_len)
139 size_t len;
175 TP_PROTO(void *buf, size_t buf_le
[all...]
/kernel/linux/linux-5.10/drivers/net/wimax/i2400m/
H A Di2400m.h579 size_t bus_tx_block_size;
580 size_t bus_tx_room_min;
581 size_t bus_pl_size_max;
592 size_t, int flags);
594 struct i2400m_bootrom_header *, size_t);
601 size_t tx_in, tx_out;
603 size_t tx_sequence, tx_msg_size;
717 int i2400m_is_boot_barker(struct i2400m *, const void *, size_t);
724 void i2400m_unknown_barker(struct i2400m *, const void *, size_t);
812 int i2400m_tx(struct i2400m *, const void *, size_t, enu
[all...]
/kernel/linux/linux-5.10/mm/kasan/
H A Dgeneric.c88 size_t size) in bytes_is_nonzero()
130 size_t size) in memory_is_poisoned_n()
148 static __always_inline bool memory_is_poisoned(unsigned long addr, size_t size) in memory_is_poisoned()
169 size_t size, bool write, in check_memory_region_inline()
195 bool check_memory_region(unsigned long addr, size_t size, bool write, in check_memory_region()
214 size_t aligned_size = round_up(global->size, KASAN_SHADOW_SCALE_SIZE); in register_global()
223 void __asan_register_globals(struct kasan_global *globals, size_t size) in __asan_register_globals()
232 void __asan_unregister_globals(struct kasan_global *globals, size_t size) in __asan_unregister_globals()
261 void __asan_loadN(unsigned long addr, size_t size) in __asan_loadN()
268 void __asan_loadN_noabort(unsigned long, size_t);
[all...]
/kernel/linux/linux-5.10/net/mac80211/
H A Dfils_aead.c26 size_t num_elem, const u8 *addr[], size_t len[], u8 *v) in aes_s2v()
30 size_t i; in aes_s2v()
66 static int aes_siv_encrypt(const u8 *key, size_t key_len, in aes_siv_encrypt()
67 const u8 *plain, size_t plain_len, in aes_siv_encrypt()
68 size_t num_elem, const u8 *addr[], in aes_siv_encrypt()
69 size_t len[], u8 *out) in aes_siv_encrypt()
144 static int aes_siv_decrypt(const u8 *key, size_t key_len, in aes_siv_decrypt()
145 const u8 *iv_crypt, size_t iv_c_len, in aes_siv_decrypt()
146 size_t num_ele in aes_siv_decrypt()
[all...]

Completed in 20 milliseconds

1...<<11121314151617181920>>...718