Searched refs:privdata (Results 1 – 9 of 9) sorted by relevance
| /freebsd-14.2/sys/netgraph/ |
| H A D | ng_tee.c | 72 struct privdata { struct 152 sc_p privdata; in ng_tee_constructor() local 154 privdata = malloc(sizeof(*privdata), M_NETGRAPH, M_WAITOK | M_ZERO); in ng_tee_constructor() 171 hinfo = &privdata->right; in ng_tee_newhook() 172 if (privdata->left.dest) in ng_tee_newhook() 173 privdata->left.dup = privdata->left.dest; in ng_tee_newhook() 177 hinfo = &privdata->left; in ng_tee_newhook() 179 privdata->right.dup = privdata->right.dest; in ng_tee_newhook() 190 if (privdata->left.dest) in ng_tee_newhook() 340 if (privdata->left.hook && privdata->right.hook) in ng_tee_close() [all …]
|
| H A D | ng_sample.c | 151 xxx_p privdata; in ng_xxx_constructor() local 155 privdata = malloc(sizeof(*privdata), M_NETGRAPH, M_WAITOK | M_ZERO); in ng_xxx_constructor() 157 privdata->channel[i].dlci = -2; in ng_xxx_constructor() 158 privdata->channel[i].channel = i; in ng_xxx_constructor() 162 NG_NODE_SET_PRIVATE(node, privdata); in ng_xxx_constructor() 163 privdata->node = node; in ng_xxx_constructor() 417 const xxx_p privdata = NG_NODE_PRIVATE(node); in ng_xxx_shutdown() local 422 free(privdata, M_NETGRAPH); in ng_xxx_shutdown() 431 NG_NODE_UNREF(privdata->node); in ng_xxx_shutdown() 432 free(privdata, M_NETGRAPH); in ng_xxx_shutdown()
|
| H A D | ng_etf.c | 177 etf_p privdata; in ng_etf_constructor() local 181 privdata = malloc(sizeof(*privdata), M_NETGRAPH_ETF, M_WAITOK | M_ZERO); in ng_etf_constructor() 183 LIST_INIT((privdata->hashtable + i)); in ng_etf_constructor() 187 NG_NODE_SET_PRIVATE(node, privdata); in ng_etf_constructor() 188 privdata->node = node; in ng_etf_constructor() 434 const etf_p privdata = NG_NODE_PRIVATE(node); in ng_etf_shutdown() local 437 NG_NODE_UNREF(privdata->node); in ng_etf_shutdown() 438 free(privdata, M_NETGRAPH_ETF); in ng_etf_shutdown()
|
| H A D | ng_patch.c | 180 priv_p privdata; in ng_patch_constructor() local 182 privdata = malloc(sizeof(*privdata), M_NETGRAPH, M_WAITOK | M_ZERO); in ng_patch_constructor() 183 privdata->dlt = DLT_RAW; in ng_patch_constructor() 185 NG_NODE_SET_PRIVATE(node, privdata); in ng_patch_constructor() 660 const priv_p privdata = NG_NODE_PRIVATE(node); in ng_patch_shutdown() local 665 if (privdata->conf != NULL) in ng_patch_shutdown() 666 free(privdata->conf, M_NETGRAPH); in ng_patch_shutdown() 668 free(privdata, M_NETGRAPH); in ng_patch_shutdown()
|
| H A D | ng_car.c | 77 struct privdata { struct 82 typedef struct privdata *priv_p; argument
|
| H A D | ng_source.c | 82 struct privdata { struct 96 typedef struct privdata *sc_p; argument
|
| /freebsd-14.2/sys/dev/qat/qat_common/ |
| H A D | adf_vf_isr.c | 207 adf_isr(void *privdata) in adf_isr() argument 209 struct adf_accel_dev *accel_dev = privdata; in adf_isr()
|
| /freebsd-14.2/sys/dev/mpi3mr/ |
| H A D | mpi3mr.h | 950 mpi3mr_isr(void *privdata);
|
| H A D | mpi3mr.c | 4908 void mpi3mr_isr(void *privdata) in mpi3mr_isr() argument 4910 struct mpi3mr_irq_context *irq_ctx = (struct mpi3mr_irq_context *)privdata; in mpi3mr_isr()
|