Searched refs:sector_length (Results 1 – 1 of 1) sorted by relevance
136 size_t sector_length; in efx_bootcfg_read() local139 rc = efx_nvram_size(enp, EFX_NVRAM_BOOTROM_CFG, §or_length); in efx_bootcfg_read()149 if (sector_length > BOOTCFG_MAX_SIZE) in efx_bootcfg_read()150 sector_length = BOOTCFG_MAX_SIZE; in efx_bootcfg_read()151 if (sector_length > size) { in efx_bootcfg_read()152 EFSYS_KMEM_ALLOC(enp->en_esip, sector_length, payload); in efx_bootcfg_read()164 (caddr_t)payload, sector_length); in efx_bootcfg_read()172 rc = efx_bootcfg_verify(enp, (caddr_t)payload, sector_length, in efx_bootcfg_read()181 EFSYS_ASSERT(used_bytes <= sector_length); in efx_bootcfg_read()190 if (used_bytes + 1 > sector_length) { in efx_bootcfg_read()[all …]