Searched refs:UBI_MAX_DEVICES (Results 1 – 3 of 3) sorted by relevance
70 static struct mtd_dev_param mtd_dev_param[UBI_MAX_DEVICES];88 static struct ubi_device *ubi_devices[UBI_MAX_DEVICES];235 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_enumerate_volumes()296 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_get_by_major()324 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_major2num()860 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_attach_mtd_dev()906 for (ubi_num = 0; ubi_num < UBI_MAX_DEVICES; ubi_num++) in ubi_attach_mtd_dev()909 if (ubi_num == UBI_MAX_DEVICES) { in ubi_attach_mtd_dev()911 UBI_MAX_DEVICES); in ubi_attach_mtd_dev()915 if (ubi_num >= UBI_MAX_DEVICES) in ubi_attach_mtd_dev()[all …]
50 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_get_device_info()124 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_open_volume()249 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_open_volume_nm()
34 #define UBI_MAX_DEVICES 32 macro