OCF: Convert consumers to the session id typedef

These were missed in the earlier r336269.

No functional change.

Sponsored by:	Dell EMC Isilon
This commit is contained in:
Conrad Meyer 2018-07-16 19:01:05 +00:00
parent bafc378147
commit 1df7f41560
5 changed files with 6 additions and 6 deletions

View File

@ -179,7 +179,7 @@ struct g_eli_worker {
struct g_eli_softc *w_softc;
struct proc *w_proc;
u_int w_number;
uint64_t w_sid;
crypto_session_t w_sid;
boolean_t w_active;
LIST_ENTRY(g_eli_worker) w_next;
};

View File

@ -64,7 +64,7 @@ g_eli_crypto_cipher(u_int algo, int enc, u_char *data, size_t datasize,
struct cryptoini cri;
struct cryptop *crp;
struct cryptodesc *crd;
uint64_t sid;
crypto_session_t sid;
u_char *p;
int error;

View File

@ -45,8 +45,8 @@ __FBSDID("$FreeBSD$");
struct aes_state {
struct mtx as_lock;
uint64_t as_session_aes;
uint64_t as_session_sha1;
crypto_session_t as_session_aes;
crypto_session_t as_session_sha1;
};
static void

View File

@ -47,7 +47,7 @@ __FBSDID("$FreeBSD$");
struct des1_state {
struct mtx ds_lock;
uint64_t ds_session;
crypto_session_t ds_session;
};
static void

View File

@ -48,7 +48,7 @@ __FBSDID("$FreeBSD$");
struct des3_state {
struct mtx ds_lock;
uint64_t ds_session;
crypto_session_t ds_session;
};
static void