Home
last modified time | relevance | path

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

/freebsd-12-stable/usr.sbin/bsdconfig/share/
Ddevice.subr44 NDEVICES=0 # Set by f_device_register(), used by f_device_*()
131 # and $NDEVICES is incremented.
150 __device=device_$(( NDEVICES + 1 ))
152 NDEVICES=$(( $NDEVICES + 1 ))
176 while [ $n -le $NDEVICES ]; do
189 NDEVICES=0
199 while [ $n -le $NDEVICES ]; do
218 while [ $i -lt $NDEVICES ]; do
221 f_struct_free device_$NDEVICES
224 NDEVICES=$(( $NDEVICES - 1 ))
[all …]
/freebsd-12-stable/usr.sbin/ppp/
Dphysical.c138 #define NDEVICES (sizeof devices / sizeof devices[0]) macro
631 for (h = 0; h < NDEVICES && p->handler == NULL; h++) in iov2physical()
658 for (n = 0; n < NDEVICES; n++) in physical_MaxDeviceSize()
1010 for (h = 0; h < NDEVICES && p->handler == NULL && p->fd >= 0; h++) in physical_Open()
1035 for (h = 0; h < NDEVICES && p->handler == NULL; h++) in physical_Open()
1040 if (h == NDEVICES) { in physical_Open()