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

/freebsd-11-stable/contrib/groff/src/libs/libbib/
H A Dlinear.cpp334 int sidx = 4, didx = 4; local
335 for ( ; sidx < size + 4; sidx++, didx++)
337 if (buffer[sidx] == '\r')
339 if (buffer[++sidx] != '\n')
344 if (sidx != didx)
345 buffer[didx] = buffer[sidx];
H A Dindex.cpp415 int sidx = 1, didx = 1; local
416 for ( ; sidx < length + 1; sidx++, didx++)
418 if (buf[sidx] == '\r')
420 if (buf[++sidx] != '\n')
425 if (sidx != didx)
426 buf[didx] = buf[sidx];
/freebsd-11-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-11-stable/sys/dev/cxgbe/
H A Dt4_sge.c1504 if (__predict_false(++iq->cidx == iq->sidx)) {
1609 refill = IDXDIFF(fl->hw_cidx, fl_hw_cidx, fl->sidx) > 2;
1658 if (__predict_false(++iq->cidx == iq->sidx)) {
1862 if (__predict_false(cidx == fl->sidx))
1895 if (__predict_false(cidx == fl->sidx))
2034 available = eq->sidx - 1;
2036 available = IDXDIFF(eq->cidx, eq->pidx, eq->sidx) - 1;
2044 if (__predict_true(eq->sidx - eq->pidx > n)) {
2049 int first_portion = (eq->sidx - eq->pidx) * EQ_ESIZE;
2056 eq->pidx = n - (eq->sidx
[all...]
H A Dt4_netmap.c273 MPASS(nm_txq->sidx == na->num_tx_desc);
414 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx];
487 #define NMIDXDIFF(q, idx) IDXDIFF((q)->pidx, (q)->idx, (q)->sidx)
609 MPASS(nm_txq->pidx <= nm_txq->sidx);
610 if (__predict_false(nm_txq->pidx == nm_txq->sidx)) {
631 if (NMIDXDIFF(nm_txq, equiqidx) >= nm_txq->sidx / 2) {
656 return (nm_txq->sidx - nm_txq->pidx);
658 return (nm_txq->sidx - nm_txq->pidx - 1);
664 struct sge_qstat *spg = (void *)&nm_txq->desc[nm_txq->sidx];
686 MPASS(nm_txq->cidx <= nm_txq->sidx);
[all...]
H A Dadapter.h405 uint16_t sidx; /* index of the entry with the status page */ member in struct:sge_iq
448 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)
523 uint16_t sidx; /* index of status page */ member in struct:sge_fl
712 uint16_t sidx; member in struct:sge_nm_txq
1075 return (eq->sidx / 4);
H A Dt4_main.c5572 struct sge_qstat *spg = (void *)&eq->desc[eq->sidx];
/freebsd-11-stable/sys/netpfil/ipfw/nat64/
H A Dnat64lsn.c517 struct st_ptr *sidx, struct st_idx *si)
522 if (sidx->idx == 0) {
527 pg = PORTGROUP_BYSIDX(cfg, nh, sidx->idx);
528 st = &pg->states[sidx->off];
541 struct st_ptr sidx; local
545 sidx = si->sidx_next;
546 if (sidx.idx == 0) {
553 pg = PORTGROUP_BYSIDX(cfg, nh, sidx.idx);
554 st = &pg->states[sidx.off];
1459 struct st_ptr sidx; local
516 st_first(const struct nat64lsn_cfg *cfg, const struct nat64lsn_host *nh, struct st_ptr *sidx, struct st_idx *si) argument
[all...]
/freebsd-11-stable/sys/netpfil/pf/
H A Dpf.c1190 PF_ACPY(&sk->addr[pd->sidx], saddr, pd->af);
1192 sk->port[pd->sidx] = sport;
2511 PF_ACPY(saddr, &sk->addr[pd->sidx], af);
2514 *pd->sport = sk->port[pd->sidx];
3322 if (PF_ANEQ(saddr, &nk->addr[pd->sidx], af) ||
3323 nk->port[pd->sidx] != sport) {
3325 &th->th_sum, &nk->addr[pd->sidx],
3326 nk->port[pd->sidx], 0, af);
3345 if (PF_ANEQ(saddr, &nk->addr[pd->sidx], af) ||
3346 nk->port[pd->sidx] !
[all...]
H A Dpf_ioctl.c1875 int sidx, didx; local
1877 /* NATLOOK src and dst are reversed, so reverse sidx/didx */
1878 sidx = (direction == PF_IN) ? 1 : 0;
1892 PF_ACPY(&key.addr[sidx], &pnl->saddr, pnl->af);
1893 key.port[sidx] = pnl->sport;
1903 sk = state->key[sidx];
1904 PF_ACPY(&pnl->rsaddr, &sk->addr[sidx], sk->af);
1905 pnl->rsport = sk->port[sidx];
/freebsd-11-stable/usr.bin/xlint/lint2/
H A Dread.c547 u_short tidx, sidx; local
623 sidx = inptype(cp, &cp); /* force seq. point! (ditto below) */
624 tp->t_subt = TP(sidx);
627 sidx = inptype(cp, &cp);
628 tp->t_subt = TP(sidx);
645 sidx = inptype(cp, &cp);
646 tp->t_args[i] = TP(sidx);
650 sidx = inptype(cp, &cp);
651 tp->t_subt = TP(sidx);
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_idr.c519 int idx, sidx; local
565 sidx = idr_pos(starting_id, layer);
567 idx = find_next_bit(&il->bitmap, IDR_SIZE, sidx);
568 if (idx == IDR_SIZE && sidx == 0)
583 if (idx > sidx)
/freebsd-11-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-11-stable/usr.sbin/bsnmpd/modules/snmp_pf/
H A Dpf_snmp.c1367 pfa_table_addrs(u_int sidx, struct pfr_table *pt) argument
1422 e->index = sidx + i;
/freebsd-11-stable/sys/net/
H A Dpfvar.h1146 u_int8_t sidx; /* key index for source */ member in struct:pf_pdesc

Completed in 277 milliseconds