/illumos-gate/usr/src/uts/common/os/ |
H A D | proc.c | 45 struct pctxop *pctx; local 47 pctx = kmem_alloc(sizeof (struct pctxop), KM_SLEEP); 48 pctx->save_op = save; 49 pctx->restore_op = restore; 50 pctx->fork_op = fork; 51 pctx->exit_op = exit; 52 pctx->free_op = free; 53 pctx->arg = arg; 54 pctx->next = p->p_pctx; 55 p->p_pctx = pctx; 71 struct pctxop *pctx, *prev_pctx; local 99 struct pctxop *pctx; local 110 struct pctxop *pctx; local 121 struct pctxop *pctx; local 138 struct pctxop *pctx; local 151 struct pctxop *pctx; local [all...] |
/illumos-gate/usr/src/lib/libcpc/common/ |
H A D | obsoleted.c | 295 cpc_pctx_bind_event(pctx_t *pctx, id_t lwpid, cpc_event_t *event, int flags) argument 301 return (cpc_pctx_rele(pctx, lwpid)); 326 ret = cpc_bind_pctx(__cpc, pctx, lwpid, set, 0); 334 cpc_pctx_take_sample(pctx_t *pctx, id_t lwpid, cpc_event_t *event) argument 338 return (__pctx_cpc(pctx, __cpc, CPC_SAMPLE, lwpid, event->ce_pic, 347 cpc_pctx_invalidate(pctx_t *pctx, id_t lwpid) argument 349 return (__pctx_cpc(pctx, __cpc, CPC_INVALIDATE, lwpid, 0, 0, 0, 0)); 357 cpc_pctx_rele(pctx_t *pctx, id_t lwpid) argument 359 return (__pctx_cpc(pctx, __cpc, CPC_RELE, lwpid, 0, 0, 0, 0));
|
H A D | libcpc.c | 61 static void cpc_invalidate_pctx(cpc_t *cpc, pctx_t *pctx); 462 cpc_bind_pctx(cpc_t *cpc, pctx_t *pctx, id_t id, cpc_set_t *set, uint_t flags) argument 482 ret = __pctx_cpc(pctx, cpc, CPC_BIND, id, packed_set, (void *)packsize, 488 set->cs_pctx = pctx; 1086 * Hook used by libpctx to alert libcpc when a pctx handle is going away. 1092 cpc_invalidate_pctx(cpc_t *cpc, pctx_t *pctx) argument 1099 if (set->cs_pctx == pctx)
|
/illumos-gate/usr/src/lib/libpctx/common/ |
H A D | libpctx.c | 72 static void (*pctx_cpc_callback)(cpc_t *cpc, struct __pctx *pctx); 83 pctx_error(pctx_t *pctx, const char *fn, const char *fmt, ...) argument 88 pctx->errfn(fn, fmt, ap); 105 pctx_t *pctx; local 107 pctx = calloc(1, sizeof (*pctx)); 108 pctx->uarg = arg; 109 pctx->verbose = verbose; 110 pctx->terminate = 0; 111 pctx 170 pctx_t *pctx; local 240 default_void(pctx_t *pctx) argument 245 default_int(pctx_t *pctx) argument 251 pctx_set_events(pctx_t *pctx, ...) argument 374 pctx_begin_syscalls(pctx_t *pctx) argument 385 pctx_end_syscalls(pctx_t *pctx) argument 400 pctx_lwpiterate(pctx_t *pctx, int (*action)(pctx_t *, pid_t, id_t, void *)) argument 461 pctx_free(pctx_t *pctx) argument 476 pctx_release(pctx_t *pctx) argument 519 pctx_run( pctx_t *pctx, uint_t msec, uint_t nsamples, int (*tick)(pctx_t *, pid_t, id_t, void *)) argument 870 __pctx_cpc(pctx_t *pctx, cpc_t *cpc, int cmd, id_t lwpid, void *data1, void *data2, void *data3, int bufsize) argument 997 pctx_terminate(struct __pctx *pctx) argument [all...] |
/illumos-gate/usr/src/cmd/cpc/common/ |
H A D | cputrack.c | 325 pinit_lwp(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) argument 366 if (cpc_bind_pctx(cpc, pctx, lwpid, set, 0) != 0 || 391 pfini_lwp(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) argument 448 plwp_create(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) argument 467 plwp_exit(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) argument 492 pexec(pctx_t *pctx, pid_t pid, id_t lwpid, char *name, void *arg) argument 537 pexit(pctx_t *pctx, pid_t pid, id_t lwpid, int status, void *arg) argument 571 ptick(pctx_t *pctx, pid_t pid, id_t lwpid, void *arg) argument 626 if (cpc_bind_pctx(cpc, pctx, lwpid, next, 0) != 0) 654 * pctx handl 657 pfork(pctx_t *pctx, pid_t oldpid, pid_t pid, id_t lwpid, void *arg) argument 692 pctx_t *pctx; local [all...] |
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | preauth2.c | 238 void *pctx; local 258 pctx = context->preauth_context->modules[i].plugin_context; 260 (context, pctx, 279 void *pctx; local 282 pctx = context->preauth_context->modules[i].plugin_context; 284 (*context->preauth_context->modules[i].client_fini)(context, pctx); 304 void *rctx, *pctx; local 311 pctx = context->preauth_context->modules[i].plugin_context; 314 (*context->preauth_context->modules[i].client_req_init) (context, pctx, rctx); 326 void *rctx, *pctx; local [all...] |
/illumos-gate/usr/src/cmd/krb5/krb5kdc/ |
H A D | kdc_preauth.c | 506 void **pctx, *mctx; local 519 pctx = &context->contexts[i].pa_context; 520 (*preauth_system->free_pa_reqctx)(kcontext, mctx, pctx);
|