/xnu-2422.115.4/bsd/vm/ |
H A D | vnode_pager.c | 261 vm_object_offset_t f_offset, 303 if ( (error_ret = VNOP_PAGEOUT(vp, upl, upl_offset, (off_t)f_offset, 321 * via 'f_offset' and 'size' into a UPL... this allows the filesystem to first 326 size, (int)f_offset, 0, 0, 0); 328 if ( (error_ret = VNOP_PAGEOUT(vp, NULL, upl_offset, (off_t)f_offset, 343 if (ubc_create_upl(vp, f_offset, size, &upl, &pl, request_flags) != KERN_SUCCESS) { 370 error = nfs_buf_page_inval(vp, (off_t)f_offset); 374 blkno = ubc_offtoblk(vp, (off_t)f_offset); 387 f_offset += PAGE_SIZE; 428 f_offset 258 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 512 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...] |
/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_compressor_backing_store.c | 88 static void vm_swap_free_now(struct swapfile *swf, uint64_t f_offset); 129 vm_swapfile_for_handle(uint64_t f_offset) argument 136 file_offset = (f_offset & SWAP_SLOT_MASK); 137 swapfile_index = (f_offset >> SWAP_DEVICE_SHIFT); 224 uint64_t f_offset = 0; local 288 vm_swap_put(addr, &f_offset, PAGE_SIZE_64, c_seg); 289 c_seg->c_store.c_swap_handle = f_offset; 300 //vm_swap_free(f_offset); 301 vm_swap_get(dup_addr, f_offset, PAGE_SIZE_64); 704 uint64_t f_offset local 972 vm_swap_get(vm_offset_t addr, uint64_t f_offset, uint64_t size) argument 1033 vm_swap_put(vm_offset_t addr, uint64_t *f_offset, uint64_t size, c_segment_t c_seg) argument 1163 vm_swap_free_now(struct swapfile *swf, uint64_t f_offset) argument 1205 vm_swap_free(uint64_t f_offset) argument 1339 uint64_t f_offset = 0; local [all...] |
H A D | vm_compressor.c | 2214 uint64_t f_offset; local 2221 f_offset = c_seg->c_store.c_swap_handle; 2235 if (vm_swap_get(addr, f_offset, io_size) != KERN_SUCCESS) {
|
/xnu-2422.115.4/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); 462 cluster_io_present_in_BC(vnode_t vp, off_t f_offset) argument 469 if (VNOP_BLOCKMAP(vp, f_offset, PAGE_SIZE, &blkno, &io_size, NULL, VNODE_READ, NULL)) 883 cluster_io(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int non_rounded_size, argument 951 KERNEL_DEBUG((FSDBG_CODE(DBG_FSRW, 22)) | DBG_FUNC_START, (int)f_offset, size, upl_offset, flags, 0); 1066 if ((error = VNOP_BLOCKMAP(vp, f_offset, io_size, &blkno, &io_size_tmp, NULL, bmap_flags, NULL))) 1078 (int)f_offset, (int)(blkno>>32), (int)blkno, io_size, 0); 1200 if (vnode_pageout(vp, upl, trunc_page(upl_offset), trunc_page_64(f_offset), PAGE_SIZE, pageout_flags, NULL) != PAGER_SUCCESS) { 1203 e_offset = round_page_64(f_offset 1661 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 1692 off_t f_offset; local 1768 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 1777 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 1845 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 1853 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 1920 off_t f_offset; local 4793 advisory_read(vnode_t vp, off_t filesize, off_t f_offset, int resid) argument 4799 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 5814 off_t f_offset; local [all...] |
H A D | vfs_bio.c | 1107 buf_strategy_fragmented(vnode_t devvp, buf_t bp, off_t f_offset, size_t contig_bytes) argument 1178 f_offset += io_contig_bytes; 1184 if ((error = VNOP_BLOCKMAP(vp, f_offset, io_resid, &io_blkno, &io_contig_bytes, NULL, bmap_flags, NULL))) 1248 off_t f_offset; local 1251 if ((error = VNOP_BLKTOOFF(vp, bp->b_lblkno, &f_offset))) { 1259 if ((error = VNOP_BLOCKMAP(vp, f_offset, bp->b_bcount, &bp->b_blkno, &contig_bytes, NULL, bmap_flags, NULL))) { 1278 return (buf_strategy_fragmented(devvp, bp, f_offset, contig_bytes)); 1301 /* Capture f_offset in the bufattr*/ 1305 off_t f_offset; local 1306 if ((error = VNOP_BLKTOOFF(bp->b_vp, bp->b_lblkno, &f_offset))) 3100 { off_t f_offset; local [all...] |
H A D | kpi_vfs.c | 4898 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 4907 a.a_f_offset = f_offset; 4937 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 4946 a.a_f_offset = f_offset;
|
H A D | vfs_journal.c | 4034 off_t f_offset; local 4037 if (VNOP_BLKTOOFF(vp, lblkno, &f_offset)) { 4042 if (VNOP_BLOCKMAP(vp, f_offset, buf_count(bp), &blkno, &contig_bytes, NULL, 0, NULL)) {
|
/xnu-2422.115.4/bsd/kern/ |
H A D | kern_symfile.c | 197 off_t f_offset; local 345 f_offset = 0; 346 while (f_offset < ref->filelength) 353 error = VNOP_BLOCKMAP(ref->vp, f_offset, filechunk, &blkno, &filechunk, NULL, 0, NULL); 361 fileblk = f_offset; 362 filechunk = f_offset ? 0 : ref->filelength; 396 f_offset += filechunk;
|
H A D | ubc_subr.c | 90 off_t f_offset, 1971 * f_offset A file offset interior to the page 1995 * ensure that f_offset is in fact on a page boundary, as this 2042 off_t f_offset, 2054 (memory_object_offset_t)f_offset, 2149 * f_offset The start offset into the backing store 2182 off_t f_offset, 2246 kr = memory_object_upl_request(control, f_offset, bufsize, uplp, NULL, NULL, uplflags); 2040 ubc_page_op( struct vnode *vp, off_t f_offset, int ops, ppnum_t *phys_entryp, int *flagsp) argument 2180 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 | 163 #define f_offset f_fglob->fg_offset macro 954 offset = fp->f_offset; 1038 offset = fp->f_offset; 1366 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 | 154 #define f_offset f_fglob->fg_offset macro
|
H A D | uipc_usrreq.c | 105 #define f_offset f_fglob->fg_offset macro
|
H A D | kern_event.c | 464 #define f_offset f_fglob->fg_offset macro
|
H A D | sys_generic.c | 193 #define f_offset f_fglob->fg_offset macro
|
H A D | uipc_syscalls.c | 110 #define f_offset f_fglob->fg_offset macro
|
/xnu-2422.115.4/bsd/hfs/ |
H A D | hfs_readwrite.c | 4148 off_t f_offset; local 4282 * f_offset is the position into the file, in bytes 4290 f_offset = ap->a_f_offset; 4302 f_offset += PAGE_SIZE; 4344 ap->a_f_offset = f_offset; 4406 error = cluster_pagein(vp, upl, offset, f_offset, xsize, (off_t)fp->ff_size, ap->a_flags); 4443 f_offset += xsize; 4575 off_t f_offset; local 4583 f_offset = ap->a_f_offset; 4621 f_offset [all...] |
/xnu-2422.115.4/bsd/nfs/ |
H A D | nfs_vnops.c | 6750 off_t f_offset = ap->a_f_offset; local 6771 FSDBG(322, np, f_offset, size, flags); 6781 if (f_offset < 0 || f_offset >= (off_t)np->n_size || (f_offset & PAGE_MASK_64)) { 6793 uio = uio_createwithbuffer(1, f_offset, UIO_SYSSPACE, UIO_READ, 6815 txoffset = f_offset; 7061 off_t f_offset = ap->a_f_offset; local 7083 FSDBG(323, f_offset, size, pl, pl_offset); 7110 off = f_offset [all...] |
/xnu-2422.115.4/osfmk/default_pager/ |
H A D | dp_backing_store.c | 4374 vm_object_offset_t f_offset; local 4382 f_offset = (vm_object_offset_t)(ps->ps_offset + offset); 4388 error = vnode_pagein(ps->ps_vnode, upl, upl_offset, f_offset, (upl_size_t)size, flags, NULL); 4415 vm_object_offset_t f_offset; local 4421 f_offset = (vm_object_offset_t)(ps->ps_offset + offset); 4432 if (vnode_pageout(ps->ps_vnode, upl, upl_offset, f_offset, (upl_size_t)size, flags, NULL))
|