Home
last modified time | relevance | path

Searched refs:sf (Results 1 – 9 of 9) sorted by relevance

/xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_entry.c835 struct sk_stats_flow *sf = &fe->fe_stats->fs_stats; in fe_stats_init() local
840 bzero(sf, sizeof(*sf)); in fe_stats_init()
841 uuid_copy(sf->sf_nx_uuid, fsw->fsw_nx->nx_uuid); in fe_stats_init()
842 uuid_copy(sf->sf_uuid, fe->fe_uuid); in fe_stats_init()
843 (void) strlcpy(sf->sf_if_name, fsw->fsw_flow_mgr->fm_name, IFNAMSIZ); in fe_stats_init()
844 sf->sf_if_index = fsw->fsw_ifp->if_index; in fe_stats_init()
845 sf->sf_pid = fe->fe_pid; in fe_stats_init()
846 sf->sf_epid = fe->fe_epid; in fe_stats_init()
847 (void) snprintf(sf->sf_proc_name, sizeof(sf->sf_proc_name), "%s", in fe_stats_init()
849 (void) snprintf(sf->sf_eproc_name, sizeof(sf->sf_eproc_name), "%s", in fe_stats_init()
[all …]
/xnu-10063.141.1/EXTERNAL_HEADERS/architecture/
H A Dbyte_order.h80 NXSwappedFloat sf; in NXConvertHostFloatToSwapped() member
83 return u.sf; in NXConvertHostFloatToSwapped()
91 NXSwappedFloat sf; in NXConvertSwappedFloatToHost() member
93 u.sf = x; in NXConvertSwappedFloatToHost()
/xnu-10063.141.1/bsd/kern/
H A Dkern_shutdown.c414 struct sd_filterargs * sf = (struct sd_filterargs *)args; in sd_filt1() local
415 int delayterm = sf->delayterm; in sd_filt1()
416 int shutdownstate = sf->shutdownstate; in sd_filt1()
418 if (sf->only_non_dext && proc_is_driver(p)) { in sd_filt1()
470 struct sd_filterargs * sf = (struct sd_filterargs *)args; in sd_filt2() local
471 int delayterm = sf->delayterm; in sd_filt2()
472 int shutdownstate = sf->shutdownstate; in sd_filt2()
474 if (sf->only_non_dext && proc_is_driver(p)) { in sd_filt2()
/xnu-10063.141.1/osfmk/kern/
H A Dpms.h72 union sf { union
75 } sf; member
/xnu-10063.141.1/bsd/net/
H A Dnecp_client.c6424 const struct sk_stats_flow *sf = &flow_registration->nexus_stats->fs_stats; in necp_request_tcp_netstats() local
6425 if (sf == NULL) { in necp_request_tcp_netstats()
6432 sf = &ntstat_sk_stats_zero; in necp_request_tcp_netstats()
6451 countsp->nstat_rxpackets = sf->sf_ipackets; in necp_request_tcp_netstats()
6452 countsp->nstat_txpackets = sf->sf_opackets; in necp_request_tcp_netstats()
6454 countsp->nstat_cell_rxbytes = sf->sf_ibytes; in necp_request_tcp_netstats()
6455 countsp->nstat_cell_txbytes = sf->sf_obytes; in necp_request_tcp_netstats()
6457 countsp->nstat_wifi_rxbytes = sf->sf_ibytes; in necp_request_tcp_netstats()
6458 countsp->nstat_wifi_txbytes = sf->sf_obytes; in necp_request_tcp_netstats()
6460 countsp->nstat_wired_rxbytes = sf->sf_ibytes; in necp_request_tcp_netstats()
[all …]
/xnu-10063.141.1/bsd/netinet/
H A Dtcp_usrreq.c2000 struct sk_stats_flow sf; in tcp_fill_info_for_info_tuple() local
2001 size_t len = sizeof(sf); in tcp_fill_info_for_info_tuple()
2002 error = kernel_sysctlbyname(SK_STATS_FLOW, &sf, &len, &nmf, sizeof(nmf)); in tcp_fill_info_for_info_tuple()
2007 if (len != sizeof(sf)) { in tcp_fill_info_for_info_tuple()
2016 ti->tcpi_snd_nxt = sf.sf_lseq; in tcp_fill_info_for_info_tuple()
2017 ti->tcpi_rcv_nxt = sf.sf_rseq; in tcp_fill_info_for_info_tuple()
2018 ti->tcpi_rcv_space = (uint32_t)(sf.sf_lmax_win << sf.sf_lwscale); in tcp_fill_info_for_info_tuple()
2019 ti->tcpi_rcv_wscale = sf.sf_lwscale; in tcp_fill_info_for_info_tuple()
2020 ti->tcpi_last_outif = (int32_t)sf.sf_if_index; in tcp_fill_info_for_info_tuple()
/xnu-10063.141.1/bsd/skywalk/nexus/flowswitch/
H A Dfsw.c1702 __block struct sk_stats_flow *sf = out; in fsw_mib_get_flow() local
1711 flow_entry_stats_get(fe, sf); in fsw_mib_get_flow()
1750 flow_entry_stats_get(fe, sf); in fsw_mib_get_flow()
1765 flow_entry_stats_get(_fe, sf); in fsw_mib_get_flow()
1766 sf++; in fsw_mib_get_flow()
1779 flow_entry_stats_get(fe, sf); in fsw_mib_get_flow()
1780 sf++; in fsw_mib_get_flow()
/xnu-10063.141.1/tests/
H A Dsetitimer.c539 struct statfs sf; in statfs_thread() local
558 rv = statfs("/", &sf); in statfs_thread()
/xnu-10063.141.1/bsd/dev/i386/
H A Ddis_tables.c2786 const char *const *sf; in dtrace_get_operand() local
2797 sf = dis_vscale_factor; in dtrace_get_operand()
2800 sf = dis_scale_factor; in dtrace_get_operand()
2823 (void) strlcat(opnd, sf[ss], OPLEN); in dtrace_get_operand()