/netbsd-src/crypto/external/bsd/openssh/dist/ |
H A D | log.h | 82 #define do_log2(level, ...) sshlog(__FILE__, __func__, __LINE__, 0, level, NULL, __VA_ARGS__) 83 #define debug3(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG3, NULL, __VA_ARGS__) 84 #define debug2(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG2, NULL, __VA_ARGS__) 85 #define debug(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG1, NULL, __VA_ARGS__) 86 #define verbose(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_VERBOSE, NULL, __VA_ARGS… 87 #define logit(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_INFO, NULL, __VA_ARGS__) 88 #define error(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_ERROR, NULL, __VA_ARGS__) 89 #define fatal(...) sshfatal(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_FATAL, NULL, __VA_ARGS__) 90 #define logdie(...) sshlogdie(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_ERROR, NULL, __VA_ARGS… 93 #define do_log2_f(level, ...) sshlog(__FILE__, __func__, __LINE__, 1, level, NULL, __VA_ARGS__) [all …]
|
H A D | sk-usbhid.c | 141 skdebug(__func__, "path == NULL"); in sk_open() 145 skdebug(__func__, "calloc sk failed"); in sk_open() 149 skdebug(__func__, "strdup path failed"); in sk_open() 154 skdebug(__func__, "fido_dev_new failed"); in sk_open() 160 skdebug(__func__, "fido_dev_open %s failed: %s", sk->path, in sk_open() 191 skdebug(__func__, "calloc skv failed"); in sk_openv() 196 skdebug(__func__, "fido_dev_info_ptr failed"); in sk_openv() 198 skdebug(__func__, "sk_open failed"); in sk_openv() 230 skdebug(__func__, "fido_dev_get_touch_begin %s failed:" in sk_touch_begin() 252 skdebug(__func__, "polling %s", skv[i]->path); in sk_touch_poll() [all …]
|
H A D | auth-pam.c | 252 fatal("%s: waitpid: %s", __func__, strerror(errno)); in pthread_join() 310 fatal("%s: setreuid failed: %s", __func__, strerror(errno)); in sshpam_chauthtok_ruid() 313 fatal("%s: setreuid failed: %s", __func__, strerror(errno)); in sshpam_chauthtok_ruid() 325 debug3("%s %d", __func__, reqd); in sshpam_password_change_required() 327 fatal("%s: PAM authctxt not initialized", __func__); in sshpam_password_change_required() 354 debug3("PAM: %s entering", __func__); in import_environments() 359 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in import_environments() 361 fatal("%s: invalid PAM account status %u", __func__, n); in import_environments() 364 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in import_environments() 369 fatal("%s: buffer error: %s", __func__, ssh_err(r)); in import_environments() [all …]
|
/netbsd-src/external/bsd/libfido2/dist/src/ |
H A D | winhello.c | 85 fido_log_debug("%s: already loaded", __func__); in webauthn_load() 89 fido_log_debug("%s: LoadLibrary", __func__); in webauthn_load() 96 fido_log_debug("%s: WebAuthNGetApiVersionNumber", __func__); in webauthn_load() 101 fido_log_debug("%s: unsupported api %lu", __func__, (u_long)n); in webauthn_load() 104 fido_log_debug("%s: api version %lu", __func__, (u_long)n); in webauthn_load() 108 fido_log_debug("%s: WebAuthNGetErrorName", __func__); in webauthn_load() 115 __func__); in webauthn_load() 122 __func__); in webauthn_load() 128 fido_log_debug("%s: WebAuthNFreeAssertion", __func__); in webauthn_load() 135 __func__); in webauthn_load() [all …]
|
H A D | u2f.c | 39 fido_log_debug("%s: ms=%u", __func__, ms); in delay_ms() 44 fido_log_error(errno, "%s: usleep", __func__); in delay_ms() 60 fido_log_debug("%s: fido_buf_read", __func__); in sig_get() 75 fido_log_debug("%s: invalid len %zu", __func__, *len); in x5c_get() 83 fido_log_debug("%s: d2i_X509", __func__); in x5c_get() 90 fido_log_debug("%s: fido_buf_read", __func__); in x5c_get() 117 fido_log_debug("%s: sha256", __func__); in authdata_fake() 126 fido_log_debug("%s: cbor_build_bytestring", __func__); in authdata_fake() 133 fido_log_debug("%s: cbor_serialize_alloc", __func__); in authdata_fake() 161 fido_log_debug("%s: iso7816", __func__); in send_dummy_register() [all …]
|
H A D | cbor.c | 19 fido_log_debug("%s: invalid type: %d", __func__, item->type); in check_key_type() 39 fido_log_debug("%s: unsorted types", __func__); in ctap_check_cbor() 57 fido_log_debug("%s: invalid cbor", __func__); in ctap_check_cbor() 70 fido_log_debug("%s: cbor_map_handle", __func__); in cbor_map_iter() 79 __func__, (void *)v[i].key, (void *)v[i].value, i); in cbor_map_iter() 83 fido_log_debug("%s: ctap_check_cbor", __func__); in cbor_map_iter() 87 fido_log_debug("%s: iterator < 0 on i=%zu", __func__, in cbor_map_iter() 104 fido_log_debug("%s: cbor_array_handle", __func__); in cbor_array_iter() 113 __func__, i, (void *)v[i]); in cbor_array_iter() 129 fido_log_debug("%s: blob_len=%zu", __func__, blob_len); in cbor_parse_reply() [all …]
|
H A D | largeblob.c | 72 fido_log_debug("%s: fido_blob_new", __func__); in largeblob_decrypt() 76 fido_log_debug("%s: largeblob_aad", __func__); in largeblob_decrypt() 81 fido_log_debug("%s: aes256_gcm_dec", __func__); in largeblob_decrypt() 102 fido_log_debug("%s: fido_get_random", __func__); in largeblob_get_nonce() 106 fido_log_debug("%s: fido_blob_set", __func__); in largeblob_get_nonce() 126 fido_log_debug("%s: fido_blob_new", __func__); in largeblob_seal() 130 fido_log_debug("%s: fido_compress", __func__); in largeblob_seal() 134 fido_log_debug("%s: largeblob_aad", __func__); in largeblob_seal() 138 fido_log_debug("%s: largeblob_get_nonce", __func__); in largeblob_seal() 143 fido_log_debug("%s: aes256_gcm_enc", __func__); in largeblob_seal() [all …]
|
H A D | hid_win.c | 53 fido_log_debug("%s: HidD_GetPreparsedData", __func__); in is_fido() 58 fido_log_debug("%s: HidP_GetCaps", __func__); in is_fido() 79 fido_log_debug("%s: HidD_GetPreparsedData/%d", __func__, dir); in get_report_len() 84 fido_log_debug("%s: HidP_GetCaps/%d", __func__, dir); in get_report_len() 94 fido_log_debug("%s: report_len == 0", __func__); in get_report_len() 114 fido_log_debug("%s: HidD_GetAttributes", __func__); in get_id() 134 fido_log_debug("%s: HidD_GetManufacturerString", __func__); in get_manufacturer() 140 fido_log_debug("%s: WideCharToMultiByte", __func__); in get_manufacturer() 145 fido_log_debug("%s: malloc", __func__); in get_manufacturer() 151 fido_log_debug("%s: WideCharToMultiByte", __func__); in get_manufacturer() [all …]
|
H A D | hid_osx.c | 45 fido_log_debug("%s: IOHIDDeviceGetProperty", __func__); in get_int32() 51 fido_log_debug("%s: CFNumberGetType", __func__); in get_int32() 56 fido_log_debug("%s: CFNumberGetValue", __func__); in get_int32() 72 fido_log_debug("%s: IOHIDDeviceGetProperty", __func__); in get_utf8() 78 fido_log_debug("%s: CFStringGetCString", __func__); in get_utf8() 97 fido_log_debug("%s: get_int32/%d", __func__, dir); in get_report_len() 102 fido_log_debug("%s: report_len=%zu", __func__, *report_len); in get_report_len() 117 fido_log_debug("%s: get_int32 vendor", __func__); in get_id() 123 fido_log_debug("%s: get_int32 product", __func__); in get_id() 153 fido_log_debug("%s: strdup", __func__); in get_str() [all …]
|
H A D | nfc.c | 40 fido_log_debug("%s: write", __func__); in tx_short_apdu() 46 fido_log_debug("%s: read", __func__); in tx_short_apdu() 50 fido_log_debug("%s: unexpected sw", __func__); in tx_short_apdu() 68 fido_log_debug("%s: header", __func__); in nfc_do_tx() 72 fido_log_debug("%s: apdu_len %zu", __func__, apdu_len); in nfc_do_tx() 80 fido_log_debug("%s: chain", __func__); in nfc_do_tx() 88 fido_log_debug("%s: tx_short_apdu", __func__); in nfc_do_tx() 107 fido_log_debug("%s: iso7816", __func__); in fido_nfc_tx() 115 fido_log_debug("%s: iso7816", __func__); in fido_nfc_tx() 122 fido_log_debug("%s: cmd=%02x", __func__, cmd); in fido_nfc_tx() [all …]
|
H A D | hid_netbsd.c | 51 fido_log_error(errno, "%s: ioctl", __func__); in is_fido() 59 fido_log_debug("%s: fido_hid_get_usage", __func__); in is_fido() 76 fido_log_error(errno, "%s: unable to set raw", __func__); in is_fido() 97 fido_log_error(errno, "%s: ioctl", __func__); in copy_info() 112 fido_log_error(errno, "%s: close", __func__); in copy_info() 181 fido_log_debug("%s: send ping %d", __func__, i); in terrible_ping_kludge() 184 fido_log_debug("%s: wait reply", __func__); in terrible_ping_kludge() 189 fido_log_error(errno, "%s: poll", __func__); in terrible_ping_kludge() 192 fido_log_debug("%s: timed out", __func__); in terrible_ping_kludge() 203 __func__); in terrible_ping_kludge() [all …]
|
H A D | hid_openbsd.c | 43 fido_log_error(errno, "%s: ioctl %s", __func__, path); in copy_info() 47 fido_log_debug("%s: %s: bus = 0x%02x, addr = 0x%02x", __func__, path, in copy_info() 49 fido_log_debug("%s: %s: vendor = \"%s\", product = \"%s\"", __func__, in copy_info() 52 "releaseNo = 0x%04x", __func__, path, udi.udi_productNo, in copy_info() 66 fido_log_error(errno, "%s: close %s", __func__, path); in copy_info() 133 fido_log_debug("%s: send ping %d", __func__, i); in terrible_ping_kludge() 136 fido_log_debug("%s: wait reply", __func__); in terrible_ping_kludge() 141 fido_log_error(errno, "%s: poll", __func__); in terrible_ping_kludge() 144 fido_log_debug("%s: timed out", __func__); in terrible_ping_kludge() 155 __func__); in terrible_ping_kludge() [all …]
|
H A D | credman.c | 30 fido_log_debug("%s: n > UINT8_MAX", __func__); in credman_grow_array() 40 fido_log_debug("%s: n=%zu, n_rx=%zu, n_alloc=%zu", __func__, n, in credman_grow_array() 72 fido_log_debug("%s: cbor encode", __func__); in credman_prepare_hmac() 79 fido_log_debug("%s: cbor encode", __func__); in credman_prepare_hmac() 89 fido_log_debug("%s: cbor encode", __func__); in credman_prepare_hmac() 94 fido_log_debug("%s: unknown cmd=0x%02x", __func__, cmd); in credman_prepare_hmac() 99 fido_log_debug("%s: cbor_flatten_vector", __func__); in credman_prepare_hmac() 103 fido_log_debug("%s: cbor_build_frame", __func__); in credman_prepare_hmac() 131 fido_log_debug("%s: fido_dev_is_fido2", __func__); in credman_tx() 138 fido_log_debug("%s: cbor encode", __func__); in credman_tx() [all …]
|
H A D | pin.c | 49 fido_log_debug("%s: SHA256", __func__); in pin_sha256_enc() 57 fido_log_debug("%s: aes256_cbc_enc", __func__); in pin_sha256_enc() 77 fido_log_debug("%s: invalid pin length", __func__); in pad64() 105 fido_log_debug("%s: pad64", __func__); in pin_pad64_enc() 115 fido_log_debug("%s: aes256_cbc_enc", __func__); in pin_pad64_enc() 144 fido_log_debug("%s: cmd 0x%02x", __func__, cmd); in encode_uv_permission() 163 fido_log_debug("%s: NULL pin", __func__); in ctap20_uv_token_tx() 170 fido_log_debug("%s: fido_blob_set", __func__); in ctap20_uv_token_tx() 176 fido_log_debug("%s: pin_sha256_enc", __func__); in ctap20_uv_token_tx() 184 fido_log_debug("%s: cbor encode", __func__); in ctap20_uv_token_tx() [all …]
|
H A D | bio.c | 34 fido_log_debug("%s: cbor_flatten_vector", __func__); in bio_prepare_hmac() 40 fido_log_debug("%s: cbor_serialize_alloc", __func__); in bio_prepare_hmac() 45 fido_log_debug("%s: malloc", __func__); in bio_prepare_hmac() 79 fido_log_debug("%s: cbor encode", __func__); in bio_tx() 87 fido_log_debug("%s: bio_prepare_hmac", __func__); in bio_tx() 95 fido_log_debug("%s: fido_do_ecdh", __func__); in bio_tx() 100 fido_log_debug("%s: cbor_add_uv_params", __func__); in bio_tx() 106 fido_log_debug("%s: encode pin", __func__); in bio_tx() 114 fido_log_debug("%s: fido_tx", __func__); in bio_tx() 156 fido_log_debug("%s: cbor type", __func__); in decode_template() [all …]
|
H A D | pcsc.c | 53 fido_log_debug("%s: SCardListReaders 0x%lx", __func__, (long)s); in list_readers() 58 fido_log_debug("%s: bogus len=%u", __func__, (unsigned)len); in list_readers() 62 fido_log_debug("%s: bogus buf", __func__); in list_readers() 85 fido_log_debug("%s: invalid path %s", __func__, path); in get_reader() 89 fido_log_debug("%s: list_readers", __func__); in get_reader() 99 fido_log_debug("%s: failed to find reader %s", __func__, path); in get_reader() 119 fido_log_debug("%s: unknown protocol %lu", __func__, in prepare_io_request() 141 fido_log_debug("%s: SCardConnect 0x%lx", __func__, (long)s); in copy_info() 145 fido_log_debug("%s: prepare_io_request", __func__); in copy_info() 150 fido_log_debug("%s: asprintf", __func__); in copy_info() [all …]
|
/netbsd-src/sys/arch/m68k/fpe/ |
H A D | fpu_calcea.c | 78 panic("%s: called with uninitialized datasize", __func__); in fpu_decode_ea() 91 __func__, ea->ea_regnum)); in fpu_decode_ea() 97 __func__, insn->is_datasize)); in fpu_decode_ea() 109 __func__, (void *)ea->ea_fea, insn->is_datasize)); in fpu_decode_ea() 133 __func__, ea->ea_regnum)); in fpu_decode_ea() 139 __func__, ea->ea_regnum)); in fpu_decode_ea() 145 __func__, ea->ea_regnum)); in fpu_decode_ea() 152 __func__, ea->ea_regnum)); in fpu_decode_ea() 169 __func__)); in fpu_decode_ea() 177 __func__)); in fpu_decode_ea() [all...] |
H A D | fpu_emulate.c | 72 __func__, \ 103 __func__, fe.fe_fpsr, fe.fe_fpcr)); in fpu_emulate() 129 DPRINTF(("%s: fault reading opcode\n", __func__)); in fpu_emulate() 135 __func__, sval)); in fpu_emulate() 140 DPRINTF(("%s: bad coproc. id: opcode=0x%x\n", __func__, sval)); in fpu_emulate() 148 DPRINTF(("%s: fault reading word1\n", __func__)); in fpu_emulate() 166 DPRINTF(("%s: fmovm FPr\n", __func__)); in fpu_emulate() 169 DPRINTF(("%s: fmovm FPcr\n", __func__)); in fpu_emulate() 175 DPRINTF(("%s: fmove to mem\n", __func__)); in fpu_emulate() 179 DPRINTF(("%s: fmovecr\n", __func__)); in fpu_emulate() [all...] |
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/display/dc/dml/ |
H A D | amdgpu_dml1_display_rq_dlg_calc.c | 122 DTRACE("DLG: %s: refclk_freq_in_mhz = %3.2f", __func__, refclk_freq_in_mhz); in get_refcyc_per_delivery() 123 DTRACE("DLG: %s: pclk_freq_in_mhz = %3.2f", __func__, pclk_freq_in_mhz); in get_refcyc_per_delivery() 124 DTRACE("DLG: %s: recout_width = %d", __func__, recout_width); in get_refcyc_per_delivery() 125 DTRACE("DLG: %s: vratio = %3.2f", __func__, vratio); in get_refcyc_per_delivery() 126 DTRACE("DLG: %s: req_per_swath_ub = %d", __func__, req_per_swath_ub); in get_refcyc_per_delivery() 127 DTRACE("DLG: %s: refcyc_per_delivery= %3.2f", __func__, refcyc_per_delivery); in get_refcyc_per_delivery() 153 DTRACE("DLG: %s: max_num_sw = %0d", __func__, max_num_sw); in get_vratio_pre() 154 DTRACE("DLG: %s: max_partial_sw = %0d", __func__, max_partial_sw); in get_vratio_pre() 155 DTRACE("DLG: %s: swath_height = %0d", __func__, swath_height); in get_vratio_pre() 156 DTRACE("DLG: %s: vinit = %3.2f", __func__, vinit); in get_vratio_pre() [all …]
|
/netbsd-src/usr.sbin/rtadvd/ |
H A D | rtadvd.c | 317 __func__); in main() 335 "inputs or timeout", __func__, in main() 341 __func__); in main() 354 logit(LOG_ERR, "%s: poll: %m", __func__); in main() 401 __func__); in die() 404 logit(LOG_NOTICE, "%s: gracefully terminated", __func__); in die() 412 logit(LOG_NOTICE, "%s: gracefully terminated", __func__); in die() 418 logit(LOG_NOTICE, "%s: final RA transmission started", __func__); in die() 487 "(type = %d [%s], len = %d)", __func__, rtmsg_type(msg), in rtmsg_input() 500 __func__, n, rtmsg_len(msg)); in rtmsg_input() [all …]
|
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/ |
H A D | ctfmerge.c | 378 __func__); in wip_save_work() 383 __func__); in wip_save_work() 392 __func__, nextslot); in wip_save_work() 400 __func__); in wip_save_work() 431 __func__); in worker_runphase1() 437 __func__); in worker_runphase1() 440 __func__); in worker_runphase1() 449 __func__); in worker_runphase1() 457 __func__); in worker_runphase1() 466 terminate("%s: pthread_mutex_lock(wip_lock)", __func__); in worker_runphase1() [all …]
|
H A D | barrier.c | 59 terminate("%s: pthread_mutex_init(bar_lock)", __func__); in barrier_init() 62 terminate("%s: sema_init(bar_sem)", __func__); in barrier_init() 65 terminate("%s: dispatch_semaphore_create()\n", __func__); in barrier_init() 68 terminate("%s: sem_init(bar_sem)", __func__); in barrier_init() 82 terminate("%s: pthread_mutex_lock(bar_lock)", __func__); in barrier_wait() 87 __func__); in barrier_wait() 90 terminate("%s: sema_wait(bar_sem)", __func__); in barrier_wait() 94 __func__, error); in barrier_wait() 97 terminate("%s: sem_wait(bar_sem)", __func__); in barrier_wait() 110 terminate("%s: sema_post(bar_sem)", __func__); in barrier_wait() [all …]
|
/netbsd-src/sys/compat/ossaudio/ |
H A D | ossaudio.c | 200 DPRINTF(("%s: com=%s\n", __func__, compat_ossaudio_getcmd(com))); in oss_ioctl_audio() 209 DPRINTF(("%s: AUDIO_FLUSH %d\n", __func__, error)); in oss_ioctl_audio() 216 DPRINTF(("%s: AUDIO_DRAIN %d\n", __func__, error)); in oss_ioctl_audio() 228 __func__, error)); in oss_ioctl_audio() 233 DPRINTF(("%s: SNDCTL_DSP_SPEED > %d\n", __func__, idat)); in oss_ioctl_audio() 249 __func__, error)); in oss_ioctl_audio() 255 __func__, error)); in oss_ioctl_audio() 266 __func__, idat, error)); in oss_ioctl_audio() 275 __func__, error)); in oss_ioctl_audio() 279 DPRINTF(("%s: SNDCTL_PCM_READ_RATE < %d\n", __func__, idat)); in oss_ioctl_audio() [all …]
|
/netbsd-src/lib/libform/ |
H A D | type_enum.c | 98 _formi_dbg_printf("%s: ignore_case %d, no_blanks %d\n", __func__, in create_enum_args() 105 _formi_dbg_printf("%s: choice[%u] = \'%s\'\n", __func__, in create_enum_args() 110 _formi_dbg_printf("%s: have %u choices\n", __func__, in create_enum_args() 163 _formi_dbg_printf("%s: start %u, blen %u\n", __func__, start, blen); in match_enum() 174 _formi_dbg_printf("%s: checking choice \'%s\'\n", __func__, in match_enum() 176 _formi_dbg_printf("%s: enum_start %u, elen %u\n", __func__, in match_enum() 205 _formi_dbg_printf("%s: curmatch is %s\n", __func__, in match_enum() 215 _formi_dbg_printf("%s: no match found\n", __func__); in match_enum() 235 _formi_dbg_printf("%s: We matched, match_num %u\n", __func__, in enum_check_field() 237 _formi_dbg_printf("%s: buffer is \'%s\'\n", __func__, in enum_check_field() [all …]
|
/netbsd-src/sys/arch/arm/imx/ |
H A D | imx51_ipuv3.c | 78 DPRINTFN(5, ("%s : %d\n", __func__, __LINE__)); in imx51_ipuv3_dump() 127 DPRINTFN(5, ("%s : %d\n", __func__, __LINE__)); in imx51_ipuv3_enable_display() 141 DPRINTFN(5, ("%s : %d\n", __func__, __LINE__)); in imx51_ipuv3_dmfc_init() 161 printf("%s: DMFC_IC_CTRL 0x%08X\n", __func__, in imx51_ipuv3_dmfc_init() 163 printf("%s: IPU_DMFC_WR_CHAN 0x%08X\n", __func__, in imx51_ipuv3_dmfc_init() 165 printf("%s: IPU_DMFC_WR_CHAN_DEF 0x%08X\n", __func__, in imx51_ipuv3_dmfc_init() 167 printf("%s: IPU_DMFC_GENERAL1 0x%08X\n", __func__, in imx51_ipuv3_dmfc_init() 175 DPRINTFN(5, ("%s : %d\n", __func__, __LINE__)); in imx51_ipuv3_dc_map_clear() 190 DPRINTFN(5, ("%s : %d\n", __func__, __LINE__)); in imx51_ipuv3_dc_map_conf() 201 printf("%s: addr 0x%08X reg 0x%08X\n", __func__, addr, reg); in imx51_ipuv3_dc_map_conf() [all …]
|