Searched refs:UBI_MAX_DEVICES (Results 1 – 3 of 3) sorted by relevance
68 static struct mtd_dev_param mtd_dev_param[UBI_MAX_DEVICES];86 static struct ubi_device *ubi_devices[UBI_MAX_DEVICES];234 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_enumerate_volumes()295 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_get_by_major()323 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_major2num()843 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_attach_mtd_dev()882 for (ubi_num = 0; ubi_num < UBI_MAX_DEVICES; ubi_num++) in ubi_attach_mtd_dev()885 if (ubi_num == UBI_MAX_DEVICES) { in ubi_attach_mtd_dev()887 UBI_MAX_DEVICES); in ubi_attach_mtd_dev()891 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()123 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_open_volume()248 if (ubi_num < 0 || ubi_num >= UBI_MAX_DEVICES) in ubi_open_volume_nm()
34 #define UBI_MAX_DEVICES 32 macro