/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsm_token.c | 69 * argument value 4 bytes/8 bytes (32-bit/64-bit value) 70 * text length 2 bytes 71 * text N bytes + 1 terminating NULL byte 127 * file access mode 4 bytes 128 * owner user ID 4 bytes 129 * owner group ID 4 bytes 130 * file system ID 4 bytes 131 * node ID 8 bytes 132 * device 4 bytes/ 482 au_to_opaque(const char *data, uint16_t bytes) argument [all...] |
/darwin-on-arm/xnu/iokit/IOKit/ |
H A D | IORegistryEntry.h | 337 @param bytes The property's value as a pointer. OSData will copy this data. 338 @param length The property's size in bytes, for OSData. 342 void * bytes,
|
/darwin-on-arm/xnu/bsd/net/classq/ |
H A D | classq_sfb.c | 69 * bytes: false 474 "hinterval=%d sec, sfb_bins=%d bytes, eff_rate=%llu bps\n", 1092 u_int32_t *bytes) 1107 if (bytes != NULL) 1108 *bytes = len; 1091 sfb_purgeq(struct sfb *sp, class_queue_t *q, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | libmicro.c | 1381 int bytes; local 1402 dupdata = malloc(bytes = sizeof (double) * count); 1403 (void) memcpy(dupdata, data, bytes);
|
/darwin-on-arm/xnu/iokit/Kernel/ |
H A D | IOMemoryDescriptor.cpp | 160 // align arrays to 8 bytes so following macros work 1017 (IOByteCount offset, void *bytes, IOByteCount length) 1019 addr64_t dstAddr = CAST_DOWN(addr64_t, bytes); 1062 (IOByteCount offset, const void *bytes, IOByteCount length) 1064 addr64_t srcAddr = CAST_DOWN(addr64_t, bytes); 3185 mach_vm_size_t bytes; 3216 bytes = size; 3220 if( segLen >= bytes) 3221 segLen = bytes; 3283 bytes 1016 readBytes(IOByteCount offset, void *bytes, IOByteCount length) argument [all...] |
H A D | IOUserClient.cpp | 2196 const void * bytes = 0; local 2209 bytes = data->getBytesNoCopy(); 2213 bytes = str->getCStringNoCopy(); 2217 bytes = boo->isTrue() ? "Yes" : "No"; 2222 bytes = &offsetBytes; 2224 bytes = (const void *) 2225 (((UInt32) bytes) + (sizeof( UInt64) - len)); 2231 if( bytes) { 2236 bcopy( bytes, buf, len );
|
H A D | IORegistryEntry.cpp | 695 void * bytes, 699 OSData * data = OSData::withBytes( bytes, length ); 694 setProperty( const char * aKey, void * bytes, unsigned int length) argument
|
/darwin-on-arm/xnu/bsd/net/ |
H A D | pf_ioctl.c | 1432 pf_state_counter_to_pfsync(s->bytes[0], sp->bytes[0]); 1433 pf_state_counter_to_pfsync(s->bytes[1], sp->bytes[1]); 1488 s->bytes[0] = s->bytes[1] = 0; 1960 rule->bytes[0] = rule->bytes[1] = 0; 3048 rule->bytes[0] = rule->bytes[ [all...] |
H A D | kpi_interface.c | 198 * to point to storage of at least IFNAMSIZ bytes. It is safe 1764 uint64_t oseq, ots, bytes, ts, t; local 1792 bytes = oseq - ifp->if_bw.start_seq; 1793 ifp->if_bw.bytes = bytes; 1799 /* Compute bandwidth as bytes/ms */ 1800 bw = (bytes * NSEC_PER_MSEC) / t;
|
H A D | pf.c | 5268 r->bytes[dirndx] += pd->tot_len; 5282 r->bytes[dirndx] += pd->tot_len; 5500 gs->bytes[0] = gs->bytes[1] = 0; 6721 * Only the first 8 bytes of the TCP header can be 7772 * Must be able to put at least 8 bytes per fragment. 8479 r->bytes[dirndx] += pd.tot_len; 8482 a->bytes[dirndx] += pd.tot_len; 8488 s->nat_rule.ptr->bytes[dirndx] += pd.tot_len; 8492 s->src_node->bytes[dirnd [all...] |
H A D | pfvar.h | 695 u_int64_t bytes[2]; member in struct:pf_rule 884 u_int64_t bytes[2]; member in struct:pf_src_node 1013 /* flowhash key (12-bytes multiple for performance) */ 1047 u_int64_t bytes[2]; member in struct:pf_state 1114 u_int32_t bytes[2][2]; member in struct:pfsync_state 1941 int esize; /* size of each element in bytes */ 1952 int esize; /* size of each element in bytes */ 1958 int esize; /* size of each element in bytes */
|
H A D | pf_norm.c | 1578 r->bytes[dir == PF_OUT] += pd->tot_len; 1855 r->bytes[dir == PF_OUT] += pd->tot_len; 2149 r->bytes[dir == PF_OUT] += pd->tot_len;
|
H A D | if_var.h | 229 u_int64_t ifi_ibebytes; /* TC_BE bytes received on interface */ 231 u_int64_t ifi_obebytes; /* TC_BE bytes sent on interface */ 233 u_int64_t ifi_ibkbytes; /* TC_BK bytes received on interface */ 235 u_int64_t ifi_obkbytes; /* TC_BK bytes sent on interface */ 237 u_int64_t ifi_ivibytes; /* TC_VI bytes received on interface */ 239 u_int64_t ifi_ovibytes; /* TC_VI bytes sent on interface */ 241 u_int64_t ifi_ivobytes; /* TC_VO bytes received on interface */ 243 u_int64_t ifi_ovobytes; /* TC_VO bytes sent on interface */ 245 u_int64_t ifi_ipvbytes; /* TC priv bytes received on interface */ 247 u_int64_t ifi_opvbytes; /* TC priv bytes sen 381 u_int64_t bytes; /* XXX not needed */ member in struct:if_measured_bw [all...] |
H A D | dlil.c | 576 u_int32_t blowat; /* bytes low watermark */ 577 u_int32_t bhiwat; /* bytes high watermark */ 939 * low and high watermarks for outstanding inbound packets/bytes. 1683 /* Total bytes of all packets */ 1706 /* Calculate min/max of inbound bytes */ 1707 btot = (u_int32_t)inp->sstats.bytes; 1713 /* Calculate EWMA of inbound bytes */ 1741 "limits [%d/%d], bytes avg %d " 1803 "bytes avg %d limits [%d/%d]\n", 1900 "bytes limit [all...] |
H A D | if.c | 1340 u_int32_t *packets, u_int32_t *bytes, int ifq_locked) 1368 if (bytes != NULL) 1369 *bytes = len + a_len; 1339 if_qflush_sc(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes, int ifq_locked) argument
|
/darwin-on-arm/xnu/bsd/net/pktsched/ |
H A D | pktsched_qfq.c | 354 pr->flow, &pr->packets, &pr->bytes); 359 pr->bytes = 0; 365 pr->bytes += len; 1409 u_int32_t *packets, u_int32_t *bytes) 1470 if (bytes != NULL) 1471 *bytes = len; 1408 qfq_purgeq(struct qfq_if *qif, struct qfq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
|
H A D | pktsched_fairq.c | 460 cl->cl_bandwidth = bandwidth / 8; /* cvt to bytes per second */ 1002 * - Calculate bytes per second 1085 u_int32_t *packets, u_int32_t *bytes) 1147 if (bytes != NULL) 1148 *bytes = _len; 1084 fairq_purgeq(struct fairq_if *fif, struct fairq_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
|
H A D | pktsched_rmclass.c | 1503 u_int32_t *bytes) 1546 if (bytes != NULL) 1547 *bytes = len; 1502 rmc_drop(struct rm_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
|
H A D | pktsched_hfsc.c | 1018 u_int32_t *packets, u_int32_t *bytes) 1081 if (bytes != NULL) 1082 *bytes = len; 1622 * sm: (bytes/tsc_interval) << SM_SHIFT 1633 * bytes/nsec 12.5e-6 125e-6 1250e-6 12500e-6 125000e-6 1017 hfsc_purgeq(struct hfsc_if *hif, struct hfsc_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
|
/darwin-on-arm/xnu/bsd/bsm/ |
H A D | audit_record.h | 234 token_t *au_to_opaque(const char *data, uint16_t bytes);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs_gss.c | 167 * is 128 bytes or greater, then it uses two bytes, three bytes 169 * separate from the data, the size is always the same: 35 bytes (0x23). 172 * field may be two, three or four bytes. 605 nfsm_chain_add_32(error, &nmc_tmp, random()); // confounder bytes 1-4 606 nfsm_chain_add_32(error, &nmc_tmp, random()); // confounder bytes 4-8 620 * needs to be padded either by 4 bytes or 8 bytes. 776 * - length of seq num + results (4 bytes) 3197 int left, bytes; local [all...] |
/darwin-on-arm/xnu/bsd/dev/ |
H A D | memdev.c | 120 extern void bcopy_phys(addr64_t from, addr64_t to, vm_size_t bytes); 159 uint64_t mdBase; /* file size in bytes */ 160 uint32_t mdSize; /* file size in bytes */
|
/darwin-on-arm/xnu/bsd/hfs/hfscommon/Misc/ |
H A D | VolumeAllocation.c | 525 /* Validate that the trim is in a valid range of bytes */ 783 ; at least the requested number of bytes will be allocated or an 801 ; space after bytesRequested, then up to maxBlocks bytes should really 4156 int bytes; local 4168 bytes = kMaxFreeExtents * sizeof(HFSPlusExtentDescriptor); 4171 bzero (freeExt, bytes);
|
/darwin-on-arm/xnu/bsd/netinet/ |
H A D | tcp_input.c | 218 &tcp_do_rfc3465_lim2, 0, "Appropriate bytes counting w/ L=2*SMSS"); 490 uint32_t bw, bytes, elapsed_time; local 494 bytes = bw_meas_bytes; 497 bw = bytes / elapsed_time; 817 /* Calculate per sb limit in terms of bytes. We optimize this limit 907 * bytes. Here we consider increasing 1040 * 2. If the bytes received in the last 100ms is greater than a threshold 1982 * and bytes. If we get a lot of packets per second for this connection 2062 * Keep track of how many bytes were received in the LRO packet 2795 * Then check that at least some bytes o [all...] |
/darwin-on-arm/xnu/bsd/hfs/ |
H A D | hfs_vfsops.c | 1076 rate = ((pending_io * 1000000ULL) / (now - start)); // yields bytes per second 1382 /* Compute an accurate disk size (i.e. within 512 bytes) */ 2870 size_t bytes; local 2893 &bytes, bufsize, 0, UTF_DECOMPOSED); 2895 hint = hfs_pickencoding(unicode_name, bytes / 2); 4123 * so we don't add more bytes to our I/O than necessary. 6613 printf ("hfs_extend_journal: Extended journal size to %u bytes on \"%s\"\n",
|