/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_buf.h | 54 KASSERT((__buf) != NULL, ("%s: buf is NULL", __func__)); \ 78 KASSERT((__sgt) != NULL, ("%s: no S/G table?", __func__)); \ 80 KASSERT((__buf)->paddr == 0, ("%s: paddr set?", __func__)); \ 81 KASSERT((__buf)->vaddr == NULL, ("%s: vaddr set?", __func__)); \ 82 KASSERT((__buf)->dmat != NULL, ("%s: no DMA tag?", __func__)); \ 83 KASSERT((__buf)->dmap == NULL, ("%s: DMA map set?", __func__)); \ 84 KASSERT((__buf)->seg.ds_addr == 0, ("%s: already mapped?", __func__)); \ 85 KASSERT((__buf)->seg.ds_len == 0, ("%s: already mapped?", __func__)); \ 86 KASSERT((__buf)->nseg == 0, ("%s: nseg > 0?", __func__)); \ 87 KASSERT((__buf)->m == NULL, ("%s: mbuf set?", __func__)); \ [all …]
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_stub_funcs.c | 36 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_GetRadioRev() 46 ath_hal_printf(ah, "%s: called\n", __func__); 56 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_Detach() 64 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_ChipTest() 73 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_GetChannelEdges() 81 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_FillCapabilityInfo() 90 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_SetBeaconTimers() 98 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_BeaconInit() 105 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_ResetStaBeaconTimers() 112 ath_hal_printf(ah, "%s: called\n", __func__); in ar9300_Stub_SetStaBeaconTimers() [all …]
|
/freebsd/crypto/openssh/ |
H A D | log.h | 84 #define do_log2(level, ...) sshlog(__FILE__, __func__, __LINE__, 0, level, NULL, __VA_ARGS__) 85 #define debug3(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG3, NULL, __VA_ARGS__) 86 #define debug2(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG2, NULL, __VA_ARGS__) 87 #define debug(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_DEBUG1, NULL, __VA_ARGS__) 88 #define verbose(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_VERBOSE, NULL, __VA_ARGS… 89 #define logit(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_INFO, NULL, __VA_ARGS__) 90 #define error(...) sshlog(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_ERROR, NULL, __VA_ARGS__) 91 #define fatal(...) sshfatal(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_FATAL, NULL, __VA_ARGS__) 92 #define logdie(...) sshlogdie(__FILE__, __func__, __LINE__, 0, SYSLOG_LEVEL_ERROR, NULL, __VA_ARGS… 95 #define do_log2_f(level, ...) sshlog(__FILE__, __func__, __LINE__, 1, level, NULL, __VA_ARGS__) [all …]
|
H A D | sk-usbhid.c | 178 skdebug(__func__, "path == NULL"); in sk_open() 182 skdebug(__func__, "calloc sk failed"); in sk_open() 186 skdebug(__func__, "strdup path failed"); in sk_open() 191 skdebug(__func__, "fido_dev_new failed"); in sk_open() 197 skdebug(__func__, "fido_dev_open %s failed: %s", sk->path, in sk_open() 228 skdebug(__func__, "calloc skv failed"); in sk_openv() 233 skdebug(__func__, "fido_dev_info_ptr failed"); in sk_openv() 235 skdebug(__func__, "sk_open failed"); in sk_openv() 267 skdebug(__func__, "fido_dev_get_touch_begin %s failed:" in sk_touch_begin() 289 skdebug(__func__, "polling %s", skv[i]->path); in sk_touch_poll() [all …]
|
H A D | sandbox-systrace.c | 104 debug3("%s: preparing systrace sandbox", __func__); in ssh_sandbox_init() 116 debug3("%s: ready", __func__); in ssh_sandbox_child() 119 fatal("%s: kill(%d, SIGSTOP)", __func__, getpid()); in ssh_sandbox_child() 120 debug3("%s: started", __func__); in ssh_sandbox_child() 132 debug3("%s: wait for child %ld", __func__, (long)child_pid); in ssh_sandbox_parent() 140 __func__, WTERMSIG(status)); in ssh_sandbox_parent() 143 __func__, WEXITSTATUS(status)); in ssh_sandbox_parent() 144 fatal("%s: child not stopped", __func__); in ssh_sandbox_parent() 146 debug3("%s: child %ld stopped", __func__, (long)child_pid); in ssh_sandbox_parent() 151 fatal("%s: open(\"/dev/systrace\"): %s", __func__, in ssh_sandbox_parent() [all …]
|
/freebsd/contrib/libfido2/src/ |
H A D | winhello.c | 89 fido_log_debug("%s: already loaded", __func__); in webauthn_load() 93 fido_log_debug("%s: LoadLibrary", __func__); in webauthn_load() 100 fido_log_debug("%s: WebAuthNGetApiVersionNumber", __func__); in webauthn_load() 105 fido_log_debug("%s: unsupported api %lu", __func__, (u_long)n); in webauthn_load() 108 fido_log_debug("%s: api version %lu", __func__, (u_long)n); in webauthn_load() 112 fido_log_debug("%s: WebAuthNGetErrorName", __func__); in webauthn_load() 119 __func__); in webauthn_load() 126 __func__); in webauthn_load() 132 fido_log_debug("%s: WebAuthNFreeAssertion", __func__); in webauthn_load() 139 __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 | 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 | 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 | 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 …]
|
/freebsd/usr.sbin/rtadvd/ |
H A D | control.c | 68 syslog(LOG_DEBUG, "<%s> enter, fd=%d", __func__, fd); in cm_recv() 86 __func__, strerror(errno)); in cm_recv() 94 "<%s> waiting...", __func__); in cm_recv() 103 "<%s> received a too small message.", __func__); in cm_recv() 108 "<%s> received a too large message.", __func__); in cm_recv() 113 "<%s> version mismatch", __func__); in cm_recv() 118 "<%s> invalid msg type.", __func__); in cm_recv() 123 "<%s> ctrl msg received: type=%d", __func__, in cm_recv() 130 "<%s> ctrl msg has payload (len=%zu)", __func__, in cm_recv() 142 __func__, strerro in cm_recv() [all...] |
H A D | control_server.c | 110 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_echo() 121 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_version() 135 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_ifilist() 142 syslog(LOG_DEBUG, "<%s> len = %zu", __func__, len); in cm_getprop_ifilist() 153 __func__, ifi->ifi_ifname, ifi->ifi_ifindex); in cm_getprop_ifilist() 169 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_ifi() 176 syslog(LOG_ERR, "<%s> %s not found", __func__, in cm_getprop_ifi() 186 syslog(LOG_DEBUG, "<%s> len = %zu", __func__, len); in cm_getprop_ifi() 205 syslog(LOG_DEBUG, "<%s> enter", __func__); in cm_getprop_rai() 212 syslog(LOG_ERR, "<%s> %s not found", __func__, in cm_getprop_rai() [all...] |
/freebsd/tests/sys/fifo/ |
H A D | fifo_misc.c | 109 makefifo("testfifo", __func__); in test_lseek() 112 warn("%s: openfifo", __func__); in test_lseek() 119 __func__); in test_lseek() 124 warn("%s: lseek returned instead of ESPIPE", __func__); in test_lseek() 139 makefifo("testfifo", __func__); in test_truncate() 142 warn("%s: truncate", __func__); in test_truncate() 158 warn("%s:%s: ioctl(%s, %s, 1)", testname, __func__, fdname, in test_ioctl_setclearflag() 166 warn("%s:%s: ioctl(%s, %s, 0)", testname, __func__, fdname, in test_ioctl_setclearflag() 184 makefifo("testfifo", __func__); in test_ioctl() 187 warn("%s: openfifo", __func__); in test_ioctl() [all …]
|
H A D | fifo_io.c | 248 makefifo("testfifo", __func__); in test_simpleio() 407 makefifo("testfifo", __func__); in test_blocking_read_empty() 419 if (set_blocking(reader_fd, __func__) < 0) { in test_blocking_read_empty() 425 __func__); in test_blocking_read_empty() 442 if (set_nonblocking(reader_fd, __func__) < 0) { in test_blocking_read_empty() 448 __func__); in test_blocking_read_empty() 476 makefifo("testfifo", __func__); in test_blocking_one_byte() 483 if (set_blocking(writer_fd, __func__) < 0) { in test_blocking_one_byte() 487 if (set_blocking(reader_fd, __func__) < 0) { in test_blocking_one_byte() 494 __func__); in test_blocking_one_byte() [all …]
|
/freebsd/sys/arm/broadcom/bcm2835/ |
H A D | bcm2835_sdhost.c | 300 __func__, sc, slot); in bcm_sdhost_print_regs() 381 dprintf("%s:\n", __func__); in bcm_sdhost_probe() 402 __func__, dev, sc, device_get_unit(dev)); in bcm_sdhost_attach() 497 dprintf("%s:\n", __func__); in bcm_sdhost_detach() 539 __func__, cdst, (cdst & 0x0e00) >> 9); in bcm_sdhost_waitcommand_status() 543 __func__, cdst, in bcm_sdhost_waitcommand_status() 575 "hstst=%08x\n", __func__, cmd, hstst); in bcm_sdhost_intr() 585 printf("%s: ERROR: HC_HOSTSTATUS: %08x\n", __func__, hstst); in bcm_sdhost_intr() 593 "sdhci_int_status=%08x\n", __func__, hstst, slot->offset, in bcm_sdhost_intr() 605 "sdhci_blockcount=%08x\n", __func__, slot->offset, in bcm_sdhost_intr() [all …]
|
/freebsd/sys/dev/qlxgbe/ |
H A D | ql_misc.c | 75 qla_mdelay(__func__, 1); in ql_rdwr_indreg32() 79 __func__, addr, *val, rd); in ql_rdwr_indreg32() 201 qla_mdelay(__func__, 1); in ql_rdwr_offchip_mem() 208 " [%d] [%d] failed\n", __func__, (uint32_t)(addr >> 32), in ql_rdwr_offchip_mem() 228 __func__); in ql_rd_flash32() 237 __func__, data32); in ql_rd_flash32() 246 __func__, data32); in ql_rd_flash32() 268 __func__, count); in qla_get_fdt() 276 __func__); in qla_get_fdt() 285 __func__); in qla_get_fdt() [all …]
|
/freebsd/sys/dev/qlxge/ |
H A D | qls_os.c | 142 printf("%s: %s\n ", __func__, dev_str); in qls_pci_probe() 165 __func__, i, in qls_sysctl_get_drvr_stats() 170 __func__, i, in qls_sysctl_get_drvr_stats() 175 __func__, i, in qls_sysctl_get_drvr_stats() 180 __func__, i, in qls_sysctl_get_drvr_stats() 185 __func__, i, in qls_sysctl_get_drvr_stats() 190 __func__, i, in qls_sysctl_get_drvr_stats() 195 __func__, i, in qls_sysctl_get_drvr_stats() 202 __func__, i, in qls_sysctl_get_drvr_stats() 207 __func__, i, in qls_sysctl_get_drvr_stats() [all …]
|
/freebsd/sys/dev/cxgbe/iw_cxgbe/ |
H A D | cm.c | 135 __func__, __LINE__, (ep)); \ 142 __func__, __LINE__, (ep)); \ 150 ("GET_LOCAL_ADDR(%s):so:%p, inp = NULL", __func__, so)); \ 161 ("GET_REMOTE_ADDR(%s):so:%p, inp = NULL", __func__, so)); \ 348 __func__, ifp, so, master_lep); in find_real_listen_ep() 392 CTR4(KTR_IW_CXGBE, "%s ep :%p, tid:%u, state %d", __func__, in process_timeout() 424 , __func__, ep, ep->hwtid, ep->com.state); in process_timeout() 480 __func__, epc->so, epc, states[epc->state], ep_events); in process_req() 514 __func__, so, ep); in set_tcpinfo() 554 CTR2(KTR_IW_CXGBE, "%s: return: %d", __func__, err); in get_ifnet_from_raddr() [all …]
|
/freebsd/lib/libcam/ |
H A D | camlib.c | 123 "%s: device pathname was NULL", __func__); in cam_get_device() 153 "%s: no text after slash", __func__); in cam_get_device() 182 __func__); in cam_get_device() 194 __func__); in cam_get_device() 206 "%s: unable to find device unit number", __func__); in cam_get_device() 282 "%s: couldn't open %s\n%s: %s", __func__, XPT_DEVICE, in cam_open_btl() 283 __func__, strerror(errno)); in cam_open_btl() 299 "%s: couldn't malloc match buffer", __func__); in cam_open_btl() 312 "%s: couldn't malloc pattern buffer", __func__); in cam_open_btl() 336 "%s: %s", __func__, __func__, strerror(errno)); in cam_open_btl() [all …]
|
/freebsd/sys/dev/mpr/ |
H A D | mpr_config.c | 80 mpr_dprint(sc, MPR_TRACE, "%s\n", __func__); in mpr_config_get_ioc_pg8() 83 printf("%s: command alloc failed @ line %d\n", __func__, in mpr_config_get_ioc_pg8() 107 __func__, error); in mpr_config_get_ioc_pg8() 120 __func__, ioc_status); in mpr_config_get_ioc_pg8() 130 printf("%s: command alloc failed @ line %d\n", __func__, in mpr_config_get_ioc_pg8() 150 printf("%s: page alloc failed\n", __func__); in mpr_config_get_ioc_pg8() 166 __func__, error); in mpr_config_get_ioc_pg8() 179 __func__, ioc_status); in mpr_config_get_ioc_pg8() 212 mpr_dprint(sc, MPR_TRACE, "%s\n", __func__); in mpr_config_get_iounit_pg8() 215 printf("%s: command alloc failed @ line %d\n", __func__, in mpr_config_get_iounit_pg8() [all …]
|
/freebsd/sys/dev/qlxgb/ |
H A D | qla_os.c | 139 printf("%s: %s\n ", __func__, dev_str); in qla_pci_probe() 239 QL_DPRINT2((dev, "%s: enter\n", __func__)); in qla_pci_attach() 280 device_printf(dev, "%s: msix_count[%d] not enough\n", __func__, in qla_pci_attach() 286 " msix_count 0x%x pci_reg %p\n", __func__, ha, in qla_pci_attach() 292 device_printf(dev, "%s: pci_alloc_msi[%d] failed\n", __func__, in qla_pci_attach() 344 device_printf(dev, "%s: qla_init_hw failed\n", __func__); in qla_pci_attach() 348 device_printf(dev, "%s: firmware[%d.%d.%d.%d]\n", __func__, in qla_pci_attach() 362 __func__); in qla_pci_attach() 368 device_printf(dev, "%s: qla_alloc_dma failed\n", __func__); in qla_pci_attach() 382 device_printf(dev, "%s: qla_make_cdev failed\n", __func__); in qla_pci_attach() [all …]
|