Home
last modified time | relevance | path

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

/xnu-11417.121.6/libkern/libkern/coreanalytics/
H A Dcoreanalytics_internal.h58 #define _f1(fe, e, fo, x, ...) fo(x) argument
59 #define _f2(fe, e, fo, x, ...) fe(x) e _f1(fe, e, fo, __VA_ARGS__) argument
60 #define _f3(fe, e, fo, x, ...) fo(x) e _f2(fe, e, fo, __VA_ARGS__) argument
61 #define _f4(fe, e, fo, x, ...) fe(x) e _f3(fe, e, fo, __VA_ARGS__) argument
62 #define _f5(fe, e, fo, x, ...) fo(x) e _f4(fe, e, fo, __VA_ARGS__) argument
63 #define _f6(fe, e, fo, x, ...) fe(x) e _f5(fe, e, fo, __VA_ARGS__) argument
64 #define _f7(fe, e, fo, x, ...) fo(x) e _f6(fe, e, fo, __VA_ARGS__) argument
65 #define _f8(fe, e, fo, x, ...) fe(x) e _f7(fe, e, fo, __VA_ARGS__) argument
66 #define _f9(fe, e, fo, x, ...) fo(x) e _f8(fe, e, fo, __VA_ARGS__) argument
67 #define _f10(fe, e, fo, x, ...) fe(x) e _f9(fe, e, fo, __VA_ARGS__) argument
[all …]
/xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_owner.c139 struct flow_owner *fo, *tfo; in flow_owner_bucket_purge_common() local
148 RB_FOREACH_SAFE(fo, flow_owner_tree, &fob->fob_owner_head, tfo) { in flow_owner_bucket_purge_common()
149 if (fo->fo_nx_port != nx_port && nx_port != NEXUS_PORT_ANY) { in flow_owner_bucket_purge_common()
155 &fo->fo_flow_entry_id_head, tfe) { in flow_owner_bucket_purge_common()
156 ASSERT(fe->fe_nx_port == fo->fo_nx_port); in flow_owner_bucket_purge_common()
158 flow_entry_destroy(fo, fe, FALSE, NULL); in flow_owner_bucket_purge_common()
163 RB_EMPTY(&fo->fo_flow_entry_id_head)); in flow_owner_bucket_purge_common()
165 if (RB_EMPTY(&fo->fo_flow_entry_id_head)) { in flow_owner_bucket_purge_common()
166 flow_owner_free(fob, fo); in flow_owner_bucket_purge_common()
170 fo->fo_nx_port_destroyed = TRUE; in flow_owner_bucket_purge_common()
[all …]
H A Dflow_entry.c170 flow_entry_find_by_uuid(struct flow_owner *fo, uuid_t uuid) in flow_entry_find_by_uuid() argument
173 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_find_by_uuid()
176 fe = RB_FIND(flow_entry_id_tree, &fo->fo_flow_entry_id_head, &find); in flow_entry_find_by_uuid()
407 flow_entry_alloc(struct flow_owner *fo, struct nx_flow_req *req, int *perr) in flow_entry_alloc() argument
418 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_alloc()
420 ASSERT(!fo->fo_nx_port_destroyed); in flow_entry_alloc()
431 struct flow_mgr *fm = fo->fo_fsw->fsw_flow_mgr; in flow_entry_alloc()
458 (flow_owner_flowadv_index_alloc(fo, &fadv_idx) != 0)) { in flow_entry_alloc()
510 dev_na = fo->fo_fsw->fsw_dev_ch->ch_na; in flow_entry_alloc()
522 flow_qset_select_dynamic(fo->fo_fsw, fe, FALSE); in flow_entry_alloc()
[all …]
H A Dflow_manager.c921 struct flow_owner *fo, struct ifnet *ifp, struct nx_flow_req *req, in flow_mgr_flow_add() argument
930 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_mgr_flow_add()
948 fe = flow_entry_alloc(fo, req, &err); in flow_mgr_flow_add()
1001 struct flow_owner *fo; in flow_mgr_get_fe_by_uuid_rlock() local
1007 RB_FOREACH(fo, flow_owner_tree, &fob->fob_owner_head) { in flow_mgr_get_fe_by_uuid_rlock()
1008 fe = flow_entry_find_by_uuid(fo, uuid); in flow_mgr_get_fe_by_uuid_rlock()
H A Dflow_var.h935 struct flow_owner *fo, struct ifnet *ifp, struct nx_flow_req *req,
990 extern struct flow_entry * flow_entry_alloc(struct flow_owner *fo,
/xnu-11417.121.6/bsd/skywalk/nexus/flowswitch/
H A Dfsw_flow.c44 struct flow_owner *fo = NULL; in fsw_flow_add() local
115 ASSERT(fo == NULL); in fsw_flow_add()
130 fo = flow_owner_find_by_pid(fob, pid, fo_context, low_latency); in fsw_flow_add()
131 if (fo == NULL && nx_port == NEXUS_PORT_ANY) { in fsw_flow_add()
197 } else if (fo == NULL) { in fsw_flow_add()
225 ASSERT(fo->fo_nx_port != NEXUS_PORT_ANY); in fsw_flow_add()
227 nx_port != fo->fo_nx_port) { in fsw_flow_add()
232 nx_port = fo->fo_nx_port; in fsw_flow_add()
233 uuid_copy(uuid_key, fo->fo_key); in fsw_flow_add()
240 ASSERT(fo == NULL); in fsw_flow_add()
[all …]
H A Dfsw_netagent.c97 struct flow_owner *fo = NULL; in fsw_netagent_flow_add() local
170 fo = fsw_flow_add(fsw, &req, &error); in fsw_netagent_flow_add()
171 if (fo == NULL) { in fsw_netagent_flow_add()
179 ASSERT(!uuid_is_null(fo->fo_key)); in fsw_netagent_flow_add()
194 req.nfr_nx_port, fo->fo_key, sizeof(fo->fo_key), in fsw_netagent_flow_add()
222 if (fo != NULL) { in fsw_netagent_flow_add()
H A Dfsw.c191 struct flow_owner *fo; in fsw_ctl_flow_add() local
223 fo = fsw_flow_add(fsw, req, &error); in fsw_ctl_flow_add()
224 ASSERT(fo != NULL || error != 0); in fsw_ctl_flow_add()
1884 fsw_fo2sfo(struct nx_flowswitch *fsw, struct flow_owner *fo, in fsw_fo2sfo() argument
1891 sfo->sfo_bucket_idx = flow_mgr_get_fob_idx(fm, FO_BUCKET(fo)); in fsw_fo2sfo()
1894 fo->fo_name); in fsw_fo2sfo()
1895 sfo->sfo_pid = fo->fo_pid; in fsw_fo2sfo()
1896 sfo->sfo_nx_port = fo->fo_nx_port; in fsw_fo2sfo()
1897 sfo->sfo_nx_port_pid_bound = fo->fo_nx_port_pid_bound; in fsw_fo2sfo()
1898 sfo->sfo_nx_port_destroyed = fo->fo_nx_port_destroyed; in fsw_fo2sfo()
[all …]
H A Dfsw_dp.c4821 struct flow_owner *fo; in fsw_process_deferred() local
4835 RB_FOREACH(fo, flow_owner_tree, &fob->fob_owner_head) { in fsw_process_deferred()
4839 &fo->fo_flow_entry_id_head) { in fsw_process_deferred()
4865 flow_entry_teardown(fo, fe); in fsw_process_deferred()