Searched refs:csum (Results 1 – 5 of 5) sorted by relevance
190 unsigned char csum, c1, c2; in gx_getpkt() local194 csum = 0; in gx_getpkt()215 csum += c; in gx_getpkt()222 if (csum == (c1 << 4) + c2) in gx_getpkt()226 (c1 << 4) + c2, csum, buf); in gx_getpkt()274 unsigned char csum = 0; in gx_putpkt() local289 csum += buf[i]; in gx_putpkt()293 *p++ = gx_tohex((csum >> 4) & 0xf); in gx_putpkt()294 *p++ = gx_tohex(csum & 0xf); in gx_putpkt()
41 uint8_t csum; in scan_option_rom() local61 csum = 0; in scan_option_rom()63 csum += ((uint8_t *)rom)[i]; in scan_option_rom()64 if ( csum != 0 ) in scan_option_rom()
53 struct csum { struct137 struct csum fs_cstotal; /* cylinder summary information */154 struct csum *fs_csp;
168 u8 csum; in attempt_receive_packet() local176 csum = 0; in attempt_receive_packet()185 csum += ch; in attempt_receive_packet()198 return (received_csum == csum) ? 0 : -1; in attempt_receive_packet()
258 + u8 csum[BTRFS_CSUM_SIZE];297 + u8 csum[BTRFS_CSUM_SIZE];600 + u8 csum;691 + * csum items have the checksums for data in the extents
Completed in 14 milliseconds