Searched refs:file_size (Results 1 - 14 of 14) sorted by relevance

/darwin-on-arm/xnu/bsd/dev/vn/
H A Dshadow.h51 shadow_map_create(off_t file_size, off_t shadow_size,
H A Dshadow.c411 * 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 Dvn.c1139 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 Daudit_worker.c143 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 Ddp_backing_file.c233 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 Dvm_unix.c1198 memory_object_size_t file_size; local
1326 file_size = fs;
1362 file_size,
/darwin-on-arm/xnu/osfmk/vm/
H A Dvm_shared_region.h179 memory_object_size_t file_size,
H A Dvm_shared_region.c959 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 Dkextsymboltool.c217 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 Dmach_loader.c287 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 Duipc_syscalls.c2071 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 Dvfs_quota.c416 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 Dvfs_vnops.c1281 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 Dvfs_syscalls.c4176 off_t offset = uap->offset, file_size; local
4213 if ((error = vnode_size(vp, &file_size, ctx)) != 0)
4215 offset += file_size;

Completed in 80 milliseconds