Home
last modified time | relevance | path

Searched refs:kv (Results 1 – 13 of 13) sorted by relevance

/illumos-gate/usr/src/lib/libcpc/sparc/
H A Devent_ultra.c106 kv->kv_token); in picbits()
114 *bits |= (((uint64_t)val8 & kv->kv_mask) << kv->kv_shift); in picbits()
127 *bits &= ~(kv->kv_mask << kv->kv_shift); in bitclr()
140 *bits |= (kv->kv_mask << kv->kv_shift); in bitset()
248 kv = &keyvals[idx]; in cpc_strtoevent()
249 if (kv->kv_action(fn, kv, cpuver, value, bits) != 0) { in cpc_strtoevent()
280 if (kv->kv_action(fn, in cpc_strtoevent()
288 if (kv->kv_action(fn, in cpc_strtoevent()
362 kv = us2_keyvals; in unmake_pcr()
368 kv = us3_keyvals; in unmake_pcr()
[all …]
/illumos-gate/usr/src/lib/libcpc/i386/
H A Devent_pentium.c117 kv->kv_token); in eightbits()
125 bits[kv->kv_regno] |= ((uint8_t)l & kv->kv_mask) << kv->kv_shift; in eightbits()
140 kv->kv_token); in picbits()
163 bits[kv->kv_regno] |= (val8 & kv->kv_mask) << kv->kv_shift; in picbits()
176 bits[kv->kv_regno] &= ~(kv->kv_mask << kv->kv_shift); in bitclr()
189 bits[kv->kv_regno] |= (kv->kv_mask << kv->kv_shift); in bitset()
203 kv++; in nextpair()
204 if ((rv = kv->kv_action(fn, kv, cpuver, value, bits)) != 0) in nextpair()
206 kv++; in nextpair()
207 return (kv->kv_action(fn, kv, cpuver, value, bits)); in nextpair()
[all …]
/illumos-gate/usr/src/lib/libtsnet/common/
H A Dtsol_sgettpent.c58 val = kva_match(kv, TP_DOI); in get_tn_doi()
126 val = kva_match(kv, TP_HOSTTYPE); in parse_remainder()
154 val = kva_match(kv, TP_DEFLABEL); in parse_remainder()
165 val = kva_match(kv, TP_MINLABEL); in parse_remainder()
166 val2 = kva_match(kv, TP_MAXLABEL); in parse_remainder()
191 val = kva_match(kv, TP_SET); in parse_remainder()
209 val = kva_match(kv, TP_MINLABEL); in parse_remainder()
218 val = kva_match(kv, TP_SET); in parse_remainder()
227 val = kva_match(kv, TP_DEFLABEL); in parse_remainder()
242 kva_t *kv; in tpstr_to_ent() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dlibumem.c216 umastat_vmem_t *kv; in umastat_cache() local
254 for (kv = *kvp; kv != NULL; kv = kv->kv_next) { in umastat_cache()
260 kv->kv_next = *kvp; in umastat_cache()
262 *kvp = kv; in umastat_cache()
264 kv->kv_meminuse += meminuse; in umastat_cache()
265 kv->kv_alloc += alloc; in umastat_cache()
284 while (kv != NULL && kv->kv_addr != addr) in umastat_vmem_totals()
285 kv = kv->kv_next; in umastat_vmem_totals()
287 if (kv == NULL || kv->kv_alloc == 0) in umastat_vmem_totals()
292 kv->kv_meminuse, kv->kv_alloc, kv->kv_fail); in umastat_vmem_totals()
[all …]
/illumos-gate/usr/src/lib/libnsl/yp/
H A Dyp_xdr.c306 struct ypresp_key_val kv; in xdr_ypall() local
316 kv.keydat.dptr = keybuf; in xdr_ypall()
317 kv.valdat.dptr = valbuf; in xdr_ypall()
318 kv.keydat.dsize = YPMAXRECORD; in xdr_ypall()
319 kv.valdat.dsize = YPMAXRECORD; in xdr_ypall()
328 if (!xdr_ypresp_key_val(xdrs, &kv)) in xdr_ypall()
330 if ((*callback->foreach)(kv.status, kv.keydat.dptr, in xdr_ypall()
331 kv.keydat.dsize, kv.valdat.dptr, kv.valdat.dsize, in xdr_ypall()
/illumos-gate/usr/src/lib/auditd_plugins/remote/
H A Daudit_remote.c708 kva_t *kv; in auditd_plugin_open() local
716 kv = (kva_t *)kvlist; in auditd_plugin_open()
725 val_str = kva_match(kv, "p_timeout"); in auditd_plugin_open()
744 val_str = kva_match(kv, "p_retries"); in auditd_plugin_open()
757 val_str = kva_match(kv, "qsize"); in auditd_plugin_open()
777 val_str = kva_match(kv, "p_hosts"); in auditd_plugin_open()
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c330 sbp2_cfgrom_ent_by_key(sbp2_cfgrom_ent_t *dir, int8_t kt, int8_t kv, int num) in sbp2_cfgrom_ent_by_key() argument
335 ebk.kv = kv; in sbp2_cfgrom_ent_by_key()
350 if ((ent->ce_kt == ebk->kt) && (ent->ce_kv == ebk->kv)) { in sbp2_cfgrom_ent_by_key_walker()
/illumos-gate/usr/src/lib/auditd_plugins/binfile/
H A Dbinfile.c952 kva_t *kv; local
956 kv = (kva_t *)kvlist;
978 dirlist = kva_match(kv, "p_dir");
979 minfree = kva_match(kv, "p_minfree");
980 maxsize = kva_match(kv, "p_fsize");
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgenunix.c2218 kmastat_vmem_t *kv; in kmastat_cache() local
2240 for (kv = *kvpp; kv != NULL; kv = kv->kv_next) { in kmastat_cache()
2246 kv->kv_next = *kvpp; in kmastat_cache()
2248 *kvpp = kv; in kmastat_cache()
2251 kv->kv_alloc += alloc; in kmastat_cache()
2274 while (kv != NULL && kv->kv_addr != addr) in kmastat_vmem_totals()
2275 kv = kv->kv_next; in kmastat_vmem_totals()
2277 if (kv == NULL || kv->kv_alloc == 0) in kmastat_vmem_totals()
2286 kap->ka_shift == KILOS ? 'K' : 'B', kv->kv_alloc, kv->kv_fail); in kmastat_vmem_totals()
2333 kmastat_vmem_t *kv = NULL; in kmastat() local
[all …]
/illumos-gate/usr/src/cmd/su/
H A Dsu.c290 char *kv; in main() local
292 if ((kv = kva_match(attr, USERATTR_TYPE_KW)) != NULL && in main()
293 ((strcmp(kv, USERATTR_TYPE_NONADMIN_KW) == 0) || in main()
294 (strcmp(kv, USERATTR_TYPE_ADMIN_KW) == 0))) { in main()
297 if ((kv = kva_match(attr, in main()
299 strcmp(kv, USERATTR_ROLEAUTH_USER) == 0) { in main()
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_convert.c735 kdbe_key_t *kv = &ULOG_ENTRY_KEYVAL(upd, i, j); in ulog_conv_2dbentry() local
736 kp->key_data_ver = (krb5_int16)kv->k_ver; in ulog_conv_2dbentry()
737 kp->key_data_kvno = (krb5_int16)kv->k_kvno; in ulog_conv_2dbentry()
744 kp->key_data_type[cnt] = (krb5_int16)kv->k_enctype.k_enctype_val[cnt]; in ulog_conv_2dbentry()
745 kp->key_data_length[cnt] = (krb5_int16)kv->k_contents.k_contents_val[cnt].utf8str_t_len; in ulog_conv_2dbentry()
755 kv->k_contents.k_contents_val[cnt].utf8str_t_val, in ulog_conv_2dbentry()
/illumos-gate/usr/src/uts/common/io/mwl/
H A Dmwl.c2175 pCmd->KeyParam.KeyInfo = LE_32(kv->keyFlags); in mwl_hal_keyset()
2176 pCmd->KeyParam.KeyIndex = LE_32(kv->keyIndex); in mwl_hal_keyset()
2178 (void) memcpy(&pCmd->KeyParam.Key, &kv->key, kv->keyLen); in mwl_hal_keyset()
2179 switch (kv->keyTypeId) { in mwl_hal_keyset()
2181 pCmd->KeyParam.KeyLen = LE_16(kv->keyLen); in mwl_hal_keyset()
2186 LE_16(kv->key.tkip.rsc.low); in mwl_hal_keyset()
2188 LE_32(kv->key.tkip.rsc.high); in mwl_hal_keyset()
2190 LE_16(kv->key.tkip.tsc.low); in mwl_hal_keyset()
2192 LE_32(kv->key.tkip.tsc.high); in mwl_hal_keyset()
2220 pCmd->KeyParam.KeyInfo = LE_32(kv->keyFlags); in mwl_hal_keyreset()
[all …]
/illumos-gate/usr/src/uts/common/sys/sbp2/
H A Dimpl.h53 uint8_t kv; member