Home
last modified time | relevance | path

Searched refs:NDEVICES (Results 1 – 2 of 2) sorted by relevance

/freebsd/usr.sbin/bsdconfig/share/
H A Ddevice.subr43 NDEVICES=0 # Set by f_device_register(), used by f_device_*()
129 # and $NDEVICES is incremented.
148 __device=device_$(( NDEVICES + 1 ))
150 NDEVICES=$(( $NDEVICES + 1 ))
174 while [ $n -le $NDEVICES ]; do
187 NDEVICES=0
197 while [ $n -le $NDEVICES ]; do
216 while [ $i -lt $NDEVICES ]; do
219 f_struct_free device_$NDEVICES
222 NDEVICES=$(( $NDEVICES - 1 ))
[all …]
/freebsd/usr.sbin/ppp/
H A Dphysical.c136 #define NDEVICES (sizeof devices / sizeof devices[0]) macro
625 for (h = 0; h < NDEVICES && p->handler == NULL; h++) in iov2physical()
652 for (n = 0; n < NDEVICES; n++) in physical_MaxDeviceSize()
1001 for (h = 0; h < NDEVICES && p->handler == NULL && p->fd >= 0; h++) in physical_Open()
1026 for (h = 0; h < NDEVICES && p->handler == NULL; h++) in physical_Open()
1031 if (h == NDEVICES) { in physical_Open()