| /illumos-gate/usr/src/cmd/fm/eversholt/common/ |
| H A D | eft.h | 54 uint32_t csum; member in struct:eftheader
|
| H A D | eftread.c | 84 uint32_t csum = 0; local 109 hdr.csum = ntohl(hdr.csum); 176 csum += (uint32_t)*ptr; 185 if (hdr.csum != csum) { 187 hdr.csum, csum);
|
| /illumos-gate/usr/src/uts/common/io/myri10ge/drv/ |
| H A D | myri10ge_lro.c | 48 uint32_t csum; local 49 csum = 0; 51 csum += *raw; 53 csum += *raw; 57 csum = (csum >> 16) + (csum & 0xffff); 58 csum = (csum >> 16) + (csum 66 uint64_t csum; local 136 myri10ge_lro_rx(struct myri10ge_slice_state *ss, mblk_t *m_head, uint32_t csum, struct myri10ge_mblk_list *mbl) argument [all...] |
| /illumos-gate/usr/src/uts/common/io/e1000api/ |
| H A D | e1000_manage.c | 134 s32 ret_val, hdr_csum, csum; local 164 csum = e1000_calculate_checksum((u8 *)hdr, 170 if ((hdr_csum != csum) || (hdr->signature != E1000_IAMT_SIGNATURE)) {
|
| H A D | e1000_vf.h | 104 u16 csum; /* Packet Checksum */ member in struct:e1000_adv_rx_desc::__anon150::__anon151::__anon154::__anon155
|
| H A D | e1000_82575.h | 213 __le16 csum; /* Packet Checksum */ member in struct:e1000_adv_rx_desc::__anon112::__anon113::__anon116::__anon117
|
| /illumos-gate/usr/src/cmd/fs.d/ufs/fstyp/ |
| H A D | fstyp.c | 393 fsp->fs_u.fs_csp = (struct csum *)(void *)sip; 406 struct csum *cs = &fsp->fs_cs(fsp, i); 430 int32_t csum = 0; local 435 csum += *lp++; 436 *sp = csum;
|
| /illumos-gate/usr/src/uts/common/xen/io/ |
| H A D | xnbo.c | 152 uint32_t pflags, csum; local 176 mac_hcksum_get(mp, NULL, NULL, NULL, &csum, &pflags); 184 (csum == 0xffff)))
|
| /illumos-gate/usr/src/uts/sun4u/starfire/os/ |
| H A D | pda.c | 371 uint_t csum; local 376 csum = p2o_calc_checksum(p2o); 378 return (csum == p2o->p2o_csum); 406 uint_t csum, o_csum; local 417 csum = 0; 419 csum += *csumptr++; 422 return (-csum);
|
| /illumos-gate/usr/src/uts/common/io/fibre-channel/fca/qlc/ |
| H A D | ql_ioctl.c | 496 uint8_t csum; local 524 csum = 0; 527 csum = (uint8_t)(csum + (uint8_t)*wptr); 528 csum = (uint8_t)(csum + (uint8_t)(*wptr >> 8)); 535 if (csum) { 549 csum = (uint8_t)(csum + *bptr++); 551 csum 611 uint32_t csum = 0; local 688 uint8_t csum; local [all...] |
| /illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
| H A D | diagcode.c | 705 unsigned long csum = 0; /* checksum (CRC) of diagcode */ local 725 crc(&csum, (unsigned)*ptr); 802 crc(&csum, bitv_chunk(allbits, limbit, limbit - 5)); 807 bitv_setlo(allbits, infop->csumbits, (unsigned)csum); 839 unsigned long csum; /* our computed checksum */ local 885 /* now pull out the csum */ 888 /* set the csum bits to zero */ 892 csum = 0; 894 crc(&csum, (unsigned)*ptr); 897 crc(&csum, bitv_chun [all...] |
| /illumos-gate/usr/src/grub/grub-0.97/stage2/ |
| H A D | fs.h | 131 * N.B. sizeof(struct csum) must be a power of two in order for 134 struct csum struct 179 int fs_csmask; /* csum block offset */ 180 int fs_csshift; /* csum block number */ 207 struct csum fs_cstotal; /* cylinder summary information */ 219 struct csum *fs_csp[MAXCSBUFS]; /* list of fs_cs info buffers */ 265 * N.B. This macro assumes that sizeof(struct csum) is a power of two. 283 struct csum cg_cs; /* cylinder summary information */ 332 struct csum cg_cs; /* cylinder summary information */
|
| H A D | ufs.h | 51 * N.B. sizeof (struct csum) must be a power of two in order for 54 struct csum { struct 94 grub_int32_t fs_csmask; /* csum block offset */ 95 grub_int32_t fs_csshift; /* csum block number */ 138 struct csum fs_cstotal; /* cylinder summary information */ 153 union { /* fs_cs (csum) info */ 155 struct csum *fs_csp;
|
| H A D | ufs2.h | 225 struct csum { struct 299 struct csum fs_old_cstotal; /* cylinder summary information */ 310 struct csum *fs_csp; /* cg summary info buffer for fs_cs */
|
| /illumos-gate/usr/src/uts/common/fs/ufs/ |
| H A D | lufs.c | 187 int32_t csum = 0; local 192 csum += *lp++; 193 *sp = csum;
|
| /illumos-gate/usr/src/uts/common/io/chxge/ |
| H A D | sge.c | 321 uint16_t csum; local 356 csum = calc_ocsum(m0, 363 ((struct udphdr *)(csum_loc))->uh_sum = csum; 986 cksum = p->csum;
|
| H A D | sge.h | 537 __u16 csum; member in struct:cpl_rx_pkt
|
| /illumos-gate/usr/src/uts/common/io/sfxge/common/ |
| H A D | ef10_nvram.c | 590 uint32_t csum; local 597 csum = 0; 602 csum += __LE_TO_CPU_32(*ptr++); 604 return (csum);
|
| H A D | siena_flash.h | 137 efx_byte_t csum; /* over header area (i.e. not including VPD) */ member in struct:siena_mc_static_config_hdr_s 172 efx_byte_t csum; /* over header area (i.e. not including VPD) */ member in struct:siena_mc_dynamic_config_hdr_s
|
| /illumos-gate/usr/src/uts/common/io/ixgbe/core/ |
| H A D | ixgbe_phy.c | 123 u8 csum; local 128 csum = ixgbe_ones_comp_byte_add(reg_high, reg & 0xFF); 129 csum = ~csum; 143 /* Write csum */ 144 if (ixgbe_out_i2c_byte_ack(hw, csum)) 157 /* Get csum */ 231 u8 csum; local 234 csum = ixgbe_ones_comp_byte_add(reg_high, reg & 0xFF); 235 csum [all...] |
| H A D | ixgbe_x550.c | 2296 * @csum: address of checksum to update 2301 u16 size, u16 *csum, u16 *buffer, 2356 *csum += local_buffer[i]; 2300 ixgbe_checksum_ptr_x550(struct ixgbe_hw *hw, u16 ptr, u16 size, u16 *csum, u16 *buffer, u32 buffer_size) argument
|
| /illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
| H A D | utilities.c | 2652 int32_t csum = 0; local 2657 csum += *lp++; 2658 *sp = csum;
|
| /illumos-gate/usr/src/uts/common/sys/fs/ |
| H A D | ufs_fs.h | 174 * N.B. sizeof (struct csum) must be a power of two in order for 177 struct csum { struct 270 int32_t fs_csmask; /* csum block offset */ 271 int32_t fs_csshift; /* csum block number */ 318 struct csum fs_cstotal; /* cylinder summary information */ 333 union { /* fs_cs (csum) info */ 335 struct csum *fs_csp; 424 * N.B. This macro assumes that sizeof (struct csum) is a power of two. 445 struct csum cg_cs; /* cylinder summary information */ 509 struct csum cg_c [all...] |
| /illumos-gate/usr/src/uts/common/io/ |
| H A D | bscv.c | 2275 uint16_t csum; local 2282 csum = bscv_get8_locked(ssp, chan_general, EBUS_IDX_CHECK_HI, &res) 2284 csum |= bscv_get8_locked(ssp, chan_general, EBUS_IDX_CHECK_LO, &res); 2285 info.fchksum = csum; 2602 uint16_t csum; local 2613 csum = bscv_get8_locked(ssp, chan_general, EBUS_IDX_CHECK_HI, &res) 2615 csum |= bscv_get8_locked(ssp, chan_general, EBUS_IDX_CHECK_LO, &res); 2616 info2.fchksum = csum;
|
| /illumos-gate/usr/src/boot/sys/ufs/ffs/ |
| H A D | fs.h | 130 * of pointers to blocks of struct csum; now there are just a few 134 * is taken away to point to a contiguous array of struct csum for 242 struct csum { struct 315 struct csum fs_old_cstotal; /* cylinder summary information */ 329 struct csum *fs_csp; /* (u) cg summary info buffer */ 481 struct csum cg_cs; /* cylinder summary information */
|