Searched refs:UB_MAX_DEV (Results 1 - 4 of 4) sorted by relevance

/freebsd-10.2-release/sys/boot/uboot/lib/
H A Dglue.h44 #define UB_MAX_DEV 6 /* max devices number */ macro
H A Dglue.c203 * Devices are identified by handles: numbers 0, 1, 2, ..., UB_MAX_DEV-1
207 static struct device_info devices[UB_MAX_DEV];
213 return ((i < 0 || i >= UB_MAX_DEV) ? NULL : &devices[i]);
228 memset(&devices, 0, sizeof(struct device_info) * UB_MAX_DEV);
236 if (++n >= UB_MAX_DEV)
263 if (handle < 0 || handle >= UB_MAX_DEV)
278 if (handle < 0 || handle >= UB_MAX_DEV)
300 if (handle < 0 || handle >= UB_MAX_DEV)
H A Ddisk.c66 } stor_info[UB_MAX_DEV];
109 if (stor_info_no >= UB_MAX_DEV) {
/freebsd-10.2-release/sys/boot/uboot/common/
H A Dmain.c344 for (currdev.d_unit = 0; currdev.d_unit < UB_MAX_DEV;
360 for (unit = 0; unit < UB_MAX_DEV; unit++) {

Completed in 61 milliseconds