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

123

/xnu-2782.1.97/bsd/net/
H A Dpf_ioctl.c1445 pf_state_counter_to_pfsync(s->bytes[0], sp->bytes[0]);
1446 pf_state_counter_to_pfsync(s->bytes[1], sp->bytes[1]);
1501 s->bytes[0] = s->bytes[1] = 0;
1973 rule->bytes[0] = rule->bytes[1] = 0;
3102 rule->bytes[0] = rule->bytes[
[all...]
H A Ddlil.c644 &hwcksum_dbg_partial_forced_bytes, "bytes forced using partial cksum");
734 u_int32_t blowat; /* bytes low watermark */
735 u_int32_t bhiwat; /* bytes high watermark */
1111 * low and high watermarks for outstanding inbound packets/bytes.
1939 /* Total bytes of all packets */
1962 /* Calculate min/max of inbound bytes */
1963 btot = (u_int32_t)inp->sstats.bytes;
1969 /* Calculate EWMA of inbound bytes */
1997 "limits [%d/%d], bytes avg %d "
2058 "bytes av
2865 ifnet_get_service_class_sndq_len(struct ifnet *ifp, mbuf_svc_class_t sc, u_int32_t *pkts, u_int32_t *bytes) argument
6517 const u_int8_t *bytes; local
[all...]
H A Dpf.c5321 r->bytes[dirndx] += pd->tot_len;
5335 r->bytes[dirndx] += pd->tot_len;
5553 gs->bytes[0] = gs->bytes[1] = 0;
6785 * Only the first 8 bytes of the TCP header can be
7804 * Must be able to put at least 8 bytes per fragment.
8511 r->bytes[dirndx] += pd.tot_len;
8514 a->bytes[dirndx] += pd.tot_len;
8520 s->nat_rule.ptr->bytes[dirndx] += pd.tot_len;
8524 s->src_node->bytes[dirnd
[all...]
H A Dpfvar.h694 u_int64_t bytes[2]; member in struct:pf_rule
883 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
1943 int esize; /* size of each element in bytes */
1954 int esize; /* size of each element in bytes */
1960 int esize; /* size of each element in bytes */
H A Droute.c719 * is an valid scope ID value, as the span of bytes between
766 const void *bytes; local
773 bytes = dlil_ifaddr_bytes(sdl, &size, credp);
774 if (bytes != CONST_LLADDR(sdl)) {
776 bcopy(bytes, LLADDR(sdl), size);
2330 * Round up sockaddr len to multiples of 32-bytes. This will reduce
H A Dpf_norm.c1585 r->bytes[dir == PF_OUT] += pd->tot_len;
1864 r->bytes[dir == PF_OUT] += pd->tot_len;
2159 r->bytes[dir == PF_OUT] += pd->tot_len;
H A Dif_var.h228 u_int64_t ifi_ibebytes; /* TC_BE bytes received on interface */
230 u_int64_t ifi_obebytes; /* TC_BE bytes sent on interface */
232 u_int64_t ifi_ibkbytes; /* TC_BK bytes received on interface */
234 u_int64_t ifi_obkbytes; /* TC_BK bytes sent on interface */
236 u_int64_t ifi_ivibytes; /* TC_VI bytes received on interface */
238 u_int64_t ifi_ovibytes; /* TC_VI bytes sent on interface */
240 u_int64_t ifi_ivobytes; /* TC_VO bytes received on interface */
242 u_int64_t ifi_ovobytes; /* TC_VO bytes sent on interface */
244 u_int64_t ifi_ipvbytes; /* TC priv bytes received on interface */
246 u_int64_t ifi_opvbytes; /* TC priv bytes sen
396 u_int64_t bytes; /* XXX not needed */ member in struct:if_measured_bw
[all...]
H A Dkpi_interface.h367 @param prepend_len The length of prepended bytes to the mbuf.
369 @param postpend_len The length of the postpended bytes to the mbuf.
607 @field bytes_in The number of bytes received.
610 @field bytes_out The number of bytes transmitted.
636 @field uniqueid_len The length, in bytes, of the uniqueid.
737 @param len Pointer to a storage for the total length (in bytes)
963 @field uniqueid_len The length, in bytes, of the uniqueid.
1091 @field bytes_in The number of bytes received.
1094 @field bytes_out The number of bytes transmitted.
1123 only in the 5 bytes wil
[all...]
H A Dif.c1323 u_int32_t *packets, u_int32_t *bytes, int ifq_locked)
1351 if (bytes != NULL)
1352 *bytes = len + a_len;
2317 /* If larger than 14-bytes we'll need another mechanism */
1322 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
/xnu-2782.1.97/bsd/net/pktsched/
H A Dpktsched_fairq.c460 cl->cl_bandwidth = bandwidth / 8; /* cvt to bytes per second */
1008 * - Calculate bytes per second
1092 u_int32_t *packets, u_int32_t *bytes)
1154 if (bytes != NULL)
1155 *bytes = _len;
1091 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 Dpktsched_rmclass.c1503 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 Dpktsched_hfsc.c1024 u_int32_t *packets, u_int32_t *bytes)
1087 if (bytes != NULL)
1088 *bytes = len;
1628 * sm: (bytes/tsc_interval) << SM_SHIFT
1639 * bytes/nsec 12.5e-6 125e-6 1250e-6 12500e-6 125000e-6
1023 hfsc_purgeq(struct hfsc_if *hif, struct hfsc_class *cl, u_int32_t flow, u_int32_t *packets, u_int32_t *bytes) argument
/xnu-2782.1.97/bsd/bsm/
H A Daudit_record.h234 token_t *au_to_opaque(const char *data, uint16_t bytes);
/xnu-2782.1.97/iokit/Kernel/
H A DIOUserClient.cpp1106 IOLog("failed to parse entitlements for %s[%u]: %lu bytes of entitlements exceeds maximum of %u\n", procname, pid, len, MAX_ENTITLEMENTS_LEN);
2445 const void * bytes = 0; local
2463 bytes = data->getBytesNoCopy();
2467 bytes = str->getCStringNoCopy();
2471 bytes = boo->isTrue() ? "Yes" : "No";
2476 bytes = &offsetBytes;
2478 bytes = (const void *)
2479 (((UInt32) bytes) + (sizeof( UInt64) - len));
2485 if( bytes) {
2490 bcopy( bytes, bu
[all...]
H A DIORegistryEntry.cpp695 void * bytes,
699 OSData * data = OSData::withBytes( bytes, length );
694 setProperty( const char * aKey, void * bytes, unsigned int length) argument
/xnu-2782.1.97/bsd/netinet/
H A Din_tclass.c782 so_inc_recv_data_stat(struct socket *so, size_t pkts, size_t bytes, uint32_t tc) argument
788 so->so_tc_stats[tc].rxbytes +=bytes;
H A Dflow_divert.c119 uint8_t *bytes; member in struct:flow_divert_trie
134 #define TRIE_BYTE(t, i) ((t)->bytes[(i)])
741 * We still have bytes in the string that have not been matched yet.
761 FDLOG0(LOG_ERR, &nil_pcb, "Ran out of bytes while inserting a new leaf");
1175 FDLOG(LOG_DEBUG, fd_cb, "sent %lu bytes of buffered data", sent);
1552 FDLOG(LOG_DEBUG, fd_cb, "received %lu bytes of data", data_size);
1600 FDLOG(LOG_DEBUG, fd_cb, "received a read notification for %u bytes", read_count);
1745 /* Compute the number of signing IDs and the total amount of bytes needed to store them */
1769 bytes_mem_size = (sizeof(*new_trie.bytes) * new_trie.bytes_count);
1773 FDLOG(LOG_ERR, &nil_pcb, "Failed to allocate %lu bytes o
[all...]
H A Dtcp_input.c208 &tcp_do_rfc3465_lim2, 0, "Appropriate bytes counting w/ L=2*SMSS");
534 uint32_t bw, bytes, elapsed_time; local
538 bytes = bw_meas_bytes;
541 bw = bytes / elapsed_time;
934 /* Calculate per sb limit in terms of bytes. We optimize this limit
1038 * bytes. Here we consider increasing
1178 * 2. If the bytes received in the last 100ms is greater than a threshold
1421 * than 4*SMSS bytes
2279 * Keep track of how many bytes were received in the LRO packet
3081 * Then check that at least some bytes o
[all...]
/xnu-2782.1.97/osfmk/vm/
H A Dvm_map.h1113 vm_size_t bytes);
1117 vm_size_t bytes);
H A Dvm_map.c7107 * then an unaligned copy for the remaining bytes.
7145 * Unaligned copy of the first "head_size" bytes, to reach
7360 * we can only copy dst_size bytes before
7366 * we can only copy src_size bytes before
8617 * Check for copies of zero bytes.
9366 * Check for copies of zero bytes.
10760 * bytes of the submap.
14441 vm_map_iokit_mapped_region(vm_map_t map, vm_size_t bytes) argument
14445 ledger_credit(pmap->ledger, task_ledgers.iokit_mapped, bytes);
14446 ledger_credit(pmap->ledger, task_ledgers.phys_footprint, bytes);
14450 vm_map_iokit_unmapped_region(vm_map_t map, vm_size_t bytes) argument
[all...]
/xnu-2782.1.97/bsd/kern/
H A Duipc_socket2.c1307 * these bytes in receive socket buffer size. Otherwise,
1309 * of the additional unordered bytes added to the
1528 int32_t bytes = 0, topull_tmp = topull; local
1538 * Move bytes from the priority queue to the
1539 * serial queue. Compute the number of bytes
1543 bytes += mqhead->m_len;
1556 bytes += mqhead->m_len;
1600 priq->msgq_bytes -= bytes;
1604 so->so_msg_state->msg_serial_bytes += bytes;
/xnu-2782.1.97/bsd/dev/
H A Dmemdev.c120 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 */
/xnu-2782.1.97/bsd/nfs/
H A Dnfs_gss.c172 * is 128 bytes or greater, then it uses two bytes, three bytes
174 * separate from the data, the size is always the same: 35 bytes (0x23).
177 * field may be two, three or four bytes.
644 nfsm_chain_add_32(error, &nmc_tmp, random()); // confounder bytes 1-4
645 nfsm_chain_add_32(error, &nmc_tmp, random()); // confounder bytes 4-8
659 * needs to be padded either by 4 bytes or 8 bytes.
814 * - length of seq num + results (4 bytes)
3605 int left, bytes; local
[all...]
/xnu-2782.1.97/bsd/hfs/hfscommon/Misc/
H A DVolumeAllocation.c447 /* Validate that the trim is in a valid range of bytes */
861 ; at least the requested number of bytes will be allocated or an
879 ; space after bytesRequested, then up to maxBlocks bytes should really
3990 printf("HFS Summary Table Size (in bytes) %d \n", summary_size_bytes);
4071 printf("HFS Summary Table Size (in bytes) %d \n", summarybytes);
4135 /* 131072 bits == 16384 bytes. This is the theoretical max size of the summary table. we add 1 byte for slop */
4294 /* hfs_scan_range_size should have verified startbit. Convert it to bytes */
4327 * bytes though, so clip our ending bit to what we actually read in.
4543 /* bitmap_off is in bytes, not allocation blocks/bits */
4572 * Generate the total bitmap file length in bytes, the
4698 int bytes; local
[all...]
/xnu-2782.1.97/bsd/hfs/
H A Dhfs_vfsops.c1311 /* Compute an accurate disk size (i.e. within 512 bytes) */
2808 size_t bytes; local
2831 &bytes, bufsize, 0, UTF_DECOMPOSED);
2833 hint = hfs_pickencoding(unicode_name, bytes / 2);
2957 /* Note that the JIB's offset is in bytes */
4033 * located at FS Size - 1024 bytes, because this one will
4066 * Flush out alternate volume header located at 1024 bytes before

Completed in 469 milliseconds

123