Home
last modified time | relevance | path

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

/xnu-12377.1.9/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-12377.1.9/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.c173 flow_entry_find_by_uuid(struct flow_owner *fo, uuid_t uuid) in flow_entry_find_by_uuid() argument
176 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_find_by_uuid()
179 fe = RB_FIND(flow_entry_id_tree, &fo->fo_flow_entry_id_head, &find); in flow_entry_find_by_uuid()
430 flow_entry_alloc(struct flow_owner *fo, struct nx_flow_req *req, int *perr) in flow_entry_alloc() argument
442 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_alloc()
444 ASSERT(!fo->fo_nx_port_destroyed); in flow_entry_alloc()
455 fsw = fo->fo_fsw; in flow_entry_alloc()
480 (flow_owner_flowadv_index_alloc(fo, &fadv_idx) != 0)) { in flow_entry_alloc()
604 if (fe->fe_adv_idx != FLOWADV_IDX_NONE && fo->fo_nx_port_na != NULL) { in flow_entry_alloc()
605 na_flowadv_entry_alloc(fo->fo_nx_port_na, fe->fe_uuid, 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()
1002 struct flow_owner *fo; in flow_mgr_get_fe_by_uuid_rlock() local
1008 RB_FOREACH(fo, flow_owner_tree, &fob->fob_owner_head) { in flow_mgr_get_fe_by_uuid_rlock()
1009 fe = flow_entry_find_by_uuid(fo, uuid); in flow_mgr_get_fe_by_uuid_rlock()
H A Dflow_var.h945 struct flow_owner *fo, struct ifnet *ifp, struct nx_flow_req *req,
1000 extern struct flow_entry * flow_entry_alloc(struct flow_owner *fo,
/xnu-12377.1.9/bsd/skywalk/nexus/flowswitch/
H A Dfsw_flow.c45 struct flow_owner *fo = NULL; in fsw_flow_add() local
117 ASSERT(fo == NULL); in fsw_flow_add()
132 fo = flow_owner_find_by_pid(fob, pid, fo_context, low_latency); in fsw_flow_add()
133 if (fo == NULL && nx_port == NEXUS_PORT_ANY) { in fsw_flow_add()
199 } else if (fo == NULL) { in fsw_flow_add()
227 ASSERT(fo->fo_nx_port != NEXUS_PORT_ANY); in fsw_flow_add()
229 nx_port != fo->fo_nx_port) { in fsw_flow_add()
234 nx_port = fo->fo_nx_port; in fsw_flow_add()
235 uuid_copy(uuid_key, fo->fo_key); in fsw_flow_add()
242 ASSERT(fo == NULL); in fsw_flow_add()
[all …]
H A Dfsw_netagent.c97 struct flow_owner *fo = NULL; in fsw_netagent_flow_add() local
173 fo = fsw_flow_add(fsw, &req, &error); in fsw_netagent_flow_add()
174 if (fo == NULL) { in fsw_netagent_flow_add()
182 ASSERT(!uuid_is_null(fo->fo_key)); in fsw_netagent_flow_add()
197 req.nfr_nx_port, fo->fo_key, sizeof(fo->fo_key), in fsw_netagent_flow_add()
225 if (fo != NULL) { in fsw_netagent_flow_add()
H A Dfsw.c194 struct flow_owner *fo; in fsw_ctl_flow_add() local
226 fo = fsw_flow_add(fsw, req, &error); in fsw_ctl_flow_add()
227 ASSERT(fo != NULL || error != 0); in fsw_ctl_flow_add()
1895 fsw_fo2sfo(struct nx_flowswitch *fsw, struct flow_owner *fo, in fsw_fo2sfo() argument
1902 sfo->sfo_bucket_idx = flow_mgr_get_fob_idx(fm, FO_BUCKET(fo)); in fsw_fo2sfo()
1905 fo->fo_name); in fsw_fo2sfo()
1906 sfo->sfo_pid = fo->fo_pid; in fsw_fo2sfo()
1907 sfo->sfo_nx_port = fo->fo_nx_port; in fsw_fo2sfo()
1908 sfo->sfo_nx_port_pid_bound = fo->fo_nx_port_pid_bound; in fsw_fo2sfo()
1909 sfo->sfo_nx_port_destroyed = fo->fo_nx_port_destroyed; in fsw_fo2sfo()
[all …]
H A Dfsw_dp.c4998 struct flow_owner *fo; in fsw_process_deferred() local
5012 RB_FOREACH(fo, flow_owner_tree, &fob->fob_owner_head) { in fsw_process_deferred()
5016 &fo->fo_flow_entry_id_head) { in fsw_process_deferred()
5042 flow_entry_teardown(fo, fe); in fsw_process_deferred()