Home
last modified time | relevance | path

Searched refs:crc32_le (Results 1 – 25 of 38) sorted by relevance

12

/linux-2.6.39/include/linux/
Dcrc32.h11 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/
Dcrc32.c103 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/
Dblockcheck.c399 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()
Dstack_o2cb.c306 dlm_key = crc32_le(0, conn->cc_name, conn->cc_namelen); in o2cb_cluster_connect()
/linux-2.6.39/fs/nilfs2/
Dsegbuf.c195 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()
Dthe_nilfs.c415 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/
Dpm-check.c119 *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/
Dxz_stream.h17 (~crc32_le(~(uint32_t)(crc), buf, size))
/linux-2.6.39/drivers/net/usb/
Dcdc_eem.c149 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()
Dzaurus.c76 fcs = crc32_le(~0, skb->data, skb->len); in zaurus_tx_fixup()
/linux-2.6.39/drivers/staging/rtl8187se/ieee80211/
Dieee80211_crypt_wep.c149 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt()
206 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c347 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/
Dieee80211_crypt_wep.c151 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt()
210 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c367 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/
Dieee80211_crypt_wep.c149 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt()
211 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
Dieee80211_crypt_tkip.c365 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/
Dlib80211_crypt_wep.c166 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/
Ddir.h41 return crc32_le((u32)~0, data, len) ^ (u32)~0; in gfs2_disk_hash()
Drecovery.c163 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 *)&nothing, sizeof(nothing)); in get_log_header()
/linux-2.6.39/net/mac80211/
Dwep.c140 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/
Dfw.c188 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/
Ddwmac1000_core.c118 bitrev32(~crc32_le(~0, ha->addr, 6)) >> 26; in dwmac1000_set_filter()
/linux-2.6.39/drivers/net/irda/
Dmcs7780.c342 __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()
Dstir4200.c258 __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/
Dsuper.c169 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()

12