/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | mach_fat.c | 84 off_t filesize; 102 filesize = ubc_getsize(vp); 103 if (end_of_archs > (int)filesize) {
|
H A D | mach_loader.c | 709 if (scp->fileoff + scp->filesize > macho_size) 724 map_size = round_page(scp->filesize); 768 delta_size = map_size - scp->filesize; 777 if (copyout(tmp, map_addr + scp->filesize, 806 if ( (scp->fileoff == 0) && (scp->filesize != 0) ) 811 (uint64_t) scp->filesize, 844 if (scp64->fileoff + scp64->filesize > (uint64_t)macho_size) 859 map_size = round_page_64(scp64->filesize); /* limited to 32 bits */ 901 delta_size = map_size - scp64->filesize; 910 if (copyout(tmp, map_addr + scp64->filesize, [all...] |
H A D | mach_header.c | 234 0, // filesize 493 if (sgp->fileoff + sgp->filesize > last_addr) 494 last_addr = sgp->fileoff + sgp->filesize;
|
H A D | kern_core.c | 384 sc64->filesize = vmsize; 397 sc->filesize = CAST_DOWN(uint32_t,vmsize);
|
H A D | ubc_subr.c | 98 static int ubc_info_init_internal(struct vnode *vp, int withfsize, off_t filesize); 329 * filesize The size of the file 336 ubc_info_init_withsize(struct vnode *vp, off_t filesize) argument 338 return(ubc_info_init_internal(vp, 1, filesize)); 349 * from the vnode; otherwise, use filesize 350 * filesize The size of the file, if withfsize == 1 371 ubc_info_init_internal(vnode_t vp, int withfsize, off_t filesize) argument 449 uip->ui_size = filesize;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/ |
H A D | vfs_cluster.c | 148 static int cluster_read_copy(vnode_t vp, struct uio *uio, u_int32_t io_req_size, off_t filesize, int flags, 150 static int cluster_read_direct(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length, 152 static int cluster_read_contig(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length, 164 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); 165 static void cluster_read_ahead(vnode_t vp, struct cl_extent *extent, off_t filesize, struct cl_readahead *ra, int (*callback)(buf_t, void *), void *callback_arg, int bflag); 1480 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 1485 (int)f_offset, size, (int)filesize, 0, 0); 1487 if (f_offset >= filesize) { 1492 if ((off_t)size > (filesize - f_offset)) 1493 size = filesize 1507 cluster_read_ahead(vnode_t vp, struct cl_extent *extent, off_t filesize, struct cl_readahead *rap, int (*callback)(buf_t, void *), void *callback_arg, int bflag) argument 1579 cluster_pageout(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags) argument 1588 cluster_pageout_ext(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg) argument 1667 cluster_pagein(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags) argument 1675 cluster_pagein_ext(vnode_t vp, upl_t upl, vm_offset_t upl_offset, off_t f_offset, int size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg) argument 3039 cluster_read(vnode_t vp, struct uio *uio, off_t filesize, int xflags) argument 3046 cluster_read_ext(vnode_t vp, struct uio *uio, off_t filesize, int xflags, int (*callback)(buf_t, void *), void *callback_arg) argument 3124 cluster_read_copy(vnode_t vp, struct uio *uio, u_int32_t io_req_size, off_t filesize, int flags, int (*callback)(buf_t, void *), void *callback_arg) argument 3582 cluster_read_direct(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length, int flags, int (*callback)(buf_t, void *), void *callback_arg) argument 3961 cluster_read_contig(vnode_t vp, struct uio *uio, off_t filesize, int *read_type, u_int32_t *read_length, int (*callback)(buf_t, void *), void *callback_arg, int flags) argument 4260 advisory_read(vnode_t vp, off_t filesize, off_t f_offset, int resid) argument 4266 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 5220 is_file_clean(vnode_t vp, off_t filesize) argument [all...] |
H A D | vfs_xattr.c | 1217 size_t filesize; member in struct:attr_info 1220 size_t rawsize; /* minimum of filesize or ATTR_MAX_HDR_SIZE */ 1356 entry_end > ainfop->filesize) { 1757 ainfo.filesize += growsize; 1758 error = vnode_setsize(xvp, ainfo.filesize, 0, context); 1957 if ((ainfo.rsrcfork->offset + ainfo.rsrcfork->length) == ainfo.filesize) { 1958 ainfo.filesize -= ainfo.rsrcfork->length; 1959 error = vnode_setsize(xvp, ainfo.filesize, 0, context); 2492 ainfop->filesize = va.va_data_size; 2498 iosize = MIN(ATTR_MAX_HDR_SIZE, ainfop->filesize); [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_readwrite.c | 82 extern int is_file_clean(vnode_t vp, off_t filesize); 105 off_t filesize; local 132 filesize = fp->ff_size; 134 if (offset > filesize) { 143 (int)uio_offset(uio), uio_resid(uio), (int)filesize, (int)filebytes, 0); 145 retval = cluster_read(vp, uio, filesize, ap->a_ioflag); 150 (int)uio_offset(uio), uio_resid(uio), (int)filesize, (int)filebytes, 0); 354 off_t filesize; local 364 filesize = writelimit; 366 filesize 2984 off_t filesize; local 3432 off_t filesize; local [all...] |
H A D | hfs_vfsutils.c | 2165 u_int64_t filesize; local 2192 filesize = (u_int64_t)(items + 1) * OVERFLOW_DEFAULT_SIZE; 2193 if (filesize > OVERFLOW_MAXIMUM_SIZE) 2194 filesize = OVERFLOW_MAXIMUM_SIZE; 2195 zonesize += filesize; 2196 hfsmp->hfs_overflow_maxblks = filesize / vcb->blockSize; 2203 filesize = (u_int64_t)(items + 1) * JOURNAL_DEFAULT_SIZE; 2204 if (filesize > JOURNAL_MAXIMUM_SIZE) 2205 filesize = JOURNAL_MAXIMUM_SIZE; 2206 zonesize += filesize; [all...] |
H A D | hfs_hotfiles.c | 1814 int filesize; local 1834 filesize = nodecnt * nodesize; 1846 bthp->totalNodes = SWAP_BE32 (filesize / nodesize); 1848 bthp->clumpSize = SWAP_BE32 (filesize); 1877 error = hfs_truncate(vp, (off_t)filesize, IO_NDELAY, 0, ctx);
|
H A D | hfs_xattr.c | 2005 off_t filesize; local 2022 filesize = VTOF(evp)->ff_size; 2034 result = cluster_write(evp, uio, filesize, filesize, filesize,
|
/macosx-10.5.8/xnu-1228.15.4/libkern/mach-o/ |
H A D | loader.h | 188 * filesize. The file is mapped starting at fileoff to the beginning of 203 unsigned long filesize; /* amount to map from the file */ member in struct:segment_command 223 uint32_t filesize; /* amount to map from the file */ member in struct:segment_command_64
|
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | ufs_readwrite.c | 296 off_t filesize; local 310 filesize = endofwrite; 313 filesize = ip->i_size; 368 filesize -= rsd; 401 error = cluster_write(vp, uio, osize, filesize, head_offset, local_offset, flags);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach-o/ |
H A D | loader.h | 180 * filesize. The file is mapped starting at fileoff to the beginning of 195 unsigned long filesize; /* amount to map from the file */ member in struct:segment_command
|
H A D | mach_header.c | 251 0, // filesize 532 if (sgp->fileoff + sgp->filesize > last_addr) 533 last_addr = sgp->fileoff + sgp->filesize;
|
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/mach-o/ |
H A D | loader.h | 295 * filesize. The file is mapped starting at fileoff to the beginning of 310 uint32_t filesize; /* amount to map from the file */ member in struct:segment_command 330 uint64_t filesize; /* amount to map from the file */ member in struct:segment_command_64
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/i386/ |
H A D | kdp_vm.c | 462 sc->filesize = size;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kdp/ml/ppc/ |
H A D | kdp_vm.c | 495 sc->filesize = size;
|
/macosx-10.5.8/xnu-1228.15.4/libsa/ |
H A D | load.c | 590 cmd->seg.filesize = symtabsize; 697 text_seg->filesize = 0; 709 data_seg->filesize = 0;
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | kmod.c | 1433 seg_cmd->filesize = const_text->size + round_page(header_size); 1461 seg_cmd->filesize = 0;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/nfs/ |
H A D | nfs_bio.c | 428 off_t filesize, fileoffset; local 435 filesize = ubc_getsize(NFSTOV(bp->nb_np)); 437 if (fileoffset < filesize) 447 if (fileoffset >= filesize) 461 if (fileoffset + bp->nb_validend > filesize) 462 bp->nb_validend = filesize - fileoffset;
|