Lines Matching refs:data
49 __in_bcount(size) caddr_t data,
58 checksum += data[pos];
65 __in_bcount(size) caddr_t data,
79 tag = data[offset];
95 length = data[offset + 1];
108 if (efx_bootcfg_csum(enp, data, size) != 0) {
131 __out_bcount(size) caddr_t data,
158 payload = (uint8_t *)data;
208 (void) memcpy(data, payload, used_bytes);
214 (void) memset(data + used_bytes, 0, size - used_bytes);
217 * The checksum includes trailing data after any DHCP_END character,
220 data[0] -= efx_bootcfg_csum(enp, data, size);
244 __in_bcount(size) caddr_t data,
263 if ((rc = efx_bootcfg_verify(enp, data, size, &used_bytes)) != 0)
268 if ((uint8_t)data[used_bytes - 1] != DHCP_END) {
273 /* Check that the hardware has support for this much data */
293 * Write the entire sector_length bytes of data in chunks. Zero out
294 * all data following the DHCP_END, and adjust the checksum
296 checksum = efx_bootcfg_csum(enp, data, used_bytes);
303 (void) memcpy(chunk, data + offset,