Home
last modified time | relevance | path

Searched refs:int64_t (Results 1 – 25 of 56) sorted by relevance

123

/haiku/headers/private/fs_shell/
H A Dfssh_atomic.h27 void fssh_atomic_set64(int64_t* value, int64_t newValue);
28 int64_t fssh_atomic_get_and_set64(int64_t* value, int64_t newValue);
29 int64_t fssh_atomic_test_and_set64(int64_t *value, int64_t newValue,
30 int64_t testAgainst);
31 int64_t fssh_atomic_add64(int64_t *value, int64_t addValue);
32 int64_t fssh_atomic_and64(int64_t *value, int64_t andValue);
33 int64_t fssh_atomic_or64(int64_t *value, int64_t orValue);
34 int64_t fssh_atomic_get64(int64_t *value);
H A Dfssh_types.h13 typedef volatile int64_t vint64_t;
20 typedef int64_t fssh_ssize_t;
32 typedef int64_t fssh_ino_t;
34 typedef int64_t fssh_off_t;
36 typedef int64_t fssh_bigtime_t;
H A Dfssh_time.h15 typedef int64_t fssh_time_t;
/haiku/src/tools/fs_shell/
H A Datomic.cpp63 fssh_atomic_set64(int64_t *value, int64_t newValue) in fssh_atomic_set64()
69 int64_t
70 fssh_atomic_get_and_set64(int64_t* value, int64_t newValue) in fssh_atomic_get_and_set64()
76 int64_t
77 fssh_atomic_test_and_set64(int64_t *value, int64_t newValue, int64_t testAgainst) in fssh_atomic_test_and_set64()
83 int64_t
84 fssh_atomic_add64(int64_t *value, int64_t addValue) in fssh_atomic_add64()
90 int64_t
91 fssh_atomic_and64(int64_t *value, int64_t andValue) in fssh_atomic_and64()
97 int64_t
[all …]
/haiku/src/system/libroot/os/arch/generic/
H A Dgeneric_atomic.cpp69 atomic_set64(int64_t* ptr, int64_t value) in atomic_set64()
71 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); in atomic_set64()
76 extern "C" [[gnu::optimize("omit-frame-pointer")]] int64_t
77 atomic_get_and_set64(int64_t* ptr, int64_t value) in atomic_get_and_set64()
79 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); in atomic_get_and_set64()
84 extern "C" [[gnu::optimize("omit-frame-pointer")]] int64_t
85 atomic_test_and_set64(int64_t* ptr, int64_t desired, int64_t expected) in atomic_test_and_set64()
87 auto& obj = *reinterpret_cast<std::atomic<int64_t>*>(ptr); in atomic_test_and_set64()
93 extern "C" [[gnu::optimize("omit-frame-pointer")]] int64_t
94 atomic_add64(int64_t* ptr, int64_t value) in atomic_add64()
[all …]
/haiku/src/add-ons/kernel/file_systems/ufs2/
H A DInode.h28 int64_t size;
29 int64_t inodeBlocks;
44 int64_t extendedBklPtr1;
45 int64_t extendedBklPtr2;
49 int64_t directBlockPointer[12];
50 int64_t indirectBlockPointer;
51 int64_t doubleIndriectBlockPointer;
52 int64_t tripleIndriectBlockPointer;
57 int64_t unused1;
58 int64_t unused2;
[all …]
H A Dufs2.h193 int64_t value; /* inode or block number to be affected */
194 int64_t size; /* amount or range to be adjusted */
195 int64_t spare; /* reserved for future use */
223 int64_t cs_ndir; /* number of directories */
224 int64_t cs_nbfree; /* number of free blocks */
225 int64_t cs_nifree; /* number of free inodes */
226 int64_t cs_nffree; /* number of free frags */
227 int64_t cs_numclusters; /* number of free clusters */
228 int64_t cs_spare[3]; /* future expansion */
308 int64_t fs_unrefs; /* number of unreferenced inodes */
[all …]
H A DInode.cpp31 int64_t fs_block = ino_to_fsba(superblock, id); in Inode()
32 int64_t offset_in_block = ino_to_fsbo(superblock, id); in Inode()
33 int64_t offset = fs_block * superblock->fs_fsize + offset_in_block * sizeof(fNode); in Inode()
102 int64_t size = Size(); in ReadAt()
111 if ((int64_t) *_length > size - file_offset) in ReadAt()
118 if (remainingLength > (int64_t) *_length - length) in ReadAt()
144 int64_t directBlock; in FindBlock()
173 int64_t indirectPointer; in FindBlock()
200 int64_t indirectPointer; in FindBlock()
H A DDirectoryIterator.h50 ino_t* _id, int64_t* offset);
/haiku/src/system/libroot/os/arch/x86_64/
H A Dsystem_time.cpp18 static int64_t
27 static int64_t
36 static int64_t
45 static int64_t
54 static int64_t (*sSystemTime)(void) = __system_time_lfence;
55 static int64_t (*sSystemTimeNsecs)(void) = __system_time_nsecs_lfence;
80 extern "C" int64_t
88 extern "C" int64_t
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dnvme_atomic.h135 nvme_atomic64_set(nvme_atomic64_t *v, int64_t new_value) in nvme_atomic64_set()
142 nvme_atomic64_add(nvme_atomic64_t *v, int64_t inc) in nvme_atomic64_add()
149 nvme_atomic64_sub(nvme_atomic64_t *v, int64_t dec) in nvme_atomic64_sub()
170 nvme_atomic64_add_return(nvme_atomic64_t *v, int64_t inc) in nvme_atomic64_add_return()
176 static inline int64_t
177 nvme_atomic64_sub_return(nvme_atomic64_t *v, int64_t dec) in nvme_atomic64_sub_return()
/haiku/headers/posix/
H A Dstdint.h22 typedef __haiku_std_int64 int64_t; typedef
35 typedef int64_t int_least64_t;
48 typedef int64_t int_fast64_t;
56 typedef int64_t intmax_t;
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dcounter.h43 counter_u64_add(counter_u64_t c, int64_t v) in counter_u64_add()
78 counter_u64_add_protected(counter_u64_t c, int64_t v) in counter_u64_add_protected()
/haiku/src/tools/mbrtool/
H A Dmbrtool.cpp135 int64_t partStartOffset = -1; in main()
136 int64_t partLength = -1; in main()
176 partStartOffset = (int64_t)strtol(argv[index], NULL, 10); in main()
179 partLength = (int64_t)strtol(argv[index], NULL, 10); in main()
/haiku/src/system/kernel/arch/arm64/
H A DVMSAv8TranslationMap.cpp409 uint64_t loadedPte = atomic_test_and_set64((int64_t*)ptePtr, 0, oldPte); in AttemptPteBreakBeforeMake()
624 uint64_t oldPte = atomic_get_and_set64((int64_t*)ptePtr, 0); in Unmap()
646 oldPte = atomic_get_and_set64((int64_t*)ptePtr, 0); in UnmapPage()
676 uint64_t oldPte = atomic_get_and_set64((int64_t*)ptePtr, 0); in UnmapPages()
790 oldPte = atomic_get_and_set64((int64_t*)ptePtr, 0); in UnmapArea()
866 uint64_t pte = atomic_get64((int64_t*)ptePtr); in Query()
921 uint64_t oldPte = atomic_get64((int64_t*)ptePtr); in Protect()
942 atomic_set64((int64_t*)ptePtr, newPte); in Protect()
949 if ((uint64_t)atomic_test_and_set64((int64_t*)ptePtr, newPte, oldPte) == oldPte) { in Protect()
980 uint64_t oldPte = atomic_get64((int64_t*)ptePtr); in ClearFlags()
[all …]
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DUtilities.h28 int64_t pts;
29 int64_t dts;
32 int64_t duration;
33 int64_t pos;
H A DAVFormatReader.cpp165 int64_t _ConvertToStreamTimeBase(bigtime_t time) const;
166 bigtime_t _ConvertFromStreamTimeBase(int64_t time) const;
445 int64_t time = fStream->duration; in Duration()
481 int64_t timeStamp = *time; in Seek()
491 int64_t fileSize; in Seek()
496 int64_t duration = Duration(); in Seek()
500 timeStamp = int64_t(fileSize * ((double)timeStamp / duration)); in Seek()
510 int64_t closestTimeStampBackwards = -1; in Seek()
541 int64_t diff = int64_t(fileSize in Seek()
557 int64_t diff = int64_t(fileSize in Seek()
[all …]
/haiku/src/kits/tracker/
H A DThumbnails.cpp227 int64_t created = real_time_clock(); in Execute()
229 0, &created, sizeof(int64_t)); in Execute()
350 int64_t thumbnailCreated; in GetThumbnailFromAttr()
353 &thumbnailCreated, sizeof(int64_t)) == sizeof(int64_t)) { in GetThumbnailFromAttr()
/haiku/headers/private/kernel/arch/sparc/
H A Darch_mmu.h18 void SetTo(int64_t tag, void* physicalAddress, uint64 mode);
/haiku/src/system/libroot/os/arch/sparc/
H A Dfpu_explode.c144 if (fp->fp_sign && (int64_t)i < 0)
145 *((int64_t *)fp->fp_mant) = -i;
147 *((int64_t *)fp->fp_mant) = i;
/haiku/headers/libs/x86emu/x86emu/
H A Dtypes.h73 typedef int64_t s64;
/haiku/src/libs/compat/freebsd_iflib/
H A Dnvpair_impl.h73 int64_t *fdidxp, size_t *leftp);
84 unsigned char *ptr, int64_t *fdidxp, size_t *leftp);
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dtypes.h45 typedef int64_t s64;
/haiku/headers/compatibility/bsd/sys/
H A Devent.h81 int64_t data; /* filter data value */
/haiku/headers/build/config/
H A Dtypes.h27 typedef int64_t __haiku_std_int64;

123