Lines Matching refs:buflen

128 	ssize_t buflen;  in wpa_debug_open_linux_tracing()  local
137 buflen = read(mounts, buf, sizeof(buf) - 1); in wpa_debug_open_linux_tracing()
139 if (buflen < 0) { in wpa_debug_open_linux_tracing()
611 int buflen; in wpa_msg() local
616 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg()
619 buf = os_malloc(buflen); in wpa_msg()
636 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg()
641 bin_clear_free(buf, buflen); in wpa_msg()
649 int buflen; in wpa_msg_ctrl() local
656 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg_ctrl()
659 buf = os_malloc(buflen); in wpa_msg_ctrl()
666 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg_ctrl()
669 bin_clear_free(buf, buflen); in wpa_msg_ctrl()
677 int buflen; in wpa_msg_global() local
681 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg_global()
684 buf = os_malloc(buflen); in wpa_msg_global()
691 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg_global()
696 bin_clear_free(buf, buflen); in wpa_msg_global()
704 int buflen; in wpa_msg_global_ctrl() local
711 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg_global_ctrl()
714 buf = os_malloc(buflen); in wpa_msg_global_ctrl()
721 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg_global_ctrl()
724 bin_clear_free(buf, buflen); in wpa_msg_global_ctrl()
732 int buflen; in wpa_msg_no_global() local
736 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg_no_global()
739 buf = os_malloc(buflen); in wpa_msg_no_global()
746 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg_no_global()
751 bin_clear_free(buf, buflen); in wpa_msg_no_global()
759 int buflen; in wpa_msg_global_only() local
763 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in wpa_msg_global_only()
766 buf = os_malloc(buflen); in wpa_msg_global_only()
773 len = vsnprintf(buf, buflen, fmt, ap); in wpa_msg_global_only()
798 int buflen; in hostapd_logger() local
802 buflen = vsnprintf(NULL, 0, fmt, ap) + 1; in hostapd_logger()
805 buf = os_malloc(buflen); in hostapd_logger()
812 len = vsnprintf(buf, buflen, fmt, ap); in hostapd_logger()
821 bin_clear_free(buf, buflen); in hostapd_logger()