Searched refs:used_bytes (Results 1 – 1 of 1) sorted by relevance
135 size_t used_bytes; in efx_bootcfg_read() local173 &used_bytes); in efx_bootcfg_read()174 if (rc != 0 || used_bytes == 0) { in efx_bootcfg_read()177 used_bytes = 2; in efx_bootcfg_read()180 EFSYS_ASSERT(used_bytes >= 2); /* checksum and DHCP_END */ in efx_bootcfg_read()181 EFSYS_ASSERT(used_bytes <= sector_length); in efx_bootcfg_read()189 if (payload[used_bytes - 1] != DHCP_END) { in efx_bootcfg_read()190 if (used_bytes + 1 > sector_length) { in efx_bootcfg_read()192 used_bytes = 1; in efx_bootcfg_read()195 payload[used_bytes] = DHCP_END; in efx_bootcfg_read()[all …]