Searched refs:sidx (Results 1 - 20 of 20) sorted by relevance

/freebsd-13-stable/sys/dev/ntb/test/
H A Dntb_tool.c245 int sidx; member in struct:tool_spad
1164 unsigned int sidx = arg2; local
1170 rc = ntb_spad_read(tc->dev, sidx, &bits);
1180 return ntb_spad_write(tc->dev, sidx, bits);
1190 unsigned int sidx = arg2; local
1196 rc = ntb_peer_spad_read(tc->dev, sidx, &bits);
1206 return ntb_peer_spad_write(tc->dev, sidx, bits);
1215 int sidx, pidx; local
1222 for (sidx = 0; sidx < t
1314 unsigned int pidx, sidx, widx; local
[all...]
/freebsd-13-stable/contrib/lua/src/
H A Dlparser.h38 VLOCAL, /* local variable; var.sidx = stack index (local register);
80 lu_byte sidx; /* index in the stack */ member in struct:expdesc::__anon5017::__anon5019
100 lu_byte sidx; /* index of the variable in the stack */ member in struct:Vardesc::__anon5020
H A Dlparser.c228 ** index ('sidx').
234 return vd->vd.sidx + 1;
270 e->u.var.sidx = getlocalvardesc(fs, vidx)->vd.sidx;
318 var->vd.sidx = stklevel++;
369 up->idx = v->u.var.sidx;
1333 if (v->k == VLOCAL && lh->v.u.ind.t == v->u.var.sidx) {
1339 lh->v.u.ind.idx == v->u.var.sidx) {
1349 luaK_codeABC(fs, OP_MOVE, extra, v->u.var.sidx, 0);
H A Dlcode.c766 e->u.info = e->u.var.sidx;
1039 exp2reg(fs, ex, var->u.var.sidx); /* compute 'ex' into proper place */
1279 t->u.ind.t = (t->k == VLOCAL) ? t->u.var.sidx: t->u.info;
/freebsd-13-stable/contrib/ntp/libntp/
H A Dwork_thread.c207 size_t sidx; local
213 for (sidx = c->workitems_alloc; sidx < new_alloc; ++sidx)
214 c->workitems[sidx] = NULL;
243 size_t sidx; local
249 for (sidx = c->responses_alloc; sidx < new_alloc; ++sidx)
250 c->responses[sidx]
[all...]
/freebsd-13-stable/usr.bin/netstat/
H A Dnhgrp.c158 for (uint32_t sidx = 0; sidx < nhg_dp->nhgc_count; sidx++) {
159 if (ext_dp[sidx].nh_idx == ext_cp[i].nh_idx)
/freebsd-13-stable/sys/netpfil/pf/
H A Dpf.c1241 PF_ACPY(&sk->addr[pd->sidx], saddr, pd->af);
1243 sk->port[pd->sidx] = sport;
2621 PF_ACPY(saddr, &sk->addr[pd->sidx], af);
2624 *pd->sport = sk->port[pd->sidx];
3432 if (PF_ANEQ(saddr, &nk->addr[pd->sidx], af) ||
3433 nk->port[pd->sidx] != sport) {
3435 &th->th_sum, &nk->addr[pd->sidx],
3436 nk->port[pd->sidx], 0, af);
3455 if (PF_ANEQ(saddr, &nk->addr[pd->sidx], af) ||
3456 nk->port[pd->sidx] !
[all...]
H A Dpf_ioctl.c2949 int sidx, didx; local
2951 /* NATLOOK src and dst are reversed, so reverse sidx/didx */
2952 sidx = (direction == PF_IN) ? 1 : 0;
2966 PF_ACPY(&key.addr[sidx], &pnl->saddr, pnl->af);
2967 key.port[sidx] = pnl->sport;
2977 sk = state->key[sidx];
2978 PF_ACPY(&pnl->rsaddr, &sk->addr[sidx], sk->af);
2979 pnl->rsport = sk->port[sidx];
/freebsd-13-stable/sys/dev/cxgbe/
H A Dt4_sge.c1521 if (__predict_false(++iq->cidx == iq->sidx)) {
1586 if (__predict_false(cidx == fl->sidx))
1651 if (IDXDIFF(fl->hw_cidx, fl_hw_cidx, fl->sidx) > 4) {
1701 if (__predict_false(++iq->cidx == iq->sidx)) {
2190 available = eq->sidx - 1;
2192 available = IDXDIFF(eq->cidx, eq->pidx, eq->sidx) - 1;
2200 if (__predict_true(eq->sidx - eq->pidx > n)) {
2205 int first_portion = (eq->sidx - eq->pidx) * EQ_ESIZE;
2212 eq->pidx = n - (eq->sidx - eq->pidx);
2216 if (available < eq->sidx /
[all...]
H A Dt4_netmap.c232 nm_txq->sidx = na->num_tx_desc;
473 MPASS(nm_txq->sidx == na->num_tx_desc);
924 #define NMIDXDIFF(q, idx) IDXDIFF((q)->pidx, (q)->idx, (q)->sidx)
1035 MPASS(nm_txq->pidx <= nm_txq->sidx);
1036 if (__predict_false(nm_txq->pidx == nm_txq->sidx)) {
1057 if (NMIDXDIFF(nm_txq, equiqidx) >= nm_txq->sidx / 2) {
1082 return (nm_txq->sidx - nm_txq->pidx);
1084 return (nm_txq->sidx - nm_txq->pidx - 1);
1090 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx];
1113 MPASS(nm_txq->cidx <= nm_txq->sidx);
[all...]
H A Dadapter.h408 uint16_t sidx; /* index of the entry with the status page */ member in struct:sge_iq
451 uint16_t sidx; /* index of the entry with the status page */ member in struct:sge_eq
508 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) <= fl->lowat)
510 (IDXDIFF(fl->dbidx * 8, fl->cidx, fl->sidx * 8) >= 2 * fl->lowat)
524 uint16_t sidx; /* index of status page */ member in struct:sge_fl
767 uint16_t sidx; member in struct:sge_nm_txq
1141 return (eq->sidx / 4);
H A Dt4_main.c6159 struct sge_qstat *spg = (void *)&eq->desc[eq->sidx];
/freebsd-13-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_idr.c518 int idx, sidx; local
564 sidx = idr_pos(starting_id, layer);
566 idx = find_next_bit(&il->bitmap, IDR_SIZE, sidx);
567 if (idx == IDR_SIZE && sidx == 0)
582 if (idx > sidx)
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/utf8proc/
H A Dutf8proc.c635 int sidx = starter_property->comb_index; local
636 int idx = (current_property->comb_index & 0x3FFF) - utf8proc_combinations[sidx];
637 if (idx >= 0 && idx <= utf8proc_combinations[sidx + 1] ) {
638 idx += sidx + 2;
/freebsd-13-stable/sys/dev/cxgbe/crypto/
H A Dt4_kern_tls.c1336 MPASS((uintptr_t)(*to) < (uintptr_t)&eq->desc[eq->sidx]);
1339 (uintptr_t)&eq->desc[eq->sidx])) {
1342 if ((uintptr_t)(*to) == (uintptr_t)&eq->desc[eq->sidx])
1345 int portion = (uintptr_t)&eq->desc[eq->sidx] - (uintptr_t)(*to);
1593 using_scratch = (eq->sidx - pidx < SGE_MAX_WR_LEN / EQ_ESIZE);
1842 IDXINCR(pidx, ndesc, eq->sidx);
1852 using_scratch = (eq->sidx - pidx <
2224 IDXINCR(pidx, ndesc, eq->sidx);
2258 IDXINCR(pidx, ndesc, eq->sidx);
2289 IDXINCR(pidx, ndesc, eq->sidx);
[all...]
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Dbtree.c451 bt_transfer_core(zfs_btree_t *tree, zfs_btree_core_t *source, uint64_t sidx, argument
459 bmov(source->btc_elems + sidx * size, dest->btc_elems + didx * size,
463 bmov(source->btc_children + sidx + (shape == BSS_TRAPEZOID ? 0 : 1),
469 bt_transfer_leaf(zfs_btree_t *tree, zfs_btree_leaf_t *source, uint64_t sidx, argument
476 bmov(source->btl_elems + sidx * size, dest->btl_elems + didx * size,
/freebsd-13-stable/contrib/bc/src/
H A Dprogram.c1492 size_t fidx, sidx; local
1527 sidx = n->scale;
1536 if (r->t == BC_RESULT_STR) sidx = r->d.loc.loc;
1540 fidx = sidx + BC_PROG_REQ_FUNCS;
1541 str = *((char**) bc_vec_item(p->strs, sidx));
H A Dnum.c731 ssize_t sidx = (ssize_t) (i - blen + 1); local
732 size_t j = (size_t) BC_MAX(0, sidx), k = BC_MIN(i, blen - 1);
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c1372 pfa_table_addrs(u_int sidx, struct pfr_table *pt) argument
1427 e->index = sidx + i;
/freebsd-13-stable/sys/net/
H A Dpfvar.h935 u_int8_t sidx; /* key index for source */ member in struct:pf_pdesc

Completed in 479 milliseconds