Searched refs:sector_offset (Results 1 – 3 of 3) sorted by relevance
| /src/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()
|
| /src/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()
|
| /src/sys/dev/ixgbe/ |
| H A D | ixgbe_e610.c | 3364 u32 read_size, sector_offset; in ixgbe_read_flat_nvm() local 3370 sector_offset = offset % IXGBE_ACI_MAX_BUFFER_SIZE; in ixgbe_read_flat_nvm() 3372 IXGBE_ACI_MAX_BUFFER_SIZE - sector_offset, in ixgbe_read_flat_nvm()
|