Home
last modified time | relevance | path

Searched refs:nctx (Results 1 – 9 of 9) sorted by relevance

/titanic_41/usr/src/uts/common/gssapi/mechs/krb5/krb5/krb/
H A Dinit_ctx.c837 krb5_context nctx; in krb5_copy_context() local
843 nctx = MALLOC(sizeof(*nctx)); in krb5_copy_context()
844 if (nctx == NULL) in krb5_copy_context()
847 *nctx = *ctx; in krb5_copy_context()
849 nctx->in_tkt_ktypes = NULL; in krb5_copy_context()
850 nctx->in_tkt_ktype_count = 0; in krb5_copy_context()
851 nctx->tgs_ktypes = NULL; in krb5_copy_context()
852 nctx->tgs_ktype_count = 0; in krb5_copy_context()
853 nctx->default_realm = NULL; in krb5_copy_context()
854 nctx->profile = NULL; in krb5_copy_context()
[all …]
/titanic_41/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_tar3.c2374 ndmp_context_t nctx; in tar_backup_v3() local
2421 (void) memset(&nctx, 0, sizeof (ndmp_context_t)); in tar_backup_v3()
2422 nctx.nc_plversion = ndmp_pl->np_plversion; in tar_backup_v3()
2423 nctx.nc_plname = ndmpd_get_prop(NDMP_PLUGIN_PATH); in tar_backup_v3()
2424 nctx.nc_cmds = cmds; in tar_backup_v3()
2425 nctx.nc_params = params; in tar_backup_v3()
2426 nctx.nc_ddata = (void *) session; in tar_backup_v3()
2427 if ((err = ndmp_pl->np_pre_backup(ndmp_pl, &nctx, in tar_backup_v3()
2499 ndmp_pl->np_post_backup(ndmp_pl, &nctx, err) == -1) { in tar_backup_v3()
3157 ndmp_context_t nctx; in ndmpd_dar_tar_v3() local
[all …]
H A Dndmpd_util.c2588 ndmp_context_set_specific(ndmp_context_t *nctx, void *ptr) in ndmp_context_set_specific() argument
2590 nctx->nc_pldata = ptr; in ndmp_context_set_specific()
2597 ndmp_context_get_specific(ndmp_context_t *nctx) in ndmp_context_get_specific() argument
2599 return (nctx->nc_pldata); in ndmp_context_get_specific()
/titanic_41/usr/src/uts/common/os/
H A Dcap_util.c666 ASSERT(cpu_ctx->nctx >= 0); in cu_cpc_program()
669 ASSERT(cpu_ctx->nctx <= cpu_ctx->ctx_ptr_array_sz); in cu_cpc_program()
670 if (cpu_ctx->nctx <= 0 || cpu_ctx->ctx_ptr_array == NULL || in cu_cpc_program()
685 cpu_ctx->cur_index = (cpu_ctx->cur_index + 1) % cpu_ctx->nctx; in cu_cpc_program()
827 if (cpu_ctx->nctx <= 0 || cpu_ctx->ctx_ptr_array == NULL || in cu_cpc_unprogram()
1112 if (cpu_ctx->nctx > 0 && cpu_ctx->ctx_ptr_array != NULL && in cu_cpu_init()
1120 ASSERT(cpu_ctx->nctx == 0 && cpu_ctx->ctx_ptr_array == NULL && in cu_cpu_init()
1176 cpu_ctx->nctx = n; in cu_cpu_init()
1256 for (i = 0; i < cpu_ctx->nctx; i++) { in cu_cpu_fini()
H A Dkcpc.c1872 int nctx; in kcpc_cpu_ctx_create() local
1894 nctx = 0; in kcpc_cpu_ctx_create()
1982 ctx_ptrs[nctx] = ctx; in kcpc_cpu_ctx_create()
1994 nctx++; in kcpc_cpu_ctx_create()
1995 if (nctx >= nctx_ptrs) { in kcpc_cpu_ctx_create()
2030 if (nctx == 0) { in kcpc_cpu_ctx_create()
2039 return (nctx); in kcpc_cpu_ctx_create()
/titanic_41/usr/src/cmd/ndmpd/tlm/
H A Dtlm_restore_writer.c2318 ndmp_iter_zfs(ndmp_context_t *nctx, int (*np_restore_property)(nvlist_t *, in ndmp_iter_zfs() argument
2337 if (nctx == NULL || (cmds = (tlm_commands_t *)nctx->nc_cmds) == NULL) in ndmp_iter_zfs()
2340 nctx->nc_plname = plname; in ndmp_iter_zfs()
2427 nctx->nc_plversion = mhpx->nh_plversion; in ndmp_iter_zfs()
2453 nctx->nc_plversion = mhp->nh_plversion; in ndmp_iter_zfs()
2508 ndmp_context_get_version(ndmp_context_t *nctx) in ndmp_context_get_version() argument
2518 if (nctx == NULL || (cmds = (tlm_commands_t *)nctx->nc_cmds) == NULL) in ndmp_context_get_version()
2539 nctx->nc_plversion = mhp->nh_plversion; in ndmp_context_get_version()
2543 return (nctx->nc_plversion); in ndmp_context_get_version()
H A Dtlm_backup_reader.c1357 ndmp_include_zfs(ndmp_context_t *nctx, const char *dataset) in ndmp_include_zfs() argument
1375 if (nctx == NULL || (cmds = (tlm_commands_t *)nctx->nc_cmds) == NULL) in ndmp_include_zfs()
1408 mhp->nh_plversion = nctx->nc_plversion; in ndmp_include_zfs()
1410 (void) strlcpy(mhp->nh_plname, nctx->nc_plname, in ndmp_include_zfs()
/titanic_41/usr/src/uts/common/sys/
H A Dcap_util.h100 int nctx; /* number of CPC contexts */ member
/titanic_41/usr/src/uts/common/disp/
H A Dthread.c1214 struct ctxop *nctx; in freectx_ctx() local
1220 nctx = ctx->next; in freectx_ctx()
1224 } while ((ctx = nctx) != NULL); in freectx_ctx()