Home
last modified time | relevance | path

Searched refs:MAX_CONFIG_ROM_SIZE (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/drivers/firewire/
Dcore-device.c476 #define MAX_CONFIG_ROM_SIZE 256 macro
493 rom = kmalloc(sizeof(*rom) * MAX_CONFIG_ROM_SIZE + in read_config_rom()
494 sizeof(*stack) * MAX_CONFIG_ROM_SIZE, GFP_KERNEL); in read_config_rom()
498 stack = &rom[MAX_CONFIG_ROM_SIZE]; in read_config_rom()
499 memset(rom, 0, sizeof(*rom) * MAX_CONFIG_ROM_SIZE); in read_config_rom()
566 if (WARN_ON(i >= MAX_CONFIG_ROM_SIZE)) in read_config_rom()
573 if (end > MAX_CONFIG_ROM_SIZE) { in read_config_rom()
606 if (i + (rom[i] & 0xffffff) >= MAX_CONFIG_ROM_SIZE) { in read_config_rom()