/darwin-on-arm/xnu/bsd/hfs/hfscommon/headers/ |
H A D | CatalogPrivate.h | 93 extern OSErr LocateCatalogNodeByKey ( const ExtendedVCB *volume, u_int32_t hint, CatalogKey *keyPtr, 97 u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint); 100 CatalogName *unicodeName, u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr,
|
H A D | BTreesInternal.h | 147 kGetBlockHint = 0x00000001, // if set, the block is being looked up using hint 270 BTreeHint hint; member in struct:BTreeIterator
|
H A D | FileMgrInternal.h | 203 u_int32_t hint,
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/BTree/ |
H A D | BTree.c | 95 <11> 9/17/96 dkh More BTree statistics. Modified hint checks to not bail out when 119 <21> 11/16/94 prp Add IsItAHint routine and use it whenever hint's node number was 133 <12> 8/16/93 prp In BTSearchRecord, if the input hint found the node and record, 139 <9> 5/24/93 gs Fix bug in BTInsert/Set/ReplaceRecord which didn't set node hint 143 <6> 5/21/93 gs Add hint optimization to Set/Replace routines. 431 Function: Search for position in B*Tree indicated by searchKey. If a valid node hint 444 hintPtr - pointer to hint (may be nil) 505 nodeNum = searchIterator->hint.nodeNum; 579 resultIterator->hint.writeCount = btreePtr->writeCount; 580 resultIterator->hint [all...] |
H A D | BTreeMiscOps.c | 78 see if the hint node is allocated. 88 <17> 11/16/94 prp Add IsItAHint routine and use it whenever hint's node number was 353 nodeNum = iterator->hint.nodeNum; 354 if (! validHint) // does the hint appear to be valid? 377 iterator->hint.nodeNum = 0; 550 Function: If a hint exitst for the iterator, attempt to find the key in the hint 641 Routine: IsItAHint - checks the hint within a BTreeInterator. 643 Function: checks the hint within a BTreeInterator. If it is non-zero, it may 649 Output: answer - true if the hint look [all...] |
/darwin-on-arm/xnu/osfmk/vm/ |
H A D | vm_map_store.h | 91 * Saves the specified entry as the hint for 95 * and someone else wins and stores their 'hint' 99 OSCompareAndSwapPtr((map)->hint, value, &(map)->hint); \ 106 * Saves the specified entry as the hint for 114 (map)->hint = (value); \
|
H A D | vm_map_store.c | 71 if((entry) == (map)->hint) { 72 (map)->hint = vm_map_to_entry(map);
|
H A D | vm_map_store_ll.c | 153 * list, or from the hint. 155 cur = map->hint; 162 * Go from hint to end of list. 167 * Note also that we don't need to save the hint 168 * here... it is the same hint (unless we are 169 * at the header, in which case the hint didn't 180 * Go from start to hint, *inclusively*
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | in_arp.h | 54 @param hint Any routing hint passed down from the protocol. 67 size_t ll_dest_len, route_t hint, mbuf_t packet); 78 size_t ll_dest_len, route_t hint, mbuf_t packet);
|
H A D | in_arp.c | 890 * the "hint" route never gets freed via rtfree(), since the caller may 896 struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, 915 if (hint != NULL) { 921 net_dest, hint, &route); 960 if (route == hint) { 1083 if (route == hint) { 895 arp_lookup_ip(ifnet_t ifp, const struct sockaddr_in *net_dest, struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, mbuf_t packet) argument
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Catalog/ |
H A D | CatalogUtilities.c | 50 LocateCatalogNodeByKey(const ExtendedVCB *volume, u_int32_t hint, CatalogKey *keyPtr, argument 74 searchIterator->hint.nodeNum = hint; 82 *newHint = searchIterator->hint.nodeNum; 134 __unused u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint) 162 *newHint = searchIterator->hint.nodeNum; 133 LocateCatalogRecord(const ExtendedVCB *volume, HFSCatalogNodeID folderID, const CatalogName *name, __unused u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint) argument
|
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vfsutils.c | 1792 * Find the current thread's directory hint for a given index. 1796 * Use detach if the cnode lock must be dropped while the hint is still active. 1803 directoryhint_t *hint; local 1810 * Look for an existing hint first. If not found, create a new one (when 1811 * the list is not full) or recycle the oldest hint. Since new hints are 1812 * always added to the head of the list, the last hint is always the 1815 TAILQ_FOREACH(hint, &dcp->c_hintlist, dh_link) { 1816 if (hint->dh_index == index) 1819 if (hint != NULL) { /* found an existing hint */ 1874 directoryhint_t *hint; local 1904 directoryhint_t *hint, *prev; local 1935 hfs_insertdirhint(struct cnode *dcp, directoryhint_t * hint) argument [all...] |
H A D | hfs_format.h | 408 u_int32_t textEncoding; /* hint for name conversions */ 451 u_int32_t textEncoding; /* hint for name conversions */ 655 #define SET_HFS_TEXT_ENCODING(hint) \ 656 (0x656e6300 | ((hint) & 0xff)) 657 #define GET_HFS_TEXT_ENCODING(hint) \ 658 (((hint) & 0xffffff00) == 0x656e6300 ? (hint) & 0x000000ff : 0xffffffffU)
|
H A D | hfs_catalog.c | 95 static int cat_lookupbykey(struct hfsmount *hfsmp, CatalogKey *keyp, int flags, u_int32_t hint, int wantrsrc, 119 static int builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_int32_t hint, u_int32_t encoding, 427 iterator->hint.nodeNum = 0; 637 cat_lookupbykey(struct hfsmount *hfsmp, CatalogKey *keyp, int flags, u_int32_t hint, int wantrsrc, argument 657 iterator->hint.nodeNum = hint; 672 hint = iterator->hint.nodeNum; 859 builddesc(pluskey, cnid, hint, encoding, isadir(recp), descp); 924 bto->iterator.hint 3932 builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_int32_t hint, u_int32_t encoding, int isdir, struct cat_desc *descp) argument [all...] |
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | BTreeWrapper.c | 40 OSErr ReplaceBTreeRecord(FileReference refNum, const void* key, u_int32_t hint, void *newData, u_int16_t dataSize, u_int32_t *newHint) argument 61 iterator->hint.nodeNum = hint; 75 *newHint = iterator->hint.nodeNum;
|
H A D | FileExtentMapping.c | 135 u_int32_t *hint); 215 // foundHint The BTree hint to find the node again 343 *foundHint = btIterator->hint.nodeNum; 355 u_int32_t *hint) 364 *hint = 0; 411 *hint = btIterator->hint.nodeNum; 491 u_int32_t hint; local 503 err = SearchExtentFile(vcb, fcb, offset, &foundKey, foundData, &foundIndex, &hint, &nextFABN); 641 u_int32_t hint; local 351 CreateExtentRecord( ExtendedVCB *vcb, HFSPlusExtentKey *key, HFSPlusExtentRecord extents, u_int32_t *hint) argument 876 u_int32_t hint; local 954 u_int32_t hint; local 1354 u_int32_t hint; // BTree hint corresponding to key local 2091 u_int32_t hint; local [all...] |
/darwin-on-arm/xnu/bsd/sys/ |
H A D | event.h | 192 * data/hint fflags for EVFILT_USER, shared with userspace 215 * data/hint fflags for EVFILT_{READ|WRITE}, shared with userspace 222 * data/hint fflags for EVFILT_VNODE, shared with userspace 234 * data/hint fflags for EVFILT_PROC, shared with userspace 237 * that hangs off the proc structure. They also both play games with the hint 238 * passed to KNOTE(). If NOTE_SIGNAL is passed as a hint, then the lower bits 239 * of the hint contain the signal. IF NOTE_FORK is passed, then the lower bits 270 * data/hint fflags for EVFILT_VM, shared with userspace. 278 * data/hint fflags for EVFILT_TIMER, shared with userspace. 291 * data/hint fflag [all...] |
/darwin-on-arm/xnu/bsd/net/ |
H A D | route.c | 632 rtm_scrub_ifscope(int type, int idx, struct sockaddr *hint, struct sockaddr *sa, argument 661 * of the hint sockaddr (RTAX_{DST,IFA}) as indicator as to 668 if (hint == NULL || 669 ((af = hint->sa_family) != AF_INET && af != AF_INET6)) 682 * the corresponding expected values of the hint. 684 if (hint->sa_family == AF_INET) 695 if (hint->sa_family == AF_INET6 && 3334 struct rtentry *rt = hint0, *hint = hint0; local 3363 hint = rt = rtalloc1_scoped((struct sockaddr *) 3365 if (hint ! [all...] |
H A D | rtsock.c | 1057 struct sockaddr *sa, *hint; local 1066 if ((hint = rtinfo->rti_info[RTAX_DST]) == NULL) 1067 hint = rtinfo->rti_info[RTAX_IFA]; 1070 sa = rtm_scrub_ifscope(type, i, hint, sa, &ss); 1140 struct sockaddr *sa, *hint; local 1149 if ((hint = rtinfo->rti_info[RTAX_DST]) == NULL) 1150 hint = rtinfo->rti_info[RTAX_IFA]; 1153 sa = rtm_scrub_ifscope(type, i, hint, sa, &ss);
|
/darwin-on-arm/xnu/osfmk/ipc/ |
H A D | ipc_pset.c | 322 static int filt_machport(struct knote *kn, long hint); 395 __unused long hint) 406 assert(hint == 0); 393 filt_machport( struct knote *kn, __unused long hint) argument
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOLib.cpp | 132 UInt32 hint; member in struct:__anon731 162 gIOKitPageableSpace.hint = 0; 559 index = gIOKitPageableSpace.hint; 564 gIOKitPageableSpace.hint = index; 603 gIOKitPageableSpace.hint = index;
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_event.c | 170 static int filt_kqueue(struct knote *kn, long hint); 187 static int filt_proc(struct knote *kn, long hint); 197 static int filt_vm(struct knote *kn, long hint); 212 static int filt_timer(struct knote *kn, long hint); 250 static int filt_user(struct knote *kn, long hint); 462 filt_kqueue(struct knote *kn, __unused long hint) argument 538 filt_proc(struct knote *kn, long hint) argument 540 /* hint is 0 when called from above */ 541 if (hint != 0) { 544 /* ALWAYS CALLED WITH proc_klist_lock when (hint ! 626 filt_vm(struct knote *kn, long hint) argument 870 filt_timer(struct knote *kn, long hint) argument 996 filt_user(struct knote *kn, __unused long hint) argument 2399 knote(struct klist *list, long hint) argument [all...] |
H A D | sys_pipe.c | 184 static int filt_piperead(struct knote *kn, long hint); 185 static int filt_pipewrite(struct knote *kn, long hint); 1428 filt_piperead(struct knote *kn, long hint) argument 1435 * if hint == 0, then we've been called from the kevent 1437 * if hint == 1, we're being called back via the KNOTE post 1440 if (hint == 0) 1460 if (hint == 0) 1468 filt_pipewrite(struct knote *kn, long hint) argument 1474 * if hint == 0, then we've been called from the kevent 1476 * if hint [all...] |
H A D | uipc_socket.c | 138 static int filt_soread(struct knote *kn, long hint); 140 static int filt_sowrite(struct knote *kn, long hint); 142 static int filt_sockev(struct knote *kn, long hint); 3935 filt_soread(struct knote *kn, long hint) argument 3939 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3953 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3966 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3976 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3984 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3991 if ((hint 4044 filt_sowrite(struct knote *kn, long hint) argument 4104 filt_sockev(struct knote *kn, long hint) argument [all...] |
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_vnops.c | 131 static int filt_vnode(struct knote *kn, long hint); 1671 * --First, notice if the vnode has been revoked: in so, override hint 1672 * --EVFILT_READ knotes are checked no matter what the hint is 1673 * --Other knotes activate based on hint. 1674 * --If hint is revoke, set special flags and activate 1677 filt_vnode(struct knote *kn, long hint) argument 1681 long orig_hint = hint; 1683 if (0 == hint) { 1688 hint = NOTE_REVOKE; 1695 if (NOTE_REVOKE == hint) { [all...] |