Searched refs:sector_length (Results 1 – 2 of 2) sorted by relevance
| /trueos/sys/dev/sfxge/common/ |
| HD | efx_bootcfg.c | 136 size_t sector_length; in efx_bootcfg_read() local 139 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 …]
|
| /trueos/contrib/binutils/bfd/ |
| HD | ppcboot.c | 53 bfd_byte sector_length[4]; /* 32-bit RBA count (one-based), little endian */ member 428 long sector_length = bfd_getl_signed_32 ((PTR) tdata->header.partition[i].sector_length); local 439 && !sector_begin && !sector_length) 455 fprintf (f, _("Partition[%d] length = 0x%.8lx (%ld)\n"), i, sector_length, sector_length);
|