Home
last modified time | relevance | path

Searched refs:buflen (Results 676 – 700 of 733) sorted by relevance

1...<<21222324252627282930

/freebsd/sys/contrib/dev/athk/ath11k/
H A Ddebugfs_htt_stats.c18 #define PRINT_ARRAY_TO_BUF(out, buflen, arr, str, len, newline) \ argument
23 index += scnprintf((out + buflen), \
24 (ATH11K_HTT_STATS_BUF_SIZE - buflen), \
28 index += scnprintf((out + buflen) + index, \
29 (ATH11K_HTT_STATS_BUF_SIZE - buflen) - index, \
32 index += scnprintf((out + buflen) + index, \
33 (ATH11K_HTT_STATS_BUF_SIZE - buflen) - index, \
35 buflen += index; \
/freebsd/contrib/wpa/wpa_supplicant/
H A Dwpa_cli.c763 size_t buflen; in wpa_cli_cmd_wps_nfc_tag_read() local
771 buflen = 18 + os_strlen(argv[0]); in wpa_cli_cmd_wps_nfc_tag_read()
772 buf = os_malloc(buflen); in wpa_cli_cmd_wps_nfc_tag_read()
775 os_snprintf(buf, buflen, "WPS_NFC_TAG_READ %s", argv[0]); in wpa_cli_cmd_wps_nfc_tag_read()
H A Dsme.c1585 size_t buflen = 2 * data->auth.ies_len + 1; in sme_event_auth() local
1586 ie_txt = os_malloc(buflen); in sme_event_auth()
1588 wpa_snprintf_hex(ie_txt, buflen, data->auth.ies, in sme_event_auth()
/freebsd/contrib/llvm-project/compiler-rt/lib/dfsan/
H A Ddfsan_custom.cpp1413 char *buf, size_t buflen, struct passwd **result, in __dfsw_getpwuid_r() argument
1419 int ret = getpwuid_r(uid, pwd, buf, buflen, result); in __dfsw_getpwuid_r()
1430 int __dfso_getpwuid_r(id_t uid, struct passwd *pwd, char *buf, size_t buflen, in __dfso_getpwuid_r() argument
1438 return __dfsw_getpwuid_r(uid, pwd, buf, buflen, result, uid_label, pwd_label, in __dfso_getpwuid_r()
/freebsd/sys/dev/sound/pci/hda/
H A Dhdaa.c6852 char *buf, int buflen) in hdaa_chan_formula() argument
6860 snprintf(buf, buflen, "mono"); in hdaa_chan_formula()
6865 snprintf(buf, buflen, "2.0"); in hdaa_chan_formula()
6867 snprintf(buf, buflen, "3.1"); in hdaa_chan_formula()
6869 snprintf(buf, buflen, "4.0"); in hdaa_chan_formula()
6871 snprintf(buf, buflen, "5.1"); in hdaa_chan_formula()
6873 snprintf(buf, buflen, "7.1"); in hdaa_chan_formula()
6875 snprintf(buf, buflen, "%dch", c); in hdaa_chan_formula()
6877 strlcat(buf, "+HP", buflen); in hdaa_chan_formula()
/freebsd/contrib/ntp/sntp/libevent/
H A Dhttp.c913 size_t buflen; in evhttp_handle_chunked_read() local
915 if ((buflen = evbuffer_get_length(buf)) == 0) { in evhttp_handle_chunked_read()
921 if (buflen > EV_SSIZE_MAX) { in evhttp_handle_chunked_read()
975 if (req->ntoread > 0 && buflen < (ev_uint64_t)req->ntoread) in evhttp_handle_chunked_read()
H A DCMakeLists.txt526 …ostent *gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, int *herr)"
532 …"int gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, struct hosten…
/freebsd/contrib/libevent/
H A Dhttp.c913 size_t buflen; in evhttp_handle_chunked_read() local
915 if ((buflen = evbuffer_get_length(buf)) == 0) { in evhttp_handle_chunked_read()
921 if (buflen > EV_SSIZE_MAX) { in evhttp_handle_chunked_read()
975 if (req->ntoread > 0 && buflen < (ev_uint64_t)req->ntoread) in evhttp_handle_chunked_read()
H A DCMakeLists.txt526 …ostent *gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, int *herr)"
532 …"int gethostbyname_r(const char *name, struct hostent *hp, char *buf, size_t buflen, struct hosten…
/freebsd/sys/dev/bwi/
H A Dif_bwi.c2598 int buflen, wh_ofs, hdr_extra, rssi, noise, type, rate; in bwi_rxeof() local
2617 buflen = le16toh(hdr->rxh_buflen); in bwi_rxeof()
2618 if (buflen < BWI_FRAME_MIN_LEN(wh_ofs)) { in bwi_rxeof()
2631 m->m_len = m->m_pkthdr.len = buflen + sizeof(*hdr); in bwi_rxeof()
/freebsd/sys/dev/usb/wlan/
H A Dif_rsu.c1276 data->buflen = xferlen; in rsu_fw_cmd()
2676 usbd_xfer_set_frame_data(xfer, 0, data->buf, data->buflen); in rsu_bulk_tx_callback_sub()
2899 data->buflen = xferlen; in rsu_tx_start()
3325 data->buflen = sizeof(*txd) + mlen; in rsu_fw_loadsection()
H A Dif_urtw.c1829 data->buflen = xferlen; in urtw_tx_start()
2283 urtw_eprom_sendbits(struct urtw_softc *sc, int16_t *buf, int buflen) in urtw_eprom_sendbits() argument
2288 for (i = 0; i < buflen; i++) { in urtw_eprom_sendbits()
4212 usbd_xfer_set_frame_data(xfer, 0, data->buf, data->buflen); in urtw_bulk_tx_callback()
/freebsd/contrib/capsicum-test/
H A Dlinux.cc1392 int getrandom_(void *buf, size_t buflen, unsigned int flags) { in getrandom_() argument
1394 return syscall(__NR_getrandom, buf, buflen, flags); in getrandom_()
/freebsd/contrib/wpa/src/p2p/
H A Dp2p.h1994 char *buf, size_t buflen);
/freebsd/sys/sys/
H A Dsyscallsubr.h85 size_t buflen, size_t path_max);
/freebsd/contrib/wpa/src/common/
H A Ddpp.c3386 size_t buflen) in dpp_configurator_get_key() argument
3398 ret = wpa_snprintf_hex(buf, buflen, wpabuf_head(key), wpabuf_len(key)); in dpp_configurator_get_key()
4263 char *buf, size_t buflen) in dpp_configurator_get_key_id() argument
4271 return dpp_configurator_get_key(conf, buf, buflen); in dpp_configurator_get_key_id()
H A Ddpp_crypto.c208 u8 *buf, size_t buflen) in dpp_pbkdf2() argument
212 size_t left = buflen, plen; in dpp_pbkdf2()
/freebsd/contrib/llvm-project/compiler-rt/include/sanitizer/
H A Dnetbsd_syscall_hooks.h477 #define __sanitizer_syscall_pre_getrandom(buf, buflen, flags) \ argument
479 (long long)(buf), (long long)(buflen), (long long)(flags))
480 #define __sanitizer_syscall_post_getrandom(res, buf, buflen, flags) \ argument
482 res, (long long)(buf), (long long)(buflen), (long long)(flags))
3195 void __sanitizer_syscall_pre_impl_getrandom(long long buf, long long buflen,
3198 long long buflen, long long flags);
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_ddp.c1886 struct ppod_reservation *prsv, vm_offset_t buf, int buflen, in t4_write_page_pods_for_buf() argument
1909 end_pva = trunc_page(buf + buflen - 1); in t4_write_page_pods_for_buf()
1938 ppod->len_offset = htobe64(V_PPOD_LEN(buflen) | in t4_write_page_pods_for_buf()
/freebsd/contrib/file/src/
H A Dcdf.c1255 cdf_print_classid(char *buf, size_t buflen, const cdf_classid_t *id) in cdf_print_classid() argument
1257 return snprintf(buf, buflen, "%.8x-%.4x-%.4x-%.2x%.2x-" in cdf_print_classid()
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_dataset.c3475 parent_name(const char *path, char *buf, size_t buflen) in parent_name() argument
3479 (void) strlcpy(buf, path, buflen); in parent_name()
3489 zfs_parent_name(zfs_handle_t *zhp, char *buf, size_t buflen) in zfs_parent_name() argument
3491 return (parent_name(zfs_get_name(zhp), buf, buflen)); in zfs_parent_name()
H A Dlibzfs_sendrecv.c2203 size_t buflen = 0; in send_prelim_records() local
2265 VERIFY0(nvlist_pack(hdrnv, &packbuf, &buflen, NV_ENCODE_XDR, in send_prelim_records()
2291 drr.drr_payloadlen = buflen; in send_prelim_records()
2293 err = dump_record(&drr, packbuf, buflen, &zc, fd); in send_prelim_records()
/freebsd/contrib/wpa/src/ap/
H A Dwps_hostapd.c1795 char *buf, size_t buflen) in hostapd_wps_get_mib_sta() argument
1799 return wps_registrar_get_info(hapd->wps->registrar, addr, buf, buflen); in hostapd_wps_get_mib_sta()
H A Dwpa_auth_ft.c3061 size_t buflen; in wpa_ft_process_auth_req() local
3230 buflen = 2 + sizeof(struct rsn_mdie) + 2 + sizeof(struct rsn_ftie) + in wpa_ft_process_auth_req()
3232 *resp_ies = os_zalloc(buflen); in wpa_ft_process_auth_req()
3237 end = *resp_ies + buflen; in wpa_ft_process_auth_req()
/freebsd/sys/contrib/openzfs/module/os/freebsd/zfs/
H A Dzfs_acl.c1122 zfs_acl_data_locator(void **dataptr, uint32_t *length, uint32_t buflen, in zfs_acl_data_locator() argument
1125 (void) buflen; in zfs_acl_data_locator()

1...<<21222324252627282930