Searched refs:DEV_GELIBOOT_BSIZE (Results 1 - 3 of 3) sorted by relevance

/freebsd-11-stable/stand/libsa/geli/
H A Dgeliboot.h40 #ifndef DEV_GELIBOOT_BSIZE
41 #define DEV_GELIBOOT_BSIZE 4096 macro
H A Dgeliboot.c153 if ((buf = malloc(DEV_GELIBOOT_BSIZE)) == NULL)
155 alignsector = rounddown2(lastsector * DEV_BSIZE, DEV_GELIBOOT_BSIZE);
156 if (alignsector + DEV_GELIBOOT_BSIZE > ((lastsector + 1) * DEV_BSIZE)) {
159 DEV_GELIBOOT_BSIZE;
161 error = readfunc(NULL, readpriv, alignsector, buf, DEV_GELIBOOT_BSIZE);
181 (DEV_GELIBOOT_BSIZE - DEV_BSIZE), &md);
/freebsd-11-stable/stand/i386/zfsboot/
H A Dzfsboot.c64 #define DEV_GELIBOOT_BSIZE 4096 macro
211 * Round LBA down to nearest multiple of DEV_GELIBOOT_BSIZE bytes.
213 alignlba = rounddown2(off, DEV_GELIBOOT_BSIZE) / DEV_BSIZE;
215 * The read must be aligned to DEV_GELIBOOT_BSIZE bytes relative to the
231 * of DEV_GELIBOOT_BSIZE.
233 alignnb = roundup2(nb * DEV_BSIZE + diff, DEV_GELIBOOT_BSIZE)

Completed in 88 milliseconds