Home
last modified time | relevance | path

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

/freebsd-12.1/sys/dev/sfxge/common/
H A Defx_bootcfg.c305 size_t sector_offset; in efx_bootcfg_read() local
320 NULL, &sector_offset, &sector_length); in efx_bootcfg_read()
327 if (sector_offset + sector_length > partn_length) { in efx_bootcfg_read()
352 sector_offset, (caddr_t)payload, sector_length)) != 0) { in efx_bootcfg_read()
445 size_t sector_offset; in efx_bootcfg_write() local
462 NULL, &sector_offset, &sector_length); in efx_bootcfg_write()
469 if (sector_offset + sector_length > partn_length) { in efx_bootcfg_write()
516 (void) memset(partn_data + sector_offset, 0x0, sector_length); in efx_bootcfg_write()
517 (void) memcpy(partn_data + sector_offset, data, used_bytes); in efx_bootcfg_write()
520 partn_data[sector_offset] -= checksum; in efx_bootcfg_write()