Home
last modified time | relevance | path

Searched refs:lastidx (Results 1 – 6 of 6) sorted by relevance

/openbsd/sbin/dhclient/
H A Dprivsep.c47 static int lastidx; in dispatch_imsg() local
85 &resolv_conf, routefd, rdomain, index, &lastidx); in dispatch_imsg()
95 resolv_conf, &lastidx); in dispatch_imsg()
H A Dkroute.c817 int *lastidx) in priv_write_resolv_conf() argument
839 *lastidx = newidx; in priv_write_resolv_conf()
847 } else if (newidx == *lastidx) { in priv_write_resolv_conf()
853 *lastidx = newidx; in priv_write_resolv_conf()
918 int *lastidx) in priv_propose() argument
972 *lastidx = 0; in priv_propose()
973 priv_write_resolv_conf(index, routefd, rdomain, *resolv_conf, lastidx); in priv_propose()
/openbsd/sys/dev/usb/
H A Dusb_subr.c414 int curidx, lastidx, curaidx = 0; in usbd_find_idesc() local
416 for (curidx = lastidx = -1; p < end; ) { in usbd_find_idesc()
426 if (d->bInterfaceNumber != lastidx) { in usbd_find_idesc()
427 lastidx = d->bInterfaceNumber; in usbd_find_idesc()
/openbsd/lib/libedit/
H A Dreadline.c423 int lastidx; in readline() local
428 lastidx = count - 1; in readline()
429 if (buf[lastidx] == '\n') in readline()
430 buf[lastidx] = '\0'; in readline()
/openbsd/sys/dev/ic/
H A Dre.c1616 int error, seg, nsegs, curidx, lastidx, pad; in re_encap() local
1760 lastidx = curidx; in re_encap()
1783 lastidx = curidx; in re_encap()
1798 txq->txq_descidx = lastidx; in re_encap()
/openbsd/sys/dev/pci/
H A Dif_de.c1770 unsigned lastidx = (1 << bitwidth) - 1; in tulip_srom_read() local
1774 for (idx = 0; idx <= lastidx; idx++) { in tulip_srom_read()