Searched refs:fileid (Results 1 - 13 of 13) sorted by relevance

/darwin-on-arm/xnu/bsd/sys/
H A Dcprotect.h176 uint32_t input_class, uint32_t fileid, mode_t cmode);
185 int cp_setxattr(struct cnode *cp, struct cprotect *entry, struct hfsmount *hfsmp, uint32_t fileid, int options);
186 int cp_update_mkb (struct cprotect *entry, uint32_t fileid);
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_hotfiles.c87 u_int32_t fileid; member in struct:hotfile_entry
672 printf("hfs_recording_init: BTInsertRecord failed %d (fileid %d)\n", error, key->fileID);
685 printf("hfs_recording_init: BTInsertRecord failed %d (fileid %d)\n", error, key->fileID);
833 entry->fileid = cp->c_fileid;
1204 printf("hfs: hotfiles_adopt: BTInsertRecord failed %d (fileid %d)\n", error, key->fileID);
1218 printf("hfs: hotfiles_adopt: BTInsertRecord failed %d (fileid %d)\n", error, key->fileID);
2013 hf_lookup(hotfile_data_t *hotdata, u_int32_t fileid, u_int32_t temperature) argument
2019 entry->fileid != fileid) {
2025 else if (fileid > entr
2041 u_int32_t fileid = newentry->fileid; local
2122 hf_delete(hotfile_data_t *hotdata, u_int32_t fileid, u_int32_t temperature) argument
[all...]
H A Dhfs_cprotect.c214 uint32_t input_class, cnid_t fileid, mode_t cmode)
261 * The 'fileid' argument to this function will either be
262 * a valid fileid for an existing file/dir, or it will be 0.
271 error = cp_make_keys(&entry, hfsmp, fileid, entry->cp_pclass);
910 * Gets the EA we set on the root folder (fileid 1) to get information about the
956 * Sets the EA we set on the root folder (fileid 1) to get information about the
994 int cp_setxattr(struct cnode *cp, struct cprotect *entry, struct hfsmount *hfsmp, uint32_t fileid, int options) argument
1012 * we do not have a vnode/cnode yet. Use the specified fileid.
1015 target_fileid = fileid;
1098 cp_update_mkb (struct cprotect *entry, uint32_t fileid) { argument
213 cp_entry_create_keys(struct cprotect **entry_ptr, struct cnode *dcp, struct hfsmount *hfsmp, uint32_t input_class, cnid_t fileid, mode_t cmode) argument
1392 cp_make_keys(struct cprotect **entry_arg, struct hfsmount *hfsmp, cnid_t fileid, int default_pclass) argument
1643 cp_wrap(int class, struct hfsmount *hfsmp, cnid_t fileid, struct cprotect **entry_ptr) argument
[all...]
H A Dhfs_link.c62 static int setfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t firstlink);
63 static int getfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t *firstlink);
215 printf("hfs_makelink: cat_rename to %s failed (%d). fileid %d\n",
548 cnid_t fileid; local
551 if ((cat_lookup(hfsmp, &cp->c_desc, 0, NULL, NULL, NULL, &fileid) != 0) ||
552 (fileid != cp->c_fileid)) {
868 * by fileid only. This is OK for HFS (which doesn't have
1197 setfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_t firstlink) argument
1213 result = hfs_buildattrkey(fileid, FIRST_LINK_XATTR_NAME, (HFSPlusAttrKey *)&iterator->key);
1259 getfirstlink(struct hfsmount * hfsmp, cnid_t fileid, cnid_ argument
[all...]
H A Dhfs.h694 struct filefork *rsrcfork, u_int32_t fileid);
704 extern int hfs_removeallattr(struct hfsmount *hfsmp, u_int32_t fileid);
H A Dhfs_xattr.c434 * 'cp' argument is NULL, then we need to use the 'fileid' argument as the entry to manipulate
441 struct hfsmount *hfsmp, u_int32_t fileid) {
458 target_id = fileid;
929 * See comments from hfs_getxattr_internal on why we need to pass 'hfsmp' and fileid here.
941 u_int32_t fileid) {
962 target_id = fileid;
1873 hfs_removeallattr(struct hfsmount *hfsmp, u_int32_t fileid) argument
1905 (void) hfs_buildattrkey(fileid, NULL, key);
1907 if (result || key->fileID != fileid) {
440 hfs_getxattr_internal(struct cnode *cp, struct vnop_getxattr_args *ap, struct hfsmount *hfsmp, u_int32_t fileid) argument
939 hfs_setxattr_internal(struct cnode *cp, caddr_t data_ptr, size_t attrsize, struct vnop_setxattr_args *ap, struct hfsmount *hfsmp, u_int32_t fileid) argument
H A Dhfs_catalog.c1504 * so a lookup by fileid (i.e. thread rec) is needed.
3398 ino_t fileid = 0; local
3403 if (resolvelinkid(hfsmp, state.cbs_linkinfo[i].link_ref, &fileid) != 0)
3411 ino64_t fileid_64 = (ino64_t)fileid;
3414 (void) copyout(&fileid, address, sizeof(fileid));
3418 ino64_t fileid_64 = (ino64_t)fileid;
3421 bcopy(&fileid, (void*) CAST_DOWN(caddr_t, address), sizeof(fileid));
H A Dhfs_readwrite.c1892 u_int32_t fileid; local
1905 fileid = *(u_int32_t *)ap->a_data;
1913 if (fileid < hfsmp->vcbNxtCNID) {
1920 hfsmp->vcbNxtCNID = fileid;
3236 struct filefork *rsrcfork, u_int32_t fileid) {
3273 error = MacToVFSError(TruncateFileC(HFSTOVCB(hfsmp), datafork, filebytes, 1, 0, fileid, false));
3318 error = MacToVFSError(TruncateFileC(HFSTOVCB(hfsmp), rsrcfork, filebytes, 1, 1, fileid, false));
3235 hfs_release_storage(struct hfsmount *hfsmp, struct filefork *datafork, struct filefork *rsrcfork, u_int32_t fileid) argument
H A Dhfs_vnops.c3355 u_int32_t fileid = cp->c_fileid; local
3465 error = hfs_release_storage (hfsmp, cp->c_datafork, temp_rsrc_fork, fileid);
3469 error = hfs_release_storage (hfsmp, cp->c_datafork, cp->c_rsrcfork, fileid);
3509 * fileid only. This is OK for HFS (which doesn't have file
5238 * b-tree locks. We pass '0' as the fileid because we do not know it yet.
5633 * As a result, we use the fileid, which should be invariant for the lifetime
H A Dhfs_vfsops.c6136 printf("hfs_reclaim_file: === Finished relocating %sfork for fileid=%u (error=%d) ===\n", (forktype ? "rsrc" : "data"), fileID, error);
6372 u_int32_t fileid; local
6384 fileid = GetFileInfo(hfsmp, kHFSRootFolderID, ".journal", &attr, &fork);
6386 if (fileid != old_jnlfileid) {
6778 printf("hfs_reclaim_xattr: === Finished relocating xattr for fileid=%u (error=%d) ===\n", fileID, error);
6901 printf ("hfs_reclaim_xattrspace: Error relocating xattrs for fileid=%u (error=%d)\n", key->fileID, error);
7014 printf ("hfs_reclaimspace: Error reclaiming datafork blocks of fileid=%u (error=%d)\n", filerec.fileID, error);
7031 printf ("hfs_reclaimspace: Error looking up rvp for fileid=%u (error=%d)\n", filerec.fileID, error);
7042 printf ("hfs_reclaimspace: Error reclaiming rsrcfork blocks of fileid=%u (error=%d)\n", filerec.fileID, error);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/
H A DFileMgrInternal.h285 int rsrc, uint32_t fileid, Boolean truncateToExtent);
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/
H A DFileExtentMapping.c1344 uint32_t fileid, // the fileid of the file we're manipulating.
1428 err = DeallocateFork(vcb, fileid, forkType, fcb->fcbExtents, &recordDeleted);
1514 err = TruncateExtents(vcb, forkType, fileid, nextBlock, &recordDeleted);
1338 TruncateFileC( ExtendedVCB *vcb, FCB *fcb, int64_t peof, int deleted, int rsrc, uint32_t fileid, Boolean truncateToExtent) argument
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_xattr.c1393 static int create_xattrfile(vnode_t xvp, u_int32_t fileid, vfs_context_t context);
2927 create_xattrfile(vnode_t xvp, u_int32_t fileid, vfs_context_t context) argument
2959 xah->debug_tag = SWAP32 (fileid);

Completed in 95 milliseconds