Home
last modified time | relevance | path

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

/xnu-11215/libkern/libkern/coreanalytics/
H A Dcoreanalytics_internal.h58 #define _f1(fe, e, fo, x, ...) fo(x) argument
60 #define _f3(fe, e, fo, x, ...) fo(x) e _f2(fe, e, fo, __VA_ARGS__) argument
62 #define _f5(fe, e, fo, x, ...) fo(x) e _f4(fe, e, fo, __VA_ARGS__) argument
64 #define _f7(fe, e, fo, x, ...) fo(x) e _f6(fe, e, fo, __VA_ARGS__) argument
66 #define _f9(fe, e, fo, x, ...) fo(x) e _f8(fe, e, fo, __VA_ARGS__) argument
68 #define _f11(fe, e, fo, x, ...) fo(x) e _f10(fe, e, fo, __VA_ARGS__) argument
70 #define _f13(fe, e, fo, x, ...) fo(x) e _f12(fe, e, fo, __VA_ARGS__) argument
72 #define _f15(fe, e, fo, x, ...) fo(x) e _f14(fe, e, fo, __VA_ARGS__) argument
74 #define _f17(fe, e, fo, x, ...) fo(x) e _f16(fe, e, fo, __VA_ARGS__) argument
76 #define _f19(fe, e, fo, x, ...) fo(x) e _f18(fe, e, fo, __VA_ARGS__) argument
[all …]
/xnu-11215/bsd/skywalk/nexus/flowswitch/flow/
H A Dflow_owner.c201 if (fo->fo_nx_port_destroyed || (fo->fo_nx_port != nx_port)) { in flow_owner_bucket_activate_nx_port_common()
283 if (fo->fo_nx_port_destroyed && (fo->fo_nx_port == nx_port)) { in flow_owner_bucket_attach_common()
382 fo_free(fo); in flow_owner_alloc()
407 (void) snprintf(fo->fo_name, sizeof(fo->fo_name), "%s", in flow_owner_alloc()
418 fo->fo_name, fo->fo_pid, SK_KVA(fob), SK_KVA(fo), in flow_owner_alloc()
423 return fo; in flow_owner_alloc()
447 fo->fo_name, fo->fo_pid, SK_KVA(fob), SK_KVA(fo), in flow_owner_free()
450 fo_free(fo); in flow_owner_free()
480 fo->fo_name, fo->fo_pid, fo->fo_num_flowadv, in flow_owner_flowadv_index_alloc()
482 VERIFY(fo->fo_num_flowadv == fo->fo_flowadv_max); in flow_owner_flowadv_index_alloc()
[all …]
H A Dflow_entry.c173 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_find_by_uuid()
418 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_alloc()
420 ASSERT(!fo->fo_nx_port_destroyed); in flow_entry_alloc()
510 dev_na = fo->fo_fsw->fsw_dev_ch->ch_na; in flow_entry_alloc()
619 fe->fe_pid = fo->fo_pid; in flow_entry_alloc()
629 fo->fo_name); in flow_entry_alloc()
640 SK_KVA(fo)); in flow_entry_alloc()
671 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_teardown()
696 if (fo->fo_nx_port_na != NULL) { in flow_entry_teardown()
720 FOB_LOCK_ASSERT_HELD(FO_BUCKET(fo)); in flow_entry_destroy()
[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-11215/bsd/skywalk/nexus/flowswitch/
H A Dfsw_flow.c115 ASSERT(fo == NULL); in fsw_flow_add()
240 ASSERT(fo == NULL); in fsw_flow_add()
243 if (fo == NULL) { in fsw_flow_add()
299 if (fo != NULL) { in fsw_flow_add()
304 fo = NULL; in fsw_flow_add()
336 return fo; in fsw_flow_add()
376 if (fo == NULL) { in fsw_flow_del()
403 fo->fo_nx_port_destroyed && fo->fo_nx_port_pid_bound) { in fsw_flow_del()
414 fo = NULL; in fsw_flow_del()
422 if (fo != NULL) { in fsw_flow_del()
[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()
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()
1911 struct flow_owner *fo; in fsw_mib_get_flow_owner() local
1923 RB_FOREACH(fo, flow_owner_tree, &fob->fob_owner_head) { in fsw_mib_get_flow_owner()
[all …]
H A Dfsw_dp.c4805 struct flow_owner *fo; in fsw_process_deferred() local
4819 RB_FOREACH(fo, flow_owner_tree, &fob->fob_owner_head) { in fsw_process_deferred()
4823 &fo->fo_flow_entry_id_head) { in fsw_process_deferred()
4849 flow_entry_teardown(fo, fe); in fsw_process_deferred()