Searched refs:bytes (Results 26 - 50 of 75) sorted by relevance

123

/darwin-on-arm/xnu/osfmk/i386/
H A Dpmap_internal.h124 previous implementation the structure of the pv_entries (each 16 bytes in size) was
857 PMAP_ZINFO_PALLOC(pmap_t pmap, vm_size_t bytes) argument
863 pmap_ledger_credit(pmap, task_ledgers.tkm_private, bytes);
867 OSAddAtomic64(bytes, (int64_t *)&zinfo[pt_fake_zone_index].alloc);
871 PMAP_ZINFO_PFREE(pmap_t pmap, vm_size_t bytes) argument
877 pmap_ledger_debit(pmap, task_ledgers.tkm_private, bytes);
881 OSAddAtomic64(bytes, (int64_t *)&zinfo[pt_fake_zone_index].free);
885 PMAP_ZINFO_SALLOC(pmap_t pmap, vm_size_t bytes) argument
887 pmap_ledger_credit(pmap, task_ledgers.tkm_shared, bytes);
891 PMAP_ZINFO_SFREE(pmap_t pmap, vm_size_t bytes) argument
[all...]
/darwin-on-arm/xnu/bsd/net/altq/
H A Dif_altq.h143 (_bytes) = _req.bytes; \
/darwin-on-arm/xnu/bsd/net/
H A Dntstat.h325 void nstat_route_tx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
326 void nstat_route_rx(struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags);
H A Dntstat.c617 u_int32_t bytes,
627 OSAddAtomic(bytes, &stats->nstat_txretransmit);
632 OSAddAtomic64((SInt64)bytes, (SInt64*)&stats->nstat_txbytes);
644 u_int32_t bytes,
655 OSAddAtomic64((SInt64)bytes, (SInt64*)&stats->nstat_rxbytes);
660 OSAddAtomic(bytes, &stats->nstat_rxoutoforderbytes);
662 OSAddAtomic(bytes, &stats->nstat_rxduplicatebytes);
614 nstat_route_tx( struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags) argument
641 nstat_route_rx( struct rtentry *rte, u_int32_t packets, u_int32_t bytes, u_int32_t flags) argument
/darwin-on-arm/xnu/iokit/IOKit/
H A DIODMACommand.h188 @param alignment Alignment restriction, in bytes, on I/O bus addresses. Defaults to single byte alignment.
211 @param alignment Alignment restriction, in bytes, on I/O bus addresses. Defaults to single byte alignment.
246 @param alignment Alignment restriction, in bytes, on I/O bus addresses. Defaults to single byte alignment.
333 @param bytes The caller supplied buffer to copy the data from.
335 @result The number of bytes copied, zero will be returned if the specified offset is beyond the prepared length of the IODMACommand. */
337 UInt64 writeBytes(UInt64 offset, const void *bytes, UInt64 length);
343 @param bytes The caller supplied buffer to copy the data to.
345 @result The number of bytes copied, zero will be returned if the specified offset is beyond the prepared length of the IODMACommand. */
347 UInt64 readBytes(UInt64 offset, void *bytes, UInt64 length);
410 @param alignment Alignment restriction, in bytes, o
[all...]
H A DIONVRAM.h125 virtual OSData *unescapeBytesToData(const UInt8 *bytes, UInt32 length);
H A DIOMemoryDescriptor.h484 @param bytes The caller supplied buffer to copy the data to.
486 @result The number of bytes copied, zero will be returned if the specified offset is beyond the length of the descriptor. Development/debug kernel builds will assert if the offset is beyond the length of the descriptor. */
489 void * bytes, IOByteCount withLength);
495 @param bytes The caller supplied buffer to copy the data from.
497 @result The number of bytes copied, zero will be returned if the specified offset is beyond the length of the descriptor. Development/debug kernel builds will assert if the offset is beyond the length of the descriptor. */
500 const void * bytes, IOByteCount withLength);
/darwin-on-arm/xnu/libkern/kxld/
H A Dkxld_sym.c861 long bytes = 0; local
868 bytes = strlen(sym->name) + 1;
869 require_action((u_long)bytes <= strsize - *stroff, finish,
884 *stroff += bytes;
902 long bytes = 0; local
909 bytes = strlen(sym->name) + 1;
910 require_action((u_long)bytes <= strsize - *stroff, finish,
925 *stroff += bytes;
/darwin-on-arm/xnu/osfmk/arm/
H A Dloose_ends.c448 void bzero_phys_nc(addr64_t src64, uint32_t bytes) argument
450 bzero_phys(src64, bytes);
H A Dmachine_routines.h45 void bcopy_phys(addr64_t src64, addr64_t dst64, vm_size_t bytes);
245 /* Zero bytes starting at a physical address */
H A Dpmap.c269 implementation the structure of the pv_entries (each 16 bytes in size) was
652 static inline void PMAP_ZINFO_PALLOC(pmap_t pmap, vm_size_t bytes) argument
658 pmap_ledger_credit(pmap, task_ledgers.tkm_private, bytes);
661 OSAddAtomic64(bytes, (int64_t *) & zinfo[pt_fake_zone_index].alloc);
664 static inline void PMAP_ZINFO_PFREE(pmap_t pmap, vm_size_t bytes) argument
670 pmap_ledger_debit(pmap, task_ledgers.tkm_private, bytes);
673 OSAddAtomic64(bytes, (int64_t *) & zinfo[pt_fake_zone_index].free);
676 static inline void PMAP_ZINFO_SALLOC(pmap_t pmap, vm_size_t bytes) argument
678 pmap_ledger_credit(pmap, task_ledgers.tkm_shared, bytes);
681 static inline void PMAP_ZINFO_SFREE(pmap_t pmap, vm_size_t bytes) argument
[all...]
/darwin-on-arm/xnu/iokit/Kernel/
H A DIOHibernateIO.cpp246 IOByteCount offset, addr64_t bytes, IOByteCount length)
248 addr64_t srcAddr = bytes;
284 IOByteCount offset, addr64_t bytes, IOByteCount length)
286 addr64_t dstAddr = bytes;
721 size_t bytes = (kIOHibernateAESKeySize / 8); local
722 if (vek.key.keybytecount < bytes)
723 bytes = vek.key.keybytecount;
724 bcopy(&vek.key.keybytes[0], volumeCryptKey, bytes);
884 const uint8_t * bytes, IOByteCount size,
893 if (!bytes
245 IOMemoryDescriptorWriteFromPhysical(IOMemoryDescriptor * md, IOByteCount offset, addr64_t bytes, IOByteCount length) argument
283 IOMemoryDescriptorReadToPhysical(IOMemoryDescriptor * md, IOByteCount offset, addr64_t bytes, IOByteCount length) argument
883 IOPolledFileWrite(IOPolledFileIOVars * vars, const uint8_t * bytes, IOByteCount size, hibernate_cryptvars_t * cryptvars) argument
1008 IOPolledFileRead(IOPolledFileIOVars * vars, uint8_t * bytes, IOByteCount size, hibernate_cryptvars_t * cryptvars) argument
[all...]
H A DIODMACommand.cpp548 IOByteCount bytes; local
551 bytes = poMD->writeBytes(state->fPreparedOffset,
555 bytes = poMD->readBytes(state->fPreparedOffset,
558 DEBG("fCopyMD %s %lx bytes\n", (kWalkSyncIn & op) ? "wrote" : "read", bytes);
559 ret = (bytes == state->fPreparedLength) ? kIOReturnSuccess : kIOReturnUnderrun;
964 IODMACommand::readBytes(UInt64 offset, void *bytes, UInt64 length) argument
966 return (transfer(kIODMACommandTransferOpReadBytes, offset, bytes, length));
970 IODMACommand::writeBytes(UInt64 offset, const void *bytes, UInt64 length) argument
972 return (transfer(kIODMACommandTransferOpWriteBytes, offset, const_cast<void *>(bytes), lengt
[all...]
H A DIONVRAM.cpp1395 OSData *IODTNVRAM::unescapeBytesToData(const UInt8 *bytes, UInt32 length) argument
1407 byte = bytes[cnt++];
1409 byte = bytes[cnt++];
1425 byte = bytes[cnt++];
1427 byte = bytes[cnt++];
/darwin-on-arm/xnu/osfmk/profiling/i386/
H A Dprofile-md.c269 printf("Allocated %d bytes for profiling, address 0x%x\n", (int)size, (int)addr);
279 printf("Freed %d bytes for profiling, address 0x%x\n", (int)size, (int)addr);
385 _profile_printf("C thinks struct %s is %ld bytes, asm thinks it is %ld bytes\n",
639 size_t bytes = 0;
672 bytes += sizeof (arc);
687 return bytes;
701 size_t bytes = 0;
724 bytes += sizeof (struct prof_ext);
755 bytes
632 size_t bytes = 0; local
693 size_t bytes = 0; local
[all...]
/darwin-on-arm/xnu/bsd/net/classq/
H A Dclassq_red.c134 * bytes=false (can't be handled by 32-bit fixed-point)
253 /* default packet time: 1000 bytes / 10Mbps * 8 * 1000000 */
496 u_int32_t *bytes)
511 if (bytes != NULL)
512 *bytes = len;
495 red_purgeq(struct red *rp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
H A Dclassq_rio.c224 /* default packet time: 1000 bytes / 10Mbps * 8 * 1000000 */
496 u_int32_t *bytes)
511 if (bytes != NULL)
512 *bytes = len;
495 rio_purgeq(struct rio *rp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
H A Dif_classq.h56 u_int32_t bytes; /* (out) purged bytes */ member in struct:cqrq_purge_sc
95 u_int32_t depth; /* depth in bytes */
297 (_bytes) = _req.bytes; \
/darwin-on-arm/xnu/tools/tests/superpages/
H A Dtestsp.c509 unsigned int bytes; local
525 if ((bytes = read(fd, (void*)(uintptr_t)addr1, SUPERPAGE_SIZE)) < SUPERPAGE_SIZE) {
531 if ((bytes = read(fd, (void*)(uintptr_t)addr2, SUPERPAGE_SIZE)) < SUPERPAGE_SIZE) {
538 if (memcmp((void*)(uintptr_t)addr1, (void*)(uintptr_t)addr2, bytes)) {
/darwin-on-arm/xnu/osfmk/kdp/ml/arm/
H A Dkdp_machdep.c332 uint8_t *bytes,
336 *(uint32_t *)bytes = 0xe1200070;
331 kdp_machine_get_breakinsn( uint8_t *bytes, uint32_t *size ) argument
/darwin-on-arm/xnu/bsd/net/pktsched/
H A Dpktsched_priq.c255 pr->flow, &pr->packets, &pr->bytes);
260 pr->bytes = 0;
266 pr->bytes += len;
775 u_int32_t *packets, u_int32_t *bytes)
833 if (bytes != NULL)
834 *bytes = len;
774 priq_purgeq(struct priq_if *pif, struct priq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
H A Dpktsched_tcq.c227 pr->flow, &pr->packets, &pr->bytes);
232 pr->bytes = 0;
238 pr->bytes += len;
736 u_int32_t *packets, u_int32_t *bytes)
789 if (bytes != NULL)
790 *bytes = len;
735 tcq_purgeq(struct tcq_if *tif, struct tcq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
/darwin-on-arm/xnu/osfmk/kdp/ml/i386/
H A Dkdp_machdep.c490 uint8_t *bytes,
494 bytes[0] = 0xcc;
489 kdp_machine_get_breakinsn( uint8_t *bytes, uint32_t *size ) argument
/darwin-on-arm/xnu/bsd/netat/
H A Dddp_lap.c522 int bytes; local
532 bytes = i * sizeof(snmpAarpEnt_t);
534 ("elap_wput:getarp returned, i=%d,bytes=%d\n",
535 i, bytes));
537 if ((gbuf_cont(m) = gbuf_alloc(bytes, PRI_MED)) == NULL) {
541 bcopy(snmpp, gbuf_rptr(gbuf_cont(m)), bytes);
542 gbuf_wset(gbuf_cont(m),bytes); local
543 iocbp->ioc_count = bytes;
/darwin-on-arm/xnu/osfmk/kdp/ml/x86_64/
H A Dkdp_machdep.c497 uint8_t *bytes,
501 bytes[0] = 0xcc;
496 kdp_machine_get_breakinsn( uint8_t *bytes, uint32_t *size ) argument

Completed in 117 milliseconds

123