/macosx-10.5.8/xnu-1228.15.4/bsd/net/ |
H A D | if_vlan_var.h | 72 #define EVL_VLANOFTAG(tag) ((tag) & EVL_VLID_MASK) 73 #define EVL_PRIOFTAG(tag) (((tag) >> 13) & 7)
|
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/ |
H A D | OSMalloc.h | 67 extern void OSMalloc_Tagfree(OSMallocTag tag); 69 extern void * OSMalloc(uint32_t size, OSMallocTag tag); 71 extern void * OSMalloc_nowait(uint32_t size, OSMallocTag tag); 73 extern void * OSMalloc_noblock(uint32_t size, OSMallocTag tag); 75 extern void OSFree(void * addr, uint32_t size, OSMallocTag tag);
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/ |
H A D | kalloc.c | 166 void OSMalloc_Tagref(OSMallocTag tag); 167 void OSMalloc_Tagrele(OSMallocTag tag); 591 OSMallocTag tag) 593 if (!((tag->OSMT_state & OSMT_VALID_MASK) == OSMT_VALID)) 594 panic("OSMalloc_Tagref(): bad state 0x%08X\n",tag->OSMT_state); 596 (void)hw_atomic_add(&tag->OSMT_refcnt, 1); 601 OSMallocTag tag) 603 if (!((tag->OSMT_state & OSMT_VALID_MASK) == OSMT_VALID)) 604 panic("OSMalloc_Tagref(): bad state 0x%08X\n",tag->OSMT_state); 606 if (hw_atomic_sub(&tag 590 OSMalloc_Tagref( OSMallocTag tag) argument 600 OSMalloc_Tagrele( OSMallocTag tag) argument 618 OSMalloc_Tagfree( OSMallocTag tag) argument 633 OSMalloc( uint32_t size, OSMallocTag tag) argument 656 OSMalloc_nowait( uint32_t size, OSMallocTag tag) argument 675 OSMalloc_noblock( uint32_t size, OSMallocTag tag) argument 693 OSFree( void *addr, uint32_t size, OSMallocTag tag) argument [all...] |
H A D | affinity.c | 37 * shared by a task family, this controls affinity tag lookup and 41 * and which share an affinity tag in the owning namespace. 72 static affinity_set_t affinity_set_find(affinity_space_t aspc, uint32_t tag); 95 * Return the affinity tag for a thread. 101 uint32_t tag; local 104 tag = thread->affinity_set->aset_tag; 106 tag = THREAD_AFFINITY_TAG_NULL; 108 return tag; 114 * Place a thread in an affinity set identified by a tag. 118 thread_affinity_set(thread_t thread, uint32_t tag) argument 478 affinity_set_find(affinity_space_t space, uint32_t tag) argument [all...] |
H A D | affinity.h | 47 uint32_t aset_tag; /* user-assigned tag */ 53 extern kern_return_t thread_affinity_set(thread_t thread, uint32_t tag);
|
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/ |
H A D | ip_edgehole.c | 204 struct edgehole_tag *tag) 210 if (tag->eh_inp == NULL || tag->eh_inpinfo == NULL) 216 delayed->inp = tag->eh_inp; 217 delayed->inpinfo = tag->eh_inpinfo; 259 // Allocate a malloc tag 285 struct edgehole_tag *tag; local 288 // Find an existing tag 289 if (mbuf_tag_find(m, edgehole_tag, 0, &length, (void**)&tag) == 0) 291 if (length != sizeof(*tag)) 203 ip_edgehole_notify( struct edgehole_tag *tag) argument 315 struct edgehole_tag *tag; local [all...] |
H A D | dhcp_options.c | 234 * the end tag. 241 uint8_t tag; local 246 tag = dhcptag_pad_e; 247 for (scan = (const uint8_t *)buffer; tag != dhcptag_end_e && len > 0; ) { 249 tag = scan[DHCP_TAG_OFFSET]; 251 switch (tag) { 274 dprintf(("dhcp_options: parse failed near tag %d", tag)); 294 dhcpol_find(dhcpol_t * list, int tag, int * len_p, int * start) argument 298 if (tag 472 dhcpoa_add(dhcpoa_t * oa_p, dhcptag_t tag, int len, const void * option) argument [all...] |
H A D | dhcp_options.h | 195 const void * dhcpol_find(dhcpol_t * list, int tag, int * len_p, 198 void * dhcpol_get(dhcpol_t * list, int tag, int * len_p); 251 dhcpoa_add(dhcpoa_t * oa_p, dhcptag_t tag, int len, const void * data); 259 dhcptag_t tag, int len, void * option);
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Tests/ |
H A D | TestDevice.cpp | 49 TestDeviceAction act, int tag, void *dataP) 51 return commQ->enqueueCommand(sleep, (void *) act, (void *) tag, dataP); 99 TestDevice::producer1Action(int tag) argument 101 logPrintf(("C1(%d) ", tag)); 105 TestDevice::producer2Action(int tag, void *count) argument 107 logPrintf(("C2(%d,%d) ", tag, (int) count)); 108 if ( !(tag % 10) ) 48 enqueueCommand(bool sleep, TestDeviceAction act, int tag, void *dataP) argument
|
H A D | Tests.h | 95 TestDeviceAction act, int tag, void *dataP); 99 void producer1Action(int tag); 100 void producer2Action(int tag, void *inCount);
|
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/ |
H A D | tags.c | 44 thread_tag_set(thread_t thread, int tag) argument 49 policy.affinity_tag = tag; 91 int tag; local 127 printf(" %d: thread 0x%08x tag %d\n", 132 printf("Enter new tag or <return> to skip or ^D to quit\n"); 134 tag = thread_tag_get(thread_array[i]); 135 printf(" %d: thread 0x%08x tag %d: ", 136 i, thread_array[i], tag); 145 tag = atoi(input); 146 thread_tag_set(thread_array[i], tag); [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/ |
H A D | OSBoolean.h | 52 virtual void taggedRelease(const void *tag, const int when) const; 74 virtual void taggedRetain(const void *tag) const;
|
H A D | OSObject.h | 78 @discussion If $link retainCount <= the when argument then call $link free(). This indirect implementation of $link release allows the developer to break reference circularity. An example of this sort of problem is a parent/child mutual reference, either the parent or child can implement: void taggedRelease(tag) { taggedRelease(tag, 2); } thus breaking the cirularity. 80 virtual void taggedRelease(const void *tag, const int when) const; 136 @param tag Retain a reference on this object with this tag, see taggedRelease. 138 virtual void taggedRetain(const void *tag = 0) const; 142 @param tag Remove a reference on this object with this tag, if an attempt is made to remove a reference that isn't associated with this tag the kernel will panic immediately. 144 virtual void taggedRelease(const void *tag [all...] |
H A D | OSSymbol.h | 70 virtual void taggedRelease(const void *tag, const int when) const; 82 @abstract Release a tag. 83 @discussion The C++ language has forced me to override this method even though I have implemented it as { super::taggedRelease(tag) }. It seems that C++ is confused about the appearance of the protected taggedRelease with 2 args and refuses to only inherit one function. See OSObject::taggedRelease 85 virtual void taggedRelease(const void *tag) const;
|
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/ |
H A D | pci_device.h | 126 int pci_map_mem(pcici_t tag,
|
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/ |
H A D | IODeviceMemory.h | 54 @field tag 32-bit value not interpreted by IODeviceMemory or IOMemoryDescriptor, for use by the bus family. */ 59 IOOptionBits tag; member in struct:IODeviceMemory::InitElement 63 @abstract Constructs an OSArray of IODeviceMemory instances, each describing one physical range, and a tag value. 64 @discussion This method creates IODeviceMemory instances for each physical range passed in an IODeviceMemory::InitElement array. Each element consists of a physical address, length and tag value for the IODeviceMemory. The instances are returned as a created OSArray.
|
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/hfscommon/BTree/ |
H A D | BTreeNodeReserve.c | 59 void *nr_tag; /* unique tag (per thread) */ 66 #define NR_HASH(btvp, tag) \ 67 (&nr_hashtbl[((((int)(btvp)) >> 8) ^ ((int)(tag) >> 4)) & nr_hashmask]) 256 void * tag = NR_GET_TAG(); local 262 nrhead = NR_HASH(btvp, tag); 265 if ((tmp_nrp->nr_tag == tag) && (tmp_nrp->nr_btvp == btvp)) { 276 nrp->nr_tag = tag; 288 void * tag = NR_GET_TAG(); local 292 if ((nrp->nr_tag != tag) || (nrp->nr_btvp != btvp)) 313 void* tag local [all...] |
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/ |
H A D | OSBoolean.cpp | 85 void OSBoolean::taggedRetain(const void *tag) const { } 86 void OSBoolean::taggedRelease(const void *tag, const int when) const { } argument
|
H A D | OSUnserializeXML.y | 110 static void rememberObject(parser_state_t *state, int tag, OSObject *o); 111 static object_t *retrieveObject(parser_state_t *state, int tag); 291 char tag[TAG_MAX_LENGTH], 321 /* find end of tag while copying it */ 323 tag[length++] = c; 328 tag[length] = 0; 330 // printf("tag %s, type %d\n", tag, tagType); 625 char tag[TAG_MAX_LENGTH]; 647 tagType = getTag(STATE, tag, [all...] |
H A D | OSUnserializeXML.cpp | 205 static void rememberObject(parser_state_t *state, int tag, OSObject *o); 206 static object_t *retrieveObject(parser_state_t *state, int tag); 1903 char tag[TAG_MAX_LENGTH], 1933 /* find end of tag while copying it */ 1935 tag[length++] = c; 1940 tag[length] = 0; 1942 // printf("tag %s, type %d\n", tag, tagType); 2237 char tag[TAG_MAX_LENGTH]; 2259 tagType = getTag(STATE, tag, [all...] |
H A D | OSObject.cpp | 139 void OSObject::taggedRetain(const void *tag) const 147 if ((const void *) OSTypeID(OSCollection) == tag) 181 void OSObject::taggedRelease(const void *tag) const 183 taggedRelease(tag, 1); 186 void OSObject::taggedRelease(const void *tag, const int when) const argument 195 if ((const void *) OSTypeID(OSCollection) == tag)
|
/macosx-10.5.8/xnu-1228.15.4/security/ |
H A D | mac_net.c | 83 struct m_tag *tag; local 94 tag = m_tag_locate(mbuf, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_MACLABEL, 96 if (tag == NULL) { 101 label = (struct label *)(tag+1); 149 mac_mbuf_tag_init(struct m_tag *tag, int flag) argument 154 label = (struct label *) (tag + 1); 206 mac_mbuf_tag_destroy(struct m_tag *tag) argument 210 label = (struct label *)(tag + 1); 229 * mac_mbuf_tag_init() is called on the target tag 304 struct m_tag *tag; local [all...] |
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/ |
H A D | hfs_hotfiles.h | 99 u_int8_t tag[32]; member in struct:HotFilesInfo
|
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/ |
H A D | IODeviceMemory.cpp | 67 range->setTag( list[i].tag );
|
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/ |
H A D | vm_statistics.h | 246 #define VM_MAKE_TAG(tag) ((tag) << 24)
|