Home
last modified time | relevance | path

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

12

/linux/lib/zstd/common/
H A Dmem.h40 typedef uint64_t U64; typedef
54 MEM_STATIC U64 MEM_read64(const void* memPtr);
59 MEM_STATIC void MEM_write64(void* memPtr, U64 value);
65 MEM_STATIC U64 MEM_readLE64(const void* memPtr);
71 MEM_STATIC void MEM_writeLE64(void* memPtr, U64 val64);
76 MEM_STATIC U64 MEM_readBE64(const void* memPtr);
80 MEM_STATIC void MEM_writeBE64(void* memPtr, U64 val64);
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()
[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/tools/testing/selftests/bpf/prog_tests/
H A Dreg_bounds.c65 enum num_t { U64, first_t = U64, U32, S64, S32, last_t = S32 }; enumerator
70 case U64: return (u64)x < (u64)y ? (u64)x : (u64)y; in min_t()
81 case U64: return (u64)x > (u64)y ? (u64)x : (u64)y; in max_t()
92 case U64: return (u64)x; in cast_t()
103 case U64: return "u64"; in t_str()
114 case U64: return false; in t_is_32()
125 case U64: return S64; in t_signed()
136 case U64: return U64; in t_unsigned()
[all...]
/linux/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.h285U64 hashSalt; /* For row-based matchFinder: salts the hash for reuse of…
900 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()
903 static size_t ZSTD_hash5PtrS(const void* p, U32 h, U64 s) { return ZSTD_hash5(MEM_readLE64(p), h, s… in ZSTD_hash5PtrS()
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()
908 static size_t ZSTD_hash6PtrS(const void* p, U32 h, U64 s) { return ZSTD_hash6(MEM_readLE64(p), h, s… in ZSTD_hash6PtrS()
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()
913 static size_t ZSTD_hash7PtrS(const void* p, U32 h, U64 s) { return ZSTD_hash7(MEM_readLE64(p), h, s… in ZSTD_hash7PtrS()
[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] = {
H A Dzstd_compress.c1375 static U32 ZSTD_dictAndWindowLog(U32 windowLog, U64 srcSize, U64 dictSize) in ZSTD_dictAndWindowLog()
1377 const U64 maxWindowSize = 1ULL << ZSTD_WINDOWLOG_MAX; in ZSTD_dictAndWindowLog()
1385 U64 const windowSize = 1ULL << windowLog; in ZSTD_dictAndWindowLog()
1386 U64 const dictAndWindowSize = dictSize + windowSize; in ZSTD_dictAndWindowLog()
1415 const U64 minSrcSize = 513; /* (1<<9) + 1 */ in ZSTD_adjustCParams_internal()
1416 const U64 maxWindowResize = 1ULL << (ZSTD_WINDOWLOG_MAX-1); in ZSTD_adjustCParams_internal()
1498 … U32 const dictAndWindowLog = ZSTD_dictAndWindowLog(cPar.windowLog, (U64)srcSize, (U64)dictSize); in ZSTD_adjustCParams_internal()
1574 … const ZSTD_CCtx_params* CCtxParams, U64 srcSizeHint, size_t dictSize, ZSTD_CParamMode_e mode) in ZSTD_getCParamsFromCCtxParams()
1579 srcSizeHint = (U64)CCtxParams->srcSizeHint; in ZSTD_getCParamsFromCCtxParams()
1645 const U64 pledgedSrcSize, in ZSTD_estimateCCtxSize_usingCCtxParams_internal()
[all …]
/linux/drivers/message/fusion/lsi/
H A Dmpi_cnfg.h726 U64 BaseWWID; /* 04h */
732 U64 ForceWWID[MPI_MANPAGE5_NUM_FORCEWWID]; /* 18h */
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 */
[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/drivers/scsi/mpt3sas/mpi/
H A Dmpi2_cnfg.h766 U64 WWID; /*0x00 */
767 U64 DeviceName; /*0x08 */
932 U64 UniqueValue; /*0x04 */
1013 U64
1015 U64
1017 U64
1051 U64
1615 U64 SASAddress; /*0x00 */
1625 U64 EnclosureLogicalID; /*0x00 */
1637 U64 DeviceName; /*0x00 */
[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 */
224 U64 ReplyDescriptorPostQueueAddress; /*0x30 */
225 U64 ReplyFreeQueueAddress; /*0x38 */
226 U64 TimeStamp; /*0x40 */
263 U64 RDPQBaseAddress; /* 0x00 */
593 U64 TimeStamp; /*0x00 */
729 U64 SASAddress; /*0x0C */
947 U64 SASAddress; /*0x04 */
962 U64 SASAddress; /*0x04 */
1042 U64 EnclosureLogicalID; /*0x04 */
[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/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()
241 args->ip[3] = (BYTE const*)src + srcSize - 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()
484 U64 const D4 = HUF_DEltX1_set4(wksp->symbols[symbol + s], nbBits); in HUF_readDTableX1_wksp()
[all …]

12