crypto_drivers     30 crypto/crypto.c struct cryptocap *crypto_drivers = NULL;
crypto_drivers     54 crypto/crypto.c 	if (crypto_drivers == NULL)
crypto_drivers     71 crypto/crypto.c 			cpc = &crypto_drivers[hid];
crypto_drivers    119 crypto/crypto.c 				if (crypto_drivers[hid].cc_sessions <=
crypto_drivers    120 crypto/crypto.c 				    crypto_drivers[hid2].cc_sessions)
crypto_drivers    160 crypto/crypto.c 	err = crypto_drivers[hid].cc_newsession(&lid, cri);
crypto_drivers    165 crypto/crypto.c 		crypto_drivers[hid].cc_sessions++;
crypto_drivers    182 crypto/crypto.c 	if (crypto_drivers == NULL)
crypto_drivers    193 crypto/crypto.c 	if (crypto_drivers[hid].cc_sessions)
crypto_drivers    194 crypto/crypto.c 		crypto_drivers[hid].cc_sessions--;
crypto_drivers    197 crypto/crypto.c 	if (crypto_drivers[hid].cc_freesession)
crypto_drivers    198 crypto/crypto.c 		err = crypto_drivers[hid].cc_freesession(sid);
crypto_drivers    204 crypto/crypto.c 	if ((crypto_drivers[hid].cc_flags & CRYPTOCAP_F_CLEANUP) &&
crypto_drivers    205 crypto/crypto.c 	    crypto_drivers[hid].cc_sessions == 0)
crypto_drivers    206 crypto/crypto.c 		bzero(&crypto_drivers[hid], sizeof(struct cryptocap));
crypto_drivers    225 crypto/crypto.c 		crypto_drivers = malloc(crypto_drivers_num *
crypto_drivers    227 crypto/crypto.c 		if (crypto_drivers == NULL) {
crypto_drivers    233 crypto/crypto.c 		bzero(crypto_drivers, crypto_drivers_num *
crypto_drivers    238 crypto/crypto.c 		if (crypto_drivers[i].cc_process == NULL &&
crypto_drivers    239 crypto/crypto.c 		    !(crypto_drivers[i].cc_flags & CRYPTOCAP_F_CLEANUP) &&
crypto_drivers    240 crypto/crypto.c 		    crypto_drivers[i].cc_sessions == 0) {
crypto_drivers    241 crypto/crypto.c 			crypto_drivers[i].cc_sessions = 1; /* Mark */
crypto_drivers    242 crypto/crypto.c 			crypto_drivers[i].cc_flags = flags;
crypto_drivers    263 crypto/crypto.c 		bcopy(crypto_drivers, newdrv,
crypto_drivers    272 crypto/crypto.c 		free(crypto_drivers, M_CRYPTO_DATA);
crypto_drivers    273 crypto/crypto.c 		crypto_drivers = newdrv;
crypto_drivers    294 crypto/crypto.c 	    crypto_drivers == NULL)
crypto_drivers    306 crypto/crypto.c 		crypto_drivers[driverid].cc_kalg[i] = kalg[i];
crypto_drivers    309 crypto/crypto.c 	crypto_drivers[driverid].cc_kprocess = kprocess;
crypto_drivers    325 crypto/crypto.c 	    crypto_drivers == NULL)
crypto_drivers    337 crypto/crypto.c 		crypto_drivers[driverid].cc_alg[i] = alg[i];
crypto_drivers    341 crypto/crypto.c 	crypto_drivers[driverid].cc_newsession = newses;
crypto_drivers    342 crypto/crypto.c 	crypto_drivers[driverid].cc_process = process;
crypto_drivers    343 crypto/crypto.c 	crypto_drivers[driverid].cc_freesession = freeses;
crypto_drivers    344 crypto/crypto.c 	crypto_drivers[driverid].cc_sessions = 0; /* Unmark */
crypto_drivers    366 crypto/crypto.c 	if (driverid >= crypto_drivers_num || crypto_drivers == NULL ||
crypto_drivers    369 crypto/crypto.c 	    crypto_drivers[driverid].cc_alg[alg] == 0) {
crypto_drivers    375 crypto/crypto.c 		crypto_drivers[driverid].cc_alg[alg] = 0;
crypto_drivers    379 crypto/crypto.c 			if (crypto_drivers[driverid].cc_alg[i] != 0)
crypto_drivers    388 crypto/crypto.c 		ses = crypto_drivers[driverid].cc_sessions;
crypto_drivers    389 crypto/crypto.c 		bzero(&crypto_drivers[driverid], sizeof(struct cryptocap));
crypto_drivers    394 crypto/crypto.c 			crypto_drivers[driverid].cc_flags |= CRYPTOCAP_F_CLEANUP;
crypto_drivers    395 crypto/crypto.c 			crypto_drivers[driverid].cc_sessions = ses;
crypto_drivers    419 crypto/crypto.c 		crypto_drivers[hid].cc_queued++;
crypto_drivers    471 crypto/crypto.c 		if ((crypto_drivers[hid].cc_flags & CRYPTOCAP_F_SOFTWARE) &&
crypto_drivers    474 crypto/crypto.c 		if (crypto_drivers[hid].cc_kprocess == NULL)
crypto_drivers    476 crypto/crypto.c 		if ((crypto_drivers[hid].cc_kalg[krp->krp_op] &
crypto_drivers    490 crypto/crypto.c 	crypto_drivers[hid].cc_koperations++;
crypto_drivers    492 crypto/crypto.c 	error = crypto_drivers[hid].cc_kprocess(krp);
crypto_drivers    515 crypto/crypto.c 	if (crp->crp_desc == NULL || crypto_drivers == NULL) {
crypto_drivers    525 crypto/crypto.c 	crypto_drivers[hid].cc_queued--;
crypto_drivers    527 crypto/crypto.c 	if (crypto_drivers[hid].cc_flags & CRYPTOCAP_F_CLEANUP) {
crypto_drivers    532 crypto/crypto.c 	if (crypto_drivers[hid].cc_process == NULL)
crypto_drivers    535 crypto/crypto.c 	crypto_drivers[hid].cc_operations++;
crypto_drivers    536 crypto/crypto.c 	crypto_drivers[hid].cc_bytes += crp->crp_ilen;
crypto_drivers    538 crypto/crypto.c 	error = crypto_drivers[hid].cc_process(crp);
crypto_drivers    693 crypto/crypto.c 		if ((crypto_drivers[hid].cc_flags & CRYPTOCAP_F_SOFTWARE) &&
crypto_drivers    697 crypto/crypto.c 		if (crypto_drivers[hid].cc_kprocess == NULL)
crypto_drivers    700 crypto/crypto.c 			if ((crypto_drivers[hid].cc_kalg[kalg] &
crypto_drivers     53 crypto/cryptodev.c extern struct cryptocap *crypto_drivers;
crypto_drivers    419 crypto/cryptodev.c 	if (crypto_drivers[hid].cc_flags & CRYPTOCAP_F_SOFTWARE)
crypto_drivers    421 crypto/cryptodev.c 	if (crypto_drivers[hid].cc_process == NULL)
crypto_drivers    423 crypto/cryptodev.c 	error = crypto_drivers[hid].cc_process(crp);