Home
last modified time | relevance | path

Searched refs:size_t (Results 151 - 175 of 17927) sorted by relevance

12345678910>>...718

/kernel/linux/linux-5.10/lib/zstd/
H A Dzstd_internal.h43 size_t const errcod = f; \
49 size_t const errcod = f; \
82 static const size_t ZSTD_fcs_fieldSize[4] = {0, 2, 4, 8};
83 static const size_t ZSTD_did_fieldSize[4] = {0, 1, 2, 4};
86 static const size_t ZSTD_blockHeaderSize = ZSTD_BLOCKHEADERSIZE;
227 typedef void *(*ZSTD_allocFunction)(void *opaque, size_t size);
235 void *ZSTD_malloc(size_t size, ZSTD_customMem customMem);
245 #define ZSTD_ALIGN(x) ALIGN(x, sizeof(size_t))
246 #define ZSTD_PTR_ALIGN(p) PTR_ALIGN(p, sizeof(size_t))
248 ZSTD_customMem ZSTD_initStack(void *workspace, size_t workspaceSiz
[all...]
H A Dfse_compress.c92 size_t FSE_buildCTable_wksp(FSE_CTable *ct, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, void *workspace, size_t workspaceSize) in FSE_buildCTable_wksp()
105 size_t spaceUsed32 = 0; in FSE_buildCTable_wksp()
110 spaceUsed32 += ALIGN(sizeof(FSE_FUNCTION_TYPE) * ((size_t)1 << tableLog), sizeof(U32)) >> 2; in FSE_buildCTable_wksp()
197 size_t FSE_NCountWriteBound(unsigned maxSymbolValue, unsigned tableLog) in FSE_NCountWriteBound()
199 size_t const maxHeaderSize = (((maxSymbolValue + 1) * tableLog) >> 3) + 3; in FSE_NCountWriteBound()
203 static size_t FSE_writeNCount_generic(void *header, size_t headerBufferSize, const short *normalizedCounter, unsigned maxSymbolValue, unsigned tableLog, in FSE_writeNCount_generic()
301 size_t FSE_writeNCount(void *buffer, size_t bufferSiz
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dsysctl-test.c41 size_t len; in sysctl_test_api_dointvec_null_tbl_data()
52 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_null_tbl_data()
61 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_null_tbl_data()
87 size_t len; in sysctl_test_api_dointvec_table_maxlen_unset()
98 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_table_maxlen_unset()
107 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_table_maxlen_unset()
133 size_t len = 0; in sysctl_test_api_dointvec_table_len_is_zero()
138 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_table_len_is_zero()
142 KUNIT_EXPECT_EQ(test, (size_t)0, len); in sysctl_test_api_dointvec_table_len_is_zero()
168 size_t le in sysctl_test_api_dointvec_table_read_but_position_set()
[all...]
/kernel/linux/linux-5.10/drivers/staging/hievent/
H A Dhievent_driver.c30 #define HIEVENT_BUFFER ((size_t)CONFIG_BBOX_BUFFER_SIZE)
47 size_t write_offset;
48 size_t head_offset;
49 size_t size;
50 size_t count;
62 static void hievent_buffer_inc(size_t sz) in hievent_buffer_inc()
72 static void hievent_buffer_dec(size_t sz) in hievent_buffer_dec()
83 size_t buf_len) in hievent_read_ring_buffer()
85 size_t retval; in hievent_read_ring_buffer()
86 size_t buf_lef in hievent_read_ring_buffer()
[all...]
/kernel/linux/linux-6.6/drivers/staging/hievent/
H A Dhievent_driver.c30 #define HIEVENT_BUFFER ((size_t)CONFIG_BBOX_BUFFER_SIZE)
47 size_t write_offset;
48 size_t head_offset;
49 size_t size;
50 size_t count;
62 static void hievent_buffer_inc(size_t sz) in hievent_buffer_inc()
72 static void hievent_buffer_dec(size_t sz) in hievent_buffer_dec()
83 size_t buf_len) in hievent_read_ring_buffer()
85 size_t retval; in hievent_read_ring_buffer()
86 size_t buf_lef in hievent_read_ring_buffer()
[all...]
/kernel/linux/linux-5.10/crypto/asymmetric_keys/
H A Dx509_cert_parser.c24 size_t key_size; /* Size of key data */
26 size_t params_size; /* Size of key parameters */
63 struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) in x509_cert_parse()
155 int x509_note_OID(void *context, size_t hdrlen, in x509_note_OID()
157 const void *value, size_t vlen) in x509_note_OID()
175 int x509_note_tbs_certificate(void *context, size_t hdrlen, in x509_note_tbs_certificate()
177 const void *value, size_t vlen) in x509_note_tbs_certificate()
192 int x509_note_pkey_algo(void *context, size_t hdrlen, in x509_note_pkey_algo()
194 const void *value, size_t vlen) in x509_note_pkey_algo()
288 int x509_note_signature(void *context, size_t hdrle
[all...]
/kernel/linux/linux-6.6/crypto/asymmetric_keys/
H A Dx509_cert_parser.c23 size_t key_size; /* Size of key data */
25 size_t params_size; /* Size of key parameters */
61 struct x509_certificate *x509_cert_parse(const void *data, size_t datalen) in x509_cert_parse()
153 int x509_note_OID(void *context, size_t hdrlen, in x509_note_OID()
155 const void *value, size_t vlen) in x509_note_OID()
173 int x509_note_tbs_certificate(void *context, size_t hdrlen, in x509_note_tbs_certificate()
175 const void *value, size_t vlen) in x509_note_tbs_certificate()
190 int x509_note_sig_algo(void *context, size_t hdrlen, unsigned char tag, in x509_note_sig_algo()
191 const void *value, size_t vlen) in x509_note_sig_algo()
285 int x509_note_signature(void *context, size_t hdrle
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Ddmaengine.h126 size_t size;
127 size_t icg;
128 size_t dst_icg;
129 size_t src_icg;
158 size_t numf;
159 size_t frame_size;
559 size_t len;
567 size_t len);
570 size_t *payload_len, size_t *max_le
[all...]
/kernel/linux/linux-6.6/samples/bpf/
H A Dxdp_sample_shared.h6 size_t processed;
7 size_t dropped;
8 size_t issue;
10 size_t xdp_pass;
11 size_t info;
13 size_t xdp_drop;
14 size_t xdp_redirect;
/kernel/linux/linux-5.10/arch/powerpc/boot/
H A Dstring.h7 extern char *strncpy(char *dest, const char *src, size_t n);
12 extern int strncmp(const char *s1, const char *s2, size_t n);
13 extern size_t strlen(const char *s);
14 extern size_t strnlen(const char *s, size_t count);
16 extern void *memset(void *s, int c, size_t n);
19 extern void *memchr(const void *s, int c, size_t n);
20 extern int memcmp(const void *s1, const void *s2, size_t n);
/kernel/linux/linux-6.6/arch/powerpc/boot/
H A Dstring.h7 extern char *strncpy(char *dest, const char *src, size_t n);
12 extern int strncmp(const char *s1, const char *s2, size_t n);
13 extern size_t strlen(const char *s);
14 extern size_t strnlen(const char *s, size_t count);
16 extern void *memset(void *s, int c, size_t n);
19 extern void *memchr(const void *s, int c, size_t n);
20 extern int memcmp(const void *s1, const void *s2, size_t n);
/kernel/linux/linux-5.10/include/crypto/internal/
H A Drsa.h40 size_t n_sz;
41 size_t e_sz;
42 size_t d_sz;
43 size_t p_sz;
44 size_t q_sz;
45 size_t dp_sz;
46 size_t dq_sz;
47 size_t qinv_sz;
/kernel/linux/linux-6.6/include/crypto/internal/
H A Drsa.h40 size_t n_sz;
41 size_t e_sz;
42 size_t d_sz;
43 size_t p_sz;
44 size_t q_sz;
45 size_t dp_sz;
46 size_t dq_sz;
47 size_t qinv_sz;
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dsof-priv.h122 size_t posn_offset;
200 void *dest, size_t size); /* mandatory */
203 void *src, size_t size); /* mandatory */
208 size_t size); /* optional */
211 size_t size); /* optional */
267 void *p, size_t sz); /* mandatory */
272 size_t posn_offset); /* optional */
304 size_t size, const char *name,
356 size_t size;
357 size_t buf_data_siz
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/sfc/
H A Dmcdi.h78 size_t resp_hdr_len;
79 size_t resp_data_len;
146 size_t inlen, efx_dword_t *outbuf, size_t outlen,
147 size_t *outlen_actual);
149 const efx_dword_t *inbuf, size_t inlen,
150 efx_dword_t *outbuf, size_t outlen,
151 size_t *outlen_actual);
154 const efx_dword_t *inbuf, size_t inlen);
155 int efx_mcdi_rpc_finish(struct efx_nic *efx, unsigned cmd, size_t inle
[all...]
/kernel/linux/linux-5.10/lib/xz/
H A Dxz_dec_bcj.c52 size_t out_pos;
53 size_t out_size;
57 size_t filtered;
60 size_t size;
88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
95 size_t i; in bcj_x86()
96 size_t prev_pos = (size_t)-1; in bcj_x86()
160 static size_t bcj_powerp
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/sfc/siena/
H A Dmcdi.h78 size_t resp_hdr_len;
79 size_t resp_data_len;
146 const efx_dword_t *inbuf, size_t inlen,
147 efx_dword_t *outbuf, size_t outlen,
148 size_t *outlen_actual);
150 const efx_dword_t *inbuf, size_t inlen,
151 efx_dword_t *outbuf, size_t outlen,
152 size_t *outlen_actual);
155 const efx_dword_t *inbuf, size_t inlen);
157 size_t inle
[all...]
/kernel/linux/linux-6.6/lib/xz/
H A Dxz_dec_bcj.c52 size_t out_pos;
53 size_t out_size;
57 size_t filtered;
60 size_t size;
88 static size_t bcj_x86(struct xz_dec_bcj *s, uint8_t *buf, size_t size) in bcj_x86()
95 size_t i; in bcj_x86()
96 size_t prev_pos = (size_t)-1; in bcj_x86()
160 static size_t bcj_powerp
[all...]
/kernel/linux/linux-6.6/arch/x86/boot/
H A Dstring.h10 void *memcpy(void *dst, const void *src, size_t len);
11 void *memmove(void *dst, const void *src, size_t len);
12 void *memset(void *dst, int c, size_t len);
13 int memcmp(const void *s1, const void *s2, size_t len);
14 int bcmp(const void *s1, const void *s2, size_t len);
22 extern int strncmp(const char *cs, const char *ct, size_t count);
23 extern size_t strlen(const char *s);
26 extern size_t strnlen(const char *s, size_t maxlen);
/kernel/liteos_a/compat/posix/src/
H A Dmalloc.c42 void *calloc(size_t nitems, size_t size) in calloc()
44 size_t real_size; in calloc()
51 real_size = (size_t)(nitems * size); in calloc()
80 void *malloc(size_t size) in malloc()
89 void *zalloc(size_t size) in zalloc()
109 void *memalign(size_t boundary, size_t size) in memalign()
132 void *realloc(void *ptr, size_t size) in realloc()
/kernel/linux/linux-5.10/drivers/net/dsa/sja1105/
H A Dsja1105_static_config.h367 size_t (*packing)(void *buf, void *entry_ptr, enum packing_op op);
368 size_t unpacked_entry_size;
369 size_t packed_entry_size;
370 size_t max_entry_count;
375 size_t entry_count;
391 size_t sja1105_table_header_packing(void *buf, void *hdr, enum packing_op op);
394 size_t
424 int sja1105_table_resize(struct sja1105_table *table, size_t new_count);
426 u32 sja1105_crc32(const void *buf, size_t len);
428 void sja1105_pack(void *buf, const u64 *val, int start, int end, size_t le
[all...]
/kernel/liteos_a/kernel/extended/hilog/
H A Dlos_hilog.c59 ssize_t HilogRead(struct file *filep, char __user *buf, size_t count);
60 ssize_t HilogWrite(struct file *filep, const char __user *buf, size_t count);
64 static ssize_t HiLogWrite(struct file *filep, const char *buffer, size_t bufLen);
65 static ssize_t HiLogRead(struct file *filep, char *buffer, size_t bufLen);
86 size_t writeOffset;
87 size_t headOffset;
88 size_t size;
89 size_t count;
109 static void HiLogBufferInc(size_t sz) in HiLogBufferInc()
119 static void HiLogBufferDec(size_t s
[all...]
/kernel/linux/linux-5.10/tools/lib/bpf/
H A Dlibbpf_internal.h93 static inline void *libbpf_reallocarray(void *ptr, size_t nmemb, size_t size) in libbpf_reallocarray()
95 size_t total; in libbpf_reallocarray()
108 void *btf_add_mem(void **data, size_t *cap_cnt, size_t elem_sz,
109 size_t cur_cnt, size_t max_cnt, size_t add_cnt);
110 int btf_ensure_mem(void **data, size_t *cap_cnt, size_t elem_s
[all...]
/kernel/linux/linux-6.6/lib/zstd/decompress/
H A Dzstd_ddict.c36 size_t dictSize;
49 size_t ZSTD_DDict_dictSize(const ZSTD_DDict* ddict) in ZSTD_DDict_dictSize()
86 static size_t
117 static size_t ZSTD_initDDict_internal(ZSTD_DDict* ddict, in ZSTD_initDDict_internal()
118 const void* dict, size_t dictSize, in ZSTD_initDDict_internal()
142 ZSTD_DDict* ZSTD_createDDict_advanced(const void* dict, size_t dictSize, in ZSTD_createDDict_advanced()
152 { size_t const initResult = ZSTD_initDDict_internal(ddict, in ZSTD_createDDict_advanced()
167 ZSTD_DDict* ZSTD_createDDict(const void* dict, size_t dictSize) in ZSTD_createDDict()
177 ZSTD_DDict* ZSTD_createDDict_byReference(const void* dictBuffer, size_t dictSize) in ZSTD_createDDict_byReference()
185 void* sBuffer, size_t sBufferSiz in ZSTD_initStaticDDict()
[all...]
/kernel/linux/linux-5.10/drivers/usb/gadget/
H A Du_f.h20 #define vla_group(groupname) size_t groupname##__next = 0
24 size_t groupname##_##name##__offset = ({ \
25 size_t offset = 0; \
27 size_t align_mask = __alignof__(type) - 1; \
28 size_t size = array_size(n, sizeof(type)); \
41 size_t groupname##_##name##__sz = array_size(n, sizeof(type)); \
42 size_t groupname##_##name##__offset = ({ \
43 size_t offset = 0; \
45 size_t align_mask = __alignof__(type) - 1; \
75 struct usb_request *alloc_ep_req(struct usb_ep *ep, size_t le
[all...]

Completed in 15 milliseconds

12345678910>>...718