| /xnu-12377.61.12/bsd/skywalk/core/ |
| H A D | skywalk_sysctl.c | 46 _skoid_oid_init(struct skoid *skoid, struct sysctl_oid *oid, in _skoid_oid_init() argument 62 if (&skoid->sko_oid == oid) { in _skoid_oid_init() 64 sko_name = tsnprintf(skoid->sko_name, sizeof(skoid->sko_name), in _skoid_oid_init() 82 skoid_create(struct skoid *skoid, struct sysctl_oid_list *parent, in skoid_create() argument 85 struct sysctl_oid *oid = &skoid->sko_oid; in skoid_create() 87 _skoid_oid_init(skoid, oid, parent, in skoid_create() 89 &skoid->sko_oid_list, 0, name, NULL, "N"); in skoid_create() 95 _skoid_add_property(struct skoid *skoid, const char *name, int kind, in _skoid_add_property() argument 101 _skoid_oid_init(skoid, oid, &skoid->sko_oid_list, CTLFLAG_LOCKED | kind, in _skoid_add_property() 110 skoid_add_int(struct skoid *skoid, const char *name, int kind, in skoid_add_int() argument [all …]
|
| H A D | skywalk_var.h | 592 struct skoid { struct 599 extern void skoid_create(struct skoid *skoid, struct sysctl_oid_list *parent, 601 extern void skoid_add_int(struct skoid *skoid, const char *name, int flags, 603 extern void skoid_add_uint(struct skoid *skoid, const char *name, int flags, 605 extern void skoid_add_handler(struct skoid *skoid, const char *name, int kind, 607 extern void skoid_destroy(struct skoid *skoid);
|
| /xnu-12377.61.12/bsd/net/classq/ |
| H A D | classq_subr.c | 140 static_assert(sizeof(struct skoid) == sizeof(ifcq_oid_t)); in ifclassq_setup() 141 static_assert(offsetof(struct skoid, sko_oid_list) == offsetof(ifcq_oid_t, ifcq_oid_list)); in ifclassq_setup() 142 static_assert(offsetof(struct skoid, sko_oid) == offsetof(ifcq_oid_t, ifcq_oid)); in ifclassq_setup() 143 static_assert(offsetof(struct skoid, sko_name) == offsetof(ifcq_oid_t, ifcq_name)); in ifclassq_setup() 145 struct skoid *ifcq_skoid = (struct skoid *)&ifq->ifcq_oid; in ifclassq_setup() 217 struct skoid *ifcq_skoid = (struct skoid *)&ifq->ifcq_oid; in ifclassq_teardown()
|
| /xnu-12377.61.12/bsd/skywalk/nexus/netif/ |
| H A D | nx_netif_mit.c | 287 struct skoid *skoid = &mit->mit_skoid; in nx_netif_mit_init() local 291 skoid_add_uint(skoid, #_i"_plowat", CTLFLAG_RW, &t->cfg_plowat); \ in nx_netif_mit_init() 292 skoid_add_uint(skoid, #_i"_phiwat", CTLFLAG_RW, &t->cfg_phiwat); \ in nx_netif_mit_init() 293 skoid_add_uint(skoid, #_i"_blowat", CTLFLAG_RW, &t->cfg_blowat); \ in nx_netif_mit_init() 294 skoid_add_uint(skoid, #_i"_bhiwat", CTLFLAG_RW, &t->cfg_bhiwat);\ in nx_netif_mit_init() 295 skoid_add_uint(skoid, #_i"_ival", CTLFLAG_RW, &t->cfg_ival); in nx_netif_mit_init()
|
| H A D | nx_netif.h | 337 struct skoid nif_skoid; 451 struct skoid mit_skoid;
|
| /xnu-12377.61.12/bsd/skywalk/nexus/flowswitch/ |
| H A D | nx_flowswitch.h | 286 struct skoid fsw_skoid;
|
| H A D | fsw_ip_frag.c | 146 struct skoid ipfm_skoid;
|
| /xnu-12377.61.12/bsd/net/pktsched/ |
| H A D | pktsched_fq_codel.c | 656 struct skoid *fqs_skoid = (struct skoid *)&fqs->fqs_oid; in fq_if_destroy() 2001 struct skoid *fqs_skoid = (struct skoid *)&fqs->fqs_oid; in fq_if_setup_common() 2005 skoid_add_handler((struct skoid *)fqs_skoid, "target_delay", CTLFLAG_RW, in fq_if_setup_common()
|