Searched refs:UBI_MAX_DEVICES (Results 1 – 3 of 3) sorted by relevance
73 static struct mtd_dev_param mtd_dev_param[UBI_MAX_DEVICES];91 static struct ubi_device *ubi_devices[UBI_MAX_DEVICES];238 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_enumerate_volumes()302 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_get_by_major()330 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_major2num()868 for (i = 0; i < UBI_MAX_DEVICES; i++) { in ubi_attach_mtd_dev()914 for (ubi_num = 0; ubi_num < UBI_MAX_DEVICES; ubi_num++) in ubi_attach_mtd_dev()917 if (ubi_num == UBI_MAX_DEVICES) { in ubi_attach_mtd_dev()919 UBI_MAX_DEVICES); in ubi_attach_mtd_dev()923 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