Home
last modified time | relevance | path

Searched refs:md (Results 1 – 19 of 19) sorted by relevance

/xnu-11215/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp288 assert(md); in IODMACommandLocalMappedNonContig()
324 md->release(); in IODMACommandLocalMappedNonContig()
363 assert(md); in IOMemoryRemoteTest()
407 md->release(); in IOMemoryRemoteTest()
493 assert(md); in ZeroLengthTest()
494 md->prepare(); in ZeroLengthTest()
496 md->release(); in ZeroLengthTest()
568 assert(md); in IOMemoryMapTest()
599 md->release(); in IOMemoryMapTest()
858 assert(md); in IOMemoryDescriptorTest()
[all …]
/xnu-11215/bsd/netinet6/
H A Desp_output.c242 struct mbuf *md, in esp_output() argument
390 for (n = md; n; n = n->m_next) { in esp_output()
463 if ((md = ipsec_copypkt(md)) == NULL) { in esp_output()
468 mprev->m_next = md; in esp_output()
519 if (M_LEADINGSPACE(md) < esphlen || (md->m_flags & M_EXT) != 0) { in esp_output()
529 n->m_next = md; in esp_output()
538 md->m_len += esphlen; in esp_output()
539 md->m_data -= esphlen; in esp_output()
541 esp = mtod(md, struct esp *); in esp_output()
546 esp = mtod(md, struct esp *); in esp_output()
[all …]
H A Dmld6.c2339 MGET(md, M_DONTWAIT, MT_DATA); in mld_v1_transmit_report()
2340 if (md == NULL) { in mld_v1_transmit_report()
2347 mh->m_next = md; in mld_v1_transmit_report()
3089 md = m_last(m); in mld_v2_enqueue_group_record()
3091 md->m_len - nbytes); in mld_v2_enqueue_group_record()
3093 md = m_getptr(m, 0, &off); in mld_v2_enqueue_group_record()
3181 md = m_getptr(m, 0, &off); in mld_v2_enqueue_group_record()
3369 md = m_getptr(m, npbytes - in mld_v2_enqueue_filter_change()
3375 md = m_last(m); in mld_v2_enqueue_filter_change()
3377 uint8_t *) + md->m_len - in mld_v2_enqueue_filter_change()
[all …]
H A Dah_output.c401 ah6_output(struct mbuf *m, u_char *nexthdrp, struct mbuf *md, in ah6_output() argument
427 for (mprev = m; mprev && mprev->m_next != md; mprev = mprev->m_next) { in ah6_output()
430 if (!mprev || mprev->m_next != md) { in ah6_output()
450 mah->m_next = md; in ah6_output()
/xnu-11215/iokit/Kernel/
H A DIODMACommand.cpp918 OSSharedPtr<IOMemoryDescriptor> md = state->fCopyMD; in prepare() local
919 if (md) { in prepare()
922 md = fMemory; in prepare()
926 ret = md->dmaCommandOperation(kIOMDDMAMap, &mapArgs, sizeof(mapArgs)); in prepare()
959 ret = md->dmaCommandOperation(mdOp, &walkState, sizeof(walkState)); in prepare()
1001 ret = md->dmaCommandOperation(mdOp, &walkState, sizeof(walkState)); in prepare()
1074 OSSharedPtr<IOMemoryDescriptor> md = fMemory; in complete() local
1094 OSSharedPtr<IOMemoryDescriptor> md = copyMD; in complete() local
1095 if (md) { in complete()
1098 md = fMemory; in complete()
[all …]
H A DIOHibernateIO.cpp302 IOMemoryDescriptorWriteFromPhysical(IOMemoryDescriptor * md, in IOMemoryDescriptorWriteFromPhysical() argument
308 remaining = length = min(length, md->getLength() - offset); in IOMemoryDescriptorWriteFromPhysical()
313 dstAddr64 = md->getPhysicalSegment(offset, &dstLen, kIOMemoryMapperNone); in IOMemoryDescriptorWriteFromPhysical()
342 IOMemoryDescriptorReadToPhysical(IOMemoryDescriptor * md, in IOMemoryDescriptorReadToPhysical() argument
348 remaining = length = min(length, md->getLength() - offset); in IOMemoryDescriptorReadToPhysical()
1383 if (md) { in IOHibernateDone()
1384 IOSetKeyStoreData(md); in IOHibernateDone()
1558 if (!md) {
1562 uint8_t *bytes = (uint8_t *)md->getBytesNoCopy();
1565 md->release();
[all …]
H A DIOLib.cpp845 IOBufferMemoryDescriptor * md; member
889 entry->md = bmd; in IOMallocContiguous()
907 IOMemoryDescriptor * md = NULL; in IOFreeContiguous() local
922 md = entry->md; in IOFreeContiguous()
930 if (md) { in IOFreeContiguous()
931 md->release(); in IOFreeContiguous()
H A DIOMemoryDescriptor.cpp2980 && !md->initMemoryEntries(computeDataSize(0, 0), kIOMapperWaitSystem)) { in dmaCommandOperation()
3008 …err = md->dmaMap(data->fMapper, md, data->fCommand, &data->fMapSpec, data->fOffset, data->fLength,… in dmaCommandOperation()
3018 md->dmaMapRecord(data->fMapper, data->fCommand, dataP->fMappedLength); in dmaCommandOperation()
3093 prior = OSAddAtomic16(1, &md->_dmaReferences); in dmaCommandOperation()
3095 md->_mapName = NULL; in dmaCommandOperation()
3098 if (md->_dmaReferences) { in dmaCommandOperation()
3099 OSAddAtomic16(-1, &md->_dmaReferences); in dmaCommandOperation()
3145 …err = md->dmaMap(dataP->fMapper, md, NULL, &mapSpec, 0, _length, &dataP->fMappedBase, &dataP->fMap… in dmaCommandOperation()
3572 IOMemoryDescriptor *md = const_cast<IOMemoryDescriptor *>(this); in dmaCommandOperation() local
3602 addr = md->getPhysicalSegment(offset, &length, kIOMemoryMapperNone); in dmaCommandOperation()
[all …]
H A DIOUserServer.cpp1103 IOMemoryDescriptor * md; in CompleteDMA_Impl() local
1118 md = __DECONST(IOMemoryDescriptor *, fMemory); in CompleteDMA_Impl()
1119 if (md) { in CompleteDMA_Impl()
1120 md->retain(); in CompleteDMA_Impl()
1125 if (md) { in CompleteDMA_Impl()
1126 completeRet = md->complete(); in CompleteDMA_Impl()
1127 OSSafeReleaseNULL(md); in CompleteDMA_Impl()
1145 IOMemoryDescriptor * md; in GetPreparation_Impl() local
1158 *memory = md; in GetPreparation_Impl()
1159 if (!md) { in GetPreparation_Impl()
[all …]
/xnu-11215/bsd/netinet/
H A Digmp.c3205 mbuf_ref_t m0, m, md; in igmp_v3_enqueue_group_record() local
3396 md = m_last(m); in igmp_v3_enqueue_group_record()
3398 (mtod(md, uint8_t *) + md->m_len - nbytes); in igmp_v3_enqueue_group_record()
3400 md = m_getptr(m, 0, &off); in igmp_v3_enqueue_group_record()
3402 (mtod(md, uint8_t *) + off); in igmp_v3_enqueue_group_record()
3497 md = m_getptr(m, 0, &off); in igmp_v3_enqueue_group_record()
3499 (mtod(md, uint8_t *) + off); in igmp_v3_enqueue_group_record()
3603 mbuf_ref_t m0, m, md; in igmp_v3_enqueue_filter_change() local
3701 md = m_getptr(m, npbytes - in igmp_v3_enqueue_filter_change()
3707 md = m_last(m); in igmp_v3_enqueue_filter_change()
[all …]
/xnu-11215/doc/vm/
H A Dmemorystatus.md38 Implementation of the freezer. See `doc/memorystatus/freezer.md` for details.
44 …icy and mechanical bits to send out memory pressure notifications. See `doc/memorystatus/notify.md`
58 …nchronous actions that happen on other threads. See `doc/memorystatus/kill.md` for more documentat…
78 Many kill types kill in ascending jetsam priority level. See `doc/memorystatus/kill.md` for more de…
145 … health check and performing most jetsam kills (see `doc/memorystatus/kill.md` for a kill breakdow…
153 … demoting processes when the freezer is full. See `doc/memorystatus/freeze.md` for more details on…
H A Dmemorystatus_notify.md82 (`memorystatus_available_pages`, see [memorystatus.md](memorystatus.md)).
H A Dfreezer.md101 … All tunables are set via [Trial](https://trial.apple.com). See `doc/trial.md` for information on …
/xnu-11215/bsd/skywalk/mem/
H A Dskmem_region.c1685 IOSKMemoryBufferRef __single md; in sksegment_freelist_insert() local
1701 IOSKRegionClearBufferDebug(skr->skr_reg, sg->sg_index, &md); in sksegment_freelist_insert()
1702 VERIFY(sg->sg_md == md); in sksegment_freelist_insert()
1706 err = IOSKMemoryUnwire(md); in sksegment_freelist_insert()
1708 panic("Fail to unwire md %p, err %d", md, err); in sksegment_freelist_insert()
1713 err = IOSKMemoryDiscard(md); in sksegment_freelist_insert()
1715 panic("Fail to discard md %p, err %d", md, err); in sksegment_freelist_insert()
1718 IOSKMemoryDestroy(md); in sksegment_freelist_insert()
/xnu-11215/bsd/skywalk/packet/
H A Dpbufpool.c973 pp_buf_seg_ctor(struct sksegment *sg, IOSKMemoryBufferRef md, void *arg) in pp_buf_seg_ctor() argument
978 pp->pp_pbuf_seg_ctor(pp, sg, md); in pp_buf_seg_ctor()
983 pp_buf_seg_dtor(struct sksegment *sg, IOSKMemoryBufferRef md, void *arg) in pp_buf_seg_dtor() argument
988 pp->pp_pbuf_seg_dtor(pp, sg, md); in pp_buf_seg_dtor()
/xnu-11215/bsd/dev/dtrace/
H A Dfasttrap.c2453 fasttrap_ioctl(dev_t dev, u_long cmd, user_addr_t arg, int md, cred_t *cr, int *rv) in fasttrap_ioctl() argument
2455 #pragma unused(dev, md, rv) in fasttrap_ioctl()
H A Ddtrace.c17846 dtrace_ioctl(dev_t dev, u_long cmd, user_addr_t arg, int md, cred_t *cr, int *rv) in dtrace_ioctl() argument
17848 #pragma unused(md) in dtrace_ioctl()
/xnu-11215/makedefs/
H A DMakeInc.top785 @cat README.md
/xnu-11215/
H A DREADME.md122 See doc/xnu_version.md for more details.