Home
last modified time | relevance | path

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

/freebsd-14.2/usr.sbin/bsdconfig/share/
H A Ddevice.subr43 NDEVICES=0 # Set by f_device_register(), used by f_device_*()
130 # and $NDEVICES is incremented.
149 __device=device_$(( NDEVICES + 1 ))
151 NDEVICES=$(( $NDEVICES + 1 ))
175 while [ $n -le $NDEVICES ]; do
188 NDEVICES=0
198 while [ $n -le $NDEVICES ]; do
217 while [ $i -lt $NDEVICES ]; do
220 f_struct_free device_$NDEVICES
223 NDEVICES=$(( $NDEVICES - 1 ))
[all …]
/freebsd-14.2/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()