Searched refs:MAX_CONFIG_ROM_SIZE (Results 1 – 1 of 1) sorted by relevance
495 #define MAX_CONFIG_ROM_SIZE 256 macro513 rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE + in read_config_rom()514 sizeof(*stack) * MAX_CONFIG_ROM_SIZE, GFP_KERNEL); in read_config_rom()518 stack = &rom[MAX_CONFIG_ROM_SIZE]; in read_config_rom()519 memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE); in read_config_rom()589 if (WARN_ON(i >= MAX_CONFIG_ROM_SIZE)) { in read_config_rom()599 if (end > MAX_CONFIG_ROM_SIZE) { in read_config_rom()632 if (i + (rom[i] & 0xffffff) >= MAX_CONFIG_ROM_SIZE) { in read_config_rom()