/osnet-11/usr/src/grub/grub2/util/ |
H A D | grub-solvers.c | 71 grub_uint8_t ctx[GRUB_MD_MD5->contextsize]; local 74 GRUB_MD_MD5->init (ctx); 75 GRUB_MD_MD5->write (ctx, input, inlen); 76 digest = GRUB_MD_MD5->read (ctx); 77 GRUB_MD_MD5->final (ctx);
|
/osnet-11/usr/src/cmd/sendmail/libmilter/ |
H A D | worker.c | 85 # define OLD_SESSION_TIMEOUT ctx->ctx_timeout 131 #define LAUNCH_WORKER(ctx) \ 137 if ((r = thread_create(&tid, mi_worker, ctx)) != 0) \ 145 if ((lev) < ctx->ctx_dbg) \ 156 ** ctx -- context structure 163 mi_start_session(ctx) 164 SMFICTX_PTR ctx; 171 SM_ASSERT(ctx != NULL); 175 if (mi_list_add_ctx(ctx) != MI_SUCCESS) 181 ctx 379 SMFICTX_PTR ctx; local 612 SMFICTX_PTR ctx; local 657 SMFICTX_PTR ctx; local [all...] |
/osnet-11/usr/src/cmd/hal/probing/volume/ |
H A D | probe-volume.c | 74 set_fstyp_properties (LibHalContext *ctx, const char *udi, const char *fstype, nvlist_t *fsattr) argument 118 libhal_device_commit_changeset (ctx, cs, &error); 128 hsfs_contents(int fd, off_t probe_offset, LibHalContext *ctx, const char *udi) argument 203 libhal_device_set_property_bool (ctx, udi, 206 libhal_device_set_property_bool (ctx, udi, 209 libhal_device_set_property_bool (ctx, udi, 218 probe_disc (int fd, LibHalContext *ctx, const char *udi, dbus_bool_t *has_data, argument 360 libhal_device_commit_changeset (ctx, cs, &error); 426 LibHalContext *ctx = NULL; local 490 if ((ctx [all...] |
/osnet-11/usr/src/cmd/ntfsprogs/ |
H A D | ntfsls.c | 552 ntfs_attr_search_ctx *ctx = NULL; local 564 ctx = ntfs_attr_get_search_ctx(ni, NULL); 565 if (!ctx) 569 0, ctx)) 571 attr = ctx->attr; 585 NULL, 0, ctx)) 587 ctx->attr); 607 if (ctx) 608 ntfs_attr_put_search_ctx(ctx); 686 ntfs_attr_search_ctx *ctx; local [all...] |
/osnet-11/usr/src/lib/libc/amd64/unwind/ |
H A D | unwind.c | 168 ctx_who(struct _Unwind_Context *ctx) argument 170 return (ctx->pfn); 177 struct _Unwind_Context *ctx) 182 fp = _Unwind_GetCFA(ctx); 183 if (fp == 0 || _Unwind_GetIP(ctx) == 0) { 203 complete_context(struct _Unwind_Context *ctx) argument 208 ctx->pfn = (_Unwind_Personality_Fn)def_per_fcn; 209 ctx->lsda = 0; 210 ctx->func = 0; 211 ctx 175 _Unw_very_boring_personality(int version, int actions, uint64_t exclass, struct _Unwind_Exception *exception_object, struct _Unwind_Context *ctx) argument 232 finish_capture(struct _Unwind_Context *ctx, int from_landing_pad) argument 275 jmp_ctx(struct _Unwind_Context *ctx) argument 292 struct _Unwind_Context *ctx = &context; local 364 _Unwind_ForcedUnwind_Body(struct _Unwind_Exception *exception_object, _Unwind_Stop_Fn stop, void *stop_parameter, struct _Unwind_Context *ctx, int resume) argument 442 struct _Unwind_Context *ctx = &context; local 455 struct _Unwind_Context *ctx = &context; local 463 ctx, 1); local [all...] |
/osnet-11/usr/src/lib/pam_modules/krb5/ |
H A D | krb5_authenticate.c | 375 krb5_context ctx, 389 krb5_prompt_type *prompt_type = krb5_get_prompt_types(ctx); 374 pam_krb5_prompter( krb5_context ctx, void *data, const char *name, const char *banner, int num_prompts, krb5_prompt prompts[]) argument
|
/osnet-11/usr/src/lib/libresolv2/common/isc/ |
H A D | ctl_clnt.c | 60 #define donefunc_p(ctx) ((ctx).donefunc != NULL) 77 struct ctl_cctx * ctx; member in struct:ctl_tran 154 struct ctl_cctx *ctx; local 159 ctx = memget(sizeof *ctx); 160 if (ctx == NULL) { 164 ctx->state = initializing; 165 ctx->ev = lev; 166 ctx 223 ctl_endclient(struct ctl_cctx *ctx) argument 236 ctl_command(struct ctl_cctx *ctx, const char *cmd, size_t len, ctl_clntdone donefunc, void *uap) argument 275 new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) argument 293 start_write(struct ctl_cctx *ctx) argument 339 destroy(struct ctl_cctx *ctx, int notify) argument 389 error(struct ctl_cctx *ctx) argument 395 new_state(struct ctl_cctx *ctx, enum state new_state) argument 409 struct ctl_cctx *ctx = uap; local 445 struct ctl_cctx *ctx = tran->ctx; local 462 start_read(struct ctl_cctx *ctx) argument 478 stop_read(struct ctl_cctx *ctx) argument 488 struct ctl_cctx *ctx = uap; local 572 start_timer(struct ctl_cctx *ctx) argument 585 stop_timer(struct ctl_cctx *ctx) argument 599 touch_timer(struct ctl_cctx *ctx) argument 608 struct ctl_cctx *ctx = uap; local [all...] |
H A D | ctl_srvr.c | 68 tmp, sizeof tmp, ctx->logger) 86 struct ctl_sctx * ctx; member in struct:ctl_sess 179 struct ctl_sctx *ctx; local 193 ctx = memget(sizeof *ctx); 194 if (ctx == NULL) { 198 ctx->ev = lev; 199 ctx->uctx = uctx; 200 ctx->unkncode = unkncode; 201 ctx 276 ctl_endserver(struct ctl_sctx *ctx) argument 308 struct ctl_sctx *ctx = sess->ctx; local 378 struct ctl_sctx *ctx = sess->ctx; local 407 struct ctl_sctx *ctx = uap; local 472 struct ctl_sctx *ctx = sess->ctx; local 485 struct ctl_sctx *ctx = sess->ctx; local 523 struct ctl_sctx *ctx = sess->ctx; local 553 struct ctl_sctx *ctx = sess->ctx; local 570 struct ctl_sctx *ctx; local 632 struct ctl_sctx *ctx = sess->ctx; local 659 struct ctl_sctx *ctx = sess->ctx; local 682 struct ctl_sctx *ctx = sess->ctx; local 723 struct ctl_sctx *ctx = sess->ctx; local 760 ctl_morehelp(struct ctl_sctx *ctx, struct ctl_sess *sess, const struct ctl_verb *verb, const char *text, u_int respflags, const void *respctx, void *uctx) argument 780 ctl_signal_done(struct ctl_sctx *ctx, struct ctl_sess *sess) argument [all...] |
H A D | ev_timers.c | 278 evContext_p *ctx = opaqueCtx.opaque; local 280 return (ctx->lastEventTime); 309 evContext_p *ctx = opaqueCtx.opaque; local 312 evPrintf(ctx, 1, 313 "evSetTimer(ctx %p, func %p, uap %p, due %ld.%09ld, inter %ld.%09ld)\n", 314 ctx, func, uap, 346 if (heap_insert(ctx->timers, id) < 0) 353 if (ctx->debug > 7) { 354 evPrintf(ctx, 7, "timers after evSetTimer:\n"); 355 (void) heap_for_each(ctx 363 evContext_p *ctx = opaqueCtx.opaque; local 399 evContext_p *ctx = opaqueCtx.opaque; local 426 evContext_p *ctx = opaqueCtx.opaque; local 485 evContext_p *ctx = opaqueCtx.opaque; local 523 evContext_p *ctx = opaqueCtx.opaque; local 539 evContext_p *ctx = opaqueCtx.opaque; local 551 evCreateTimers(const evContext_p *ctx) argument 559 evDestroyTimers(const evContext_p *ctx) argument 595 evContext_p *ctx = uap; local 611 evContext_p *ctx = opaqueCtx.opaque; local [all...] |
/osnet-11/usr/src/lib/libsasl/lib/ |
H A D | auxprop.c | 132 static int prop_init(struct propctx *ctx, unsigned estimate) argument 136 ctx->mem_base = alloc_proppool(VALUES_SIZE + estimate); 137 if(!ctx->mem_base) return SASL_NOMEM; 139 ctx->mem_cur = ctx->mem_base; 141 ctx->values = (struct propval *)ctx->mem_base->data; 142 ctx->mem_base->unused = ctx->mem_base->size - VALUES_SIZE; 143 ctx 236 prop_dispose(struct propctx **ctx) argument 270 prop_request(struct propctx *ctx, const char **names) argument 364 prop_get(struct propctx *ctx) argument 379 prop_getnames(struct propctx *ctx, const char **names, struct propval *vals) argument 414 prop_clear(struct propctx *ctx, int requests) argument 471 prop_erase(struct propctx *ctx, const char *name) argument 513 prop_format(struct propctx *ctx, const char *sep, int seplen, char *outbuf, unsigned outmax, unsigned *outlen) argument 557 prop_set(struct propctx *ctx, const char *name, const char *value, int vallen) argument 758 prop_setvals(struct propctx *ctx, const char *name, const char **values) argument 845 _sasl_auxprop_add_plugin(void *ctx, const char *plugname, sasl_auxprop_init_t *auxpropfunc) argument [all...] |
/osnet-11/usr/src/lib/libsmbfs/common/ |
H A D | smbfs_ctx.c | 98 smbfs_ctx_rpc_cleanup(struct smb_ctx *ctx) argument 101 (*close_hook)(ctx); 107 smb_ctx_t *ctx; local 110 ctx = malloc(sizeof (*ctx)); 111 if (ctx == NULL) 113 err = smbfs_ctx_init(ctx); 115 free(ctx); 118 *ctx_pp = ctx; 149 smbfs_ctx_getconfigs(struct smb_ctx *ctx) argument 193 smbfs_ctx_init(struct smb_ctx *ctx) argument 233 smbfs_ctx_free(smb_ctx_t *ctx) argument 243 smbfs_ctx_done(struct smb_ctx *ctx) argument 304 smbfs_ctx_parseunc(struct smb_ctx *ctx, const char *unc, int minlevel, int maxlevel, int sharetype, const char **next) argument 466 smbfs_ctx_setauthflags(struct smb_ctx *ctx, int flags) argument 473 smbfs_ctx_setfullserver(struct smb_ctx *ctx, const char *name) argument 486 smbfs_ctx_setserver(struct smb_ctx *ctx, const char *name) argument 494 smbfs_ctx_setuser(struct smb_ctx *ctx, const char *name, int from_cmd) argument 526 smbfs_ctx_setrealm(struct smb_ctx *ctx, const char *name) argument 562 smbfs_ctx_setdomain(struct smb_ctx *ctx, const char *name, int from_cmd) argument 588 smbfs_ctx_setpassword(struct smb_ctx *ctx, const char *passwd, int from_cmd) argument 640 smbfs_ctx_setpwhash(smb_ctx_t *ctx, const uchar_t *nthash, const uchar_t *lmhash) argument 659 smbfs_ctx_setshare(struct smb_ctx *ctx, const char *share, int stype) argument 680 smbfs_ctx_setsigning(struct smb_ctx *ctx, boolean_t required) argument 694 smbfs_ctx_getaddr(struct smb_ctx *ctx) argument 776 smbfs_ctx_resolve(struct smb_ctx *ctx) argument 869 smbfs_ctx_gethandle(struct smb_ctx *ctx) argument 910 smbfs_ctx_get_ssn(struct smb_ctx *ctx) argument 955 smbfs_ctx_get_tree(struct smb_ctx *ctx) argument 1012 smbfs_ctx_flags2(struct smb_ctx *ctx) argument 1079 smbfs_ctx_setnbflags(struct smb_ctx *ctx, int ns_ena, int bc_ena) argument 1094 smbfs_ctx_setwins(struct smb_ctx *ctx, const char *wins1, const char *wins2) argument 1108 smbfs_ctx_setscope(struct smb_ctx *ctx, const char *scope) argument [all...] |
H A D | smbfs_nbns_rq.c | 180 smbfs_nbns_resolvename(const char *name, struct nb_ctx *ctx, argument 191 error = smbfs_nbns_rq_create(NBNS_OPCODE_QUERY, ctx, &rqp); 202 nn.nn_scope = ctx->nb_scope; 260 ctx->nb_lastns = rqp->nr_sender; 271 smbfs_nbns_getnodestatus(struct nb_ctx *ctx, argument 283 error = smbfs_nbns_rq_create(NBNS_OPCODE_QUERY, ctx, &rqp); 288 nn.nn_scope = ctx->nb_scope; 364 ctx->nb_lastns = rqp->nr_sender; 372 smbfs_nbns_rq_create(int opcode, struct nb_ctx *ctx, struct nbns_rq **rqpp) argument 390 rqp->nr_nbd = ctx; 442 struct nb_ctx *ctx = rqp->nr_nbd; local 522 struct nb_ctx *ctx = rqp->nr_nbd; local 588 struct nb_ctx *ctx = rqp->nr_nbd; local [all...] |
/osnet-11/usr/src/lib/libkmf/libkmf/common/ |
H A D | pk11keys.c | 702 SHA1_CTX ctx; local 704 SHA1Init(&ctx); 705 SHA1Update(&ctx, IDInput->Data, IDInput->Length); 706 SHA1Final(IDOutput->Data, &ctx);
|
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | sasl.c | 38 extern void sasl_free_context(void *ctx); 39 extern int _sasl_client_init(void *ctx, const sasl_callback_t *callbacks); 40 extern int _sasl_client_new(void *ctx, const char *service, 45 extern int _sasl_server_init(void *ctx, 47 extern int _sasl_server_new(void *ctx, const char *service, 574 sasl_conn_t *ctx = NULL; local 607 NULL, 0, &ctx ); 611 sasl_dispose(&ctx); 615 sb->sb_sasl_ctx = (void *)ctx; 636 sasl_conn_t *ctx local 654 sasl_conn_t *ctx; local [all...] |
/osnet-11/usr/src/lib/libndr/common/ |
H A D | ndr_server.c | 472 smb_netuserinfo_t *ctx = &xa->pipe->np_user; local 474 return (ctx->ui_flags & SMB_ATF_ADMIN); 486 smb_netuserinfo_t *ctx = &xa->pipe->np_user; local 488 return ((ctx->ui_flags & SMB_ATF_ADMIN) || 489 (ctx->ui_flags & SMB_ATF_POWERUSER)); 495 smb_netuserinfo_t *ctx = &xa->pipe->np_user; local 497 return (ctx->ui_native_os);
|
/osnet-11/usr/src/lib/libntfs/common/libntfs/ |
H A D | dir.c | 110 ntfs_attr_search_ctx *ctx; local 125 ctx = ntfs_attr_get_search_ctx(dir_ni, NULL); 126 if (!ctx) 131 0, NULL, 0, ctx)) { 138 ir = (INDEX_ROOT*)((u8*)ctx->attr + 139 le16_to_cpu(ctx->attr->u.res.value_offset)); 157 if ((u8*)ie < (u8*)ctx->mrec || (u8*)ie + 185 ntfs_attr_put_search_ctx(ctx); 246 ntfs_attr_put_search_ctx(ctx); 370 ntfs_attr_put_search_ctx(ctx); 655 ntfs_attr_search_ctx *ctx; local 722 ntfs_attr_search_ctx *ctx = NULL; local [all...] |
H A D | volume.c | 184 ntfs_attr_search_ctx *ctx = NULL; local 217 ctx = ntfs_attr_get_search_ctx(vol->mft_ni, NULL); 218 if (!ctx) { 222 if (p2n(ctx->attr) < p2n(mb) || 223 (char*)ctx->attr > (char*)mb + vol->mft_record_size) { 229 ctx)) { 237 l = ntfs_get_attribute_value_length(ctx->attr); 247 l = ntfs_get_attribute_value(vol, ctx->attr, vol->mft_ni->attr_list); 274 ntfs_attr_reinit_search_ctx(ctx); 279 ctx)) { 895 ntfs_attr_search_ctx *ctx = NULL; local 1635 ntfs_attr_search_ctx *ctx; local [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/ |
H A D | gc_frm_kdc.c | 87 krb5_context ctx; member in struct:tr_state 177 static krb5_error_code do_traversal(krb5_context ctx, krb5_ccache, 225 krb5_free_cred_contents(ts->ctx, &rb->cred[i]); 244 krb5_free_cred_contents(ts->ctx, &rb->cred[i]); 261 retval = krb5_unparse_name(ts->ctx, ts->cur_tgt->server, &cur_tgt_str); 263 retval = krb5_unparse_name(ts->ctx, *ts->cur_kdc, &cur_kdc_str); 265 retval = krb5_unparse_name(ts->ctx, *ts->nxt_kdc, &nxt_kdc_str); 272 krb5_free_unparsed_name(ts->ctx, cur_tgt_str); 274 krb5_free_unparsed_name(ts->ctx, cur_kdc_str); 276 krb5_free_unparsed_name(ts->ctx, nxt_kdc_st 310 tgt_mcred(krb5_context ctx, krb5_principal client, krb5_principal dst, krb5_principal src, krb5_creds *mcreds) argument 764 do_traversal(krb5_context ctx, krb5_ccache ccache, krb5_principal client, krb5_principal server, krb5_creds *out_cc_tgt, krb5_creds **out_tgt, krb5_creds ***out_kdc_tgts, int *tgtptr_isoffpath) argument [all...] |
/osnet-11/usr/src/lib/gss_mechs/mech_krb5/krb5/os/ |
H A D | locate_kdc.c | 409 module_locate_server (krb5_context ctx, const krb5_data *realm, argument 424 if (!PLUGIN_DIR_OPEN (&ctx->libkrb5_plugins)) { 426 code = krb5int_open_plugin_dirs (objdirs, NULL, &ctx->libkrb5_plugins, 427 &ctx->err); 432 code = krb5int_get_plugin_dir_data (&ctx->libkrb5_plugins, 433 "service_locator", &ptrs, &ctx->err); 436 (msg = krb5_get_error_message(ctx, code))); 437 krb5_free_error_message(ctx, msg); 460 code = vtbl->init(ctx, &blob);
|
/osnet-11/usr/src/lib/krb5/kadm5/ |
H A D | alt_prof.c | 1076 kadm5_get_admin_service_name(krb5_context ctx, argument 1090 ret = kadm5_get_config_params(ctx, 0, ¶ms_in, ¶ms_out); 1111 kadm5_free_config_params(ctx, ¶ms_out);
|
/osnet-11/usr/src/lib/krb5/kadm5/clnt/ |
H A D | client_init.c | 1127 krb5_error_code kadm5_init_krb5_context (krb5_context *ctx) argument 1129 return krb5_init_context(ctx);
|
/osnet-11/usr/src/lib/krb5/plugins/preauth/pkinit/ |
H A D | pkinit_clnt.c | 1289 pkiDebug("%s: Bad magic value (%x) in req ctx\n", 1313 pkinit_context ctx = NULL; local 1315 ctx = calloc(1, sizeof(*ctx)); 1316 if (ctx == NULL) 1318 memset(ctx, 0, sizeof(*ctx)); 1319 ctx->magic = PKINIT_CTX_MAGIC; 1320 ctx->opts = NULL; 1321 ctx 1354 pkinit_context ctx = blob; local [all...] |
H A D | pkinit_srv.c | 1374 pkinit_init_kdc_req_context(krb5_context context, void **ctx) argument 1392 *ctx = reqctx; 1402 pkinit_fini_kdc_req_context(krb5_context context, void *ctx) argument 1404 pkinit_kdc_req_context reqctx = (pkinit_kdc_req_context)ctx;
|
/osnet-11/usr/src/grub/grub2/grub-core/commands/ |
H A D | legacycfg.c | 547 grub_uint8_t ctx[GRUB_MD_MD5->contextsize]; local 550 GRUB_MD_MD5->init (ctx); 551 GRUB_MD_MD5->write (ctx, entered, enteredlen); 552 GRUB_MD_MD5->write (ctx, pw->salt + 3, pw->saltlen - 3); 553 GRUB_MD_MD5->write (ctx, entered, enteredlen); 554 digest = GRUB_MD_MD5->read (ctx); 555 GRUB_MD_MD5->final (ctx); 558 GRUB_MD_MD5->init (ctx); 559 GRUB_MD_MD5->write (ctx, entered, enteredlen); 560 GRUB_MD_MD5->write (ctx, p [all...] |
/osnet-11/usr/src/grub/grub2/grub-core/disk/ |
H A D | cryptodisk.c | 124 cipher->cipher->decrypt (cipher->ctx, outptr, inptr); 231 grub_uint64_t ctx[(dev->iv_hash->contextsize + 7) / 8]; local 233 grub_memset (ctx, 0, sizeof (ctx)); 236 dev->iv_hash->init (ctx); 237 dev->iv_hash->write (ctx, dev->iv_prefix, dev->iv_prefix_len); 238 dev->iv_hash->write (ctx, &tmp, sizeof (tmp)); 239 dev->iv_hash->final (ctx); 241 grub_memcpy (iv, dev->iv_hash->read (ctx), sizeof (iv));
|