Searched defs:csum (Results 1 - 10 of 10) sorted by relevance

/osnet-11/usr/src/grub/grub2/grub-core/partmap/
H A Dsun.c68 grub_uint16_t csum; /* Label xor'd checksum. */ member in struct:grub_sun_block
H A Dsunpc.c56 grub_uint16_t csum; /* Label xor'd checksum. */ member in struct:grub_sun_pc_block
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dromfs.c75 grub_uint32_t csum = 0; local
78 csum += grub_be_to_cpu32 (*a++);
79 if (csum)
178 grub_uint32_t csum = 0; local
218 csum += grub_be_to_cpu32 (((grub_uint32_t *) &hdr)[i]);
220 csum += grub_be_to_cpu32 (((grub_uint32_t *) name)[i]);
221 if (csum != 0)
/osnet-11/usr/src/grub/grub2/grub-core/gnulib/
H A Dargp-parse.c473 size_t clen, csum;
497 csum = alignto (gsum + clen, alignof (struct option));
498 lsum = csum + llen;
508 parser->long_opts = (struct option *) (storage + csum);
466 size_t clen, csum; local
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Dsun.c111 u_int16_t csum; /* Label xor'd checksum */ member in struct:_SunRawLabel
138 u_int16_t csum = 0; local
140 while(ush < (u_int16_t *)(&label->csum))
141 csum ^= *ush++;
142 label->csum = csum;
150 u_int16_t csum = 0; local
153 csum ^= *ush--;
155 return !csum;
/osnet-11/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c705 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...]
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dfs.h131 * 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 Dufs.h51 * 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 Dufs2.h225 struct csum { struct
299 struct csum fs_old_cstotal; /* cylinder summary information */
310 struct csum *fs_csp; /* cg summary info buffer for fs_cs */
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A De1000_hw.h366 uint16_t csum; /* Packet checksum */ member in struct:e1000_rx_desc

Completed in 70 milliseconds