Searched refs:buf_len (Results 76 - 100 of 163) sorted by relevance

1234567

/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_drv.c293 static int drm_copy_field(char *buf, size_t *buf_len, const char *value) argument
299 if (len > *buf_len)
300 len = *buf_len;
304 *buf_len = strlen(value);
/freebsd-11-stable/contrib/wpa/src/eap_common/
H A Dikev2_common.c377 size_t sign_len, buf_len; local
388 buf_len = 4 + ID_len;
389 buf = os_zalloc(buf_len);
395 1, (const u8 **) &buf, &buf_len, hash) < 0) {
/freebsd-11-stable/sys/dev/qlnx/qlnxe/
H A Decore_ll2_api.h239 u16 buf_len,
/freebsd-11-stable/sys/compat/cloudabi32/
H A Dcloudabi32_fd.c75 iov[i].iov_len = iovobj.buf_len;
H A Dcloudabi32_systrace_args.c209 uarg[2] = p->buf_len; /* size_t */
221 uarg[4] = p->buf_len; /* size_t */
394 uarg[1] = p->buf_len; /* size_t */
/freebsd-11-stable/sys/compat/cloudabi64/
H A Dcloudabi64_fd.c75 iov[i].iov_len = iovobj.buf_len;
H A Dcloudabi64_systrace_args.c209 uarg[2] = p->buf_len; /* size_t */
221 uarg[4] = p->buf_len; /* size_t */
394 uarg[1] = p->buf_len; /* size_t */
/freebsd-11-stable/sys/dev/wtap/
H A Dif_wtap.c92 int buf_len; local
95 buf_len = MIN(uio->uio_iov->iov_len, 1024);
96 err = copyin(uio->uio_iov->iov_base, buf, buf_len);
104 m_copyback(m, 0, buf_len, buf);
/freebsd-11-stable/contrib/llvm-project/lldb/source/Plugins/Process/Darwin/
H A DNativeThreadListDarwin.cpp220 NativeThreadListDarwin::GetRegisterContext (nub_thread_t tid, void *buf, size_t buf_len)
224 return thread_sp->GetRegisterContext (buf, buf_len);
229 NativeThreadListDarwin::SetRegisterContext (nub_thread_t tid, const void *buf, size_t buf_len)
233 return thread_sp->SetRegisterContext (buf, buf_len);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_fuchsia.cpp476 uptr ReadBinaryName(/*out*/ char *buf, uptr buf_len) { argument
481 internal_strncpy(buf, argv0, buf_len);
485 uptr ReadLongProcessName(/*out*/ char *buf, uptr buf_len) { argument
486 return ReadBinaryName(buf, buf_len);
H A Dsanitizer_linux.cpp1085 uptr ReadBinaryName(/*out*/char *buf, uptr buf_len) { argument
1089 return internal_snprintf(buf, buf_len, "%s", default_module_name);
1098 uptr Size = buf_len;
1106 default_module_name, buf, buf_len);
1114 module_name_len = internal_snprintf(buf, buf_len, "%s",
1116 CHECK_LT(module_name_len, buf_len);
1123 uptr ReadLongProcessName(/*out*/ char *buf, uptr buf_len) { argument
1130 internal_strncpy(buf, tmpbuf, buf_len);
1135 return ReadBinaryName(buf, buf_len);
/freebsd-11-stable/crypto/openssl/crypto/asn1/
H A Da_object.c228 int i2t_ASN1_OBJECT(char *buf, int buf_len, ASN1_OBJECT *a) argument
230 return OBJ_obj2txt(buf, buf_len, a, 0);
/freebsd-11-stable/contrib/serf/auth/
H A Dauth_spnego.c193 const char **buf, apr_size_t *buf_len,
239 *buf_len = output_buf.length;
190 gss_api_get_credentials(serf_connection_t *conn, char *token, apr_size_t token_len, const char *hostname, const char **buf, apr_size_t *buf_len, gss_authn_info_t *gss_info) argument
/freebsd-11-stable/crypto/heimdal/lib/gssapi/spnego/
H A Daccept_sec_context.c93 size_t buf_len = 0; local
129 data.value, data.length, &nt, &buf_len, ret);
135 if (data.length != buf_len) {
440 size_t buf_len = 0; local
444 &ctx->initiator_mech_types, &buf_len, eret);
449 heim_assert(mech_buf->length == buf_len, "Internal ASN.1 error");
/freebsd-11-stable/contrib/wpa/wpa_supplicant/
H A Ddriver_i.h534 u8 *buf, size_t buf_len)
538 return wpa_s->driver->get_noa(wpa_s->drv_priv, buf, buf_len);
583 char *cmd, char *buf, size_t buf_len)
587 return wpa_s->driver->driver_cmd(wpa_s->drv_priv, cmd, buf, buf_len);
659 u8 *buf, u16 *buf_len)
664 buf_len);
533 wpa_drv_get_noa(struct wpa_supplicant *wpa_s, u8 *buf, size_t buf_len) argument
582 wpa_drv_driver_cmd(struct wpa_supplicant *wpa_s, char *cmd, char *buf, size_t buf_len) argument
657 wpa_drv_wnm_oper(struct wpa_supplicant *wpa_s, enum wnm_oper oper, const u8 *peer, u8 *buf, u16 *buf_len) argument
/freebsd-11-stable/crypto/openssl/crypto/ec/
H A Dec_ameth.c418 size_t buf_len = 0, i; local
446 buf_len = (size_t)BN_num_bytes(pub_key);
452 if (priv_key && (i = (size_t)BN_num_bytes(priv_key)) > buf_len)
453 buf_len = i;
458 buf_len += 10;
459 if ((buffer = OPENSSL_malloc(buf_len)) == NULL) {
/freebsd-11-stable/stand/fdt/
H A Dfdt_loader_cmd.c1273 int buf_len, i, l; local
1280 buf_len = len;
1286 buf_len -= count - 1;
1289 buf_len += count * 2;
1293 buf_len += count * 2;
1295 /* Note that string being put in 'tmp' may be as big as 'buf_len'. */
1296 b = (char *)malloc(buf_len);
1297 tmp = (char *)malloc(buf_len);
/freebsd-11-stable/sys/compat/cloudabi/
H A Dcloudabi_file.c380 .iov_len = uap->buf_len
494 td->td_retval[0] = uap->buf_len - uio.uio_resid;
510 uap->buf, UIO_USERSPACE, uap->buf_len);
/freebsd-11-stable/sys/dev/ocs_fc/
H A Docs_mgmt.c51 static int ocs_mgmt_firmware_write(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t);
52 static int ocs_mgmt_firmware_reset(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t);
53 static int ocs_mgmt_function_reset(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t);
56 static int ocs_mgmt_force_assert(ocs_t *ocs, char *, void *buf, uint32_t buf_len, void*, uint32_t);
717 ocs_mgmt_firmware_reset(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_t arg_out_length) argument
760 ocs_mgmt_function_reset(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_t arg_out_length) argument
771 ocs_mgmt_firmware_write(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_t arg_out_length) argument
786 bytes_left = buf_len;
912 ocs_mgmt_get_sfp(ocs_t *ocs, uint16_t page, void *buf, uint32_t buf_len) argument
945 rc = (result->bytes_read > buf_len
955 ocs_mgmt_force_assert(ocs_t *ocs, char *name, void *buf, uint32_t buf_len, void *arg_out, uint32_t arg_out_length) argument
[all...]
/freebsd-11-stable/contrib/tcsh/
H A Ded.chared.c471 size_t buf_len; local
652 buf_len = Strlen(buf);
661 if (LastChar + buf_len - (q - op) >= InputLim)
663 (void) memmove(op + buf_len, q, (LastChar - q) * sizeof(Char));
664 LastChar += buf_len - (q - op);
665 Cursor += buf_len - (q - op);
666 (void) memcpy(op, buf, buf_len * sizeof(Char));
669 return op + buf_len;
/freebsd-11-stable/sys/sys/
H A Dtiio.h312 int buf_len; member in struct:ti_trace_buf
/freebsd-11-stable/contrib/wpa/src/crypto/
H A Dtls.h641 int tls_get_library_version(char *buf, size_t buf_len);
/freebsd-11-stable/contrib/wpa/src/eap_peer/
H A Dikev2.c34 size_t buf_len, pad_len; local
60 buf_len = data->i_nonce_len + data->r_nonce_len + 2 * IKEV2_SPI_LEN;
61 buf = os_malloc(buf_len);
109 ret = ikev2_derive_sk_keys(prf, integ, encr, skeyseed, buf, buf_len,
/freebsd-11-stable/contrib/wpa/src/radius/
H A Dradius.h287 u8 *buf, size_t buf_len);
/freebsd-11-stable/contrib/wpa/src/ap/
H A Dwnm_ap.c29 u8 *buf, u16 *buf_len, enum wnm_oper oper)
33 return hostapd_drv_wnm_oper(hapd, oper, addr, buf, buf_len);
39 u8 *buf, u16 *buf_len, enum wnm_oper oper)
43 return hostapd_drv_wnm_oper(hapd, oper, addr, buf, buf_len);
28 ieee80211_11_get_tfs_ie(struct hostapd_data *hapd, const u8 *addr, u8 *buf, u16 *buf_len, enum wnm_oper oper) argument
38 ieee80211_11_set_tfs_ie(struct hostapd_data *hapd, const u8 *addr, u8 *buf, u16 *buf_len, enum wnm_oper oper) argument

Completed in 184 milliseconds

1234567