Searched refs:tag (Results 26 - 50 of 71) sorted by relevance

123

/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_encap.c532 struct m_tag *tag; local
535 tag = m_tag_alloc(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_ENCAP,
538 if (tag != NULL) {
539 et = (struct encaptabtag*)(tag + 1);
541 m_tag_prepend(m, tag);
549 struct m_tag *tag; local
553 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_ENCAP, NULL);
554 if (tag) {
555 et = (struct encaptabtag*)(tag + 1);
557 m_tag_delete(m, tag);
[all...]
H A Dip_input.c548 struct m_tag *tag; local
562 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DUMMYNET, NULL)) != NULL) {
565 dn_tag = (struct dn_pkt_tag *)(tag+1);
568 m_tag_delete(m, tag);
573 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_DIVERT, NULL)) != NULL) {
576 div_tag = (struct divert_tag *)(tag+1);
579 m_tag_delete(m, tag);
583 if ((tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPFORWARD, NULL)) != NULL) {
586 ipfwd_tag = (struct ip_fwd_tag *)(tag+1);
589 m_tag_delete(m, tag);
2209 struct m_tag *tag; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSSerialize.cpp70 tag = 0;
90 // build a tag
91 snprintf(temp, sizeof(temp), "%u", tag++);
94 // add to tag dictionary
155 tag = 0;
H A DOSSymbol.cpp553 void OSSymbol::taggedRelease(const void *tag) const
555 super::taggedRelease(tag);
558 void OSSymbol::taggedRelease(const void *tag, const int when) const argument
561 super::taggedRelease(tag, when);
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_vlan.c211 u_int16_t ifvm_tag; /* tag to apply on packets leaving if */
369 static int vlan_config(struct ifnet * ifp, struct ifnet * p, int tag);
645 vlan_parent_lookup_tag(vlan_parent_ref vlp, int tag) argument
650 if (tag == ifv->ifv_tag) {
658 vlan_lookup_parent_and_tag(struct ifnet * p, int tag) argument
664 return (vlan_parent_lookup_tag(vlp, tag));
758 vlan_parent_add_vlan(vlan_parent_ref vlp, ifvlan_ref ifv, int tag) argument
762 ifv->ifv_tag = tag;
935 u_short tag; local
963 tag
1026 u_int tag = 0; local
1122 vlan_config(struct ifnet * ifp, struct ifnet * p, int tag) argument
1558 u_short tag; local
[all...]
H A Ddlil.h97 u_int32_t tag; /* current affinity tag */ member in struct:dlil_threading_info
/macosx-10.5.8/xnu-1228.15.4/libkern/libkern/c++/
H A DOSMetaClass.h303 virtual void taggedRetain(const void *tag = 0) const = 0;
309 virtual void taggedRelease(const void *tag = 0) const = 0;
316 virtual void taggedRelease(const void *tag, const int when) const = 0;
390 virtual void taggedRetain(const void *tag = 0) const;
395 virtual void taggedRelease(const void *tag = 0) const;
400 virtual void taggedRelease(const void *tag, const int when) const;
H A DOSSerialize.h54 unsigned int tag; member in class:OSSerialize
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dlock.h86 unsigned short tag);
106 unsigned short tag);
H A Dlocks.c986 extern lck_mtx_t *mutex_alloc_EXT(unsigned short tag);
988 extern void mutex_init_EXT(lck_mtx_t *mutex, unsigned short tag);
998 extern void usimple_lock_init_EXT(lck_spin_t *lock, unsigned short tag);
1075 __unused unsigned short tag)
1090 __unused unsigned short tag)
1145 __unused unsigned short tag)
1074 mutex_alloc_EXT( __unused unsigned short tag) argument
1088 mutex_init_EXT( lck_mtx_t *mutex, __unused unsigned short tag) argument
1143 usimple_lock_init_EXT( lck_spin_t *lock, __unused unsigned short tag) argument
/macosx-10.5.8/xnu-1228.15.4/tools/tests/affinity/
H A Dpool.c37 * When affinity is enabled, each producer thread is tagged with an affinity tag
40 * work item, it sets its affinity to this tag. Hence consumer threads migrate
67 int tag; member in struct:work
174 affinity_set(int tag) argument
180 policy.affinity_tag = tag;
218 * set our tag to by our thread set number.
277 workp->tag = wp->setnum;
279 if (affinity && current_tag != workp->tag) {
280 affinity_set(workp->tag);
281 current_tag = workp->tag;
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dkpi_mbuf.c592 return ENXIO; // No vlan tag set
754 * Mbuf tag KPIs
873 struct m_tag *tag; local
886 tag = m_tag_locate(mbuf, id, type, NULL);
887 if (tag != NULL) {
892 tag = m_tag_alloc(id, type, length, how);
893 if (tag == NULL) {
898 m_tag_prepend(mbuf, tag);
899 *data_p = tag + 1;
912 struct m_tag *tag; local
944 struct m_tag *tag; local
[all...]
H A Dkern_lockf.c89 void lf_print(const char *tag, struct lockf *lock);
90 void lf_printlist(const char *tag, struct lockf *lock);
1134 * Print out a lock; lock information is prefixed by the string in 'tag'
1136 * Parameters: tag A string tag for debugging
1143 lf_print(const char *tag, struct lockf *lock) argument
1145 printf("%s: lock %p for ", tag, (void *)lock);
1174 * is prefixed by the string in 'tag'
1176 * Parameters: tag A string tag fo
1183 lf_printlist(const char *tag, struct lockf *lock) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dip6_input.c1770 struct m_tag *tag; local
1773 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_INET6, NULL);
1774 if (tag == NULL) {
1775 /* Allocate a tag */
1776 tag = m_tag_alloc(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_INET6,
1777 sizeof(*tag), M_DONTWAIT);
1780 if (tag) {
1781 m_tag_prepend(m, tag);
1785 return tag ? (struct ip6aux*)(tag
1792 struct m_tag *tag; local
1803 struct m_tag *tag; local
[all...]
H A Dipsec.c3932 struct m_tag *tag; local
3934 /* Check if the tag already exists */
3935 tag = m_tag_locate(m, KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPSEC, NULL);
3937 if (tag == NULL) {
3940 /* Allocate a tag */
3941 tag = m_tag_alloc(KERNEL_MODULE_TAG_ID, KERNEL_TAG_TYPE_IPSEC,
3944 if (tag) {
3945 itag = (struct ipsec_tag*)(tag + 1);
3949 m_tag_prepend(m, tag);
3953 return tag
3960 struct m_tag *tag; local
3971 struct m_tag *tag; local
3996 struct ipsec_tag *tag; local
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DWKdmDecompress.c231 char tag = next_tag[0]; local
233 switch(tag) {
H A DIOHibernateRestoreKernel.c425 uint32_t tag; local
430 tag = *src++;
431 compressedSize = kIOHibernateTagLength & tag;
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dnbp.h121 gbuf_t *tag; /*pointer to the parent gbuf_t*/ member in struct:_nve_
122 /* *** there's no reason why tag has to
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
/macosx-10.5.8/xnu-1228.15.4/osfmk/mach/i386/
H A Dthread_status.h358 uint32_t tag; member in struct:x86_saved_state32_tagged
464 uint32_t tag; member in struct:x86_saved_state64_tagged
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A Dlocks_i386.c288 __unused unsigned short tag)
291 USLDBG(usld_lock_init(l, tag));
294 simple_lock_init((simple_lock_t)l,tag);
405 __unused unsigned short tag)
655 unsigned short tag,
661 lock_init(l, can_sleep, tag, tag1);
692 __unused unsigned short tag,
700 l->lck_rw_tag = tag;
1800 unsigned short tag)
1805 mutex_init(m, tag);
286 usimple_lock_init( usimple_lock_t l, __unused unsigned short tag) argument
403 usld_lock_init( usimple_lock_t l, __unused unsigned short tag) argument
653 lock_alloc( boolean_t can_sleep, unsigned short tag, unsigned short tag1) argument
689 lock_init( lock_t *l, boolean_t can_sleep, __unused unsigned short tag, __unused unsigned short tag1) argument
1799 mutex_alloc( unsigned short tag) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_attrlist.c118 unsigned int tag; local
152 /* Extract directory index and tag (sequence number) from uio_offset */
154 tag = uio_offset(uio) & ~HFS_INDEX_MASK;
171 dirhint = hfs_getdirhint(dcp, ((index - 1) & HFS_INDEX_MASK) | tag, TRUE);
173 /* Hide tag from catalog layer. */
371 /* Pack directory index and tag into uio_offset. */
372 while (tag == 0) tag = (++dcp->c_dirhinttag) << HFS_INDEX_BITS;
373 uio_setoffset(uio, index | tag);
374 dirhint->dh_index |= tag;
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/panic_ui/
H A Dqtif2kraw.c267 unsigned int tag; local
276 tag = 'RNMp'; // Raw NMage for Panic dialog
284 fwrite(&tag, sizeof(tag), 1, ostream);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dasm.h758 #define Entry(x,tag) .text@.align FALIGN@ .globl EXT(x)@ LEXT(x)
759 #define ENTRY(x,tag) Entry(x,tag)@MCOUNT
760 #define ENTRY2(x,y,tag) .text@ .align FALIGN@ .globl EXT(x)@ .globl EXT(y)@ \
H A Dlocks_ppc.c234 unsigned short tag)
237 USLDBG(usld_lock_init(l, tag));
240 simple_lock_init((simple_lock_t)l,tag);
352 __unused unsigned short tag)
693 __unused unsigned short tag,
699 lock_init(lck, can_sleep, tag, tag1);
715 __unused unsigned short tag,
2181 unsigned short tag)
2186 mutex_init(m, tag);
232 usimple_lock_init( usimple_lock_t l, unsigned short tag) argument
350 usld_lock_init( usimple_lock_t l, __unused unsigned short tag) argument
691 lock_alloc( boolean_t can_sleep, __unused unsigned short tag, __unused unsigned short tag1) argument
712 lock_init( lock_t *lck, boolean_t can_sleep, __unused unsigned short tag, __unused unsigned short tag1) argument
2180 mutex_alloc( unsigned short tag) argument

Completed in 126 milliseconds

123