/darwin-on-arm/xnu/bsd/vm/ |
H A D | vnode_pager.c | 245 vm_object_offset_t f_offset, 287 if ( (error_ret = VNOP_PAGEOUT(vp, upl, upl_offset, (off_t)f_offset, 305 * via 'f_offset' and 'size' into a UPL... this allows the filesystem to first 310 size, (int)f_offset, 0, 0, 0); 312 if ( (error_ret = VNOP_PAGEOUT(vp, NULL, upl_offset, (off_t)f_offset, 327 if (ubc_create_upl(vp, f_offset, size, &upl, &pl, request_flags) != KERN_SUCCESS) { 354 error = nfs_buf_page_inval(vp, (off_t)f_offset); 358 blkno = ubc_offtoblk(vp, (off_t)f_offset); 371 f_offset += PAGE_SIZE; 412 f_offset 242 vnode_pageout(struct vnode *vp, upl_t upl, upl_offset_t upl_offset, vm_object_offset_t f_offset, upl_size_t size, int flags, int *errorp) argument 496 vnode_pagein( struct vnode *vp, upl_t upl, upl_offset_t upl_offset, vm_object_offset_t f_offset, upl_size_t size, int flags, int *errorp) argument [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_cluster.c | 162 static int cluster_io(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int non_rounded_size, 191 static int cluster_read_prefetch(vnode_t vp, off_t f_offset, u_int size, off_t filesize, int (*callback)(buf_t, void *), void *callback_arg, int bflag); 481 cluster_io_present_in_BC(vnode_t vp, off_t f_offset) argument 488 if (VNOP_BLOCKMAP(vp, f_offset, PAGE_SIZE, &blkno, &io_size, NULL, VNODE_READ, NULL)) 911 cluster_io(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int non_rounded_size, argument 979 KERNEL_DEBUG((FSDBG_CODE(DBG_FSRW, 22)) | DBG_FUNC_START, (int)f_offset, size, upl_offset, flags, 0); 1094 if ((error = VNOP_BLOCKMAP(vp, f_offset, io_size, &blkno, &io_size_tmp, NULL, bmap_flags, NULL))) 1106 (int)f_offset, (int)(blkno>>32), (int)blkno, io_size, 0); 1228 if (vnode_pageout(vp, upl, trunc_page(upl_offset), trunc_page_64(f_offset), PAGE_SIZE, pageout_flags, NULL) != PAGER_SUCCESS) { 1231 e_offset = round_page_64(f_offset 1689 cluster_read_prefetch(vnode_t vp, off_t f_offset, u_int size, off_t filesize, int (*callback)(buf_t, void *), void *callback_arg, int bflag) argument 1720 off_t f_offset; local 1796 cluster_pageout(vnode_t vp, upl_t upl, upl_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags) argument 1805 cluster_pageout_ext(vnode_t vp, upl_t upl, upl_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg) argument 1873 cluster_pagein(vnode_t vp, upl_t upl, upl_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags) argument 1881 cluster_pagein_ext(vnode_t vp, upl_t upl, upl_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg) argument 1948 off_t f_offset; local 4815 advisory_read(vnode_t vp, off_t filesize, off_t f_offset, int resid) argument 4821 advisory_read_ext(vnode_t vp, off_t filesize, off_t f_offset, int resid, int (*callback)(buf_t, void *), void *callback_arg, int bflag) argument 5841 off_t f_offset; local [all...] |
H A D | vfs_bio.c | 1091 buf_strategy_fragmented(vnode_t devvp, buf_t bp, off_t f_offset, size_t contig_bytes) argument 1162 f_offset += io_contig_bytes; 1168 if ((error = VNOP_BLOCKMAP(vp, f_offset, io_resid, &io_blkno, &io_contig_bytes, NULL, bmap_flags, NULL))) 1232 off_t f_offset; local 1235 if ((error = VNOP_BLKTOOFF(vp, bp->b_lblkno, &f_offset))) { 1243 if ((error = VNOP_BLOCKMAP(vp, f_offset, bp->b_bcount, &bp->b_blkno, &contig_bytes, NULL, bmap_flags, NULL))) { 1262 return (buf_strategy_fragmented(devvp, bp, f_offset, contig_bytes)); 1285 /* Capture f_offset in the bufattr*/ 1289 off_t f_offset; local 1290 if ((error = VNOP_BLKTOOFF(bp->b_vp, bp->b_lblkno, &f_offset))) 3076 { off_t f_offset; local [all...] |
H A D | kpi_vfs.c | 5812 VNOP_PAGEIN(struct vnode *vp, upl_t pl, upl_offset_t pl_offset, off_t f_offset, size_t size, int flags, vfs_context_t ctx) argument 5825 a.a_f_offset = f_offset; 5867 VNOP_PAGEOUT(struct vnode *vp, upl_t pl, upl_offset_t pl_offset, off_t f_offset, size_t size, int flags, vfs_context_t ctx) argument 5880 a.a_f_offset = f_offset;
|
H A D | vfs_journal.c | 3928 off_t f_offset; local 3931 if (VNOP_BLKTOOFF(vp, lblkno, &f_offset)) { 3936 if (VNOP_BLOCKMAP(vp, f_offset, buf_count(bp), &blkno, &contig_bytes, NULL, 0, NULL)) {
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_symfile.c | 197 off_t f_offset; local 318 f_offset = 0; 319 while (f_offset < ref->filelength) 326 error = VNOP_BLOCKMAP(ref->vp, f_offset, filechunk, &blkno, &filechunk, NULL, 0, NULL); 334 fileblk = f_offset; 335 filechunk = f_offset ? 0 : ref->filelength; 361 f_offset += filechunk;
|
H A D | ubc_subr.c | 85 off_t f_offset, 1742 * f_offset A file offset interior to the page 1766 * ensure that f_offset is in fact on a page boundary, as this 1813 off_t f_offset, 1825 (memory_object_offset_t)f_offset, 1920 * f_offset The start offset into the backing store 1953 off_t f_offset, 2017 kr = memory_object_upl_request(control, f_offset, bufsize, uplp, NULL, NULL, uplflags); 1811 ubc_page_op( struct vnode *vp, off_t f_offset, int ops, ppnum_t *phys_entryp, int *flagsp) argument 1951 ubc_create_upl( struct vnode *vp, off_t f_offset, int bufsize, upl_t *uplp, upl_page_info_t **plp, int uplflags) argument
|
H A D | decmpfs.c | 1068 off_t f_offset = ap->a_f_offset; local 1108 uplPos = f_offset;
|
H A D | kern_descrip.c | 171 #define f_offset f_fglob->fg_offset macro 857 offset = fp->f_offset; 935 offset = fp->f_offset; 1270 file_offset = fp->f_offset;
|
H A D | posix_sem.c | 92 #define f_offset f_fglob->fg_offset macro
|
H A D | posix_shm.c | 92 #define f_offset f_fglob->fg_offset macro
|
H A D | sys_pipe.c | 155 #define f_offset f_fglob->fg_offset macro
|
H A D | uipc_usrreq.c | 104 #define f_offset f_fglob->fg_offset macro
|
H A D | kern_event.c | 447 #define f_offset f_fglob->fg_offset macro
|
H A D | sys_generic.c | 182 #define f_offset f_fglob->fg_offset macro
|
H A D | uipc_syscalls.c | 108 #define f_offset f_fglob->fg_offset macro
|
/darwin-on-arm/xnu/bsd/netat/ |
H A D | sys_dep.c | 68 #define f_offset f_fglob->fg_offset macro
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_vnops.c | 6657 off_t f_offset = ap->a_f_offset; local 6678 FSDBG(322, np, f_offset, size, flags); 6688 if (f_offset < 0 || f_offset >= (off_t)np->n_size || (f_offset & PAGE_MASK_64)) { 6700 uio = uio_createwithbuffer(1, f_offset, UIO_SYSSPACE, UIO_READ, 6722 txoffset = f_offset; 6968 off_t f_offset = ap->a_f_offset; local 6990 FSDBG(323, f_offset, size, pl, pl_offset); 7017 off = f_offset [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_readwrite.c | 3692 off_t f_offset; local 3805 * f_offset is the position into the file, in bytes 3813 f_offset = ap->a_f_offset; 3825 f_offset += PAGE_SIZE; 3867 ap->a_f_offset = f_offset; 3929 error = cluster_pagein(vp, upl, offset, f_offset, xsize, (off_t)fp->ff_size, ap->a_flags); 3966 f_offset += xsize; 4094 off_t f_offset; local 4102 f_offset = ap->a_f_offset; 4140 f_offset [all...] |
/darwin-on-arm/xnu/osfmk/default_pager/ |
H A D | dp_backing_store.c | 4351 vm_object_offset_t f_offset; local 4359 f_offset = (vm_object_offset_t)(ps->ps_offset + offset); 4365 error = vnode_pagein(ps->ps_vnode, upl, upl_offset, f_offset, (upl_size_t)size, flags, NULL); 4392 vm_object_offset_t f_offset; local 4398 f_offset = (vm_object_offset_t)(ps->ps_offset + offset); 4409 if (vnode_pageout(ps->ps_vnode, upl, upl_offset, f_offset, (upl_size_t)size, flags, NULL))
|