Searched refs:datafork (Results 1 - 7 of 7) sorted by relevance
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_attrlist.h | 104 struct cat_fork *datafork, struct cat_fork *rsrcfork, struct vfs_context *ctx);
|
H A D | hfs_search.c | 656 struct cat_fork datafork; local 746 cat_convertattr(VCBTOHFS(vcb), rec, &c_attr, &datafork, &rsrcfork); local 799 if ( 0 == hfs_uncompressed_size_of_compressed_file(vcb, NULL, c_attr.ca_fileid, &datafork.cf_size, 1) ) { /* 1 == don't take the cnode lock */ 800 datafork.cf_blocks = rsrcfork.cf_blocks; 815 datafork.cf_size, 825 (u_int64_t)datafork.cf_blocks * (u_int64_t)vcb->blockSize, 1029 struct cat_fork datafork; local 1038 cat_convertattr(hfsmp, rec, &c_attr, &datafork, &rsrcfork); 1072 hfs_packattrblk(&attrblk, hfsmp, NULL, &c_desc, &c_attr, &datafork, &rsrcfork, vfs_context_current());
|
H A D | hfs_attrlist.c | 65 struct cat_attr *cattrp, struct cat_fork *datafork, 428 struct cat_fork *datafork, 441 packfileattr(abp, hfsmp, attrp, datafork, rsrcfork, vp); 828 struct cat_fork *datafork, 842 off_t datasize = datafork->cf_size; 917 *((off_t *)attrbufptr) = (off_t)datafork->cf_blocks * (off_t)allocblksize; 423 hfs_packattrblk(struct attrblock *abp, struct hfsmount *hfsmp, struct vnode *vp, struct cat_desc *descp, struct cat_attr *attrp, struct cat_fork *datafork, struct cat_fork *rsrcfork, struct vfs_context *ctx) argument 824 packfileattr( struct attrblock *abp, struct hfsmount *hfsmp, struct cat_attr *cattrp, struct cat_fork *datafork, struct cat_fork *rsrcfork, struct vnode *vp) argument
|
H A D | hfs_readwrite.c | 3235 hfs_release_storage (struct hfsmount *hfsmp, struct filefork *datafork, argument 3247 if ((datafork != NULL) && (datafork->ff_blocks > 0)) { 3248 fileblocks = datafork->ff_blocks; 3254 if (filebytes > HFS_BIGFILE_SIZE && overflow_extents(datafork)) { 3266 if (datafork->ff_unallocblocks == 0) { 3269 if (overflow_extents(datafork)) 3273 error = MacToVFSError(TruncateFileC(HFSTOVCB(hfsmp), datafork, filebytes, 1, 0, fileid, false)); 3278 datafork->ff_size = filebytes;
|
H A D | hfs_vnops.c | 4928 struct cat_fork datafork; local 4992 /* copy the datafork into a temporary copy so we don't pollute the cnode's */ 4993 bcopy(dataforkp, &datafork, sizeof(datafork)); 4994 dataforkp = &datafork; 5010 datafork.cf_blocks = (cp->c_datafork->ff_blocks - cp->c_datafork->ff_unallocblocks); 5011 datafork.cf_size = datafork.cf_blocks * HFSTOVCB(hfsmp)->blockSize; 5027 datafork.cf_size = MIN((numbytes), (datafork [all...] |
H A D | hfs.h | 693 extern int hfs_release_storage (struct hfsmount *hfsmp, struct filefork *datafork,
|
H A D | hfs_vfsops.c | 820 struct cat_fork *datafork; local 823 datafork = cp->c_datafork ? &cp->c_datafork->ff_data : NULL; 827 args->error = cat_idlookup(args->hfsmp, cp->c_fileid, 0, 0, &desc, &cp->c_attr, datafork); 6941 struct filefork *datafork; local 7009 datafork = VTOF(vp); 7010 if ((datafork && datafork->ff_blocks > 0) || vnode_isdir(vp)) { 7014 printf ("hfs_reclaimspace: Error reclaiming datafork blocks of fileid=%u (error=%d)\n", filerec.fileID, error); 7022 if (((VTOC(vp)->c_blocks - (datafork ? datafork [all...] |
Completed in 46 milliseconds