/linux-2.6.39/include/linux/ |
D | crc32.h | 11 extern u32 crc32_le(u32 crc, unsigned char const *p, size_t len); 14 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length) 24 #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length)) 25 #define ether_crc_le(length, data) crc32_le(~0, data, length)
|
/linux-2.6.39/lib/ |
D | crc32.c | 103 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len); 111 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() function 123 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len) in crc32_le() function 208 EXPORT_SYMBOL(crc32_le); 420 crc1 = crc32_le(init, buf, len); in test_step() 424 crc2 = crc32_le(init, buf, len + 4); in test_step() 430 crc2 = crc32_le(init, buf, i); in test_step() 431 crc2 = crc32_le(crc2, buf + i, len + 4 - i); in test_step()
|
/linux-2.6.39/fs/ocfs2/ |
D | blockcheck.c | 399 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_compute() 436 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 450 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate() 496 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs() 548 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs() 580 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
|
D | stack_o2cb.c | 306 dlm_key = crc32_le(0, conn->cc_name, conn->cc_namelen); in o2cb_cluster_connect()
|
/linux-2.6.39/fs/nilfs2/ |
D | segbuf.c | 195 crc = crc32_le(seed, in nilfs_segbuf_fill_in_segsum_crc() 205 crc = crc32_le(crc, bh->b_data, size); in nilfs_segbuf_fill_in_segsum_crc() 221 crc = crc32_le(seed, in nilfs_segbuf_fill_in_data_crc() 227 crc = crc32_le(crc, bh->b_data, bh->b_size); in nilfs_segbuf_fill_in_data_crc() 231 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc() 245 crc = crc32_le(seed, in nilfs_segbuf_fill_in_super_root_crc()
|
D | the_nilfs.c | 415 crc = crc32_le(le32_to_cpu(sbp->s_crc_seed), (unsigned char *)sbp, in nilfs_valid_sb() 417 crc = crc32_le(crc, sum, 4); in nilfs_valid_sb() 418 crc = crc32_le(crc, (unsigned char *)sbp + sumoff + 4, in nilfs_valid_sb()
|
/linux-2.6.39/arch/arm/plat-samsung/ |
D | pm-check.c | 119 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck() 196 calc = crc32_le(~0, ptr, left); in s3c_pm_runcheck()
|
/linux-2.6.39/lib/xz/ |
D | xz_stream.h | 17 (~crc32_le(~(uint32_t)(crc), buf, size))
|
/linux-2.6.39/drivers/net/usb/ |
D | cdc_eem.c | 149 crc = crc32_le(~0, skb->data, skb->len); in eem_tx_fixup() 315 crc2 = ~crc32_le(~0, skb2->data, skb2->len in eem_rx_fixup()
|
D | zaurus.c | 76 fcs = crc32_le(~0, skb->data, skb->len); in zaurus_tx_fixup()
|
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/ |
D | ieee80211_crypt_wep.c | 149 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt() 206 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
|
D | ieee80211_crypt_tkip.c | 347 crc = ~crc32_le(~0, pos, len); in ieee80211_tkip_encrypt() 439 crc = ~crc32_le(~0, pos, plen); in ieee80211_tkip_decrypt()
|
/linux-2.6.39/drivers/staging/rtl8192e/ieee80211/ |
D | ieee80211_crypt_wep.c | 151 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt() 210 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
|
D | ieee80211_crypt_tkip.c | 367 crc = ~crc32_le(~0, pos, len); in ieee80211_tkip_encrypt() 470 crc = ~crc32_le(~0, pos, plen); in ieee80211_tkip_decrypt()
|
/linux-2.6.39/drivers/staging/rtl8192u/ieee80211/ |
D | ieee80211_crypt_wep.c | 149 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt() 211 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
|
D | ieee80211_crypt_tkip.c | 365 crc = ~crc32_le(~0, pos, len); in ieee80211_tkip_encrypt() 468 crc = ~crc32_le(~0, pos, plen); in ieee80211_tkip_decrypt()
|
/linux-2.6.39/net/wireless/ |
D | lib80211_crypt_wep.c | 166 crc = ~crc32_le(~0, pos, len); in lib80211_wep_encrypt() 218 crc = ~crc32_le(~0, pos, plen); in lib80211_wep_decrypt()
|
/linux-2.6.39/fs/gfs2/ |
D | dir.h | 41 return crc32_le((u32)~0, data, len) ^ (u32)~0; in gfs2_disk_hash()
|
D | recovery.c | 163 hash = crc32_le((u32)~0, bh->b_data, sizeof(struct gfs2_log_header) - in get_log_header() 165 hash = crc32_le(hash, (unsigned char const *)¬hing, sizeof(nothing)); in get_log_header()
|
/linux-2.6.39/net/mac80211/ |
D | wep.c | 140 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data() 203 crc = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_decrypt_data()
|
/linux-2.6.39/drivers/net/wireless/ath/carl9170/ |
D | fw.c | 188 crc32 = crc32_le(~0, data, len); in carl9170_fw() 194 crc32 = crc32_le(crc32, (void *)otus_desc, dsc_len); in carl9170_fw()
|
/linux-2.6.39/drivers/net/stmmac/ |
D | dwmac1000_core.c | 118 bitrev32(~crc32_le(~0, ha->addr, 6)) >> 26; in dwmac1000_set_filter()
|
/linux-2.6.39/drivers/net/irda/ |
D | mcs7780.c | 342 __u32 fcs = ~(crc32_le(~0, skb->data, skb->len)); in mcs_wrap_fir_skb() 463 fcs = ~(crc32_le(~0, buf, new_len)); in mcs_unwrap_fir()
|
D | stir4200.c | 258 __u32 fcs = ~(crc32_le(~0, skb->data, skb->len)); in wrap_fir_skb() 331 fcs = ~(crc32_le(~0, rx_buff->data, len)); in fir_eof()
|
/linux-2.6.39/fs/jfs/ |
D | super.c | 169 buf->f_fsid.val[0] = (u32)crc32_le(0, sbi->uuid, sizeof(sbi->uuid)/2); in jfs_statfs() 170 buf->f_fsid.val[1] = (u32)crc32_le(0, sbi->uuid + sizeof(sbi->uuid)/2, in jfs_statfs()
|