Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/sfxge/common/
H A Defx_bootcfg.c136 size_t sector_length; in efx_bootcfg_read() local
139 rc = efx_nvram_size(enp, EFX_NVRAM_BOOTROM_CFG, &sector_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 …]