Home
last modified time | relevance | path

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

1234

/Linux-v6.6/include/linux/
Dcrc32.h11 u32 __pure crc32_le(u32 crc, unsigned char const *p, size_t len);
66 #define crc32(seed, data, length) crc32_le(seed, (unsigned char const *)(data), length)
76 #define ether_crc(length, data) bitrev32(crc32_le(~0, data, length))
77 #define ether_crc_le(length, data) crc32_le(~0, data, length)
Dnfs.h59 return ~crc32_le(0xFFFFFFFF, &fh->data[0], fh->size); in nfs_fhandle_hash()
Dbcm963xx_nvram.h102 crc32_le(~0, (u8 *)nvram, len), 0, sizeof(u32)); in bcm963xx_nvram_checksum()
/Linux-v6.6/lib/
Dcrc32test.c760 crc ^= crc32_le(test[i].crc, test_buf + in crc32_test()
772 if (test[i].crc_le != crc32_le(test[i].crc, test_buf + in crc32_test()
805 crc_full = crc32_le(test[i].crc, test_buf + test[i].start, in crc32_combine_test()
811 crc1 = crc32_le(test[i].crc, test_buf + in crc32_combine_test()
813 crc2 = crc32_le(0, test_buf + test[i].start + in crc32_combine_test()
Dcrc32.c186 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) function
195 u32 __pure __weak crc32_le(u32 crc, unsigned char const *p, size_t len) function
204 EXPORT_SYMBOL(crc32_le);
207 u32 __pure crc32_le_base(u32, unsigned char const *, size_t) __alias(crc32_le);
/Linux-v6.6/fs/ocfs2/
Dblockcheck.c357 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_compute()
395 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate()
409 crc = crc32_le(~0, data, blocksize); in ocfs2_block_check_validate()
455 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_compute_bhs()
508 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
540 crc = crc32_le(crc, bhs[i]->b_data, bhs[i]->b_size); in ocfs2_block_check_validate_bhs()
/Linux-v6.6/arch/x86/crypto/
Dcrc32-pclmul_glue.c59 return crc32_le(crc, p, len); in crc32_pclmul_le()
65 crc = crc32_le(crc, p, prealign); in crc32_pclmul_le()
78 crc = crc32_le(crc, p + iquotient, iremainder); in crc32_pclmul_le()
/Linux-v6.6/fs/nilfs2/
Dsegbuf.c188 crc = crc32_le(seed, in nilfs_segbuf_fill_in_segsum_crc()
198 crc = crc32_le(crc, bh->b_data, size); in nilfs_segbuf_fill_in_segsum_crc()
214 crc = crc32_le(seed, in nilfs_segbuf_fill_in_data_crc()
220 crc = crc32_le(crc, bh->b_data, bh->b_size); in nilfs_segbuf_fill_in_data_crc()
224 crc = crc32_le(crc, kaddr + bh_offset(bh), bh->b_size); in nilfs_segbuf_fill_in_data_crc()
241 crc = crc32_le(seed, in nilfs_segbuf_fill_in_super_root_crc()
/Linux-v6.6/crypto/
Dcrc32_generic.c62 *crcp = crc32_le(*crcp, data, len); in crc32_update()
70 put_unaligned_le32(crc32_le(*crcp, data, len), out); in __crc32_finup()
/Linux-v6.6/drivers/soc/samsung/
Ds3c-pm-check.c115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck()
192 calc = crc32_le(~0, ptr, left); in s3c_pm_runcheck()
/Linux-v6.6/drivers/staging/wlan-ng/
Dp80211wep.c120 crc = ~crc32_le(~0, buf, len); in wep_decrypt()
191 crc = ~crc32_le(~0, buf, len); in wep_encrypt()
/Linux-v6.6/lib/xz/
Dxz_stream.h17 (~crc32_le(~(uint32_t)(crc), buf, size))
/Linux-v6.6/drivers/staging/rtl8192u/ieee80211/
Dieee80211_crypt_wep.c111 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt()
166 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
/Linux-v6.6/net/wireless/
Dlib80211_crypt_wep.c131 crc = ~crc32_le(~0, pos, len); in lib80211_wep_encrypt()
180 crc = ~crc32_le(~0, pos, plen); in lib80211_wep_decrypt()
/Linux-v6.6/drivers/net/usb/
Dcdc_eem.c134 crc = crc32_le(~0, skb->data, skb->len); in eem_tx_fixup()
304 crc2 = ~crc32_le(~0, skb2->data, skb2->len in eem_rx_fixup()
/Linux-v6.6/drivers/staging/rtl8192e/
Drtllib_crypt_wep.c107 crc = ~crc32_le(~0, pos, len); in prism2_wep_encrypt()
162 crc = ~crc32_le(~0, pos, plen); in prism2_wep_decrypt()
/Linux-v6.6/arch/arm64/lib/
Dcrc32.S139 SYM_FUNC_START(crc32_le)
144 SYM_FUNC_END(crc32_le)
/Linux-v6.6/drivers/gpu/drm/i915/gvt/
Dfirmware.c108 h->crc32 = crc32_le(0, firmware + crc32_start, size - crc32_start); in expose_firmware_sysfs()
167 VERIFY("crc32", h->crc32, crc32_le(0, mem, fw->size - crc32_start)); in verify_firmware()
/Linux-v6.6/net/mac80211/
Dwep.c113 icv = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_encrypt_data()
174 crc = cpu_to_le32(~crc32_le(~0, data, data_len)); in ieee80211_wep_decrypt_data()
/Linux-v6.6/fs/gfs2/
Ddir.h55 return crc32_le((u32)~0, data, len) ^ (u32)~0; in gfs2_disk_hash()
/Linux-v6.6/drivers/gpu/drm/i915/gt/
Dselftest_reset.c106 crc[page] = crc32_le(0, in, PAGE_SIZE); in __igt_reset_stolen()
144 x = crc32_le(0, in, PAGE_SIZE); in __igt_reset_stolen()
/Linux-v6.6/fs/lockd/
Dtrace.h69 __entry->oh = ~crc32_le(0xffffffff, lock->oh.data, lock->oh.len);
/Linux-v6.6/drivers/infiniband/ulp/opa_vnic/
Dopa_vnic_netdev.c251 crc = crc32_le(crc, ha->addr, ETH_ALEN); in opa_vnic_mac_send_event()
254 crc = ~crc32_le(crc, (void *)&l, sizeof(l)); in opa_vnic_mac_send_event()
/Linux-v6.6/arch/x86/power/
Dhibernate.c77 return ~crc32_le(~0, (unsigned char const *)table, size); in compute_e820_crc32()
/Linux-v6.6/fs/nfs/
Dnfs4session.h157 (~crc32_le(0xFFFFFFFF, &(sess_id)->data[0], sizeof((sess_id)->data)))

1234