Searched refs:adj (Results 1 – 10 of 10) sorted by relevance
| /xnu-11215/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.c | 299 *(adj->adj_flowadv_max) = sk_max_flows; in nx_fsw_prov_params_adjust() 301 *(adj->adj_caps) |= NXPCAP_USER_PACKET_POOL; in nx_fsw_prov_params_adjust() 303 *(adj->adj_caps) |= NXPCAP_CHECKSUM_PARTIAL; in nx_fsw_prov_params_adjust() 305 *(adj->adj_alloc_rings) = *(adj->adj_free_rings) = in nx_fsw_prov_params_adjust() 308 *(adj->adj_alloc_slots) = *(adj->adj_free_slots) = in nx_fsw_prov_params_adjust() 316 if (*(adj->adj_max_frags) > 1) { in nx_fsw_prov_params_adjust() 321 *(adj->adj_max_buffers) = (sk_fsw_max_bufs != 0) ? in nx_fsw_prov_params_adjust() 330 NX_METADATA_PACKET_SZ(*(adj->adj_max_frags)) + in nx_fsw_prov_params_adjust() 339 *(adj->adj_max_buffers) -= magazine_max_objs; in nx_fsw_prov_params_adjust() 343 (*(adj->adj_max_frags) <= 1)) { in nx_fsw_prov_params_adjust() [all …]
|
| /xnu-11215/osfmk/mach/ |
| H A D | dyld_kernel_fixups.h | 333 kernel_collection_adjust_fileset_entry_addrs(struct mach_header_64 *mh, uintptr_t adj) in kernel_collection_adjust_fileset_entry_addrs() argument 356 seg->vmaddr += adj; in kernel_collection_adjust_fileset_entry_addrs() 360 sec->addr += adj; in kernel_collection_adjust_fileset_entry_addrs() 384 sym[i].n_value += adj; in kernel_collection_adjust_fileset_entry_addrs() 394 kernel_collection_adjust_mh_addrs(struct mach_header_64 *kc_mh, uintptr_t adj, in kernel_collection_adjust_mh_addrs() argument 431 mh = (struct mach_header_64 *)((uintptr_t)fse->vmaddr + adj); in kernel_collection_adjust_mh_addrs() 437 kernel_collection_adjust_fileset_entry_addrs(mh, adj); in kernel_collection_adjust_mh_addrs() 439 fse->vmaddr += adj; in kernel_collection_adjust_mh_addrs() 446 seg->vmaddr += adj; in kernel_collection_adjust_mh_addrs() 449 sec->addr += adj; in kernel_collection_adjust_mh_addrs()
|
| /xnu-11215/tests/ |
| H A D | ntp_adjtime_29192647.c | 107 struct timeval adj; variable 141 adj.tv_sec = 0; 142 adj.tv_usec = ADJSTMENT; 152 T_ASSERT_POSIX_ZERO(adjtime(&adj, NULL), NULL);
|
| /xnu-11215/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif.c | 480 *(adj->adj_rx_slots) = sk_netif_compat_wap_rx_ring_sz; in nx_netif_compat_adjust_ring_size() 481 *(adj->adj_tx_slots) = sk_netif_compat_wap_tx_ring_sz; in nx_netif_compat_adjust_ring_size() 501 *(adj->adj_rx_slots) = in nx_netif_compat_adjust_ring_size() 503 *(adj->adj_tx_slots) = in nx_netif_compat_adjust_ring_size() 536 *(adj->adj_buf_size) = NETIF_COMPAT_BUF_SIZE; in nx_netif_prov_params_adjust() 537 *(adj->adj_tx_rings) = 1; in nx_netif_prov_params_adjust() 544 nx_netif_compat_adjust_ring_size(adj, ifp); in nx_netif_prov_params_adjust() 548 *(adj->adj_tx_slots) = NX_NETIF_MINSLOTS; in nx_netif_prov_params_adjust() 549 *(adj->adj_rx_slots) = NX_NETIF_MINSLOTS; in nx_netif_prov_params_adjust() 557 *(adj->adj_tx_rings) += 1; in nx_netif_prov_params_adjust() [all …]
|
| /xnu-11215/bsd/skywalk/nexus/upipe/ |
| H A D | nx_user_pipe.c | 291 const struct nxprov_params *nxp, struct nxprov_adjusted_params *adj) in nx_upipe_prov_params_adjust() argument 298 if (*(adj->adj_tx_rings) != *(adj->adj_rx_rings)) { in nx_upipe_prov_params_adjust() 299 SK_ERR("rings: tx (%u) != rx (%u)", *(adj->adj_tx_rings), in nx_upipe_prov_params_adjust() 300 *(adj->adj_rx_rings)); in nx_upipe_prov_params_adjust() 303 *(adj->adj_tx_rings) *= 2; in nx_upipe_prov_params_adjust() 304 *(adj->adj_rx_rings) *= 2; in nx_upipe_prov_params_adjust()
|
| /xnu-11215/bsd/skywalk/nexus/kpipe/ |
| H A D | nx_kernel_pipe.c | 485 const struct nxprov_params *nxp, struct nxprov_adjusted_params *adj) in nx_kpipe_prov_params_adjust() argument 487 #pragma unused(nxdom_prov, nxp, adj) in nx_kpipe_prov_params_adjust()
|
| /xnu-11215/osfmk/kern/ |
| H A D | kern_stackshot.c | 448 static uint32_t get_stackshot_estsize(uint32_t prev_size_hint, uint32_t adj, uint64_t trace… 1423 #define FUDGED_SIZE(size, adj) (((size) * ((adj) + 100)) / 100) argument 1466 uint32_t adj, in get_stackshot_estsize() argument 1481 uint32_t est_kcdata_size = FUDGED_SIZE(est_task_size, adj); in get_stackshot_estsize() 1486 adj = MIN(adj, 100u); /* no more than double our estimate */ in get_stackshot_estsize() 1502 size = FUDGED_SIZE(size, adj); /* add adj */ in get_stackshot_estsize()
|
| /xnu-11215/bsd/skywalk/nexus/monitor/ |
| H A D | nx_monitor.c | 398 const struct nxprov_params *nxp, struct nxprov_adjusted_params *adj) in nx_mon_prov_params_adjust() argument 400 #pragma unused(nxdom_prov, nxp, adj) in nx_mon_prov_params_adjust()
|
| /xnu-11215/bsd/skywalk/nexus/ |
| H A D | nexus_kern.c | 1991 struct nxprov_adjusted_params adj = { in nxprov_params_adjust() local 2014 err = adjust_fn(nxdom_prov, nxp, &adj); in nxprov_params_adjust()
|
| /xnu-11215/bsd/net/ |
| H A D | dlil.c | 6162 int adj; in dlil_input_packet_list_common() local 6166 (adj = (int)(m->m_data - (uintptr_t)frame_header)) > in dlil_input_packet_list_common() 6172 m->m_pkthdr.csum_rx_start -= adj; in dlil_input_packet_list_common()
|