/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | in_arp.h | 53 @param hint Any routing hint passed down from the protocol. 65 struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, 71 struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint,
|
H A D | in_arp.c | 432 route_t hint, 445 route_t hint, 449 route_t route = hint; 452 /* If we got a hint from the higher layers, check it out */ 458 hint = route = rtalloc1_scoped_locked(net_dest, 460 if (hint) { 461 rtunref(hint); 497 return route == hint ? EHOSTDOWN : EHOSTUNREACH; 514 route_t hint, 532 if (hint) { 443 arp_route_to_gateway_route( const struct sockaddr *net_dest, route_t hint, route_t *out_route) argument 509 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 [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/headers/ |
H A D | CatalogPrivate.h | 94 u_int32_t hint, CatalogKey *key, CatalogRecord *data, u_int32_t *newHint); 96 extern OSErr LocateCatalogNodeByKey ( const ExtendedVCB *volume, u_int32_t hint, CatalogKey *keyPtr, 100 u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint); 103 CatalogName *unicodeName, u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr,
|
H A D | FileMgrInternal.h | 217 u_int32_t hint, 226 u_int32_t hint,
|
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
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Misc/ |
H A D | BTreeWrapper.c | 39 OSErr SearchBTreeRecord(__unused FileReference refNum, __unused const void* key, __unused u_int32_t hint, __unused void* foundKey, __unused void* data, __unused u_int16_t *dataSize, __unused u_int32_t *newHint) argument 63 searchIterator.hint.writeCount = 0; // clear these out for debugging... 64 searchIterator.hint.reserved1 = 0; 65 searchIterator.hint.reserved2 = 0; 67 searchIterator.hint.nodeNum = hint; 68 searchIterator.hint.index = 0; 79 *newHint = searchIterator.hint.nodeNum; 97 OSErr ReplaceBTreeRecord(FileReference refNum, const void* key, u_int32_t hint, void *newData, u_int16_t dataSize, u_int32_t *newHint) argument 113 iterator.hint [all...] |
H A D | FileExtentMapping.c | 135 u_int32_t *hint); 214 // foundHint The BTree hint to find the node again 339 *foundHint = btIterator->hint.nodeNum; 350 u_int32_t *hint) 359 *hint = 0; 403 *hint = btIterator->hint.nodeNum; 480 u_int32_t hint; local 492 err = SearchExtentFile(vcb, fcb, offset, &foundKey, foundData, &foundIndex, &hint, &nextFABN); 621 u_int32_t hint; local 346 CreateExtentRecord( ExtendedVCB *vcb, HFSPlusExtentKey *key, HFSPlusExtentRecord extents, u_int32_t *hint) argument 858 u_int32_t hint; local 937 u_int32_t hint; local 1291 u_int32_t hint; // BTree hint corresponding to key local 2013 u_int32_t hint; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/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...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/Catalog/ |
H A D | CatalogUtilities.c | 49 u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint) 56 result = LocateCatalogRecord(volume, folderID, name, hint, keyPtr, dataPtr, newHint); 93 LocateCatalogNodeByKey(const ExtendedVCB *volume, u_int32_t hint, CatalogKey *keyPtr, argument 112 searchIterator.hint.nodeNum = hint; 120 *newHint = searchIterator.hint.nodeNum; 166 u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint) 175 hint = kNoHint; // no CName given so clear the hint 177 result = SearchBTreeRecord(volume->catalogRefNum, &tempKey, hint, keyPt 48 LocateCatalogNode(const ExtendedVCB *volume, HFSCatalogNodeID folderID, const CatalogName *name, u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint) argument 165 LocateCatalogRecord(const ExtendedVCB *volume, HFSCatalogNodeID folderID, const CatalogName *name, u_int32_t hint, CatalogKey *keyPtr, CatalogRecord *dataPtr, u_int32_t *newHint) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/ |
H A D | event.h | 157 * data/hint fflags for EVFILT_{READ|WRITE}, shared with userspace 164 * data/hint fflags for EVFILT_VNODE, shared with userspace 175 * data/hint fflags for EVFILT_PROC, shared with userspace 178 * that hangs off the proc structure. They also both play games with the hint 179 * passed to KNOTE(). If NOTE_SIGNAL is passed as a hint, then the lower bits 180 * of the hint contain the signal. IF NOTE_FORK is passed, then the lower bits 192 * data/hint fflags for EVFILT_TIMER, shared with userspace. 271 int (*f_event)(struct knote *kn, long hint); 280 #define KNOTE(list, hint) knote(list, hint) [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/ |
H A D | inode.h | 189 #define VN_KNOTE(vp, hint) KNOTE(&VTOI(vp)->i_knotes, (hint))
|
H A D | ufs_vnops.c | 109 static int filt_ufsread(struct knote *kn, long hint); 110 static int filt_ufswrite(struct knote *kn, long hint); 111 static int filt_ufsvnode(struct knote *kn, long hint); 1837 filt_ufsread(struct knote *kn, long hint) argument 1844 if (hint == 0) { 1846 hint = NOTE_REVOKE; 1850 if (hint == NOTE_REVOKE) { 1884 filt_ufswrite(struct knote *kn, long hint) argument 1890 if (hint == 0) { 1892 hint 1910 filt_ufsvnode(struct knote *kn, long hint) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_vfsutils.c | 1586 * Find the current thread's directory hint for a given index. 1590 * Use detach if the cnode lock must be dropped while the hint is still active. 1597 directoryhint_t *hint; local 1604 * Look for an existing hint first. If not found, create a new one (when 1605 * the list is not full) or recycle the oldest hint. Since new hints are 1606 * always added to the head of the list, the last hint is always the 1609 TAILQ_FOREACH(hint, &dcp->c_hintlist, dh_link) { 1610 if (hint->dh_index == index) 1613 if (hint != NULL) { /* found an existing hint */ 1668 directoryhint_t *hint; local 1698 directoryhint_t *hint, *prev; local 1729 hfs_insertdirhint(struct cnode *dcp, directoryhint_t * hint) argument [all...] |
H A D | hfs_format.h | 383 u_int32_t textEncoding; /* hint for name conversions */ 426 u_int32_t textEncoding; /* hint for name conversions */ 619 #define SET_HFS_TEXT_ENCODING(hint) \ 620 (0x656e6300 | ((hint) & 0xff)) 621 #define GET_HFS_TEXT_ENCODING(hint) \ 622 (((hint) & 0xffffff00) == 0x656e6300 ? (hint) & 0x000000ff : 0xffffffffU)
|
H A D | hfs_catalog.c | 93 static int cat_lookupbykey(struct hfsmount *hfsmp, CatalogKey *keyp, int allow_system_files, u_long hint, int wantrsrc, 117 static int builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_long hint, u_long encoding, 429 iterator->hint.nodeNum = 0; 603 cat_lookupbykey(struct hfsmount *hfsmp, CatalogKey *keyp, int allow_system_files, u_long hint, int wantrsrc, argument 622 iterator->hint.nodeNum = hint; 633 hint = iterator->hint.nodeNum; 765 builddesc(pluskey, cnid, hint, encoding, isadir(recp), descp); 831 bto->iterator.hint 3704 builddesc(const HFSPlusCatalogKey *key, cnid_t cnid, u_long hint, u_long encoding, int isdir, struct cat_desc *descp) argument [all...] |
H A D | hfs_vnops.c | 2944 * Each tag/index pair is tied to a unique directory hint. The hint 3000 /* Pick up cnid hint (if any). */ 3107 /* When called from NFS, try and resolve a cnid hint. */ 3121 /* Get a directory hint (cnode must be locked exclusive) */ 3175 /* If we didn't do anything then go ahead and dump the hint. */ 3888 filt_hfsread(struct knote *kn, long hint) argument 3893 if (hint == 0) { 3895 hint = NOTE_REVOKE; 3899 if (hint 3931 filt_hfswrite(struct knote *kn, long hint) argument 3955 filt_hfsvnode(struct knote *kn, long hint) argument [all...] |
H A D | hfs.h | 480 #define HFS_KNOTE(vp, hint) KNOTE(&VTOC(vp)->c_knotes, (hint)) 703 /* HFS directory hint functions. */
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IOLib.cpp | 109 UInt32 hint; member in struct:__anon550 139 gIOKitPageableSpace.hint = 0; 502 index = gIOKitPageableSpace.hint; 507 gIOKitPageableSpace.hint = index; 546 gIOKitPageableSpace.hint = index;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/ |
H A D | sys_pipe.c | 194 static int filt_piperead(struct knote *kn, long hint); 195 static int filt_pipewrite(struct knote *kn, long hint); 1706 filt_piperead(struct knote *kn, long hint) argument 1713 * if hint == 0, then we've been called from the kevent 1715 * if hint == 1, we're being called back via the KNOTE post 1718 if (hint == 0) 1737 if (hint == 0) 1745 filt_pipewrite(struct knote *kn, long hint) argument 1751 * if hint == 0, then we've been called from the kevent 1753 * if hint [all...] |
H A D | kern_event.c | 150 static int filt_kqueue(struct knote *kn, long hint); 163 static int filt_proc(struct knote *kn, long hint); 178 static int filt_timer(struct knote *kn, long hint); 388 filt_kqueue(struct knote *kn, __unused long hint) argument 447 filt_proc(struct knote *kn, long hint) argument 451 /* hint is 0 when called from above */ 452 if (hint != 0) { 455 /* ALWAYS CALLED WITH proc_klist_lock when (hint != 0) */ 460 event = (u_int)hint & NOTE_PCTRLMASK; 548 * synchronization point). Pass a hint t 643 filt_timer(struct knote *kn, __unused long hint) argument 1762 knote(struct klist *list, long hint) argument [all...] |
H A D | uipc_socket.c | 133 static int filt_soread(struct knote *kn, long hint); 135 static int filt_sowrite(struct knote *kn, long hint); 136 static int filt_solisten(struct knote *kn, long hint); 3724 filt_soread(struct knote *kn, long hint) argument 3728 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3736 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3746 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3754 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3761 if ((hint & SO_FILT_HINT_LOCKED) == 0) 3767 if ((hint 3794 filt_sowrite(struct knote *kn, long hint) argument 3829 filt_solisten(struct knote *kn, long hint) argument [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/ |
H A D | nd6.h | 54 int ln_byhint; /* # of times we made it reachable by UL hint */ 446 @param hint Any routing hint passed down from the protocol. 455 struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint,
|
H A D | nd6.c | 1109 * Upper-layer reachability hint for Neighbor Unreachability Detection. 2259 route_t hint, route_t *out_route); 2267 route_t hint, 2270 route_t route = hint; 2281 if (hint) { 2282 result = arp_route_to_gateway_route((const struct sockaddr*)ip6_dest, hint, &route); 2262 nd6_lookup_ipv6( ifnet_t ifp, const struct sockaddr_in6 *ip6_dest, struct sockaddr_dl *ll_dest, size_t ll_dest_len, route_t hint, mbuf_t packet) argument
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/ |
H A D | cache.s | 155 bt++ pf64Bitb,spp64 ; Skip if 64-bit (only they take the hint)
|