fcr               142 crypto/cryptodev.c 	struct fcrypt *fcr = fp->f_data;
fcr               257 crypto/cryptodev.c 		cse = csecreate(fcr, sid, crie.cri_key, crie.cri_klen,
fcr               278 crypto/cryptodev.c 		cse = csefind(fcr, ses);
fcr               281 crypto/cryptodev.c 		csedelete(fcr, cse);
fcr               286 crypto/cryptodev.c 		cse = csefind(fcr, cop->ses);
fcr               619 crypto/cryptodev.c 	struct fcrypt *fcr = fp->f_data;
fcr               622 crypto/cryptodev.c 	while ((cse = TAILQ_FIRST(&fcr->csessions))) {
fcr               623 crypto/cryptodev.c 		TAILQ_REMOVE(&fcr->csessions, cse, next);
fcr               626 crypto/cryptodev.c 	FREE(fcr, M_XDATA);
fcr               670 crypto/cryptodev.c 	struct fcrypt *fcr;
fcr               675 crypto/cryptodev.c 		MALLOC(fcr, struct fcrypt *,
fcr               677 crypto/cryptodev.c 		TAILQ_INIT(&fcr->csessions);
fcr               678 crypto/cryptodev.c 		fcr->sesn = 0;
fcr               682 crypto/cryptodev.c 			FREE(fcr, M_XDATA);
fcr               688 crypto/cryptodev.c 		f->f_data = fcr;
fcr               706 crypto/cryptodev.c csefind(struct fcrypt *fcr, u_int ses)
fcr               710 crypto/cryptodev.c 	TAILQ_FOREACH(cse, &fcr->csessions, next)
fcr               717 crypto/cryptodev.c csedelete(struct fcrypt *fcr, struct csession *cse_del)
fcr               721 crypto/cryptodev.c 	TAILQ_FOREACH(cse, &fcr->csessions, next) {
fcr               723 crypto/cryptodev.c 			TAILQ_REMOVE(&fcr->csessions, cse, next);
fcr               731 crypto/cryptodev.c cseadd(struct fcrypt *fcr, struct csession *cse)
fcr               733 crypto/cryptodev.c 	TAILQ_INSERT_TAIL(&fcr->csessions, cse, next);
fcr               734 crypto/cryptodev.c 	cse->ses = fcr->sesn++;
fcr               739 crypto/cryptodev.c csecreate(struct fcrypt *fcr, u_int64_t sid, caddr_t key, u_int64_t keylen,
fcr               758 crypto/cryptodev.c 	cseadd(fcr, cse);