Searched refs:sector_offset (Results 1 – 2 of 2) sorted by relevance
/freebsd/sys/dev/sfxge/common/ |
H A D | efx_bootcfg.c | 863 size_t sector_offset; in efx_bootcfg_read() local 884 NULL, §or_offset, §or_length); in efx_bootcfg_read() 896 if (sector_offset + sector_length > partn_length) { in efx_bootcfg_read() 921 sector_offset, (caddr_t)payload, sector_length)) != 0) { in efx_bootcfg_read() 1021 size_t sector_offset; in efx_bootcfg_write() local 1038 NULL, §or_offset, §or_length); in efx_bootcfg_write() 1045 if (sector_offset + sector_length > partn_length) { in efx_bootcfg_write() 1096 (void) memset(partn_data + sector_offset, 0x0, sector_length); in efx_bootcfg_write() 1097 (void) memcpy(partn_data + sector_offset, data, used_bytes); in efx_bootcfg_write() 1100 partn_data[sector_offset] -= checksum; in efx_bootcfg_write()
|
/freebsd/sys/dev/ice/ |
H A D | ice_nvm.c | 115 u32 read_size, sector_offset; in ice_read_flat_nvm() local 122 sector_offset = offset % ICE_AQ_MAX_BUF_LEN; in ice_read_flat_nvm() 123 read_size = MIN_T(u32, ICE_AQ_MAX_BUF_LEN - sector_offset, in ice_read_flat_nvm()
|