| /freebsd/sys/netgraph/ |
| H A D | ng_tee.c | 78 struct privdata { struct 84 typedef struct privdata *sc_p; argument 158 sc_p privdata; in ng_tee_constructor() local 160 privdata = malloc(sizeof(*privdata), M_NETGRAPH_TEE, M_WAITOK | M_ZERO); in ng_tee_constructor() 162 NG_NODE_SET_PRIVATE(node, privdata); in ng_tee_constructor() 172 sc_p privdata = NG_NODE_PRIVATE(node); in ng_tee_newhook() local 177 hinfo = &privdata->right; in ng_tee_newhook() 178 if (privdata->left.dest) in ng_tee_newhook() 179 privdata->left.dup = privdata->left.dest; in ng_tee_newhook() 180 privdata->left.dest = hinfo; in ng_tee_newhook() [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() 408 const xxx_p privdata = NG_NODE_PRIVATE(node); in ng_xxx_shutdown() local 413 free(privdata, M_NETGRAPH); in ng_xxx_shutdown() 422 NG_NODE_UNREF(privdata->node); in ng_xxx_shutdown() 423 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 | 179 priv_p privdata; in ng_patch_constructor() local 181 privdata = malloc(sizeof(*privdata), M_NETGRAPH, M_WAITOK | M_ZERO); in ng_patch_constructor() 182 privdata->dlt = DLT_RAW; in ng_patch_constructor() 184 NG_NODE_SET_PRIVATE(node, privdata); in ng_patch_constructor() 659 const priv_p privdata = NG_NODE_PRIVATE(node); in ng_patch_shutdown() local 664 if (privdata->conf != NULL) in ng_patch_shutdown() 665 free(privdata->conf, M_NETGRAPH); in ng_patch_shutdown() 667 free(privdata, M_NETGRAPH); in ng_patch_shutdown()
|
| H A D | ng_source.c | 82 struct privdata { struct 96 typedef struct privdata *sc_p; argument
|
| H A D | ng_car.c | 83 struct privdata { struct 88 typedef struct privdata *priv_p; argument
|
| /freebsd/contrib/libder/tests/ |
| H A D | test_privkey.c | 30 static const uint8_t privdata[] = { 0xa5, 0xf5, 0x2a, 0x56, 0x61, 0xe3, 0x58, variable 61 assert(datasz == sizeof(privdata)); in test_interface() 62 assert(memcmp(privdata, data, datasz) == 0); in test_interface() 84 obj = libder_obj_alloc_simple(ctx, BT_OCTETSTRING, privdata, sizeof(privdata)); in test_construction()
|
| /freebsd/sys/dev/qat/qat_common/ |
| H A D | adf_vf_isr.c | 220 adf_isr(void *privdata) in adf_isr() argument 222 struct adf_accel_dev *accel_dev = privdata; in adf_isr()
|
| /freebsd/contrib/sqlite3/autosetup/ |
| H A D | jimsh0.c | 294 void *(*keyDup)(void *privdata, const void *key); 295 void *(*valDup)(void *privdata, const void *obj); 296 int (*keyCompare)(void *privdata, const void *key1, const void *key2); 297 void (*keyDestructor)(void *privdata, void *key); 298 void (*valDestructor)(void *privdata, void *obj); 304 void *privdata; member 324 (ht)->type->valDestructor((ht)->privdata, (entry)->u.val) 328 (entry)->u.val = (ht)->type->valDup((ht)->privdata, (_val_)); \ 337 (ht)->type->keyDestructor((ht)->privdata, (entry)->key) 341 (entry)->key = (ht)->type->keyDup((ht)->privdata, (_key_)); \ [all …]
|
| /freebsd/sys/dev/mpi3mr/ |
| H A D | mpi3mr.h | 971 mpi3mr_isr(void *privdata);
|
| H A D | mpi3mr.c | 5135 void mpi3mr_isr(void *privdata) in mpi3mr_isr() argument 5137 struct mpi3mr_irq_context *irq_ctx = (struct mpi3mr_irq_context *)privdata; in mpi3mr_isr()
|