Home
last modified time | relevance | path

Searched refs:U64 (Results 1 – 25 of 39) sorted by relevance

12

/linux-6.15/lib/zstd/common/
H A Dmem.h40 typedef uint64_t U64; typedef
54 MEM_STATIC U64 MEM_read64(const void* memPtr);
65 MEM_STATIC U64 MEM_readLE64(const void* memPtr);
85 MEM_STATIC U64 MEM_swap64(U64 in);
122 MEM_STATIC U64 MEM_read64(const void *memPtr) in MEM_read64()
124 return get_unaligned((const U64 *)memPtr); in MEM_read64()
144 put_unaligned(value, (U64 *)memPtr); in MEM_write64()
203 MEM_writeLE64(memPtr, (U64)val); in MEM_writeLEST()
241 MEM_writeBE64(memPtr, (U64)val); in MEM_writeBEST()
249 MEM_STATIC U64 MEM_swap64(U64 in) in MEM_swap64()
[all …]
H A Dbits.h66 MEM_STATIC unsigned ZSTD_countTrailingZeros64(U64 val) in ZSTD_countTrailingZeros64()
84 MEM_STATIC unsigned ZSTD_countLeadingZeros64(U64 val) in ZSTD_countLeadingZeros64()
106 return ZSTD_countTrailingZeros64((U64)val) >> 3; in ZSTD_NbCommonBytes()
112 return ZSTD_countLeadingZeros64((U64)val) >> 3; in ZSTD_NbCommonBytes()
130 U64 ZSTD_rotateRight_U64(U64 const value, U32 count) { in ZSTD_rotateRight_U64()
133 return (value >> count) | (U64)(value << ((0U - count) & 0x3F)); in ZSTD_rotateRight_U64()
H A Dfse_decompress.c102 { U64 const add = 0x0101010101010101ull; in FSE_buildDTable_internal()
104 U64 sv = 0; in FSE_buildDTable_internal()
/linux-6.15/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c136 case U64: return U64; in t_unsigned()
173 case U64: in snprintf_num()
312 case U64: in range_cast_u64()
333 case U64: in range_cast_s64()
355 case U64: in range_cast_u32()
372 case U64: in range_cast_s32()
2058 {U64, U64, {0, 0xffffffff}, {0, 0}},
2059 {U64, U64, {0, 0x80000000}, {0, 0}},
2068 {U64, U64, {0, 1}, {1, 0x80000000}},
2114 {U64, U64, {0, U64_MAX}, {U64_MAX, U64_MAX}},
[all …]
/linux-6.15/lib/zstd/compress/
H A Dzstd_preSplit.c94 static U64 abs64(S64 s64) { return (U64)((s64 < 0) ? -s64 : s64); } in abs64()
96 static U64 fpDistance(const Fingerprint* fp1, const Fingerprint* fp2, unsigned hashLog) in fpDistance()
98 U64 distance = 0; in fpDistance()
118 { U64 p50 = (U64)ref->nbEvents * (U64)newfp->nbEvents; in compareFingerprints()
119 U64 deviation = fpDistance(ref, newfp, hashLog); in compareFingerprints()
120 U64 threshold = p50 * (U64)(THRESHOLD_BASE + penalty) / THRESHOLD_PENALTY_RATE; in compareFingerprints()
220 { U64 const distFromBegin = fpDistance(&fpstats->pastEvents, middleEvents, 8); in ZSTD_splitBlock_fromBorders()
221 U64 const distFromEnd = fpDistance(&fpstats->newEvents, middleEvents, 8); in ZSTD_splitBlock_fromBorders()
222 U64 const minDistance = SEGMENT_SIZE * SEGMENT_SIZE / 3; in ZSTD_splitBlock_fromBorders()
H A Dzstd_compress_internal.h900 static const U64 prime5bytes = 889523592379ULL;
901 static size_t ZSTD_hash5(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u << (64-40)) … in ZSTD_hash5()
905 static const U64 prime6bytes = 227718039650203ULL;
906 static size_t ZSTD_hash6(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u << (64-48)) … in ZSTD_hash6()
910 static const U64 prime7bytes = 58295818150454627ULL;
911 static size_t ZSTD_hash7(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u << (64-56)) … in ZSTD_hash7()
916 static size_t ZSTD_hash8(U64 u, U32 h, U64 s) { assert(h <= 64); return (size_t)((((u) * prime8byte… in ZSTD_hash8()
960 static U64 ZSTD_ipow(U64 base, U64 exponent) in ZSTD_ipow()
962 U64 power = 1; in ZSTD_ipow()
976 static U64 ZSTD_rollingHash_append(U64 hash, void const* buf, size_t size) in ZSTD_rollingHash_append()
[all …]
H A Dfse_compress.c122 { U64 const add = 0x0101010101010101ull; in FSE_buildCTable_wksp()
124 U64 sv = 0; in FSE_buildCTable_wksp()
447 { U64 const vStepLog = 62 - tableLog; in FSE_normalizeM2()
448 U64 const mid = (1ULL << (vStepLog-1)) - 1; in FSE_normalizeM2()
449U64 const rStep = ZSTD_div64((((U64)1<<vStepLog) * ToDistribute) + mid, (U32)total); /* scale on… in FSE_normalizeM2()
450 U64 tmpTotal = mid; in FSE_normalizeM2()
453 U64 const end = tmpTotal + (count[s] * rStep); in FSE_normalizeM2()
478 U64 const scale = 62 - tableLog; in FSE_normalizeCount()
479 U64 const step = ZSTD_div64((U64)1<<62, (U32)total); /* <== here, one division ! */ in FSE_normalizeCount()
480 U64 const vStep = 1ULL<<(scale-20); in FSE_normalizeCount()
[all …]
H A Dzstd_ldm.c25 U64 rolling;
26 U64 stopMask;
54 state->stopMask = (((U64)1 << hashRateLog) - 1) << (maxBitsInMask - hashRateLog); in ZSTD_ldm_gear_init()
57 state->stopMask = ((U64)1 << hashRateLog) - 1; in ZSTD_ldm_gear_init()
69 U64 hash = state->rolling; in ZSTD_ldm_gear_reset()
102 U64 hash, mask; in ZSTD_ldm_gear_feed()
312 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_fillHashTable()
392 U64 const xxhash = xxh64(split, minMatchLength, 0); in ZSTD_ldm_generateSequences_internal()
H A Dzstd_ldm_geartab.h18 static UNUSED_ATTR const U64 ZSTD_ldm_gearTab[256] = {
/linux-6.15/drivers/message/fusion/lsi/
H A Dmpi_cnfg.h726 U64 BaseWWID; /* 04h */
849 U64 UniqueValue; /* 04h */
1338 U64 WWPN; /* 00h */
1357 U64 SASAddress; /* 00h */
1376 U64 EnclosureLogicalID; /* 00h */
1436 U64 ReassignmentBaseWWID; /* 04h */
1715 U64 WWNN; /* 10h */
1716 U64 WWPN; /* 18h */
1721 U64 FabricWWNN; /* 30h */
1722 U64 FabricWWPN; /* 38h */
[all …]
H A Dmpi_type.h66 } U64; typedef
80 typedef U64 *PU64;
H A Dmpi.h367 U64 Address;
377 U64 Address64;
400 U64 Address;
412 U64 Address64;
H A Dmpi_raid.h165 U64 TotalBlocks; /* 00h */
166 U64 BlocksRemaining; /* 08h */
H A Dmpi_sas.h112 U64 SASAddress; /* 10h */
234 U64 SASAddress; /* 14h */
H A Dmpi_ioc.h605 U64 SASAddress; /* 10h */
830 U64 SASAddress; /* 04h */
896 U64 SASAddress; /* 04h */
914 U64 SASAddress; /* 04h */
932 U64 SASAddress; /* 04h */
948 U64 SASAddress; /* 08h */
/linux-6.15/drivers/scsi/mpt3sas/mpi/
H A Dmpi2_cnfg.h1013 U64
1015 U64
1017 U64
1051 U64
2616 U64
2660 U64
2686 U64
2829 U64
2851 U64
2922 U64
[all …]
H A Dmpi2_type.h43 typedef __le64 U64 __attribute__ ((aligned(4))); typedef
54 typedef U64 *PU64;
H A Dmpi2_ioc.h223 U64 SystemRequestFrameBaseAddress; /*0x28 */
225 U64 ReplyFreeQueueAddress; /*0x38 */
226 U64 TimeStamp; /*0x40 */
593 U64 TimeStamp; /*0x00 */
729 U64 SASAddress; /*0x0C */
947 U64 SASAddress; /*0x04 */
962 U64 SASAddress; /*0x04 */
1042 U64 EnclosureLogicalID; /*0x04 */
1069 U64 SASAddress; /*0x0C */
1083 U64 TimeStamp; /*0x00 */
[all …]
H A Dmpi2.h483 U64 Words;
635 U64 Words;
885 U64 Address;
893 U64 Address64;
916 U64 Address;
926 U64 Address64;
1136 U64 Address;
1172 U64 Address;
H A Dmpi2_raid.h222 U64 VolumeMaxLBA; /*0x10 */
277 U64 TotalBlocks; /*0x00 */
278 U64 BlocksRemaining; /*0x08 */
H A Dmpi2_sas.h116 U64 SASAddress; /*0x10 */
247 U64 LookupAddress; /*0x18 */
H A Dmpi2_pci.h64 U64 ErrorResponseBaseAddress; /*0x10 */
/linux-6.15/lib/lz4/
H A Dlz4defs.h55 typedef uint64_t U64; typedef
156 U64 a = get_unaligned((const U64 *)src); in LZ4_copy8()
158 put_unaligned(a, (U64 *)dst); in LZ4_copy8()
/linux-6.15/lib/zstd/decompress/
H A Dzstd_decompress_internal.h77 #define ZSTD_BUILD_FSE_TABLE_WKSP_SIZE (sizeof(S16) * (MaxSeq + 1) + (1u << MaxFSELog) + sizeof(U64
141 U64 processedCSize;
142 U64 decodedSize;
H A Dhuf_decompress.c173 U64 bits[4];
238 args->ip[0] = args->iend[1] - sizeof(U64); in HUF_DecompressFastArgs_init()
239 args->ip[1] = args->iend[2] - sizeof(U64); in HUF_DecompressFastArgs_init()
240 args->ip[2] = args->iend[3] - sizeof(U64); in HUF_DecompressFastArgs_init()
332 static U64 HUF_DEltX1_set4(BYTE symbol, BYTE nbBits) { in HUF_DEltX1_set4()
333 U64 D4; in HUF_DEltX1_set4()
335 D4 = (U64)((symbol << 8) + nbBits); in HUF_DEltX1_set4()
337 D4 = (U64)(symbol + (nbBits << 8)); in HUF_DEltX1_set4()
720 U64 bits[4]; in HUF_decompress4X1_usingDTable_internal_fast_c_loop()
992 return (U64)DElt + ((U64)DElt << 32); in HUF_buildDEltX2U64()
[all …]

12