| /xnu-11215/tools/tests/perf_index/ |
| H A D | test_file_helper.c | 90 size_t file_offset = 0; in test_file_read() local 109 if (file_offset + readlen > filesize) { in test_file_read() 115 file_offset = 0; in test_file_read() 121 file_offset += readlen; in test_file_read() 169 size_t file_offset = 0; in test_file_write() local 184 file_offset += writelen; in test_file_write() 185 if (file_offset > max_file_size / num_threads) { in test_file_write() 188 file_offset = 0; in test_file_write()
|
| /xnu-11215/tools/lldbmacros/ |
| H A D | ktrace.py | 691 def append_chunk(f, file_offset, tag, major, minor, data, verbose): argument 750 file_offset = 0 774 header_size_offset = file_offset + 8 781 file_offset += append_chunk( 788 file_offset += append_chunk( 794 file_offset += 16 # header size 795 event_size_offset = file_offset - FUTURE_SIZE 798 file_offset += FUTURE_SIZE 824 file_offset += KDE_SIZE 855 kcdata_length, file_offset)) [all …]
|
| /xnu-11215/bsd/kern/ |
| H A D | mach_loader.c | 145 off_t file_offset, 1153 file_offset, in parse_machfile() 1207 file_offset, in parse_machfile() 1292 file_offset, in parse_machfile() 1327 file_offset + off, in parse_machfile() 1581 PAGE_SIZE, file_offset, in check_if_simulator_binary() 2164 file_offset, in load_segment() 2165 file_offset + file_size, in load_segment() 2198 file_offset, in load_segment() 2199 file_offset + file_size, in load_segment() [all …]
|
| H A D | mach_loader.h | 128 off_t file_offset,
|
| H A D | kern_descrip.c | 3694 off_t file_offset = 0; in sys_fcntl_nocancel() local 3703 file_offset = l2p_struct.l2p_devoffset; in sys_fcntl_nocancel() 3705 file_offset = fp->f_offset; in sys_fcntl_nocancel() 3716 error = VNOP_OFFTOBLK(vp, file_offset, &lbn); in sys_fcntl_nocancel() 3746 l2p_struct.l2p_contigbytes = run - (file_offset - offset); in sys_fcntl_nocancel() 3760 l2p_struct.l2p_devoffset += file_offset - offset; in sys_fcntl_nocancel()
|
| H A D | ubc_subr.c | 1677 off_t file_offset = -1; in ubc_blktooff() local 1681 error = VNOP_BLKTOOFF(vp, blkno, &file_offset); in ubc_blktooff() 1683 file_offset = -1; in ubc_blktooff() 1687 return file_offset; in ubc_blktooff()
|
| H A D | kdebug.c | 1848 kdbg_write_to_vnode(caddr_t buffer, size_t size, vnode_t vp, vfs_context_t ctx, off_t file_offset) in kdbg_write_to_vnode() argument 1851 return vn_rdwr(UIO_WRITE, vp, buffer, (int)size, file_offset, UIO_SYSSPACE, in kdbg_write_to_vnode()
|
| /xnu-11215/bsd/vfs/ |
| H A D | vfs_exclave_fs.h | 67 int vfs_exclave_fs_read(uint32_t fs_tag, uint64_t file_id, uint64_t file_offset, uint64_t length, v… 68 int vfs_exclave_fs_write(uint32_t fs_tag, uint64_t file_id, uint64_t file_offset, uint64_t length, …
|
| H A D | vfs_exclave_fs.c | 1244 vfs_exclave_fs_read(uint32_t fs_tag, uint64_t file_id, uint64_t file_offset, uint64_t length, void … in vfs_exclave_fs_read() argument 1250 return exclave_fs_io(fs_tag, file_id, file_offset, length, data, true); in vfs_exclave_fs_read() 1254 vfs_exclave_fs_write(uint32_t fs_tag, uint64_t file_id, uint64_t file_offset, uint64_t length, void… in vfs_exclave_fs_write() argument 1260 return exclave_fs_io(fs_tag, file_id, file_offset, length, (void *)data, false); in vfs_exclave_fs_write()
|
| /xnu-11215/osfmk/vm/ |
| H A D | vm_compressor_backing_store.c | 209 uint64_t file_offset = 0; in vm_swapfile_for_handle() local 213 file_offset = (f_offset & SWAP_SLOT_MASK); in vm_swapfile_for_handle() 1652 uint64_t file_offset = 0; in vm_swap_get() local 1673 file_offset = (f_offset & SWAP_SLOT_MASK); in vm_swap_get() 1718 uint64_t file_offset = 0; in vm_swap_put() local 1755 file_offset = segidx * compressed_swap_chunk_size; in vm_swap_put() 1829 *f_offset = (swapfile_index << SWAP_DEVICE_SHIFT) | file_offset; in vm_swap_put() 1846 …error = vm_swapfile_io(swf->swp_vp, file_offset, addr, (int) (size / PAGE_SIZE_64), SWAP_WRITE, up… in vm_swap_put() 1887 uint64_t file_offset = 0; in vm_swap_free_now() local 1895 file_offset = (f_offset & SWAP_SLOT_MASK); in vm_swap_free_now() [all …]
|
| H A D | vm_fault.c | 2876 vm_object_offset_t file_offset; in vm_fault_cs_handle_violation() local 2898 file_offset = m->vmp_offset; in vm_fault_cs_handle_violation() 2908 file_offset += file_object->vo_shadow_offset; in vm_fault_cs_handle_violation() 2962 file_offset, in vm_fault_cs_handle_violation() 3007 ceri->ceri_file_offset = file_offset; in vm_fault_cs_handle_violation() 3062 file_offset, in vm_fault_cs_handle_violation()
|
| /xnu-11215/osfmk/mach/ |
| H A D | shared_memory_server.h | 110 vm_offset_t file_offset; member
|
| /xnu-11215/osfmk/kdp/ |
| H A D | kdp_core.h | 155 …mp_record_file(void *kdp_core_out_vars, const char *filename, uint64_t file_offset, uint64_t *out_…
|
| H A D | kdp_core.c | 811 kern_dump_record_file(void *kdp_core_out_state, const char *filename, uint64_t file_offset, uint64_… in kern_dump_record_file() argument 828 core_details->offset = file_offset; in kern_dump_record_file()
|
| /xnu-11215/libkern/libkern/c++/ |
| H A D | OSKext.h | 660 off_t file_offset, 670 off_t file_offset,
|
| /xnu-11215/libkern/c++/ |
| H A D | OSKext.cpp | 13588 off_t file_offset, argument 13623 err = mapKCTextSegment(control, mhp, file_offset, slideptr, map_entry_list); 13798 off_t file_offset, argument 13811 (memory_object_control_t)control, file_offset, (VM_PROT_READ | VM_PROT_WRITE)); 13844 (memory_object_control_t)control, file_offset + mach_header_map_size,
|