/darwin-on-arm/xnu/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,
|
/darwin-on-arm/xnu/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)) {
|
/darwin-on-arm/xnu/bsd/vm/ |
H A D | dp_backing_file.c | 233 off_t file_size; local 266 if ((error = vnode_size(vp, &file_size, ctx)) != 0) 277 if ((file_size < (off_t)size) && ((error = vnode_setsize(vp, (off_t)size, 0, ctx)) != 0)) 365 PAGE_SIZE, (int)(file_size/PAGE_SIZE));
|
H A D | vm_unix.c | 1198 memory_object_size_t file_size; local 1326 file_size = fs; 1362 file_size,
|
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_shared_region.h | 179 memory_object_size_t file_size,
|
H A D | vm_shared_region.c | 959 memory_object_size_t file_size, 1020 file_control, file_size)); 1195 file_control, file_size, kr)); 954 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, struct shared_file_mapping_np *mapping_to_slide) argument
|
/darwin-on-arm/xnu/SETUP/kextsymboltool/ |
H A D | kextsymboltool.c | 217 count_symbols(char * file, vm_size_t file_size) argument 226 eol = memchr(scan, '\n', file_size - (scan - file)); 267 store_symbols(char * file, vm_size_t file_size, struct symbol * symbols, uint32_t idx, uint32_t max_symbols) argument 292 eol = memchr(scan, '\n', file_size - (scan - file));
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | mach_loader.c | 287 off_t file_size = imgp->ip_vattr->va_data_size; local 302 if (macho_size > file_size) { 786 uint64_t file_size, 804 file_off + file_size <= APPLE_UNPROTECTED_HEADER_SIZE) { 843 __unused uint64_t file_size, 784 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 841 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 | 2071 off_t file_size; local 2200 if ((error = vnode_size(vp, &file_size, vfs_context_current())) != 0) { 2258 if (off + xfsize > file_size) 2259 xfsize = file_size - off; 2329 if (xfsize + off > file_size) 2330 printf("sendfile: xfsize: %lld + off: %lld > file_size:" 2331 "%lld\n", xfsize, off, file_size);
|
/darwin-on-arm/xnu/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 | 1281 off_t file_size; local 1301 if ((error = vnode_size(vp, &file_size, ctx)) != 0) 1303 *(int *)data = file_size - fp->f_fglob->fg_offset;
|
H A D | vfs_syscalls.c | 4176 off_t offset = uap->offset, file_size; local 4213 if ((error = vnode_size(vp, &file_size, ctx)) != 0) 4215 offset += file_size;
|