Searched refs:data_size (Results 1 - 25 of 180) sorted by relevance

12345678

/freebsd-current/sys/amd64/vmm/
H A Dvmm_snapshot.c57 vm_snapshot_buf(void *data, size_t data_size, struct vm_snapshot_meta *meta) argument
65 if (buffer->buf_rem < data_size) {
71 error = copyout(data, buffer->buf, data_size);
73 error = copyin(buffer->buf, data, data_size);
80 buffer->buf += data_size;
81 buffer->buf_rem -= data_size;
/freebsd-current/lib/libc/net/
H A Dnscachedcli.c54 * kevent. If the data_size can't be sent in one piece, then it would be
59 size_t data_size)
67 if (data_size == 0)
78 eventlist.data < data_size - result ?
79 eventlist.data : data_size - result, MSG_NOSIGNAL,
87 return (result < data_size ? -1 : 0);
90 } while (result < data_size);
102 safe_read(struct cached_connection_ *connection, void *data, size_t data_size) argument
110 if (data_size == 0)
121 eventlist.data <= data_size
58 safe_write(struct cached_connection_ *connection, const void *data, size_t data_size) argument
252 __cached_write(struct cached_connection_ *connection, const char *entry_name, const char *key, size_t key_size, const char *data, size_t data_size) argument
304 __cached_read(struct cached_connection_ *connection, const char *entry_name, const char *key, size_t key_size, char *data, size_t *data_size) argument
420 __cached_mp_write(struct cached_connection_ *ws, const char *data, size_t data_size) argument
524 __cached_mp_read(struct cached_connection_ *rs, char *data, size_t *data_size) argument
[all...]
/freebsd-current/crypto/openssl/crypto/
H A Dparams.c44 void *data, size_t data_size)
51 res.data_size = data_size;
171 return signed_from_signed(val, val_size, p->data, p->data_size);
173 return signed_from_unsigned(val, val_size, p->data, p->data_size);
186 r = signed_from_signed(p->data, p->data_size, val, val_size);
188 r = unsigned_from_signed(p->data, p->data_size, val, val_size);
189 p->return_size = r ? p->data_size : val_size;
197 return unsigned_from_signed(val, val_size, p->data, p->data_size);
199 return unsigned_from_unsigned(val, val_size, p->data, p->data_size);
43 ossl_param_construct(const char *key, unsigned int data_type, void *data, size_t data_size) argument
[all...]
/freebsd-current/crypto/heimdal/lib/asn1/
H A Dcheck-common.h52 size_t data_size,
63 size_t data_size,
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fadvise/
H A Dfadvise_sequential.ksh37 # 3. get data_size field from arcstat
39 # 5. get data_size field from arcstat again
40 # 6. latter data_size should be bigger than former one
43 # NOTE: if HAVE_FILE_FADVISE is not defined former data_size
70 data_size1=$(getstat data_size)
75 data_size2=$(getstat data_size)
76 log_note "original data_size is $data_size1, final data_size is $data_size2"
/freebsd-current/crypto/openssl/apps/lib/
H A Dapp_params.c62 if (param->data_size == 0)
66 param->data_size);
124 BIO_printf(bio_out, "<%zu bytes>\n", p->data_size);
128 p->data_type, p->data_size);
/freebsd-current/sys/dev/mlxfw/
H A Dmlxfw_mfa2.h39 u32 data_size; member in struct:mlxfw_mfa2_component
/freebsd-current/usr.sbin/cpucontrol/
H A Dvia.h50 uint32_t data_size; member in struct:via_fw_header
H A Dintel.h50 uint32_t data_size; member in struct:intel_fw_header
H A Dintel.c94 size_t data_size, total_size; local
164 * According to spec, if data_size == 0, then size of ucode = 2000.
166 if (fw_header->data_size == 0)
167 data_size = DEFAULT_UCODE_SIZE;
169 data_size = fw_header->data_size;
171 total_size = data_size + sizeof(*fw_header);
178 payload_size = data_size + sizeof(*fw_header);
255 args.size = data_size;
H A Dvia.c89 size_t data_size, total_size; local
145 data_size = fw_header->data_size;
151 payload_size = data_size + sizeof(*fw_header);
180 args.size = data_size;
/freebsd-current/usr.sbin/nscd/
H A Dnscdcli.c54 size_t data_size)
62 if (data_size == 0)
74 (size_t)eventlist.data < data_size - result ?
75 (size_t)eventlist.data : data_size - result);
82 return (result < data_size ? -1 : 0);
85 } while (result < data_size);
91 safe_read(struct nscd_connection_ *connection, void *data, size_t data_size) argument
99 if (data_size == 0)
111 (size_t)eventlist.data <= data_size - result ?
112 (size_t)eventlist.data : data_size
53 safe_write(struct nscd_connection_ *connection, const void *data, size_t data_size) argument
[all...]
H A Dprotocol.h45 size_t data_size; member in struct:cache_write_request
62 size_t data_size; // ignored if error_code is not 0 member in struct:cache_read_response
94 size_t data_size; member in struct:cache_mp_write_session_write_request
112 size_t data_size; member in struct:cache_mp_read_session_read_response
/freebsd-current/sys/dev/qlxgbe/
H A Dql_minidump.h201 uint32_t data_size ; member in struct:ql_minidump_entry_rdcrb_s
227 uint32_t data_size ; member in struct:ql_minidump_entry_cache_s
261 uint32_t data_size ; member in struct:ql_minidump_entry_rdocm_s
315 uint32_t data_size ; member in struct:ql_minidump_entry_mux_s
343 uint8_t data_size; member in struct:ql_minidump_entry_mux2_s::__anon4465::__anon4466
368 uint32_t data_size ; member in struct:ql_minidump_entry_queue_s
403 uint32_t data_size ; member in struct:ql_minidump_entry_cntrl_s
442 uint32_t data_size; member in struct:ql_minidump_entry_rdcrb_with_poll_s
461 uint32_t data_size; member in struct:ql_minidump_entry_rd_modify_wr_with_poll_s
/freebsd-current/sys/amd64/include/
H A Dvmm_snapshot.h98 int vm_snapshot_buf(void *data, size_t data_size,
115 int vm_snapshot_buf_cmp(void *data, size_t data_size,
/freebsd-current/crypto/openssl/providers/implementations/ciphers/
H A Dciphercommon_ccm.c83 if ((p->data_size & 1) || (p->data_size < 4) || p->data_size > 16) {
93 memcpy(ctx->buf, p->data, p->data_size);
96 ctx->m = p->data_size;
124 sz = ccm_tls_init(ctx, p->data, p->data_size);
138 if (ccm_tls_iv_set_fixed(ctx, p->data, p->data_size) == 0) {
170 if (ccm_get_ivlen(ctx) > p->data_size) {
174 if (!OSSL_PARAM_set_octet_string(p, ctx->iv, p->data_size)
175 && !OSSL_PARAM_set_octet_ptr(p, &ctx->iv, p->data_size)) {
[all...]
H A Dcipher_chacha20_poly1305.c137 if (p->data_size == 0 || p->data_size > POLY1305_BLOCK_SIZE) {
141 memcpy(p->data, ctx->tag, p->data_size);
202 if (p->data_size == 0 || p->data_size > POLY1305_BLOCK_SIZE) {
211 memcpy(ctx->tag, p->data, p->data_size);
213 ctx->tag_len = p->data_size;
222 len = hw->tls_init(&ctx->base, p->data, p->data_size);
236 if (hw->tls_iv_set_fixed(&ctx->base, p->data, p->data_size) == 0) {
/freebsd-current/crypto/openssl/test/
H A Dparam_build_test.c144 || !TEST_size_t_eq(p->data_size, sizeof(int))
151 || !TEST_size_t_eq(p->data_size, sizeof(int32_t))
157 || !TEST_size_t_eq(p->data_size, sizeof(int64_t))
164 || !TEST_size_t_eq(p->data_size, sizeof(long int))
171 || !TEST_size_t_eq(p->data_size, sizeof(time_t))
179 || !TEST_size_t_eq(p->data_size, sizeof(double))
287 || !TEST_size_t_eq(p->data_size, sizeof(int))
295 || !TEST_size_t_eq(p->data_size, sizeof(int32_t))
302 || !TEST_size_t_eq(p->data_size, sizeof(int64_t))
310 || !TEST_size_t_eq(p->data_size, sizeo
[all...]
/freebsd-current/lib/libefivar/
H A Defivar.c146 uint8_t *data, size_t data_size, uint32_t attributes)
149 return efi_set_variable(guid, name, data, data_size,
157 /* data_size of 0 deletes the variable */
163 uint8_t **data, size_t *data_size, uint32_t *attributes)
180 if (data_size != NULL)
181 *data_size = var.datasize;
358 uint8_t *data, size_t data_size, uint32_t attributes)
372 var.datasize = data_size;
145 efi_append_variable(efi_guid_t guid, const char *name, uint8_t *data, size_t data_size, uint32_t attributes) argument
162 efi_get_variable(efi_guid_t guid, const char *name, uint8_t **data, size_t *data_size, uint32_t *attributes) argument
357 efi_set_variable(efi_guid_t guid, const char *name, uint8_t *data, size_t data_size, uint32_t attributes) argument
H A Defivar.h68 uint8_t *data, size_t data_size, uint32_t attributes);
71 uint8_t **data, size_t *data_size, uint32_t *attributes);
83 uint8_t *data, size_t data_size, uint32_t attributes);
/freebsd-current/sys/x86/x86/
H A Ducode.c187 uint32_t data_size, flags, regs[4], sig, total_size; local
203 data_size = hdr->data_size;
205 if (data_size == 0)
206 data_size = UCODE_INTEL_DEFAULT_DATA_SIZE;
210 if (data_size > total_size + sizeof(struct ucode_intel_header))
212 ((const uint8_t *)(hdr + 1) + data_size);
218 *len = data_size;
226 *len = data_size;
/freebsd-current/sys/geom/virstor/
H A Dbinstream.c67 bs_write_buf(bin_stream_t * bs, char *data, unsigned data_size) argument
70 for (i = 0; i < data_size; i++)
72 bs->pos += data_size;
H A Dbinstream.h53 unsigned bs_write_buf(bin_stream_t * bs, char *data, unsigned data_size);
/freebsd-current/crypto/openssl/providers/implementations/digests/
H A Dmd5_sha1_prov.c53 p->data_size, p->data);
/freebsd-current/tools/tools/intel-ucode-split/
H A Dintel-ucode-split.c48 uint32_t data_size; member in struct:microcode_update_header
102 printf("datasize\t0x%x\t\t0x%x\n", hdr->data_size,
103 hdr->data_size != 0 ? hdr->data_size : 2000);

Completed in 277 milliseconds

12345678