Changeset View
Changeset View
Standalone View
Standalone View
sys/geom/bde/g_bde_work.c
Show First 20 Lines • Show All 65 Lines • ▼ Show 20 Lines | |||||
#include <sys/malloc.h> | #include <sys/malloc.h> | ||||
#include <sys/systm.h> | #include <sys/systm.h> | ||||
#include <sys/kernel.h> | #include <sys/kernel.h> | ||||
#include <sys/sysctl.h> | #include <sys/sysctl.h> | ||||
#include <sys/proc.h> | #include <sys/proc.h> | ||||
#include <sys/kthread.h> | #include <sys/kthread.h> | ||||
#include <crypto/rijndael/rijndael-api-fst.h> | #include <crypto/rijndael/rijndael-api-fst.h> | ||||
#include <crypto/sha2/sha2.h> | #include <crypto/sha2/sha512.h> | ||||
#include <geom/geom.h> | #include <geom/geom.h> | ||||
#include <geom/bde/g_bde.h> | #include <geom/bde/g_bde.h> | ||||
static void g_bde_delete_sector(struct g_bde_softc *wp, struct g_bde_sector *sp); | static void g_bde_delete_sector(struct g_bde_softc *wp, struct g_bde_sector *sp); | ||||
static struct g_bde_sector * g_bde_new_sector(struct g_bde_work *wp, u_int len); | static struct g_bde_sector * g_bde_new_sector(struct g_bde_work *wp, u_int len); | ||||
static void g_bde_release_keysector(struct g_bde_work *wp); | static void g_bde_release_keysector(struct g_bde_work *wp); | ||||
static struct g_bde_sector *g_bde_get_keysector(struct g_bde_work *wp); | static struct g_bde_sector *g_bde_get_keysector(struct g_bde_work *wp); | ||||
static int g_bde_start_read(struct g_bde_sector *sp); | static int g_bde_start_read(struct g_bde_sector *sp); | ||||
▲ Show 20 Lines • Show All 682 Lines • Show Last 20 Lines |