Home
last modified time | relevance | path

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

/titanic_50/usr/src/cmd/allocate/
H A Dadd_allocatable.c392 char *kval, *nopts, *ntok, *nstr, in check_args() local
423 if ((kval = kva_match(kva, DAOPT_MINLABEL)) != NULL) in check_args()
424 defmin = strdup(kval); in check_args()
425 if ((kval = kva_match(kva, DAOPT_MAXLABEL)) != NULL) in check_args()
426 defmax = strdup(kval); in check_args()
427 if ((kval = kva_match(kva, DAOPT_AUTHS)) != NULL) in check_args()
428 defauths = strdup(kval); in check_args()
429 if ((kval = kva_match(kva, DAOPT_CSCRIPT)) != NULL) in check_args()
430 defexec = strdup(kval); in check_args()
/titanic_50/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()
/titanic_50/usr/src/lib/libbsm/common/
H A Ddevalloc.c1744 char *dtype, *dexec, *tname, *kval; in da_add_list() local
1827 if ((kval = kva_match(kva, DAOPT_MINLABEL)) != NULL) in da_add_list()
1828 minstr = strdup(kval); in da_add_list()
1829 if ((kval = kva_match(kva, DAOPT_MAXLABEL)) != NULL) 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()
[all …]
/titanic_50/usr/src/lib/pkcs11/pkcs11_kernel/common/
H A DkernelSoftCommon.c105 CK_BYTE_PTR kval, CK_ULONG klen, int opflag) in do_soft_hmac_init() argument
135 OBJ_SEC_VALUE(key_p) = kval; in do_soft_hmac_init()
H A DkernelSoftCommon.h52 CK_RV do_soft_hmac_init(void **s, CK_MECHANISM_PTR pMechanism, CK_BYTE_PTR kval,
/titanic_50/usr/src/uts/i86pc/io/
H A Dimmu_dvma.c2777 uint_t kval; in immu_dvma_setup() local
2791 kval = mod_hash_iddata_gen(nchains); in immu_dvma_setup()
2795 mod_hash_byid, (void *)(uintptr_t)kval, mod_hash_idkey_cmp, in immu_dvma_setup()
/titanic_50/usr/src/cmd/tar/
H A Dtar.c5375 blkcnt_t kval; in kcheck() local
5377 kval = strtoll(kstr, NULL, 0); in kcheck()
5378 if (kval == (blkcnt_t)0) { /* no multi-volume; size is infinity. */ in kcheck()
5382 if (kval < (blkcnt_t)MINSIZE) { in kcheck()
5385 ").\n"), (ulong_t)MINSIZE, kval); in kcheck()
5393 return (kval * 1024 / TBLOCK); /* convert to TBLOCKS */ in kcheck()