Searched refs:ctx (Results 1 - 25 of 563) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_ctxbuf.c54 smb_ctxbuf_init(smb_ctxbuf_t *ctx, unsigned char *buf, size_t buflen) argument
56 if (ctx == 0 || buf == 0 || buflen == 0)
61 ctx->basep = buf;
62 ctx->curp = buf;
63 ctx->endp = &buf[buflen];
75 * Returns 0 if the ctx is invalid.
78 smb_ctxbuf_len(smb_ctxbuf_t *ctx) argument
80 if (ctx == 0 || ctx->basep == 0 ||
81 ctx
101 smb_ctxbuf_printf(smb_ctxbuf_t *ctx, const char *fmt, ...) argument
[all...]
/illumos-gate/usr/src/cmd/sendmail/libmilter/
H A Dhandler.c21 ** ctx -- context structure
28 mi_handle_session(ctx)
29 SMFICTX_PTR ctx;
33 if (ctx == NULL)
35 ctx->ctx_id = (sthread_t) sthread_get_id();
42 if (pthread_detach(ctx->ctx_id) != 0)
45 ret = mi_engine(ctx);
46 mi_clr_ctx(ctx);
47 ctx = NULL;
/illumos-gate/usr/src/common/smbsrv/
H A Dsmb_door_legacy.c51 smb_dr_ctx_t *ctx = MEM_MALLOC("CommonDoor", sizeof (smb_dr_ctx_t)); local
52 if (ctx) {
53 ctx->start_ptr = ctx->ptr = ptr;
54 ctx->end_ptr = ptr + size;
55 ctx->status = 0;
57 return (ctx);
61 smb_dr_decode_finish(smb_dr_ctx_t *ctx) argument
63 int status = ctx->status;
64 if (status == 0 && ctx
74 smb_dr_ctx_t *ctx = MEM_MALLOC("CommonDoor", sizeof (smb_dr_ctx_t)); local
84 smb_dr_encode_finish(smb_dr_ctx_t *ctx, unsigned int *used) argument
101 smb_dr_get_dword(smb_dr_ctx_t *ctx) argument
116 smb_dr_get_int32(smb_dr_ctx_t *ctx) argument
131 smb_dr_get_uint32(smb_dr_ctx_t *ctx) argument
137 smb_dr_get_string(smb_dr_ctx_t *ctx) argument
171 smb_dr_put_dword(smb_dr_ctx_t *ctx, DWORD num) argument
184 smb_dr_put_int32(smb_dr_ctx_t *ctx, int32_t num) argument
197 smb_dr_put_uint32(smb_dr_ctx_t *ctx, uint32_t num) argument
203 smb_dr_put_string(smb_dr_ctx_t *ctx, const char *buf) argument
234 smb_dr_get_int64(smb_dr_ctx_t *ctx) argument
249 smb_dr_get_uint64(smb_dr_ctx_t *ctx) argument
256 smb_dr_put_int64(smb_dr_ctx_t *ctx, int64_t num) argument
269 smb_dr_put_uint64(smb_dr_ctx_t *ctx, uint64_t num) argument
275 smb_dr_put_short(smb_dr_ctx_t *ctx, short num) argument
288 smb_dr_get_short(smb_dr_ctx_t *ctx) argument
303 smb_dr_put_ushort(smb_dr_ctx_t *ctx, unsigned short num) argument
309 smb_dr_get_ushort(smb_dr_ctx_t *ctx) argument
315 smb_dr_put_word(smb_dr_ctx_t *ctx, WORD num) argument
321 smb_dr_get_word(smb_dr_ctx_t *ctx) argument
327 smb_dr_put_BYTE(smb_dr_ctx_t *ctx, BYTE byte) argument
340 smb_dr_get_BYTE(smb_dr_ctx_t *ctx) argument
355 smb_dr_put_buf(smb_dr_ctx_t *ctx, unsigned char *start, int len) argument
369 smb_dr_get_buf(smb_dr_ctx_t *ctx, unsigned char *buf, int bufsize) argument
396 smb_dr_get_share(smb_dr_ctx_t *ctx, smb_share_t *si) argument
411 smb_dr_put_share(smb_dr_ctx_t *ctx, smb_share_t *si) argument
[all...]
/illumos-gate/usr/src/lib/libndmp/common/
H A Dlibndmp_door_data.c52 ndmp_door_ctx_t *ctx = malloc(sizeof (ndmp_door_ctx_t)); local
53 if (ctx) {
54 ctx->start_ptr = ctx->ptr = ptr;
55 ctx->end_ptr = ptr + size;
56 ctx->status = 0;
58 return (ctx);
62 ndmp_door_decode_finish(ndmp_door_ctx_t *ctx) argument
64 int status = ctx->status;
65 if ((status == 0) && (ctx
75 ndmp_door_ctx_t *ctx = malloc(sizeof (ndmp_door_ctx_t)); local
85 ndmp_door_encode_finish(ndmp_door_ctx_t *ctx, unsigned int *used) argument
101 ndmp_door_get_int32(ndmp_door_ctx_t *ctx) argument
116 ndmp_door_get_uint32(ndmp_door_ctx_t *ctx) argument
122 ndmp_door_get_string(ndmp_door_ctx_t *ctx) argument
152 ndmp_door_put_int32(ndmp_door_ctx_t *ctx, int32_t num) argument
165 ndmp_door_put_uint32(ndmp_door_ctx_t *ctx, uint32_t num) argument
171 ndmp_door_put_string(ndmp_door_ctx_t *ctx, char *buf) argument
201 ndmp_door_get_int64(ndmp_door_ctx_t *ctx) argument
216 ndmp_door_get_uint64(ndmp_door_ctx_t *ctx) argument
223 ndmp_door_put_int64(ndmp_door_ctx_t *ctx, int64_t num) argument
236 ndmp_door_put_uint64(ndmp_door_ctx_t *ctx, uint64_t num) argument
242 ndmp_door_put_short(ndmp_door_ctx_t *ctx, short num) argument
255 ndmp_door_get_short(ndmp_door_ctx_t *ctx) argument
270 ndmp_door_put_ushort(ndmp_door_ctx_t *ctx, unsigned short num) argument
276 ndmp_door_get_ushort(ndmp_door_ctx_t *ctx) argument
282 ndmp_door_put_buf(ndmp_door_ctx_t *ctx, unsigned char *start, int len) argument
296 ndmp_door_get_buf(ndmp_door_ctx_t *ctx, unsigned char *buf, int bufsize) argument
[all...]
/illumos-gate/usr/src/lib/auditd_plugins/syslog/
H A Dsystoken.c83 parse_token(parse_context_t *ctx) argument
98 adrm_char(&(ctx->adr), &tokenid, 1);
101 rc = (*tokentable[tokenid].func)(ctx);
113 file_token(parse_context_t *ctx) argument
121 file64_token(parse_context_t *ctx) argument
127 common_header(parse_context_t *ctx) argument
129 adrm_u_int32(&(ctx->adr), &(ctx->out.sf_reclen), 1);
130 ctx->adr.adr_now += sizeof (char); /* version number */
131 adrm_u_short(&(ctx
139 header_token(parse_context_t *ctx) argument
149 header32_ex_token(parse_context_t *ctx) argument
165 header64_ex_token(parse_context_t *ctx) argument
181 header64_token(parse_context_t *ctx) argument
200 trailer_token(parse_context_t *ctx) argument
225 arbitrary_data_token(parse_context_t *ctx) argument
262 opaque_token(parse_context_t *ctx) argument
277 return_value32_token(parse_context_t *ctx) argument
297 return_value64_token(parse_context_t *ctx) argument
317 sequence_token(parse_context_t *ctx) argument
330 text_token(parse_context_t *ctx) argument
381 tid_token(parse_context_t *ctx) argument
407 ip_addr_token(parse_context_t *ctx) argument
422 ip_addr_ex_token(parse_context_t *ctx) argument
448 ip_token(parse_context_t *ctx) argument
463 iport_token(parse_context_t *ctx) argument
478 group_token(parse_context_t *ctx) argument
493 newgroup_token(parse_context_t *ctx) argument
513 argument32_token(parse_context_t *ctx) argument
530 argument64_token(parse_context_t *ctx) argument
546 acl_token(parse_context_t *ctx) argument
562 ace_token(parse_context_t *ctx) argument
581 attribute_token(parse_context_t *ctx) argument
600 attribute32_token(parse_context_t *ctx) argument
619 attribute64_token(parse_context_t *ctx) argument
645 cmd_token(parse_context_t *ctx) argument
672 exit_token(parse_context_t *ctx) argument
691 exec_args_token(parse_context_t *ctx) argument
711 exec_env_token(parse_context_t *ctx) argument
726 liaison_token(parse_context_t *ctx) argument
739 path_token(parse_context_t *ctx) argument
771 path_attr_token(parse_context_t *ctx) argument
817 s5_IPC_perm_token(parse_context_t *ctx) argument
824 common_process(parse_context_t *ctx) argument
852 process32_token(parse_context_t *ctx) argument
881 process32_ex_token(parse_context_t *ctx) argument
909 process64_token(parse_context_t *ctx) argument
939 process64_ex_token(parse_context_t *ctx) argument
962 s5_IPC_token(parse_context_t *ctx) argument
979 socket_token(parse_context_t *ctx) argument
999 socket_ex_token(parse_context_t *ctx) argument
1013 common_subject(parse_context_t *ctx) argument
1040 subject32_token(parse_context_t *ctx) argument
1070 subject32_ex_token(parse_context_t *ctx) argument
1098 subject64_token(parse_context_t *ctx) argument
1128 subject64_ex_token(parse_context_t *ctx) argument
1144 xatom_token(parse_context_t *ctx) argument
1153 xselect_token(parse_context_t *ctx) argument
1255 skip_bytes(parse_context_t *ctx) argument
1264 skip_string(parse_context_t *ctx) argument
1282 get_bytes_to_string(parse_context_t *ctx, size_t *l, char **p, size_t offset) argument
1312 host_token(parse_context_t *ctx) argument
1326 useofauth_token(parse_context_t *ctx) argument
1342 user_token(parse_context_t *ctx) argument
1357 zonename_token(parse_context_t *ctx) argument
1373 fmri_token(parse_context_t *ctx) argument
1381 xcolormap_token(parse_context_t *ctx) argument
1387 xcursor_token(parse_context_t *ctx) argument
1393 xfont_token(parse_context_t *ctx) argument
1399 xgc_token(parse_context_t *ctx) argument
1405 xpixmap_token(parse_context_t *ctx) argument
1411 xwindow_token(parse_context_t *ctx) argument
1423 xgeneric(parse_context_t *ctx) argument
1436 xproperty_token(parse_context_t *ctx) argument
1447 xclient_token(parse_context_t *ctx) argument
1466 privilege_token(parse_context_t *ctx) argument
1485 secflags_token(parse_context_t *ctx) argument
1501 label_token(parse_context_t *ctx) argument
1521 useofpriv_token(parse_context_t *ctx) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/krb/
H A Dkerrs.c41 krb5_set_error_message (krb5_context ctx, krb5_error_code code, argument
45 if (ctx == NULL)
51 "krb5_set_error_message(ctx=%p/err=%p, code=%ld, ...)\n",
52 ctx, &ctx->err, (long) code);
54 krb5int_vset_error (&ctx->err, code, fmt, args);
57 fprintf(stderr, "->%s\n", ctx->err.msg);
63 krb5_vset_error_message (krb5_context ctx, krb5_error_code code, argument
68 fprintf(stderr, "krb5_vset_error_message(ctx=%p, code=%ld, ...)\n",
69 ctx, (lon
81 krb5_get_error_message(krb5_context ctx, krb5_error_code code) argument
93 krb5_free_error_message(krb5_context ctx, const char *msg) argument
105 krb5_clear_error_message(krb5_context ctx) argument
[all...]
/illumos-gate/usr/src/lib/libresolv2/common/isc/
H A Dheap.c51 heap_context ctx; local
56 ctx = (heap_context)malloc(sizeof (struct heap_context));
57 if (ctx == NULL)
60 ctx->array_size = 0;
62 ctx->array_size_increment = ARRAY_SIZE_INCREMENT;
64 ctx->array_size_increment = array_size_increment;
65 ctx->heap_size = 0;
66 ctx->heap = NULL;
67 ctx->higher_priority = higher_priority;
68 ctx
73 heap_free(heap_context ctx) argument
87 heap_resize(heap_context ctx) argument
102 float_up(heap_context ctx, int i, void *elt) argument
118 sink_down(heap_context ctx, int i, void *elt) argument
142 heap_insert(heap_context ctx, void *elt) argument
160 heap_delete(heap_context ctx, int i) argument
185 heap_increased(heap_context ctx, int i) argument
197 heap_decreased(heap_context ctx, int i) argument
209 heap_element(heap_context ctx, int i) argument
219 heap_for_each(heap_context ctx, heap_for_each_func action, void *uap) argument
[all...]
H A Dctl_clnt.c54 #define donefunc_p(ctx) ((ctx).donefunc != NULL)
71 struct ctl_cctx * ctx; member in struct:ctl_tran
148 struct ctl_cctx *ctx; local
153 ctx = memget(sizeof *ctx);
154 if (ctx == NULL) {
158 ctx->state = initializing;
159 ctx->ev = lev;
160 ctx
217 ctl_endclient(struct ctl_cctx *ctx) argument
230 ctl_command(struct ctl_cctx *ctx, const char *cmd, size_t len, ctl_clntdone donefunc, void *uap) argument
269 new_tran(struct ctl_cctx *ctx, ctl_clntdone donefunc, void *uap, int w) argument
287 start_write(struct ctl_cctx *ctx) argument
333 destroy(struct ctl_cctx *ctx, int notify) argument
383 error(struct ctl_cctx *ctx) argument
389 new_state(struct ctl_cctx *ctx, enum state new_state) argument
403 struct ctl_cctx *ctx = uap; local
439 struct ctl_cctx *ctx = tran->ctx; local
456 start_read(struct ctl_cctx *ctx) argument
472 stop_read(struct ctl_cctx *ctx) argument
482 struct ctl_cctx *ctx = uap; local
566 start_timer(struct ctl_cctx *ctx) argument
579 stop_timer(struct ctl_cctx *ctx) argument
593 touch_timer(struct ctl_cctx *ctx) argument
602 struct ctl_cctx *ctx = uap; local
[all...]
/illumos-gate/usr/src/cmd/nscd/
H A Dgetauth.c34 #define nam_db ctx->nsc_db[0]
38 auth_init_ctx(nsc_ctx_t *ctx) { argument
39 ctx->dbname = NSS_DBNAM_AUTHATTR;
40 ctx->file_name = "/etc/security/auth_attr";
41 ctx->db_count = 1;
H A Dgetbootp.c34 #define nam_db ctx->nsc_db[0]
38 bootp_init_ctx(nsc_ctx_t *ctx) { argument
39 ctx->dbname = NSS_DBNAM_BOOTPARAMS;
40 ctx->file_name = "/etc/bootparams";
41 ctx->db_count = 1;
H A Dgetnetmasks.c34 #define key_db ctx->nsc_db[0]
39 netmask_init_ctx(nsc_ctx_t *ctx) { argument
40 ctx->dbname = NSS_DBNAM_NETMASKS;
41 ctx->db_count = 1;
42 ctx->file_name = "/etc/inet/netmasks";
H A Dgetprinter.c34 #define nam_db ctx->nsc_db[0]
39 printer_init_ctx(nsc_ctx_t *ctx) { argument
40 ctx->dbname = NSS_DBNAM_PRINTERS;
41 ctx->file_name = "/etc/printers.conf";
42 ctx->db_count = 1;
H A Dgetprof.c34 #define nam_db ctx->nsc_db[0]
38 prof_init_ctx(nsc_ctx_t *ctx) { argument
39 ctx->dbname = NSS_DBNAM_PROFATTR;
40 ctx->file_name = "/etc/security/prof_attr";
41 ctx->db_count = 1;
H A Dgetuser.c34 #define nam_db ctx->nsc_db[0]
38 user_init_ctx(nsc_ctx_t *ctx) { argument
39 ctx->dbname = NSS_DBNAM_USERATTR;
40 ctx->file_name = "/etc/user_attr";
41 ctx->db_count = 1;
H A Dgetproto.c34 #define nam_db ctx->nsc_db[0]
35 #define num_db ctx->nsc_db[1]
41 proto_init_ctx(nsc_ctx_t *ctx) { argument
42 ctx->dbname = NSS_DBNAM_PROTOCOLS;
43 ctx->file_name = "/etc/inet/protocols";
44 ctx->db_count = 2;
H A Dgetrpc.c34 #define nam_db ctx->nsc_db[0]
35 #define num_db ctx->nsc_db[1]
41 rpc_init_ctx(nsc_ctx_t *ctx) { argument
42 ctx->dbname = NSS_DBNAM_RPC;
43 ctx->file_name = "/etc/rpc";
44 ctx->db_count = 2;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dskein_zfs.c33 Skein_512_Ctxt_t *ctx = arg; local
34 (void) Skein_512_Update(ctx, buf, size);
48 Skein_512_Ctxt_t ctx; local
51 bcopy(ctx_template, &ctx, sizeof (ctx));
52 (void) abd_iterate_func(abd, 0, size, skein_incremental, &ctx);
53 (void) Skein_512_Final(&ctx, (uint8_t *)zcp);
54 bzero(&ctx, sizeof (ctx));
82 Skein_512_Ctxt_t *ctx; local
97 Skein_512_Ctxt_t *ctx = ctx_template; local
[all...]
/illumos-gate/usr/src/common/crypto/skein/
H A Dskein.c16 void Skein_256_Process_Block(Skein_256_Ctxt_t *ctx, const uint8_t *blkPtr,
18 void Skein_512_Process_Block(Skein_512_Ctxt_t *ctx, const uint8_t *blkPtr,
20 void Skein1024_Process_Block(Skein1024_Ctxt_t *ctx, const uint8_t *blkPtr,
26 Skein_256_Init(Skein_256_Ctxt_t *ctx, size_t hashBitLen) argument
34 ctx->h.hashBitLen = hashBitLen; /* output hash bit count */
39 bcopy(SKEIN_256_IV_256, ctx->X, sizeof (ctx->X));
42 bcopy(SKEIN_256_IV_224, ctx->X, sizeof (ctx->X));
45 bcopy(SKEIN_256_IV_160, ctx
90 Skein_256_InitExt(Skein_256_Ctxt_t *ctx, size_t hashBitLen, uint64_t treeInfo, const uint8_t *key, size_t keyBytes) argument
158 Skein_256_Update(Skein_256_Ctxt_t *ctx, const uint8_t *msg, size_t msgByteCnt) argument
211 Skein_256_Final(Skein_256_Ctxt_t *ctx, uint8_t *hashVal) argument
262 Skein_512_Init(Skein_512_Ctxt_t *ctx, size_t hashBitLen) argument
327 Skein_512_InitExt(Skein_512_Ctxt_t *ctx, size_t hashBitLen, uint64_t treeInfo, const uint8_t *key, size_t keyBytes) argument
394 Skein_512_Update(Skein_512_Ctxt_t *ctx, const uint8_t *msg, size_t msgByteCnt) argument
447 Skein_512_Final(Skein_512_Ctxt_t *ctx, uint8_t *hashVal) argument
498 Skein1024_Init(Skein1024_Ctxt_t *ctx, size_t hashBitLen) argument
560 Skein1024_InitExt(Skein1024_Ctxt_t *ctx, size_t hashBitLen, uint64_t treeInfo, const uint8_t *key, size_t keyBytes) argument
627 Skein1024_Update(Skein1024_Ctxt_t *ctx, const uint8_t *msg, size_t msgByteCnt) argument
680 Skein1024_Final(Skein1024_Ctxt_t *ctx, uint8_t *hashVal) argument
732 Skein_256_Final_Pad(Skein_256_Ctxt_t *ctx, uint8_t *hashVal) argument
753 Skein_512_Final_Pad(Skein_512_Ctxt_t *ctx, uint8_t *hashVal) argument
774 Skein1024_Final_Pad(Skein1024_Ctxt_t *ctx, uint8_t *hashVal) argument
797 Skein_256_Output(Skein_256_Ctxt_t *ctx, uint8_t *hashVal) argument
837 Skein_512_Output(Skein_512_Ctxt_t *ctx, uint8_t *hashVal) argument
877 Skein1024_Output(Skein1024_Ctxt_t *ctx, uint8_t *hashVal) argument
[all...]
/illumos-gate/usr/src/boot/sys/cddl/boot/zfs/
H A Dskein_zfs.c36 Skein_512_Ctxt_t ctx; local
39 bcopy(ctx_template, &ctx, sizeof (ctx));
40 (void) Skein_512_Update(&ctx, buf, size);
41 (void) Skein_512_Final(&ctx, (uint8_t *)zcp);
42 bzero(&ctx, sizeof (ctx));
70 Skein_512_Ctxt_t *ctx; local
72 ctx = malloc(sizeof (*ctx));
86 Skein_512_Ctxt_t *ctx = ctx_template; local
[all...]
H A Dedonr_zfs.c39 EdonRState ctx; local
42 bcopy(ctx_template, &ctx, sizeof (ctx));
43 EdonRUpdate(&ctx, buf, size * 8);
44 EdonRFinal(&ctx, digest);
67 EdonRState *ctx; local
86 ctx = malloc(sizeof (*ctx));
87 bzero(ctx, sizeof (*ctx));
96 EdonRState *ctx = ctx_template; local
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_spnego/mech/
H A Dspnego_kerrs.c52 spnego_set_error_message (spnego_gss_ctx_id_t ctx, spnego_error_code code, argument
56 if (ctx == NULL)
62 "spnego_set_error_message(ctx=%p/err=%p, code=%ld, ...)\n",
63 ctx, &ctx->err, (long) code);
65 krb5int_vset_error (&ctx->err, code, fmt, args);
68 fprintf(stderr, "->%s\n", ctx->err.msg);
74 spnego_vset_error_message (spnego_gss_ctx_id_t ctx, spnego_error_code code, argument
79 fprintf(stderr, "spnego_vset_error_message(ctx=%p, code=%ld, ...)\n",
80 ctx, (lon
92 spnego_get_error_message(spnego_gss_ctx_id_t ctx, spnego_error_code code) argument
104 spnego_free_error_message(spnego_gss_ctx_id_t ctx, const char *msg) argument
116 spnego_clear_error_message(spnego_gss_ctx_id_t ctx) argument
[all...]
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dctx.c32 * $Id: ctx.c,v 1.32.70.2 2005/06/02 00:55:40 lindak Exp $
110 rpc_cleanup_smbctx(struct smb_ctx *ctx) argument
113 (*close_hook)(ctx);
186 dump_ctx(char *where, struct smb_ctx *ctx) argument
189 dump_ctx_flags(ctx->ct_flags);
191 if (ctx->ct_locname)
192 printf(" localname=\"%s\"", ctx->ct_locname);
196 if (ctx->ct_fullserver)
197 printf(" fullserver=\"%s\"", ctx->ct_fullserver);
201 if (ctx
224 smb_ctx_t *ctx; local
243 smb_ctx_init(struct smb_ctx *ctx) argument
313 smb_ctx_scan_argv(struct smb_ctx *ctx, int argc, char **argv, int minlevel, int maxlevel, int sharetype) argument
391 smb_ctx_free(smb_ctx_t *ctx) argument
398 smb_ctx_done(struct smb_ctx *ctx) argument
456 smb_ctx_parseunc(struct smb_ctx *ctx, const char *unc, int minlevel, int maxlevel, int sharetype, const char **next) argument
622 smb_ctx_setcharset(struct smb_ctx *ctx, const char *arg) argument
657 smb_ctx_setauthflags(struct smb_ctx *ctx, int flags) argument
664 smb_ctx_setfullserver(struct smb_ctx *ctx, const char *name) argument
677 smb_ctx_setserver(struct smb_ctx *ctx, const char *name) argument
685 smb_ctx_setuser(struct smb_ctx *ctx, const char *name, int from_cmd) argument
717 smb_ctx_setdomain(struct smb_ctx *ctx, const char *name, int from_cmd) argument
744 smb_ctx_setpassword(struct smb_ctx *ctx, const char *passwd, int from_cmd) argument
794 smb_ctx_setpwhash(smb_ctx_t *ctx, const uchar_t *nthash, const uchar_t *lmhash) argument
817 smb_ctx_setshare(struct smb_ctx *ctx, const char *share, int stype) argument
835 smb_ctx_setsrvaddr(struct smb_ctx *ctx, const char *addr) argument
851 smb_ctx_setsigning(struct smb_ctx *ctx, int enable, int require) argument
867 smb_ctx_setminver(struct smb_ctx *ctx, int ver) argument
883 smb_ctx_setmaxver(struct smb_ctx *ctx, int ver) argument
937 smb_parse_secopts(struct smb_ctx *ctx, const char *arg) argument
981 smb_ctx_opt(struct smb_ctx *ctx, int opt, const char *arg) argument
1059 smb_ctx_resolve(struct smb_ctx *ctx) argument
1216 smb_ctx_gethandle(struct smb_ctx *ctx) argument
1256 smb_ctx_get_ssn(struct smb_ctx *ctx) argument
1302 smb_ctx_get_tree(struct smb_ctx *ctx) argument
1359 smb_ctx_flags2(struct smb_ctx *ctx) argument
1447 smb_ctx_readrcsection(struct smb_ctx *ctx, const char *sname, int level) argument
1647 smb_ctx_readrc(struct smb_ctx *ctx) argument
[all...]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_tpm/common/
H A Dsign_mgr.c32 SIGN_VERIFY_CONTEXT * ctx,
45 if (! sess || ! ctx) {
48 if (ctx->active != FALSE) {
95 ctx->context_len = 0;
96 ctx->context = NULL;
126 ctx->context_len = sizeof (RSA_DIGEST_CONTEXT);
127 ctx->context = (CK_BYTE *)malloc(
129 if (! ctx->context) {
132 (void) memset(ctx->context, 0x0,
155 ctx
31 sign_mgr_init(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_MECHANISM * mech, CK_BBOOL recover_mode, CK_OBJECT_HANDLE key) argument
223 sign_mgr_cleanup(SIGN_VERIFY_CONTEXT *ctx) argument
250 sign_mgr_sign(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len, CK_BYTE * out_data, CK_ULONG * out_data_len) argument
304 sign_mgr_sign_update(SESSION * sess, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len) argument
332 sign_mgr_sign_final(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * signature, CK_ULONG * sig_len) argument
358 sign_mgr_sign_recover(SESSION * sess, CK_BBOOL length_only, SIGN_VERIFY_CONTEXT * ctx, CK_BYTE * in_data, CK_ULONG in_data_len, CK_BYTE * out_data, CK_ULONG * out_data_len) argument
[all...]
/illumos-gate/usr/src/cmd/smbsrv/smbd/
H A Dsmbd_authsvc.c226 authsvc_context_t *ctx; local
272 ctx = smbd_authctx_create();
273 if (ctx == NULL) {
281 ctx->ctx_socket = ns;
283 rc = pthread_create(&tid, &attr, smbd_authsvc_work, ctx);
289 smbd_authctx_destroy(ctx);
291 ctx = NULL; /* given to the new thread or destroyed */
318 authsvc_context_t *ctx; local
320 ctx = malloc(sizeof (*ctx));
347 smbd_authctx_destroy(authsvc_context_t *ctx) argument
386 authsvc_context_t *ctx = arg; local
477 smbd_authsvc_dispatch(authsvc_context_t *ctx) argument
533 smbd_authsvc_oldreq(authsvc_context_t *ctx) argument
564 smbd_authsvc_clinfo(authsvc_context_t *ctx) argument
584 smbd_authsvc_esfirst(authsvc_context_t *ctx) argument
686 smbd_authsvc_esnext(authsvc_context_t *ctx) argument
730 smbd_authsvc_escmn(authsvc_context_t *ctx) argument
838 smbd_raw_ntlmssp_esfirst(authsvc_context_t *ctx) argument
865 smbd_raw_ntlmssp_esnext(authsvc_context_t *ctx) argument
887 smbd_authsvc_gettoken(authsvc_context_t *ctx) argument
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dget_tkt_flags.c41 krb5_gss_ctx_id_rec *ctx; local
44 ctx = (krb5_gss_ctx_id_rec *) context_handle;
46 rep.value = &ctx->krb_flags;
47 rep.length = sizeof(ctx->krb_flags);

Completed in 96 milliseconds

1234567891011>>