Searched refs:s64 (Results 1 - 25 of 53) sorted by relevance

123

/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dcompress.h29 extern s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count,
32 extern s64 ntfs_compressed_pwrite(ntfs_attr *na, runlist_element *brl, s64 wpos,
33 s64 offs, s64 to_write, s64 rounded,
38 s64 offs, VCN *update_from);
H A Ddevice.h106 s64 (*seek)(struct ntfs_device *dev, s64 offset, int whence);
107 s64 (*read)(struct ntfs_device *dev, void *buf, s64 count);
108 s64 (*write)(struct ntfs_device *dev, const void *buf, s64 count);
109 s64 (*pread)(struct ntfs_device *dev, void *buf, s64 count, s64 offset);
110 s64 (*pwrit
[all...]
H A Dlcnalloc.h41 extern runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
45 extern int ntfs_cluster_free_basic(ntfs_volume *vol, s64 lcn, s64 count);
48 s64 count);
H A Drunlist.h49 s64 length; /* Run length in clusters. */
57 extern s64 ntfs_rl_pread(const ntfs_volume *vol, const runlist_element *rl,
58 const s64 pos, s64 count, void *b);
59 extern s64 ntfs_rl_pwrite(const ntfs_volume *vol, const runlist_element *rl,
60 s64 ofs, const s64 pos, s64 count, void *b);
68 extern int ntfs_get_nr_significant_bytes(const s64 n);
74 const s64
[all...]
H A Dbitmap.h42 extern int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count);
43 extern int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count);
54 static __inline__ int ntfs_bitmap_set_bit(ntfs_attr *na, s64 bit)
68 static __inline__ int ntfs_bitmap_clear_bit(ntfs_attr *na, s64 bit)
H A Dattrib.h193 s64 allocated_size;
194 s64 data_size;
195 s64 initialized_size;
196 s64 compressed_size;
289 const s64 allocated_size, const s64 data_size,
290 const s64 initialized_size, const s64 compressed_size,
299 extern s64 ntfs_attr_pread(ntfs_attr *na, const s64 po
[all...]
H A Dntfstime.h57 #define NTFS_TIME_OFFSET ((s64)(369 * 365 + 89) * 24 * 3600 * 10000000)
71 s64 cputime;
76 - (s64)spec.tv_sec*10000000)*100;
101 s64 units;
103 units = (s64)spec.tv_sec * 10000000
H A Ddevice_io.h74 int ntfs_win32_ftruncate(int fd, s64 size);
75 int ntfs_device_win32_ftruncate(struct ntfs_device*, s64);
H A Dtypes.h45 typedef int64_t s64; typedef
74 typedef s64 VCN;
76 typedef s64 LCN;
84 typedef s64 LSN;
H A Ddevice.c208 s64 ntfs_pread(struct ntfs_device *dev, const s64 pos, s64 count, void *b)
210 s64 br, total;
258 s64 ntfs_pwrite(struct ntfs_device *dev, const s64 pos, s64 count,
261 s64 written, total, ret = -1;
332 s64 ntfs_mst_pread(struct ntfs_device *dev, const s64 po
[all...]
H A Dunix_io.c244 static s64 ntfs_device_unix_io_seek(struct ntfs_device *dev, s64 offset,
260 static s64 ntfs_device_unix_io_read(struct ntfs_device *dev, void *buf,
261 s64 count)
276 static s64 ntfs_device_unix_io_write(struct ntfs_device *dev, const void *buf,
277 s64 count)
298 static s64 ntfs_device_unix_io_pread(struct ntfs_device *dev, void *buf,
299 s64 count, s64 offset)
315 static s64 ntfs_device_unix_io_pwrit
[all...]
H A Dbitmap.c115 static int ntfs_bitmap_set_bits_in_run(ntfs_attr *na, s64 start_bit,
116 s64 count, int value)
118 s64 bufsize, br;
268 int ntfs_bitmap_set_run(ntfs_attr *na, s64 start_bit, s64 count)
290 int ntfs_bitmap_clear_run(ntfs_attr *na, s64 start_bit, s64 count)
H A Dendians.h205 #define sle64_to_cpu(x) (s64)__le64_to_cpu((s64)(x))
209 #define sle64_to_cpup(x) (s64)__le64_to_cpu(*(s64*)(x))
225 #define cpu_to_sle64(x) (s64)__cpu_to_le64((s64)(x))
229 #define cpu_to_sle64p(x) (s64)__cpu_to_le64(*(s64*)(x))
245 #define sbe64_to_cpu(x) (s64)__be64_to_cpu((s64)(
[all...]
H A Defs.c74 s64 attr_size = 0;
83 if (attr_size <= (s64)size) {
253 (u8*)NULL,(s64)size);
270 res = ntfs_attr_truncate(na, (s64)size);
274 (s64)0, (s64)size, value);
275 if (written != (s64)size) {
319 s64 newsize;
320 s64 oldsize;
H A Dwin32_io.c283 s64 pos; /* Logical current position on the volume. */
284 s64 part_start;
285 s64 part_length;
287 s64 geo_size, geo_cylinders;
289 s64 volume_size;
595 static s64 ntfs_device_win32_getsize(HANDLE handle)
608 return ((s64)hiword << 32) + (ULONG)loword;
621 static s64 ntfs_device_win32_getdisklength(HANDLE handle)
651 static s64 ntfs_device_win32_getntfssize(HANDLE handle)
653 s64 rv
[all...]
H A Dmft.h33 const s64 count, MFT_RECORD *b);
68 const s64 count, MFT_RECORD *b);
H A Dlcnalloc.c116 static s64 max_empty_bit_range(unsigned char *buf, int size)
120 s64 start_pos = -1;
137 start_pos = (s64)i * 8 - run;
153 start_pos = (s64)i * 8 + (j - run);
166 start_pos = (s64)i * 8 - run;
171 static int bitmap_writeback(ntfs_volume *vol, s64 pos, s64 size, void *b,
174 s64 written;
235 runlist *ntfs_cluster_alloc(ntfs_volume *vol, VCN start_vcn, s64 count,
242 s64 cluster
[all...]
H A Dcompress.c709 s64 ntfs_compressed_attr_pread(ntfs_attr *na, s64 pos, s64 count, void *b)
711 s64 br, to_read, ofs, total, total2;
832 s64 tdata_size, tinitialized_size;
888 s64 tdata_size, tinitialized_size;
982 s64 offs, u32 to_read, char *inbuf)
987 s64 xpos;
1024 s64 offs, s32 to_write, const char *outbuf)
1028 s64 xpo
[all...]
H A Dobject_id.c276 s64 size;
283 if (size >= (s64)sizeof(GUID)) {
343 res = ntfs_attr_truncate(na, (s64)sizeof(GUID));
347 (s64)0, (s64)sizeof(GUID),
349 if (written != (s64)sizeof(GUID)) {
401 AT_UNNAMED, 0, &dummy, (s64)0);
469 s64 attr_size;
487 if (full_size <= (s64)size) {
H A Dea.c90 AT_UNNAMED,0,&dummy,(s64)size);
119 s64 written;
164 != (s64)sizeof(EA_INFORMATION)) {
167 if (((na->data_size > (s64)size)
170 != (s64)size)) {
202 s64 ea_size;
210 if (value && (ea_size <= (s64)size))
246 s64 old_ea_size;
351 s64 old_ea_size;
H A Drunlist.c308 s64 merged_length;
694 drl[ds].length = (s64)0;
788 s64 deltaxcn; /* Change in [vl]cn. */
866 deltaxcn = (s64)-1;
995 rl[rlpos].length = (s64)0;
1113 s64 ntfs_rl_pread(const ntfs_volume *vol, const runlist_element *rl,
1114 const s64 pos, s64 count, void *b)
1116 s64 bytes_read, to_read, ofs, total;
1164 if (bytes_read == (s64)
[all...]
/haiku/headers/libs/x86emu/x86emu/
H A Dtypes.h57 #define s64 x86emus64 macro
73 typedef int64_t s64; typedef
/haiku/src/add-ons/kernel/file_systems/ntfs/
H A Dntfs.h54 s64 size;
67 s64 last_size = 0;
/haiku/src/servers/app/drawing/
H A Ddrawing_support.h23 uint64 s64 = ((uint64)color << 32) | color; local
25 *(uint64*)dst = s64;
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.h45 int utils_parse_size(const char *value, s64 *size, BOOL scale);
46 int utils_parse_range(const char *string, s64 *start, s64 *finish, BOOL scale);

Completed in 187 milliseconds

123