Searched refs:kt (Results 1 - 25 of 33) sorted by relevance

12

/illumos-gate/usr/src/lib/libtecla/common/
H A Dkeytab.c70 static int _kt_extend_table(KeyTab *kt);
79 static KtKeyMatch _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq,
90 KeyTab *kt; /* The object to be returned */ local
94 kt = (KeyTab *) malloc(sizeof(KeyTab));
95 if(!kt) {
104 kt->err = NULL;
105 kt->size = KT_TABLE_INC;
106 kt->nkey = 0;
107 kt->table = NULL;
108 kt
148 _del_KeyTab(KeyTab *kt) argument
170 _kt_extend_table(KeyTab *kt) argument
207 _kt_set_keybinding(KeyTab *kt, KtBinder binder, const char *keyseq, const char *action) argument
260 _kt_set_keyfn(KeyTab *kt, KtBinder binder, const char *keyseq, KtKeyFn *keyfn, void *data) argument
408 _kt_locate_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, int *first, int *last) argument
482 _kt_lookup_keybinding(KeyTab *kt, const char *binary_keyseq, int nc, KeySym **matches, int *nmatch) argument
663 _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data) argument
790 _kt_clear_bindings(KeyTab *kt, KtBinder binder) argument
941 _kt_add_bindings(KeyTab *kt, KtBinder binder, const KtKeyBinding *bindings, unsigned n) argument
981 _kt_lookup_action(KeyTab *kt, const char *action, KtKeyFn **fn, void **data) argument
1021 _kt_last_error(KeyTab *kt) argument
[all...]
H A Dkeytab.h109 KeyTab *_del_KeyTab(KeyTab *kt);
111 int _kt_set_keybinding(KeyTab *kt, KtBinder binder,
113 int _kt_set_keyfn(KeyTab *kt, KtBinder binder, const char *keyseq,
116 int _kt_set_action(KeyTab *kt, const char *action, KtKeyFn *fn, void *data);
121 int _kt_lookup_action(KeyTab *kt, const char *action,
131 KtKeyMatch _kt_lookup_keybinding(KeyTab *kt, const char *binary_keyseq,
137 void _kt_clear_bindings(KeyTab *kt, KtBinder binder);
151 int _kt_add_bindings(KeyTab *kt, KtBinder binder, const KtKeyBinding *bindings,
157 const char *_kt_last_error(KeyTab *kt);
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_kvm.c102 kt_load_module(kt_data_t *kt, mdb_tgt_t *t, kt_module_t *km) argument
114 km->km_symtab = mdb_gelf_symtab_create_raw(&kt->k_file->gf_ehdr,
120 kt_load_modules(kt_data_t *kt, mdb_tgt_t *t) argument
168 if (mdb_nv_lookup(&kt->k_modules, name) != NULL) {
240 (void) mdb_nv_insert(&kt->k_modules, km->km_name, NULL,
256 if (kt->k_ctfvalid) {
266 mdb_list_append(&kt->k_modlist, km);
271 kt_load_module(kt, t, km);
283 kt_data_t *kt = t->t_data; local
291 if (kt
339 kt_find_dump_contents(kt_data_t *kt) argument
360 kt_data_t *kt = t->t_data; local
395 kt_data_t *kt = t->t_data; local
422 kt_data_t *kt = mdb.m_target->t_data; local
429 kt_data_t *kt = mdb.m_target->t_data; local
436 kt_data_t *kt = mdb.m_target->t_data; local
443 kt_data_t *kt = mdb.m_target->t_data; local
457 kt_data_t *kt = mdb.m_target->t_data; local
464 kt_data_t *kt = mdb.m_target->t_data; local
473 kt_data_t *kt = mdb.m_target->t_data; local
539 kt_data_t *kt = t->t_data; local
547 kt_module_by_name(kt_data_t *kt, const char *name) argument
563 kt_data_t *kt = t->t_data; local
653 kt_data_t *kt = t->t_data; local
690 kt_data_t *kt = t->t_data; local
712 kt_data_t *kt = t->t_data; local
726 kt_data_t *kt = t->t_data; local
739 kt_data_t *kt = t->t_data; local
752 kt_data_t *kt = t->t_data; local
777 kt_data_t *kt = t->t_data; local
790 kt_data_t *kt = t->t_data; local
803 kt_data_t *kt = t->t_data; local
845 kt_data_t *kt = t->t_data; local
898 kt_data_t *kt = t->t_data; local
1024 kt_data_t *kt = t->t_data; local
1117 kt_data_t *kt = t->t_data; local
1143 kt_data_t *kt = t->t_data; local
1158 kt_data_t *kt = t->t_data; local
1175 kt_data_t *kt = t->t_data; local
1199 kt_data_t *kt = t->t_data; local
1272 kt_data_t *kt = t->t_data; local
1289 kt_data_t *kt = t->t_data; local
1308 kt_data_t *kt = t->t_data; local
1318 kt_data_t *kt = t->t_data; local
1335 kt_data_t *kt = t->t_data; local
1392 kt_data_t *kt = mdb_zalloc(sizeof (kt_data_t), UM_SLEEP); local
[all...]
/illumos-gate/usr/src/uts/common/gssapi/mechs/krb5/crypto/
H A Detypes.c373 struct krb5_keytypes *kt; local
376 kt = (struct krb5_keytypes *)&krb5_enctypes_list[i];
377 if (kt->kef_cipher_mt == CRYPTO_MECH_INVALID &&
378 kt->mt_e_name != NULL) {
380 crypto_mech2id(kt->mt_e_name);
383 if (kt->kef_hash_mt == CRYPTO_MECH_INVALID &&
384 kt->mt_h_name != NULL) {
386 crypto_mech2id(kt->mt_h_name);
389 kt->mt_e_name,
399 struct krb5_keytypes *kt; local
422 struct krb5_keytypes *kt; local
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/mdb/
H A Dkvm_ia32dep.c68 kt_data_t *kt = mdb.m_target->t_data; local
77 grp = kt->k_regs;
188 kt_data_t *kt = t->t_data; local
201 kt->k_rds = mdb_ia32_kregs;
202 kt->k_regs = mdb_zalloc(sizeof (mdb_tgt_gregset_t), UM_SLEEP);
203 kt->k_regsize = sizeof (mdb_tgt_gregset_t);
204 kt->k_dcmd_regs = kt_regs;
205 kt->k_dcmd_stack = kt_stack;
206 kt->k_dcmd_stackv = kt_stackv;
207 kt
[all...]
H A Dkvm_amd64dep.c68 kt_data_t *kt = mdb.m_target->t_data; local
77 grp = kt->k_regs;
195 kt_data_t *kt = t->t_data; local
206 kt->k_rds = mdb_amd64_kregs;
207 kt->k_regs = mdb_zalloc(sizeof (mdb_tgt_gregset_t), UM_SLEEP);
208 kt->k_regsize = sizeof (mdb_tgt_gregset_t);
209 kt->k_dcmd_regs = kt_regs;
210 kt->k_dcmd_stack = kt_stack;
211 kt->k_dcmd_stackv = kt_stackv;
212 kt
[all...]
H A Dkvm_isadep.c53 kt_data_t *kt = t->t_data; local
55 if (tid != kt->k_tid)
58 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
60 *rp = kt->k_regs->kregs[rdp->rd_num];
80 kt_data_t *kt = t->t_data; local
82 if (tid != kt->k_tid)
85 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
96 kt->k_regs->kregs[rdp->rd_num] = (kreg_t)r;
107 kt_data_t *kt = t->t_data; local
111 if ((ret = kt
[all...]
/illumos-gate/usr/src/cmd/mdb/sparc/mdb/
H A Dkvm_v9dep.c71 kt_data_t *kt = t->t_data; local
73 if (tid != kt->k_tid)
76 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
78 *rp = kt->k_regs->kregs[rdp->rd_num];
90 kt_data_t *kt = t->t_data; local
92 if (tid != kt->k_tid)
95 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
97 kt->k_regs->kregs[rdp->rd_num] = r;
126 kt_data_t *kt = mdb.m_target->t_data; local
136 grp = kt
241 kt_data_t *kt = t->t_data; local
[all...]
H A Dkvm_v7dep.c116 kt_data_t *kt = t->t_data; local
118 if (tid != kt->k_tid)
121 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
123 *rp = kt->k_regs->kregs[rdp->rd_num];
135 kt_data_t *kt = t->t_data; local
137 if (tid != kt->k_tid)
140 for (rdp = kt->k_rds; rdp->rd_name != NULL; rdp++) {
142 kt->k_regs->kregs[rdp->rd_num] = r;
326 kt_data_t *kt = mdb.m_target->t_data; local
335 grp = kt
428 kt_data_t *kt = t->t_data; local
[all...]
/illumos-gate/usr/src/cmd/krb5/kadmin/kclient/
H A Dksetpw.c39 static void kt_add_entry(krb5_context ctx, krb5_keytab kt,
43 static krb5_error_code kt_remove_entries(krb5_context ctx, krb5_keytab kt,
56 krb5_keytab kt = NULL; local
89 if (kt != NULL)
98 if ((code = krb5_kt_resolve(ctx, ktname, &kt)) != 0) {
173 if (enctype_count > 0 && kt == NULL &&
174 (code = krb5_kt_default(ctx, &kt)) != 0) {
244 if (enctype_count && (code = kt_remove_entries(ctx, kt, victim)))
248 kt_add_entry(ctx, kt, victim, salt, enctypes[i], kvno, newpw);
251 if (kt !
259 kt_remove_entries(krb5_context ctx, krb5_keytab kt, const krb5_principal princ) argument
329 kt_add_entry(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, const krb5_principal sprinc, krb5_enctype enctype, krb5_kvno kvno, const char *pw) argument
[all...]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dsort.c84 keything_t **kt; local
95 kt = (keything_t**)NSLDAPI_MALLOC( count * (sizeof(keything_t*) + sizeof(keything_t)) );
96 if ( kt == NULL ) {
101 kt[i] = i + (keything_t*)(kt + count);
107 kt[i]->kt_msg = e;
108 kt[i]->kt_cmp = &kc;
109 kt[i]->kt_key = gen( arg, ld, e );
110 if ( kt[i]->kt_key == NULL ) {
111 if ( fre ) while ( i-- > 0 ) fre( arg, kt[
[all...]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/krb5/keytab/
H A Dkt_solaris.c43 kt_open(krb5_context ctx, krb5_keytab *kt) argument
65 return (krb5_kt_resolve(ctx, ktstr, kt));
69 kt_add_entry(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, argument
95 code = krb5_kt_add_entry(ctx, kt, &entry);
162 krb5_keytab kt = NULL; local
212 if ((code = kt_open(ctx, &kt)) != 0)
240 code = kt_add_entry(ctx, kt, princ, salt, *tenctype,
260 if (kt != NULL)
261 (void) krb5_kt_close(ctx, kt);
279 krb5_keytab kt local
425 krb5_keytab kt = NULL; local
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmbns/common/
H A Dsmbns_ksetpwd.c284 smb_krb5_kt_open(krb5_context ctx, char *fname, krb5_keytab *kt) argument
291 *kt = NULL;
301 if ((code = krb5_kt_resolve(ctx, ktname, kt)) != 0) {
322 krb5_keytab kt = NULL; local
328 if (smb_krb5_kt_open(ctx, fname, &kt) != 0)
333 (void) krb5_kt_close(ctx, kt);
342 (void) krb5_kt_close(ctx, kt);
348 if (smb_krb5_kt_addkey(ctx, kt, princs[j], enctypes[i],
352 (void) krb5_kt_close(ctx, kt);
360 (void) krb5_kt_close(ctx, kt);
368 krb5_keytab kt; local
407 smb_krb5_kt_addkey(krb5_context ctx, krb5_keytab kt, const krb5_principal princ, krb5_enctype enctype, krb5_kvno kvno, const krb5_data *salt, const char *pw) argument
[all...]
/illumos-gate/usr/src/common/crypto/ecc/
H A Decl_mult.c64 mp_int kt; local
67 MP_DIGITS(&kt) = 0;
71 MP_CHECKOK(mp_init(&kt, FLAG(k)));
72 MP_CHECKOK(mp_mod(k, &group->order, &kt));
74 MP_SIGN(&kt) = MP_ZPOS;
75 MP_USED(&kt) = MP_USED(k);
76 MP_ALLOC(&kt) = MP_ALLOC(k);
77 MP_DIGITS(&kt) = MP_DIGITS(k);
82 MP_CHECKOK(group->base_point_mul(&kt, rx, ry, group));
85 point_mul(&kt,
[all...]
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkeytab.c83 krb5_ktkdb_close(context, kt)
85 krb5_keytab kt;
95 kt->ops = NULL;
96 krb5_xfree(kt);
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dthread.c97 tsignal(kthread_t *kt, int sig) argument
99 thread_t tid = (thread_t)(uintptr_t)kt;
/illumos-gate/usr/src/uts/sun4v/kt/
H A DMakefile22 # uts/sun4v/kt/Makefile
44 HERE = ../kt
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil_funcs.c253 krb5_keytab kt; local
263 retval = krb5_kt_resolve(context, name, &kt);
266 retval = krb5_kt_start_seq_get(context, kt, &cursor);
276 retval = krb5_kt_next_entry(context, kt, entry, &cursor);
313 krb5_kt_end_seq_get(context, kt, &cursor);
315 krb5_kt_close(context, kt);
328 krb5_keytab kt; local
336 retval = krb5_kt_resolve(context, ktname, &kt);
340 retval = krb5_kt_add_entry(context, kt, lp->entry);
344 krb5_kt_close(context, kt);
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dtaskq.c440 const kthread_t *kt = wsp->walk_layer; local
443 if (kt == NULL) {
464 if (kt->t_taskq == NULL)
467 if (tq != NULL && kt->t_taskq != tq)
470 return (wsp->walk_callback(wsp->walk_addr, kt, wsp->walk_cbdata));
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Deib_main.c680 kthread_t *kt; local
713 kt = thread_create(NULL, 0, eib_events_handler, ss, 0,
715 ss->ei_events_handler = kt->t_did;
717 kt = thread_create(NULL, 0, eib_refill_rwqes, ss, 0,
719 ss->ei_rwqes_refiller = kt->t_did;
721 kt = thread_create(NULL, 0, eib_vnic_creator, ss, 0,
723 ss->ei_vnic_creator = kt->t_did;
725 kt = thread_create(NULL, 0, eib_manage_keepalives, ss, 0,
727 ss->ei_keepalives_manager = kt->t_did;
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dacquire_cred.c155 krb5_keytab kt; local
174 code = krb5_kt_resolve(context, krb5_gss_keytab, &kt);
178 code = krb5_kt_default(context, &kt);
189 if ((code = krb5_kt_get_entry(context, kt, princ, 0, 0, &entry))) {
196 KTFILENAME(kt),
204 (void) krb5_kt_close(context, kt);
221 cred->keytab = kt;
/illumos-gate/usr/src/cmd/krb5/klist/
H A Dklist.c302 krb5_keytab kt; local
310 if ((code = krb5_kt_default(kcontext, &kt))) {
316 if ((code = krb5_kt_resolve(kcontext, name, &kt))) {
324 if ((code = krb5_kt_get_name(kcontext, kt, buf, BUFSIZ))) {
332 if ((code = krb5_kt_start_seq_get(kcontext, kt, &cursor))) {
356 while ((code = krb5_kt_next_entry(kcontext, kt, &entry, &cursor)) == 0) {
387 if ((code = krb5_kt_end_seq_get(kcontext, kt, &cursor))) {
/illumos-gate/usr/src/lib/krb5/kadm5/srv/
H A Dchgpwd.c574 krb5_keytab kt; local
598 if ((ret = krb5_kt_resolve(context, "KDB:", &kt))) {
640 params->realm, s2, kt, &from,
670 krb5_kt_close(context, kt);
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c332 sbp2_cfgrom_ent_by_key(sbp2_cfgrom_ent_t *dir, int8_t kt, int8_t kv, int num) argument
336 ebk.kt = kt;
352 if ((ent->ce_kt == ebk->kt) && (ent->ce_kv == ebk->kv)) {
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Dimpl.h54 uint8_t kt; member in struct:sbp2_cfgrom_ent_by_key

Completed in 326 milliseconds

12