/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_inform.c | 603 ib_mad_notice_attr_t * ntc) in log_notice() argument 610 if (ib_notice_is_generic(ntc)) { in log_notice() 611 if ((ntc->g_or_v.generic.trap_num == CL_HTON16(SM_GID_IN_SERVICE_TRAP)) || in log_notice() 612 (ntc->g_or_v.generic.trap_num == CL_HTON16(SM_GID_OUT_OF_SERVICE_TRAP)) || in log_notice() 613 (ntc->g_or_v.generic.trap_num == CL_HTON16(SM_MGID_CREATED_TRAP)) || in log_notice() 614 (ntc->g_or_v.generic.trap_num == CL_HTON16(SM_MGID_DESTROYED_TRAP))) in log_notice() 615 gid = &ntc->data_details.ntc_64_67.gid; in log_notice() 617 gid = &ntc->issuer_gid; in log_notice() 619 switch (cl_ntoh16(ntc->g_or_v.generic.trap_num)) { in log_notice() 624 ib_get_trap_str(ntc->g_or_v.generic.trap_num), in log_notice() [all …]
|
H A D | osm_req.c | 354 ib_mad_notice_attr_t *ntc; in osm_send_trap144() local 410 ntc = (ib_mad_notice_attr_t *) smp->data; in osm_send_trap144() 412 ntc->generic_type = 0x80 | IB_NOTICE_TYPE_INFO; in osm_send_trap144() 413 ib_notice_set_prod_type_ho(ntc, osm_node_get_type(port->p_node)); in osm_send_trap144() 414 ntc->g_or_v.generic.trap_num = cl_hton16(SM_LOCAL_CHANGES_TRAP); /* 144 */ in osm_send_trap144() 415 ntc->issuer_lid = pi->base_lid; in osm_send_trap144() 416 ntc->data_details.ntc_144.lid = pi->base_lid; in osm_send_trap144() 417 ntc->data_details.ntc_144.local_changes = local ? in osm_send_trap144() 419 ntc->data_details.ntc_144.new_cap_mask = pi->capability_mask; in osm_send_trap144() 420 ntc->data_details.ntc_144.change_flgs = local; in osm_send_trap144()
|
/freebsd/contrib/telnet/telnet/ |
H A D | externs.h | 342 extern struct tchars ntc; 346 # define termEofChar ntc.t_eofc 349 # define termIntChar ntc.t_intrc 352 # define termQuitChar ntc.t_quitc 356 # define termStartChar ntc.t_startc 357 # define termStopChar ntc.t_stopc 358 # define termForw1Char ntc.t_brkc 362 # define termEofCharp (cc_t *)&ntc.t_eofc 365 # define termIntCharp (cc_t *)&ntc.t_intrc 368 # define termQuitCharp (cc_t *)&ntc.t_quitc [all …]
|
H A D | sys_bsd.c | 65 struct tchars otc = { 0 }, ntc = { 0 }; variable 235 ntc = otc; in TerminalSaveState() 314 ntc = otc; in TerminalDefaultChars() 420 tc = ntc; in TerminalNewMode()
|
/freebsd/sys/contrib/device-tree/Bindings/hwmon/ |
H A D | ntc_thermistor.txt | 16 /* Usage of vendor name "ntc" is deprecated */ 17 <DEPRECATED> "ntc,ncp15wb473" 18 <DEPRECATED> "ntc,ncp18wb473" 19 <DEPRECATED> "ntc,ncp21wb473" 20 <DEPRECATED> "ntc,ncp03wb473" 21 <DEPRECATED> "ntc,ncp15wl333"
|
/freebsd/sys/dev/iavf/ |
H A D | iavf_adminq.c | 612 u16 ntc = asq->next_to_clean; in iavf_clean_asq() local 616 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq() 617 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq() 618 while (rd32(hw, hw->aq.asq.head) != ntc) { in iavf_clean_asq() 620 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in iavf_clean_asq() 631 ntc++; in iavf_clean_asq() 632 if (ntc == asq->count) in iavf_clean_asq() 633 ntc = 0; in iavf_clean_asq() 634 desc = IAVF_ADMINQ_DESC(*asq, ntc); in iavf_clean_asq() 635 details = IAVF_ADMINQ_DETAILS(*asq, ntc); in iavf_clean_asq() [all …]
|
/freebsd/sys/dev/ixl/ |
H A D | i40e_adminq.c | 783 u16 ntc = asq->next_to_clean; in i40e_clean_asq() local 787 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq() 788 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq() 789 while (rd32(hw, hw->aq.asq.head) != ntc) { in i40e_clean_asq() 791 "ntc %d head %d.\n", ntc, rd32(hw, hw->aq.asq.head)); in i40e_clean_asq() 802 ntc++; in i40e_clean_asq() 803 if (ntc == asq->count) in i40e_clean_asq() 804 ntc = 0; in i40e_clean_asq() 805 desc = I40E_ADMINQ_DESC(*asq, ntc); in i40e_clean_asq() 806 details = I40E_ADMINQ_DETAILS(*asq, ntc); in i40e_clean_asq() [all …]
|
/freebsd/sys/dev/ice/ |
H A D | ice_controlq.c | 880 u16 ntc = sq->next_to_clean; in ice_debug_cq() 884 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_debug_cq() 894 while (head != ntc) { in ice_debug_cq() 896 "ntc %d head %d.\n", in ice_debug_cq() 897 ntc, head); in ice_debug_cq() 899 ntc++; in ice_debug_cq() 900 if (ntc == sq->count) in ice_debug_cq() 901 ntc = 0; in ice_debug_cq() 902 desc = ICE_CTL_Q_DESC(*sq, ntc); in ice_debug_cq() 913 sq->next_to_clean = ntc; in ice_debug_cq() 827 u16 ntc = sq->next_to_clean; ice_clean_sq() local 1166 u16 ntc = cq->rq.next_to_clean; ice_clean_rq_elem() local [all...] |
/freebsd/sys/dev/ena/ |
H A D | ena_datapath.c | 427 uint16_t ntc, len, req_id, buf = 0; in ena_rx_mbuf() local 429 ntc = *next_to_clean; in ena_rx_mbuf() 467 rx_ring->free_rx_ids[ntc] = req_id; in ena_rx_mbuf() 468 ntc = ENA_RX_RING_IDX_NEXT(ntc, rx_ring->ring_size); in ena_rx_mbuf() 514 rx_ring->free_rx_ids[ntc] = req_id; in ena_rx_mbuf() 515 ntc = ENA_RX_RING_IDX_NEXT(ntc, rx_ring->ring_size); in ena_rx_mbuf() 518 *next_to_clean = ntc; in ena_rx_mbuf()
|
/freebsd/sys/dev/netmap/ |
H A D | netmap_generic.c | 618 u_int ntc = nm_next(kring->nr_hwtail, lim); /* next to clean */ in generic_set_tx_event() local 620 if (ntc == hwcur) { in generic_set_tx_event() 635 e = ring_middle(ntc, hwcur, lim); in generic_set_tx_event() 639 e = ntc; in generic_set_tx_event()
|
/freebsd/contrib/llvm-project/openmp/runtime/src/ |
H A D | kmp_dispatch.cpp | 433 T ntc, init = 0; in __kmp_dispatch_init_algorithm() local 439 ntc = (tc % chunk ? 1 : 0) + tc / chunk; in __kmp_dispatch_init_algorithm() 440 if (nproc > 1 && ntc >= nproc) { in __kmp_dispatch_init_algorithm() 497 p_ntc = __kmp_get_round_val(ntc * p_ratio * p_multiplier); in __kmp_dispatch_init_algorithm() 498 if ((int)p_ntc > (int)(ntc * p_ratio * p_multiplier)) in __kmp_dispatch_init_algorithm() 500 (int)(__kmp_round_2decimal_val(ntc * e_ratio * e_multiplier)); in __kmp_dispatch_init_algorithm() 502 e_ntc = __kmp_get_round_val(ntc * e_ratio * e_multiplier); in __kmp_dispatch_init_algorithm() 503 KMP_DEBUG_ASSERT(ntc == p_ntc + e_ntc); in __kmp_dispatch_init_algorithm() 551 small_chunk = ntc / nproc; in __kmp_dispatch_init_algorithm() 552 extras = ntc % nproc; in __kmp_dispatch_init_algorithm() [all …]
|
/freebsd/contrib/bearssl/test/ |
H A D | test_x509.c | 1302 test_case *ntc; in parse_object() local 1306 ntc = xmalloc(nlen * sizeof *ntc); in parse_object() 1307 memcpy(ntc, all_chains, in parse_object() 1310 all_chains = ntc; in parse_object()
|
/freebsd/lib/libnvmf/ |
H A D | nvmf_tcp.c | 1118 struct nvmf_tcp_capsule *ntc, *tc; in tcp_free_qpair() local 1121 TAILQ_FOREACH_SAFE(tc, &qp->rx_capsules, link, ntc) { in tcp_free_qpair()
|
/freebsd/sys/dev/nvmf/ |
H A D | nvmf_tcp.c | 1531 struct nvmf_tcp_capsule *ntc, *tc; in tcp_free_qpair() local 1555 STAILQ_FOREACH_SAFE(tc, &qp->tx_capsules, link, ntc) { in tcp_free_qpair()
|