Home
last modified time | relevance | path

Searched refs:kval (Results 1 – 7 of 7) sorted by relevance

/illumos-gate/usr/src/cmd/allocate/
H A Dadd_allocatable.c390 char *kval, *nopts, *ntok, *nstr, in check_args() local
421 if ((kval = kva_match(kva, DAOPT_MINLABEL)) != NULL) in check_args()
422 defmin = strdup(kval); in check_args()
423 if ((kval = kva_match(kva, DAOPT_MAXLABEL)) != NULL) in check_args()
424 defmax = strdup(kval); in check_args()
425 if ((kval = kva_match(kva, DAOPT_AUTHS)) != NULL) in check_args()
426 defauths = strdup(kval); in check_args()
427 if ((kval = kva_match(kva, DAOPT_CSCRIPT)) != NULL) in check_args()
428 defexec = strdup(kval); in check_args()
/illumos-gate/usr/src/uts/common/os/
H A Dmodhash.c342 uint_t kval = (uint_t)(uintptr_t)hash_data; in mod_hash_byid() local
343 return ((uint_t)(uintptr_t)key * (uint_t)kval); in mod_hash_byid()
360 uint_t kval, i, prime; in mod_hash_iddata_gen() local
366 kval = (nchains % 2 == 0) ? nchains + 1 : nchains + 2; in mod_hash_iddata_gen()
370 for (i = 3; i * i <= kval; i += 2) { in mod_hash_iddata_gen()
371 if (kval % i == 0) in mod_hash_iddata_gen()
376 kval += 2; in mod_hash_iddata_gen()
378 return (kval); in mod_hash_iddata_gen()
385 uint_t kval = mod_hash_iddata_gen(nchains); in mod_hash_create_idhash() local
388 val_dtor, mod_hash_byid, (void *)(uintptr_t)kval, in mod_hash_create_idhash()
/illumos-gate/usr/src/lib/libbsm/common/
H A Ddevalloc.c1744 char *dtype, *dexec, *tname, *kval; in da_add_list() local
1828 minstr = strdup(kval); in da_add_list()
1830 maxstr = strdup(kval); in da_add_list()
1831 if ((kval = kva_match(kva, DAOPT_AUTHS)) != NULL) in da_add_list()
1832 nentry->devinfo.devauths = strdup(kval); in da_add_list()
1833 if ((kval = kva_match(kva, DAOPT_CSCRIPT)) != NULL) in da_add_list()
1834 nentry->devinfo.devexec = strdup(kval); in da_add_list()
1838 kval = NULL; in da_add_list()
1843 if (kval = (char *)malloc(nlen)) in da_add_list()
1844 (void) snprintf(kval, nlen, "%s%s%s%s%s%s%s", in da_add_list()
[all …]
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSoftCommon.c104 CK_BYTE_PTR kval, CK_ULONG klen, int opflag) in do_soft_hmac_init() argument
134 OBJ_SEC_VALUE(key_p) = kval; in do_soft_hmac_init()
H A DkernelSoftCommon.h50 CK_RV do_soft_hmac_init(void **s, CK_MECHANISM_PTR pMechanism, CK_BYTE_PTR kval,
/illumos-gate/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c2783 uint_t kval; in immu_dvma_setup() local
2797 kval = mod_hash_iddata_gen(nchains); in immu_dvma_setup()
2801 mod_hash_byid, (void *)(uintptr_t)kval, mod_hash_idkey_cmp, in immu_dvma_setup()
/illumos-gate/usr/src/cmd/tar/
H A Dtar.c5377 blkcnt_t kval; in kcheck() local
5379 kval = strtoll(kstr, NULL, 0); in kcheck()
5380 if (kval == (blkcnt_t)0) { /* no multi-volume; size is infinity. */ in kcheck()
5384 if (kval < (blkcnt_t)MINSIZE) { in kcheck()
5387 ").\n"), (ulong_t)MINSIZE, kval); in kcheck()
5395 return (kval * 1024 / TBLOCK); /* convert to TBLOCKS */ in kcheck()