Searched refs:off_t (Results 1 - 25 of 104) sorted by relevance

12345

/darwin-on-arm/xnu/bsd/sys/_types/
H A D_off_t.h30 typedef __darwin_off_t off_t; typedef
/darwin-on-arm/xnu/bsd/sys/
H A Dubc.h52 off_t ubc_blktooff(struct vnode *, daddr64_t);
53 daddr64_t ubc_offtoblk(struct vnode *, off_t);
54 off_t ubc_getsize(struct vnode *);
55 int ubc_setsize(struct vnode *, off_t);
61 int ubc_sync_range(vnode_t, off_t, off_t, int);
62 errno_t ubc_msync(vnode_t, off_t, off_t, off_t *, int);
64 int ubc_page_op(vnode_t, off_t, in
[all...]
H A Dubc_internal.h90 off_t cl_last_write; /* offset of the end of the last write */
91 off_t cl_seq_written; /* sequentially written bytes */
103 off_t csb_base_offset; /* Offset of Mach-O binary in fat binary */
104 off_t csb_start_offset; /* Blob coverage area start, from csb_base_offset */
105 off_t csb_end_offset; /* Blob coverage area end, from csb_base_offset */
123 off_t ui_size; /* file size for the vnode */
174 int ubc_info_init_withsize(vnode_t, off_t);
180 int ubc_getcdhash(vnode_t, off_t, unsigned char *);
188 int ubc_cs_blob_add(vnode_t, cpu_type_t, off_t, vm_address_t, vm_size_t);
190 int ubc_cs_getcdhash(vnode_t, off_t, unsigne
[all...]
H A Dlockf.h90 off_t lf_start; /* Byte # of the start of the lock */
91 off_t lf_end; /* Byte # of the end of the lock (-1=EOF) */
H A Dfcntl.h96 typedef __darwin_off_t off_t; typedef
413 off_t l_start; /* starting offset */
414 off_t l_len; /* len = 0 means until end of file */
431 off_t ra_offset;
446 off_t fs_file_start;
457 off_t fs_file_start;
463 off_t fs_file_start; /* offset of Mach-O image in FAT file */
482 off_t fst_offset; /* IN: start of the region */
483 off_t fst_length; /* IN: size of the region */
484 off_t fst_bytesallo
[all...]
H A Daio.h48 * In our case, this is limited to struct timespec, off_t and ssize_t.
58 typedef __darwin_off_t off_t; typedef
85 off_t aio_offset; /* File offset */
97 off_t aio_offset; /* File offset */
117 off_t aio_offset; /* File offset */
H A Duio.h147 off_t a_offset, /* current offset */
159 off_t a_offset, /* current offset */
219 off_t uio_offset( uio_t a_uio );
224 void uio_setoffset( uio_t a_uio, off_t a_offset );
H A Dmman.h85 * [various] The mode_t, off_t, and size_t types shall be defined as
94 typedef __darwin_off_t off_t; typedef
209 void * mmap(void *, size_t, int, int, int, off_t) __DARWIN_ALIAS(mmap);
244 struct fileproc *fp, off_t pageoff);
250 int pshm_truncate(struct proc *p, struct fileproc *fp, int fd, off_t length, int32_t *retval);
H A Dposix_shm.h58 off_t pshm_length;
H A Dfile.h99 off_t offset, int io_flg, int64_t *aresid);
H A Dvstat.h71 off_t vst_filesize; /* file size, in bytes */
/darwin-on-arm/xnu/bsd/hfs/
H A Drangelist.h47 #define RL_INFINITY ((off_t)-1)
53 off_t rl_start;
54 off_t rl_end;
59 void rl_add(off_t start, off_t end, struct rl_head *rangelist);
60 void rl_remove(off_t start, off_t end, struct rl_head *rangelist);
62 off_t start,
63 off_t end,
H A Drangelist.c38 static enum rl_overlaptype rl_scan_from(struct rl_head *rangelist, off_t start, off_t end, struct rl_entry **overlap, struct rl_entry *range);
49 off_t limit = 0;
76 rl_add(off_t start, off_t end, struct rl_head *rangelist)
170 rl_remove(off_t start, off_t end, struct rl_head *rangelist)
259 off_t start,
260 off_t end,
282 off_t star
[all...]
H A Dhfs_attrlist.c842 off_t datasize = datafork->cf_size;
843 off_t totalsize = datasize + rsrcfork->cf_size;
863 *((off_t *)attrbufptr) = totalsize;
864 attrbufptr = ((off_t *)attrbufptr) + 1;
867 *((off_t *)attrbufptr) =
868 (off_t)cattrp->ca_blocks * (off_t)allocblksize;
869 attrbufptr = ((off_t *)attrbufptr) + 1;
888 *((off_t *)attrbufptr) = datasize;
889 attrbufptr = ((off_t *)attrbufpt
[all...]
H A Dhfs_readwrite.c91 static int do_hfs_truncate(struct vnode *vp, off_t length, int flags, int skip, vfs_context_t context);
118 off_t filesize;
119 off_t filebytes;
120 off_t start_resid = uio_resid(uio);
121 off_t offset = uio_offset(uio);
203 filebytes = (off_t)fp->ff_blocks * (off_t)hfsmp->blockSize;
206 (offset > (off_t)MAXHFSFILESIZE)) {
227 off_t bytesread;
277 off_t origFileSiz
[all...]
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_journal.h57 off_t bnum; // block # on the file system device
95 off_t journal_start; // where in the journal this transaction starts
96 off_t journal_end; // where in the journal this transaction ends
112 volatile off_t start; // zero-based byte offset of the start of the first transaction
113 volatile off_t end; // zero-based byte offset of where free space begins
114 off_t size; // size in bytes of the entire journal
145 off_t jdev_offset; // byte offset to the start of the journal
172 off_t max_read_size;
173 off_t max_write_size;
183 volatile off_t active_star
[all...]
/darwin-on-arm/xnu/bsd/dev/vn/
H A Dshadow.h51 shadow_map_create(off_t file_size, off_t shadow_size,
H A Dvn.c249 enum uio_rw op, char * base, off_t offset, user_ssize_t count,
270 static __inline__ off_t
271 block_round(off_t o, int blocksize)
276 static __inline__ off_t
277 block_truncate(off_t o, int blocksize)
283 block_remainder(off_t o, int blocksize)
294 off_t offset;
296 off_t orig_offset;
306 off_t this_offset;
323 this_offset = (off_t)this_block_numbe
[all...]
/darwin-on-arm/xnu/libsyscall/wrappers/unix03/
H A Dmmap.c32 void *__mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off);
41 mmap(void *addr, size_t len, int prot, int flags, int fildes, off_t off)
/darwin-on-arm/xnu/bsd/kern/
H A Dmach_fat.c80 off_t end_of_archs;
85 off_t filesize;
100 end_of_archs = (off_t)nfat_arch * sizeof(struct fat_arch) +
114 end_of_archs < (off_t)(sizeof(struct fat_header)+sizeof(struct fat_arch)))
/darwin-on-arm/xnu/osfmk/libsa/
H A Dtypes.h73 #if 0 /* off_t should be 64-bit ! */
74 typedef unsigned int off_t; /* another unsigned 32 */
/darwin-on-arm/xnu/osfmk/sys/
H A Dtypes.h134 #if 0 /* off_t should be 64-bit ! */
135 typedef unsigned int off_t; /* another unsigned 32 */
/darwin-on-arm/xnu/bsd/nfs/
H A Dnfs_lock.h120 off_t la_start; /* lock starting offset */
121 off_t la_len; /* lock length */
/darwin-on-arm/xnu/bsd/dev/arm/
H A Dmem.c90 extern boolean_t kernacc(off_t, size_t);
169 if (uio->uio_offset >= (off_t) mem_size)
238 boolean_t kernacc(off_t start, size_t len)
240 off_t base;
241 off_t end;
/darwin-on-arm/xnu/bsd/dev/i386/
H A Dmem.c90 extern boolean_t kernacc(off_t, size_t );
169 if (uio->uio_offset >= (off_t)mem_size)
237 off_t start,
241 off_t base;
242 off_t end;

Completed in 119 milliseconds

12345