Home
last modified time | relevance | path

Searched refs:kd (Results 1 – 25 of 25) sorted by relevance

/titanic_50/usr/src/lib/libkvm/common/
H A Dkvm.c68 static int kvm_nlist_core(kvm_t *kd, struct nlist nl[], const char *err);
71 fail(kvm_t *kd, const char *err, const char *message, ...) in fail() argument
76 if (err || (kd && kd->kvm_debug)) { in fail()
82 if (kd != NULL) in fail()
83 (void) kvm_close(kd); in fail()
92 kvm_t *kd; in kvm_open() local
96 if ((kd = calloc(1, sizeof (kvm_t))) == NULL) in kvm_open()
99 kd->kvm_corefd = kd->kvm_kmemfd = kd->kvm_memfd = -1; in kvm_open()
100 kd->kvm_debug = getenv("KVM_DEBUG"); in kvm_open()
102 if ((kd->kvm_openflag = flag) != O_RDONLY && flag != O_RDWR) in kvm_open()
[all …]
H A Dkvm_getcmd.c78 kvm_getcmd32(kvm_t *kd, in kvm_getcmd32() argument
104 if (kvm_uread(kd, (uintptr_t)u->u_argv, stack32, size32) != size32) { in kvm_getcmd32()
260 kvm_getcmd(kvm_t *kd, in kvm_getcmd() argument
295 return (kvm_getcmd32(kd, proc, u, arg, env)); in kvm_getcmd()
328 if (kvm_uread(kd, in kvm_getcmd()
344 if (kvm_uread(kd, in kvm_getcmd()
391 if (kvm_uread(kd, in kvm_getcmd()
/titanic_50/usr/src/uts/common/os/
H A Dsid.c80 ksiddomain_hold(ksiddomain_t *kd) in ksiddomain_hold() argument
82 atomic_inc_32(&kd->kd_ref); in ksiddomain_hold()
86 ksiddomain_rele(ksiddomain_t *kd) in ksiddomain_rele() argument
88 if (atomic_dec_32_nv(&kd->kd_ref) == 0) { in ksiddomain_rele()
95 if (kd->kd_ref == 0) { in ksiddomain_rele()
96 avl_remove(&sid_tree, kd); in ksiddomain_rele()
97 kmem_free(kd->kd_name, kd->kd_len); in ksiddomain_rele()
98 kmem_free(kd, sizeof (*kd)); in ksiddomain_rele()
H A Dkmem.c3464 kmem_defrag_t *kd = cp->cache_defrag; in kmem_cache_kstat_update() local
3465 kmcp->kmc_move_callbacks.value.ui64 = kd->kmd_callbacks; in kmem_cache_kstat_update()
3466 kmcp->kmc_move_yes.value.ui64 = kd->kmd_yes; in kmem_cache_kstat_update()
3467 kmcp->kmc_move_no.value.ui64 = kd->kmd_no; in kmem_cache_kstat_update()
3468 kmcp->kmc_move_later.value.ui64 = kd->kmd_later; in kmem_cache_kstat_update()
3469 kmcp->kmc_move_dont_need.value.ui64 = kd->kmd_dont_need; in kmem_cache_kstat_update()
3470 kmcp->kmc_move_dont_know.value.ui64 = kd->kmd_dont_know; in kmem_cache_kstat_update()
3472 kmcp->kmc_move_slabs_freed.value.ui64 = kd->kmd_slabs_freed; in kmem_cache_kstat_update()
3473 kmcp->kmc_defrag.value.ui64 = kd->kmd_defrags; in kmem_cache_kstat_update()
3474 kmcp->kmc_scan.value.ui64 = kd->kmd_scans; in kmem_cache_kstat_update()
/titanic_50/usr/src/uts/common/des/
H A Ddes_soft.c57 static void des_setkey(u_char userkey[8], struct deskeydata *kd,
59 static void des_encrypt(u_char *data, struct deskeydata *kd);
120 des_setkey(u_char userkey[8], struct deskeydata *kd, unsigned int dir) in des_setkey() argument
182 c = &kd->keyval[i]; in des_setkey()
185 c = &kd->keyval[15 - i]; in des_setkey()
215 des_encrypt(u_char *data, struct deskeydata *kd) in des_encrypt() argument
297 ER.long0 = e0 ^ kd->keyval[iter].long0; \ in des_encrypt()
298 ER.long1 = e1 ^ kd->keyval[iter].long1; \ in des_encrypt()
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/
H A Dcred.c250 ksiddomain_t kd; in print_ksid() local
257 if (da == 0 || mdb_vread(&kd, sizeof (kd), da) < 0) in print_ksid()
258 bzero(&kd, sizeof (kd)); in print_ksid()
259 sa = (uintptr_t)kd.kd_name; in print_ksid()
/titanic_50/usr/src/lib/libcrypt/common/
H A Ddes_soft.c174 des_setkey(uchar_t userkey[8], struct deskeydata *kd, unsigned int dir) in des_setkey() argument
236 c = &kd->keyval[i]; break; in des_setkey()
238 c = &kd->keyval[15 - i]; break; in des_setkey()
267 des_encrypt(uchar_t *data, struct deskeydata *kd) in des_encrypt() argument
339 ER.long0 = e0 ^ kd->keyval[iter].long0; \ in des_encrypt()
340 ER.long1 = e1 ^ kd->keyval[iter].long1; \ in des_encrypt()
/titanic_50/usr/src/cmd/setuname/
H A Dsetuname.c386 kvm_t *kd; local
426 if ((kd = kvm_open(NULL, NULL, NULL, O_RDWR, NULL)) == NULL)
428 else if (kvm_nlist(kd, nl) != 0)
446 if (kvm_kread(kd, utsname_addr, &utsname, sizeof (utsname)) ==
454 (void) kvm_kwrite(kd, utsname_addr, &utsname, sizeof (utsname));
455 kvm_close(kd);
/titanic_50/usr/src/lib/libnsl/des/
H A Ddes_soft.c210 __des_setkey(uchar_t userkey[8], struct deskeydata *kd, unsigned dir) in __des_setkey() argument
272 c = &kd->keyval[i]; break; in __des_setkey()
274 c = &kd->keyval[15 - i]; break; in __des_setkey()
304 __des_encrypt(uchar_t *data, struct deskeydata *kd) in __des_encrypt() argument
373 ER.long0 = e0 ^ kd->keyval[iter].long0; \ in __des_encrypt()
374 ER.long1 = e1 ^ kd->keyval[iter].long1; \ in __des_encrypt()
/titanic_50/usr/src/cmd/sa/
H A Dsadp.c176 safe_kvm_read(kd, (unsigned long) addr, \
180 safe_kvm_read(kd, (unsigned long) setup[index].n_value, \
184 safe_kvm_read(kd, (unsigned long)setup[index].n_value, \
249 static kvm_t *kd = NULL; variable
436 if ((kd = kvm_open (NULL, NULL, NULL, O_RDONLY, "Bad kvm open"))
445 if (kvm_nlist(kd, setup) == -1) {
1294 safe_kvm_read (kd, nl_4c[X1_DK_IVEC].n_value, dkivec, sizeof dkivec, in read_devinfo_names()
1298 safe_kvm_read (kd, dkivec[i].dk_name, dr_name[i], 2, in read_devinfo_names()
1346 if (kd != NULL)
1347 (void) kvm_close(kd);
[all …]
/titanic_50/usr/src/lib/libkstat/common/
H A Dkstat.c71 int kd; in kstat_open() local
73 kd = open("/dev/kstat", O_RDONLY); in kstat_open()
74 if (kd == -1) in kstat_open()
80 kc->kc_kd = kd; in kstat_open()
/titanic_50/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dmultilink.c226 TDB_DATA kd, vd; local
230 kd.dptr = ifkey;
231 kd.dsize = strlen(ifkey);
232 vd = tdb_fetch(pppdb, kd);
/titanic_50/usr/src/uts/common/fs/smbsrv/
H A Dsmb_kutil.c1621 smb_srqueue_update(smb_srqueue_t *srq, smb_kstat_utilization_t *kd) in smb_srqueue_update() argument
1640 kd->ku_rlentime = srq->srq_rlentime; in smb_srqueue_update()
1641 kd->ku_rtime = srq->srq_rtime; in smb_srqueue_update()
1642 kd->ku_wlentime = srq->srq_wlentime; in smb_srqueue_update()
1643 kd->ku_wtime = srq->srq_wtime; in smb_srqueue_update()
1645 scalehrtime(&kd->ku_rlentime); in smb_srqueue_update()
1646 scalehrtime(&kd->ku_rtime); in smb_srqueue_update()
1647 scalehrtime(&kd->ku_wlentime); in smb_srqueue_update()
1648 scalehrtime(&kd->ku_wtime); in smb_srqueue_update()
/titanic_50/usr/src/cmd/terminfo/
H A Dtermcap.src313 :bl=^G:cl=^L:cr=^M:do=^J:kd=^J:kl=^H:le=^H:nw=^M^J:ta=^I:
358 :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:
504 :kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:le=^H:\
523 :ho=\E[H:kb=^H:kd=\E[B:kh=\E[H:kl=\E[D:kr=\E[C:ku=\E[A:\
551 :im=:kB=\E[Z:kI=\E[L:kb=^H:kd=\E[B:kl=\E[D:kr=\E[C:ku=\E[A:\
590 :do=\E[B:ho=\E[H:is=\E[m\E[?7h:kd=^J:kh=^^:kl=^H:kr=^L:\
625 :kD=\200S:kI=\200R:kN=\200Q:kP=\200I:kb=^H:kd=\200P:\
689 :kN=\Eb:kP=\Ea:kb=^H:kd=\EB:kh=\EE:kl=\ED:kr=\EC:ku=\EA:\
705 :kN=\Eb:kP=\E\Ea:kb=^H:kd=\EOB:ke=\E[?1l\E>:kh=\E\EE:\
720 :k;=\EY:kD=\177:kI=\EI:kN=\Eb:kP=\Ea:kb=^H:kd=\EB:kh=\EE:\
[all …]
H A Dterminfo.src14814 # (abm85: removed duplicated ":kd=^J:" -- esr)
19955 # UK/DK/RK/LK/HM were someone's aliases for ku/kd/kl/kr/kh,
/titanic_50/usr/src/cmd/sendmail/db/include/
H A Ddb_page.h315 #define PUT_HKEYDATA(pe, kd, len, type) { \ argument
317 memcpy((u_int8_t *)pe + sizeof(u_int8_t), kd, len); \
/titanic_50/usr/src/lib/libzpool/common/
H A Dkernel.c1035 ksiddomain_t *kd; in ksid_lookupdomain() local
1037 kd = umem_zalloc(sizeof (ksiddomain_t), UMEM_NOFAIL); in ksid_lookupdomain()
1038 kd->kd_name = spa_strdup(dom); in ksid_lookupdomain()
1039 return (kd); in ksid_lookupdomain()
/titanic_50/usr/src/cmd/mdb/common/modules/dtrace/
H A Ddof.c1067 uint_t d = 0, kd = 0, w = 0, kw = 0; in _mdb_init() local
1079 kd++; /* count kernel dcmds */ in _mdb_init()
1085 modinfo.mi_dcmds = mdb_zalloc(sizeof (*dp) * (d + kd + 1), UM_SLEEP); in _mdb_init()
1093 (modinfo.mi_dcmds + d), sizeof (*dp) * kd); in _mdb_init()
/titanic_50/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_principal2.c1267 krb5_key_data *kd; local
1276 &kd,
1296 key_data[noofkeys - n_kd + j] = kd[j];
1297 free (kd);
/titanic_50/usr/src/uts/common/sys/
H A DMakefile127 kd.h \
/titanic_50/usr/src/lib/libcurses/screen/
H A Dcaps197 key_down, "kcud1" "kd" KEY_DOWN, 0402, Sent by terminal down arrow key
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dcaps202 key_down kcud1 kd str Sent by terminal down arrow key
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dcaps202 key_down kcud1 kd str Sent by terminal down arrow key
/titanic_50/usr/src/cmd/vi/port/
H A Dex.news830 ku, kd, kl, kr, and kh entries. (Note that the HP 2621 will
/titanic_50/usr/src/pkg/manifests/
H A Dsystem-header.mf1146 file path=usr/include/sys/kd.h