Symbol: osd
share/examples/kld/khelp/h_example.c
132
void *hdata, struct osd *hosd)
share/examples/kld/khelp/h_example.c
59
void *ctx_data, void *hdata, struct osd *hosd);
sys/dev/ixl/ixl_pf_main.c
2094
struct i40e_hw_port_stats *osd = &pf->stats_offsets;
sys/dev/ixl/ixl_pf_main.c
2099
&osd->crc_errors, &nsd->crc_errors);
sys/dev/ixl/ixl_pf_main.c
2102
&osd->illegal_bytes, &nsd->illegal_bytes);
sys/dev/ixl/ixl_pf_main.c
2105
&osd->eth.rx_bytes, &nsd->eth.rx_bytes);
sys/dev/ixl/ixl_pf_main.c
2108
&osd->eth.tx_bytes, &nsd->eth.tx_bytes);
sys/dev/ixl/ixl_pf_main.c
2111
&osd->eth.rx_discards,
sys/dev/ixl/ixl_pf_main.c
2115
&osd->eth.rx_unicast,
sys/dev/ixl/ixl_pf_main.c
2119
&osd->eth.tx_unicast,
sys/dev/ixl/ixl_pf_main.c
2123
&osd->eth.rx_multicast,
sys/dev/ixl/ixl_pf_main.c
2127
&osd->eth.tx_multicast,
sys/dev/ixl/ixl_pf_main.c
2131
&osd->eth.rx_broadcast,
sys/dev/ixl/ixl_pf_main.c
2135
&osd->eth.tx_broadcast,
sys/dev/ixl/ixl_pf_main.c
2140
&osd->tx_dropped_link_down,
sys/dev/ixl/ixl_pf_main.c
2144
&osd->mac_local_faults,
sys/dev/ixl/ixl_pf_main.c
2148
&osd->mac_remote_faults,
sys/dev/ixl/ixl_pf_main.c
2152
&osd->rx_length_errors,
sys/dev/ixl/ixl_pf_main.c
2158
&osd->link_xon_rx, &nsd->link_xon_rx);
sys/dev/ixl/ixl_pf_main.c
2161
&osd->link_xon_tx, &nsd->link_xon_tx);
sys/dev/ixl/ixl_pf_main.c
2164
&osd->link_xoff_rx, &nsd->link_xoff_rx);
sys/dev/ixl/ixl_pf_main.c
2167
&osd->link_xoff_tx, &nsd->link_xoff_tx);
sys/dev/ixl/ixl_pf_main.c
2179
&osd->rx_size_64, &nsd->rx_size_64);
sys/dev/ixl/ixl_pf_main.c
2182
&osd->rx_size_127, &nsd->rx_size_127);
sys/dev/ixl/ixl_pf_main.c
2185
&osd->rx_size_255, &nsd->rx_size_255);
sys/dev/ixl/ixl_pf_main.c
2188
&osd->rx_size_511, &nsd->rx_size_511);
sys/dev/ixl/ixl_pf_main.c
2191
&osd->rx_size_1023, &nsd->rx_size_1023);
sys/dev/ixl/ixl_pf_main.c
2194
&osd->rx_size_1522, &nsd->rx_size_1522);
sys/dev/ixl/ixl_pf_main.c
2197
&osd->rx_size_big, &nsd->rx_size_big);
sys/dev/ixl/ixl_pf_main.c
2202
&osd->tx_size_64, &nsd->tx_size_64);
sys/dev/ixl/ixl_pf_main.c
2205
&osd->tx_size_127, &nsd->tx_size_127);
sys/dev/ixl/ixl_pf_main.c
2208
&osd->tx_size_255, &nsd->tx_size_255);
sys/dev/ixl/ixl_pf_main.c
2211
&osd->tx_size_511, &nsd->tx_size_511);
sys/dev/ixl/ixl_pf_main.c
2214
&osd->tx_size_1023, &nsd->tx_size_1023);
sys/dev/ixl/ixl_pf_main.c
2217
&osd->tx_size_1522, &nsd->tx_size_1522);
sys/dev/ixl/ixl_pf_main.c
2220
&osd->tx_size_big, &nsd->tx_size_big);
sys/dev/ixl/ixl_pf_main.c
2224
&osd->rx_undersize, &nsd->rx_undersize);
sys/dev/ixl/ixl_pf_main.c
2227
&osd->rx_fragments, &nsd->rx_fragments);
sys/dev/ixl/ixl_pf_main.c
2232
&osd->rx_oversize, &rx_roc);
sys/dev/ixl/ixl_pf_main.c
2246
&osd->rx_err1,
sys/dev/ixl/ixl_pf_main.c
2253
&osd->rx_jabber, &nsd->rx_jabber);
sys/dev/ixl/ixl_pf_main.c
2258
&osd->tx_lpi_count, &nsd->tx_lpi_count,
sys/dev/ixl/ixl_pf_main.c
2259
&osd->rx_lpi_count, &nsd->rx_lpi_count);
sys/kern/kern_hhook.c
93
hhook_run_hooks(struct hhook_head *hhh, void *ctx_data, struct osd *hosd)
sys/kern/kern_jailmeta.c
251
char *osd;
sys/kern/kern_jailmeta.c
265
osd = NULL;
sys/kern/kern_jailmeta.c
357
osd = malloc(osdlen, M_PRISON, M_WAITOK);
sys/kern/kern_jailmeta.c
358
jm_h_assemble(osd, h);
sys/kern/kern_jailmeta.c
359
osd[osdlen - 1] = '\0'; /* sealed */
sys/kern/kern_jailmeta.c
366
error = osd_jail_set(pr, meta->osd_slot, osd);
sys/kern/kern_jailmeta.c
381
osd = oldosd;
sys/kern/kern_jailmeta.c
385
free(osd, M_PRISON);
sys/kern/kern_jailmeta.c
400
char *osd = NULL;
sys/kern/kern_jailmeta.c
420
osd = osd_jail_get(pr, meta->osd_slot);
sys/kern/kern_jailmeta.c
421
if (osd == NULL)
sys/kern/kern_jailmeta.c
422
osd = ∅
sys/kern/kern_jailmeta.c
427
if (strlcpy(opt->value, osd, opt->len) >= opt->len) {
sys/kern/kern_jailmeta.c
436
p = osd;
sys/kern/kern_jailmeta.c
440
if ((p == osd || *(p - 1) == '\n')
sys/kern/kern_jailmeta.c
481
jm_osd_destructor(void *osd)
sys/kern/kern_jailmeta.c
483
free(osd, M_PRISON);
sys/kern/kern_khelp.c
148
khelp_init_osd(uint32_t classes, struct osd *hosd)
sys/kern/kern_khelp.c
185
khelp_destroy_osd(struct osd *hosd)
sys/kern/kern_khelp.c
209
khelp_remove_osd(struct helper *h, struct osd *hosd)
sys/kern/kern_khelp.c
229
khelp_get_osd(struct osd *hosd, int32_t id)
sys/kern/kern_khelp.c
59
static inline void khelp_remove_osd(struct helper *h, struct osd *hosd);
sys/kern/kern_osd.c
152
struct osd *osd, *tosd;
sys/kern/kern_osd.c
165
LIST_FOREACH_SAFE(osd, &osdm[type].osd_list, osd_next, tosd)
sys/kern/kern_osd.c
166
do_osd_del(type, osd, slot, 1);
sys/kern/kern_osd.c
185
osd_set(u_int type, struct osd *osd, u_int slot, void *value)
sys/kern/kern_osd.c
188
return (osd_set_reserved(type, osd, slot, NULL, value));
sys/kern/kern_osd.c
202
osd_set_reserved(u_int type, struct osd *osd, u_int slot, void **rsv,
sys/kern/kern_osd.c
213
if (slot > osd->osd_nslots) {
sys/kern/kern_osd.c
236
if (osd->osd_nslots != 0) {
sys/kern/kern_osd.c
237
memcpy(newptr, osd->osd_slots,
sys/kern/kern_osd.c
238
sizeof(void *) * osd->osd_nslots);
sys/kern/kern_osd.c
239
free(osd->osd_slots, M_OSD);
sys/kern/kern_osd.c
242
newptr = realloc(osd->osd_slots, sizeof(void *) * slot,
sys/kern/kern_osd.c
250
if (osd->osd_nslots == 0) {
sys/kern/kern_osd.c
256
LIST_INSERT_HEAD(&osdm[type].osd_list, osd, osd_next);
sys/kern/kern_osd.c
261
osd->osd_slots = newptr;
sys/kern/kern_osd.c
262
osd->osd_nslots = slot;
sys/kern/kern_osd.c
267
osd->osd_slots[slot - 1] = value;
sys/kern/kern_osd.c
281
osd_get_unlocked(u_int type, struct osd *osd, u_int slot)
sys/kern/kern_osd.c
287
if (slot > osd->osd_nslots) {
sys/kern/kern_osd.c
291
value = atomic_load_ptr(&osd->osd_slots[slot - 1]);
sys/kern/kern_osd.c
299
osd_get(u_int type, struct osd *osd, u_int slot)
sys/kern/kern_osd.c
308
value = osd_get_unlocked(type, osd, slot);
sys/kern/kern_osd.c
314
osd_del(u_int type, struct osd *osd, u_int slot)
sys/kern/kern_osd.c
319
do_osd_del(type, osd, slot, 0);
sys/kern/kern_osd.c
324
do_osd_del(u_int type, struct osd *osd, u_int slot, int list_locked)
sys/kern/kern_osd.c
334
if (slot > osd->osd_nslots) {
sys/kern/kern_osd.c
338
if (osd->osd_slots[slot - 1] != NULL) {
sys/kern/kern_osd.c
339
osdm[type].osd_destructors[slot - 1](osd->osd_slots[slot - 1]);
sys/kern/kern_osd.c
340
osd->osd_slots[slot - 1] = NULL;
sys/kern/kern_osd.c
342
for (i = osd->osd_nslots - 1; i >= 0; i--) {
sys/kern/kern_osd.c
343
if (osd->osd_slots[i] != NULL) {
sys/kern/kern_osd.c
354
LIST_REMOVE(osd, osd_next);
sys/kern/kern_osd.c
357
free(osd->osd_slots, M_OSD);
sys/kern/kern_osd.c
358
osd->osd_slots = NULL;
sys/kern/kern_osd.c
359
osd->osd_nslots = 0;
sys/kern/kern_osd.c
360
} else if (slot == osd->osd_nslots) {
sys/kern/kern_osd.c
362
osd->osd_slots = realloc(osd->osd_slots,
sys/kern/kern_osd.c
368
KASSERT(osd->osd_slots != NULL, ("realloc() failed"));
sys/kern/kern_osd.c
369
osd->osd_nslots = i + 1;
sys/kern/kern_osd.c
371
osd->osd_nslots, type);
sys/kern/kern_osd.c
404
osd_exit(u_int type, struct osd *osd)
sys/kern/kern_osd.c
411
if (osd->osd_nslots == 0) {
sys/kern/kern_osd.c
412
KASSERT(osd->osd_slots == NULL, ("Non-null osd_slots."));
sys/kern/kern_osd.c
418
for (i = 1; i <= osd->osd_nslots; i++) {
sys/kern/kern_osd.c
420
do_osd_del(type, osd, i, 0);
sys/kern/kern_osd.c
443
SYSINIT(osd, SI_SUB_LOCK, SI_ORDER_ANY, osd_init, NULL);
sys/kern/kern_osd.c
56
LIST_HEAD(, osd) osd_list; /* (l) */
sys/kern/kern_osd.c
66
SYSCTL_INT(_debug, OID_AUTO, osd, CTLFLAG_RWTUN, &osd_debug, 0, "OSD debug level");
sys/kern/kern_osd.c
76
static void do_osd_del(u_int type, struct osd *osd, u_int slot,
sys/kern/uipc_socket.c
3798
HHOOKS_RUN_IF(V_socket_hhh[h_id], &hhook_data, &so->osd);
sys/kern/uipc_socket.c
849
if (khelp_init_osd(HELPER_CLASS_SOCKET, &so->osd)) {
sys/kern/uipc_socket.c
920
khelp_destroy_osd(&so->osd);
sys/net/if_enc.c
237
void *hdata, struct osd *hosd)
sys/netinet/khelp/h_ertt.c
195
void *ctx_data, void *hdata, struct osd *hosd)
sys/netinet/khelp/h_ertt.c
430
void *ctx_data, void *hdata, struct osd *hosd)
sys/netinet/khelp/h_ertt.c
71
void *udata, void *ctx_data, void *hdata, struct osd *hosd);
sys/netinet/khelp/h_ertt.c
73
void *udata, void *ctx_data, void *hdata, struct osd *hosd);
sys/netinet/tcp_var.h
481
struct osd t_osd; /* storage for Khelp module data */
sys/sys/hhook.h
108
void hhook_run_hooks(struct hhook_head *hhh, void *ctx_data, struct osd *hosd);
sys/sys/hhook.h
72
struct osd;
sys/sys/hhook.h
76
void *ctx_data, void *hdata, struct osd *hosd);
sys/sys/jail.h
194
struct osd pr_osd; /* (p) additional data */
sys/sys/khelp.h
54
struct osd;
sys/sys/khelp.h
65
int khelp_init_osd(uint32_t classes, struct osd *hosd);
sys/sys/khelp.h
67
int khelp_destroy_osd(struct osd *hosd);
sys/sys/khelp.h
69
void * khelp_get_osd(struct osd *hosd, int32_t id);
sys/sys/osd.h
42
LIST_ENTRY(osd) osd_next; /* (l) */
sys/sys/osd.h
61
int osd_set(u_int type, struct osd *osd, u_int slot, void *value);
sys/sys/osd.h
63
int osd_set_reserved(u_int type, struct osd *osd, u_int slot, void **rsv,
sys/sys/osd.h
66
void *osd_get(u_int type, struct osd *osd, u_int slot);
sys/sys/osd.h
67
void *osd_get_unlocked(u_int type, struct osd *osd, u_int slot);
sys/sys/osd.h
68
void osd_del(u_int type, struct osd *osd, u_int slot);
sys/sys/osd.h
71
void osd_exit(u_int type, struct osd *osd);
sys/sys/proc.h
313
struct osd td_osd; /* (k) Object specific data. */
sys/sys/socketvar.h
132
struct osd osd; /* Object Specific extensions */