/xnu-2422.115.4/bsd/dev/vn/ |
H A D | shadow.h | 51 shadow_map_create(off_t file_size, off_t shadow_size,
|
H A D | shadow.c | 411 * file_size. 423 block_bitmap_size(off_t file_size, uint32_t block_size) argument 425 off_t blocks = howmany(file_size, block_size); 565 shadow_map_create(off_t file_size, off_t shadow_size, argument 578 n_bands = howmany(file_size, band_size); 586 bitmap_size = block_bitmap_size(file_size, block_size);
|
H A D | vn.c | 1139 off_t file_size; local 1176 error = vnode_size(nd.ni_vp, &file_size, ctx); 1193 vn->sc_fsize = file_size; 1194 vn->sc_size = file_size / vn->sc_secsize; 1220 off_t file_size; local 1238 || (error = vnode_size(nd.ni_vp, &file_size, ctx))) { 1243 map = shadow_map_create(vn->sc_fsize, file_size,
|
/xnu-2422.115.4/bsd/vm/ |
H A D | vm_compressor_backing_file.c | 99 uint64_t file_size = 0; local 136 if ((error = vnode_size(vp, (off_t*) &file_size, ctx)) != 0) { 142 if (file_size == 0) { 152 *size = file_size;
|
H A D | dp_backing_file.c | 269 off_t file_size; local 315 if ((error = vnode_size(vp, &file_size, ctx)) != 0) 326 if ((file_size < (off_t)size) && ((error = vnode_setsize(vp, (off_t)size, 0, ctx)) != 0)) 410 PAGE_SIZE, (int)(file_size/PAGE_SIZE));
|
H A D | vm_unix.c | 1098 memory_object_size_t file_size; local 1238 file_size = fs; 1269 file_size,
|
/xnu-2422.115.4/bsd/security/audit/ |
H A D | audit_worker.c | 143 off_t file_size; local 163 error = vnode_size(vp, &file_size, ctx); 166 audit_fstat.af_currsz = (u_quad_t)file_size; 219 ((u_quad_t)file_size >= audit_fstat.af_filesz)) {
|
/xnu-2422.115.4/osfmk/vm/ |
H A D | vm_shared_region.h | 196 memory_object_size_t file_size,
|
H A D | vm_shared_region.c | 1005 memory_object_size_t file_size, 1069 file_control, file_size)); 1274 file_control, file_size, kr)); 1000 vm_shared_region_map_file( vm_shared_region_t shared_region, unsigned int mappings_count, struct shared_file_mapping_np *mappings, memory_object_control_t file_control, memory_object_size_t file_size, void *root_dir, uint32_t slide, user_addr_t slide_start, user_addr_t slide_size) argument
|
/xnu-2422.115.4/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 232 count_symbols(char * file, vm_size_t file_size) argument 241 eol = memchr(scan, '\n', file_size - (scan - file)); 282 store_symbols(char * file, vm_size_t file_size, struct symbol * symbols, uint32_t idx, uint32_t max_symbols) argument 307 eol = memchr(scan, '\n', file_size - (scan - file));
|
/xnu-2422.115.4/bsd/kern/ |
H A D | mach_loader.c | 299 off_t file_size = imgp->ip_vattr->va_data_size; local 315 if (macho_size > file_size) { 844 uint64_t file_size, 859 file_off + file_size <= APPLE_UNPROTECTED_HEADER_SIZE) { 897 __unused uint64_t file_size, 842 unprotect_segment( uint64_t file_off, uint64_t file_size, struct vnode *vp, off_t macho_offset, vm_map_t map, vm_map_offset_t map_addr, vm_map_size_t map_size) argument 895 unprotect_segment( __unused uint64_t file_off, __unused uint64_t file_size, __unused struct vnode *vp, __unused off_t macho_offset, __unused vm_map_t map, __unused vm_map_offset_t map_addr, __unused vm_map_size_t map_size) argument
|
H A D | uipc_syscalls.c | 2355 off_t file_size; local 2484 if ((error = vnode_size(vp, &file_size, vfs_context_current())) != 0) { 2542 if (off + xfsize > file_size) 2543 xfsize = file_size - off; 2613 if (xfsize + off > file_size) 2614 printf("sendfile: xfsize: %lld + off: %lld > file_size:" 2615 "%lld\n", xfsize, off, file_size);
|
/xnu-2422.115.4/bsd/vfs/ |
H A D | vfs_quota.c | 416 off_t file_size; local 425 if ((error = vnode_size(qfp->qf_vp, &file_size, &context)) != 0) 443 (OSSwapBigToHostInt32(header.dqh_maxentries) > (file_size / sizeof(struct dqblk)))) {
|
H A D | vfs_vnops.c | 1292 off_t file_size; local 1312 if ((error = vnode_size(vp, &file_size, ctx)) != 0) 1314 *(int *)data = file_size - fp->f_fglob->fg_offset;
|
H A D | vfs_syscalls.c | 4232 off_t offset = uap->offset, file_size; local 4269 if ((error = vnode_size(vp, &file_size, ctx)) != 0) 4271 offset += file_size;
|