Searched refs:tag (Results 51 - 75 of 81) sorted by relevance

1234

/darwin-on-arm/xnu/osfmk/kern/
H A Dlocks.c1027 extern void usimple_lock_init_EXT(lck_spin_t *lock, unsigned short tag);
1033 lck_mtx_t* mutex_alloc_EXT(__unused unsigned short tag);
1035 void mutex_init_EXT(lck_mtx_t *mutex, __unused unsigned short tag);
1119 __unused unsigned short tag)
1148 __unused unsigned short tag)
1163 __unused unsigned short tag)
1117 usimple_lock_init_EXT( lck_spin_t *lock, __unused unsigned short tag) argument
1147 mutex_alloc_EXT( __unused unsigned short tag) argument
1161 mutex_init_EXT( lck_mtx_t *mutex, __unused unsigned short tag) argument
H A Dthread.h658 static inline uint16_t thread_set_tag_internal(thread_t thread, uint16_t tag) { argument
659 return __sync_fetch_and_or(&thread->thread_tag, tag);
/darwin-on-arm/xnu/bsd/netinet/
H A Dip_input.c686 struct m_tag *tag; local
700 * Don't bother searching for tag(s) if there's none.
707 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID,
711 dn_tag = (struct dn_pkt_tag *)(tag+1);
715 m_tag_delete(m, tag);
720 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID,
724 div_tag = (struct divert_tag *)(tag+1);
727 m_tag_delete(m, tag);
731 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID,
735 ipfwd_tag = (struct ip_fwd_tag *)(tag
2493 struct m_tag *tag; local
[all...]
H A Dip_output.c293 struct m_tag *tag; local
325 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID,
329 dn_tag = (struct dn_pkt_tag *)(tag+1);
346 m_tag_delete(m0, tag);
351 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID,
355 div_tag = (struct divert_tag *)(tag+1);
358 m_tag_delete(m0, tag);
363 if ((tag = m_tag_locate(m0, KERNEL_MODULE_TAG_ID,
367 ipfwd_tag = (struct ip_fwd_tag *)(tag+1);
370 m_tag_delete(m0, tag);
[all...]
H A Dicmp6.h731 #define icmp6_ifstat_inc(ifp, tag) \
737 icmp6_ifstat[(ifp)->if_index]->tag++; \
H A Dip_dummynet.c689 * Return the mbuf tag holding the dummynet state. As an optimization
690 * this is assumed to be the first tag on the list. If this turns out
701 panic("packet on dummynet queue w/o dummynet tag: %p", m);
1803 struct m_tag *tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET, NULL); \
1804 if (tag) { \
1805 struct dn_pkt_tag *n = (struct dn_pkt_tag *)(tag+1); \
1811 m_tag_delete(_m, tag); \
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_nbp.c1360 gbuf_t *tag;
1378 if ((tag = gbuf_alloc(sizeof(nve_entry_t), PRI_HI)) == NULL){
1381 gbuf_wset(tag, sizeof(nve_entry_t));
1382 new_entry = (nve_entry_t *)gbuf_rptr(tag);
1401 new_entry->tag = tag;
1428 gbuf_freem(nve_entry->tag);
1359 gbuf_t *tag; local
/darwin-on-arm/xnu/bsd/net/
H A Dpf.c1644 TH_RST|TH_ACK, 0, 0, 0, 1, cur->tag, NULL, NULL);
1689 if (cur->tag)
1690 pf_tag_unref(cur->tag);
2351 u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag,
2398 if (tag)
2761 int *tag)
2764 if (*tag == -1)
2765 *tag = pf_mtag->pftag_tag;
2767 return ((!r->match_tag_not && r->match_tag == *tag) ||
2768 (r->match_tag_not && r->match_tag != *tag));
2348 pf_send_tcp(const struct pf_rule *r, sa_family_t af, const struct pf_addr *saddr, const struct pf_addr *daddr, u_int16_t sport, u_int16_t dport, u_int32_t seq, u_int32_t ack, u_int8_t flags, u_int16_t win, u_int16_t mss, u_int8_t ttl, int tag, u_int16_t rtag, struct ether_header *eh, struct ifnet *ifp) argument
2760 pf_match_tag(struct mbuf *m, struct pf_rule *r, struct pf_mtag *pf_mtag, int *tag) argument
2772 pf_tag_packet(struct mbuf *m, struct pf_mtag *pf_mtag, int tag, unsigned int rtableid, struct pf_pdesc *pd) argument
3343 int tag = -1; local
4018 int tag = -1; local
5103 int tag = -1; local
5359 int tag = -1; local
[all...]
H A Dntstat.c228 OSMallocTag tag = OSMalloc_Tagalloc(NET_STAT_CONTROL_NAME, OSMT_DEFAULT);
229 if (!OSCompareAndSwapPtr(NULL, tag, &nstat_malloc_tag))
231 OSMalloc_Tagfree(tag);
232 tag = nstat_malloc_tag;
256 OSMallocTag tag)
261 u_int8_t *buffer = OSMalloc(size, tag);
277 OSMallocTag tag)
280 OSFree(((char*)buffer) - hdr->offset, hdr->length, tag);
253 nstat_malloc_aligned( u_int32_t length, u_int8_t alignment, OSMallocTag tag) argument
275 nstat_free_aligned( void *buffer, OSMallocTag tag) argument
H A Ddlil.h143 u_int32_t tag; /* affinity tag */ member in struct:dlil_threading_info
H A Ddlil.c968 u_int32_t tag; local
971 * of affinity tag namespace collision.
973 read_random(&tag, sizeof (tag));
974 if (dlil_affinity_set(tp, tag) == KERN_SUCCESS) {
976 inp->tag = tag;
1019 VERIFY(inp->tag == 0);
1050 dlil_affinity_set(struct thread *tp, u_int32_t tag) argument
1055 policy.affinity_tag = tag;
2014 u_int32_t tag = inp->tag; local
2134 u_int32_t tag = inp->tag; local
[all...]
H A Dpfvar.h739 u_int16_t tag; member in struct:pf_rule
1051 u_int16_t tag; member in struct:pf_state
1116 u_int16_t tag; member in struct:pfsync_state
1714 u_int16_t tag; member in struct:pf_tagname
/darwin-on-arm/xnu/
H A Dxnu-build65 project=$(git tag -l | tail -n1)
/darwin-on-arm/xnu/bsd/netinet6/
H A Din6_var.h654 #define in6_ifstat_inc(ifp, tag) \
661 atomic_add_64(&in6_ifstat[_z_index]->tag, 1); \
/darwin-on-arm/xnu/iokit/IOKit/
H A DIOMemoryDescriptor.h467 @abstract Set the tag for the memory descriptor.
468 @discussion This method sets the tag for the memory descriptor. Tag bits are not interpreted by IOMemoryDescriptor.
469 @param tag The tag. */
471 virtual void setTag( IOOptionBits tag );
474 @abstract Accessor to the retrieve the tag for the memory descriptor.
475 @discussion This method returns the tag for the memory descriptor. Tag bits are not interpreted by IOMemoryDescriptor.
476 @result The tag. */
662 virtual void taggedRelease(const void *tag = 0) const;
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOHibernateIO.cpp2065 uint32_t tag; local
2478 tag = pageCompressedSize | kIOHibernateTagSignature;
2479 err = IOPolledFileWrite(vars->fileVars, (const uint8_t *) &tag, sizeof(tag), cryptvars);
2820 uint32_t tag; local
2837 err = IOPolledFileRead(vars->fileVars, (uint8_t *) &tag, 4, cryptvars);
2841 compressedSize = kIOHibernateTagLength & tag;
2842 if (kIOHibernateTagSignature != (tag & ~kIOHibernateTagLength))
H A DIOHibernateRestoreKernel.c204 kIOHibernateRestoreCodeTag = 'tag ',
580 uint32_t tag; local
588 tag = *src++;
589 // debug_code(kIOHibernateRestoreCodeTag, (uintptr_t) tag);
591 compressedSize = kIOHibernateTagLength & tag;
/darwin-on-arm/xnu/tools/tests/MPMMTest/
H A DMPMMtest.c330 thread_setup(int tag) { argument
347 policy.affinity_tag = tag;
H A DKQMPMMtest.c315 thread_setup(int tag) { argument
332 policy.affinity_tag = tag;
/darwin-on-arm/xnu/osfmk/console/panic_ui/
H A Dgenimage.c561 unsigned int tag; local
570 tag = 'RNMp'; // Raw NMage for Panic dialog
578 fwrite(&tag, sizeof(tag), 1, ostream);
/darwin-on-arm/xnu/osfmk/i386/
H A Dstartup64.c231 kprintf("scp->iss32.tag: 0x%08x\n", scp->iss32.tag);
/darwin-on-arm/xnu/libkern/c++/
H A DOSMetaClass.cpp501 void OSMetaClass::taggedRetain(__unused const void * tag) const { }
502 void OSMetaClass::taggedRelease(__unused const void * tag) const { }
503 void OSMetaClass::taggedRelease(__unused const void * tag, __unused const int when) const { } argument
/darwin-on-arm/xnu/EXTERNAL_HEADERS/corecrypto/
H A Dccmode_factory.h330 void ccmode_gcm_finalize(ccgcm_ctx *key, size_t tag_size, void *tag);
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_hotfiles.c485 strlcpy((char *)hotfileinfo.tag, hfc_tag, sizeof hotfileinfo.tag);
1907 strlcpy((char *)hotfileinfo->tag, hfc_tag,
1908 sizeof hotfileinfo->tag);
H A Dhfs_vnops.c4479 * with a tag (6 bits). The tag is for associating the next request
4483 * Each tag/index pair is tied to a unique directory hint. The hint
4514 unsigned int tag; local
4649 tag = offset & ~HFS_INDEX_MASK;
4670 dirhint = hfs_getdirhint(cp, ((index - 1) & HFS_INDEX_MASK) | tag, 0);
4672 /* Hide tag from catalog layer. */
4723 while (tag == 0)
4724 tag = (++cp->c_dirhinttag) << HFS_INDEX_BITS;
4725 uio_setoffset(uio, (index + 2) | tag);
[all...]

Completed in 194 milliseconds

1234