| /freebsd-14.2/sys/dev/ntb/test/ |
| H A D | ntb_tool.c | 243 int sidx; member 1162 unsigned int sidx = arg2; in sysctl_spad_handle() local 1188 unsigned int sidx = arg2; in sysctl_peer_spad_handle() local 1213 int sidx, pidx; in tool_init_spads() local 1220 for (sidx = 0; sidx < tc->inspad_cnt; sidx++) { in tool_init_spads() 1221 tc->inspads[sidx].sidx = sidx; in tool_init_spads() 1223 tc->inspads[sidx].tc = tc; in tool_init_spads() 1233 for (sidx = 0; sidx < tc->peers[pidx].outspad_cnt; sidx++) { in tool_init_spads() 1234 tc->peers[pidx].outspads[sidx].sidx = sidx; in tool_init_spads() 1351 for (sidx = 0; sidx < tc->inspad_cnt; sidx++) { in tool_setup_sysctl() [all …]
|
| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | work_thread.c | 197 size_t sidx; in ensure_workitems_empty_slot() local 203 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx) in ensure_workitems_empty_slot() 204 c->workitems[sidx] = NULL; in ensure_workitems_empty_slot() 233 size_t sidx; in ensure_workresp_empty_slot() local 239 for (sidx = c->responses_alloc; sidx < new_alloc; ++sidx) in ensure_workresp_empty_slot() 240 c->responses[sidx] = NULL; in ensure_workresp_empty_slot()
|
| /freebsd-14.2/sys/netpfil/pf/ |
| H A D | pf.c | 605 nk->port[pd->sidx], 0); in pf_packet_rework_nat() 1512 key->addr[sidx].addr32[1] = 0; in pf_state_key_addr_setup() 1513 key->addr[sidx].addr32[2] = 0; in pf_state_key_addr_setup() 1545 sk->port[pd->sidx] = sport; in pf_state_key_setup() 4770 &nk->addr[pd->sidx], in pf_test_rule() 4794 &nk->addr[pd->sidx], in pf_test_rule() 4820 nk->port[pd->sidx], 0); in pf_test_rule() 4831 &nk->addr[pd->sidx], 0); in pf_test_rule() 6679 *iidx = pd->sidx; in pf_icmp_state_lookup() 6680 key->port[pd->sidx] = icmpid; in pf_icmp_state_lookup() [all …]
|
| H A D | pf_ioctl.c | 3984 int sidx, didx; in pfioctl() local 3987 sidx = (direction == PF_IN) ? 1 : 0; in pfioctl() 4001 PF_ACPY(&key.addr[sidx], &pnl->saddr, pnl->af); in pfioctl() 4002 key.port[sidx] = pnl->sport; in pfioctl() 4014 sk = state->key[sidx]; in pfioctl() 4015 PF_ACPY(&pnl->rsaddr, &sk->addr[sidx], sk->af); in pfioctl() 4016 pnl->rsport = sk->port[sidx]; in pfioctl()
|
| /freebsd-14.2/usr.bin/netstat/ |
| H A D | nhgrp.c | 157 for (uint32_t sidx = 0; sidx < nhg_dp->nhgc_count; sidx++) { in print_nhgroup_entry_sysctl() local 158 if (ext_dp[sidx].nh_idx == ext_cp[i].nh_idx) in print_nhgroup_entry_sysctl()
|
| /freebsd-14.2/sys/dev/cxgbe/ |
| H A D | t4_sge.c | 2167 available = eq->sidx - 1; in drain_wrq_wr_list() 2193 if (available < eq->sidx / 4 && in drain_wrq_wr_list() 2945 available = eq->sidx - 1; in start_wrq_wr() 3012 if (available < eq->sidx / 4 && in commit_wrq_wr() 3162 reclaim_tx_descs(txq, eq->sidx); in eth_tx() 3169 avail = eq->sidx - 1; in eth_tx() 3283 IDXINCR(eq->pidx, n, eq->sidx); in eth_tx() 3330 IDXINCR(eq->pidx, n, eq->sidx); in eth_tx() 4967 IDXINCR(fl->dbidx, n, fl->sidx); in ring_fl_db() 6183 IDXINCR(eq->dbidx, n, eq->sidx); in ring_eq_db() [all …]
|
| H A D | t4_netmap.c | 231 nm_txq->sidx = na->num_tx_desc; in alloc_nm_txq() 456 MPASS(nm_txq->sidx == na->num_tx_desc); in alloc_nm_txq_hwq() 907 #define NMIDXDIFF(q, idx) IDXDIFF((q)->pidx, (q)->idx, (q)->sidx) 1018 MPASS(nm_txq->pidx <= nm_txq->sidx); in cxgbe_nm_tx() 1019 if (__predict_false(nm_txq->pidx == nm_txq->sidx)) { in cxgbe_nm_tx() 1031 NMIDXDIFF(nm_txq, equiqidx) >= nm_txq->sidx / 2) { in cxgbe_nm_tx() 1064 return (nm_txq->sidx - nm_txq->pidx); in contiguous_ndesc_available() 1066 return (nm_txq->sidx - nm_txq->pidx - 1); in contiguous_ndesc_available() 1072 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx]; in reclaim_nm_tx_desc() 1095 MPASS(nm_txq->cidx <= nm_txq->sidx); in reclaim_nm_tx_desc() [all …]
|
| H A D | adapter.h | 433 uint16_t sidx; /* index of the entry with the status page */ member 481 uint16_t sidx; /* index of the entry with the status page */ member 538 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) <= fl->lowat) 540 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) >= 2 * fl->lowat) 554 uint16_t sidx; /* index of status page */ member 814 uint16_t sidx; member 1307 return (eq->sidx / 4); in tx_resume_threshold()
|
| H A D | t4_main.c | 7048 struct sge_qstat *spg = (void *)&eq->desc[eq->sidx]; in quiesce_txq() 7086 IDXINCR(eq->cidx, txsd->desc_used, eq->sidx); in quiesce_txq()
|
| /freebsd-14.2/sys/compat/linuxkpi/common/src/ |
| H A D | linux_idr.c | 524 int idx, sidx; in idr_get_new_above_locked() local 570 sidx = idr_pos(starting_id, layer); in idr_get_new_above_locked() 572 idx = find_next_bit(&il->bitmap, IDR_SIZE, sidx); in idr_get_new_above_locked() 573 if (idx == IDR_SIZE && sidx == 0) in idr_get_new_above_locked() 588 if (idx > sidx) in idr_get_new_above_locked()
|
| /freebsd-14.2/sys/dev/cxgbe/crypto/ |
| H A D | t6_kern_tls.c | 1090 MPASS((uintptr_t)(*to) < (uintptr_t)&eq->desc[eq->sidx]); in copy_to_txd() 1093 (uintptr_t)&eq->desc[eq->sidx])) { in copy_to_txd() 1096 if ((uintptr_t)(*to) == (uintptr_t)&eq->desc[eq->sidx]) in copy_to_txd() 1099 int portion = (uintptr_t)&eq->desc[eq->sidx] - (uintptr_t)(*to); in copy_to_txd() 1346 using_scratch = (eq->sidx - pidx < SGE_MAX_WR_LEN / EQ_ESIZE); in ktls_write_tls_wr() 1597 IDXINCR(pidx, ndesc, eq->sidx); in ktls_write_tls_wr() 1607 using_scratch = (eq->sidx - pidx < in ktls_write_tls_wr() 1979 IDXINCR(pidx, ndesc, eq->sidx); in t6_ktls_write_wr() 2013 IDXINCR(pidx, ndesc, eq->sidx); in t6_ktls_write_wr() 2043 IDXINCR(pidx, ndesc, eq->sidx); in t6_ktls_write_wr()
|
| /freebsd-14.2/sys/contrib/openzfs/module/zfs/ |
| H A D | btree.c | 558 bt_transfer_core(zfs_btree_t *tree, zfs_btree_core_t *source, uint32_t sidx, in bt_transfer_core() argument 566 bcpy(source->btc_elems + sidx * size, dest->btc_elems + didx * size, in bt_transfer_core() 570 bcpy(source->btc_children + sidx + (shape == BSS_TRAPEZOID ? 0 : 1), in bt_transfer_core() 576 bt_transfer_leaf(zfs_btree_t *tree, zfs_btree_leaf_t *source, uint32_t sidx, in bt_transfer_leaf() argument 583 bcpy(source->btl_elems + (source->btl_hdr.bth_first + sidx) * size, in bt_transfer_leaf()
|
| /freebsd-14.2/usr.sbin/bsnmpd/modules/snmp_pf/ |
| H A D | pf_snmp.c | 1371 pfa_table_addrs(u_int sidx, struct pfr_table *pt) in pfa_table_addrs() argument 1426 e->index = sidx + i; in pfa_table_addrs()
|
| /freebsd-14.2/contrib/bc/src/ |
| H A D | num.c | 1270 ssize_t sidx = (ssize_t) (i - blen + 1); in bc_num_m_simp() local 1274 j = (size_t) BC_MAX(0, sidx); in bc_num_m_simp()
|
| /freebsd-14.2/sys/net/ |
| H A D | pfvar.h | 1578 u_int8_t sidx; /* key index for source */ member
|
| /freebsd-14.2/sys/contrib/dev/athk/ath12k/ |
| H A D | wmi.h | 4116 a_sle32 sidx; member
|
| H A D | wmi.c | 6714 ev->freq_offset, ev->sidx); in ath12k_wmi_pdev_dfs_radar_detected_event()
|
| /freebsd-14.2/sys/contrib/dev/athk/ath11k/ |
| H A D | wmi.h | 4834 s32 sidx; member
|
| H A D | wmi.c | 8687 ev->freq_offset, ev->sidx); in ath11k_wmi_pdev_dfs_radar_detected_event()
|