Searched refs:SECTOR_SIZE (Results 1 - 10 of 10) sorted by relevance

/netbsd-6-1-5-RELEASE/sys/arch/i386/stand/mbr/
H A Dgpt.S100 #ifndef SECTOR_SIZE
101 #define SECTOR_SIZE 512 /* 8192 bytes max */ define
109 #if GPTPTN_SIZE % SECTOR_SIZE == 0
110 #define GPTPTN_LBASZ (GPTPTN_SIZE / SECTOR_SIZE)
112 #define GPTPTN_LBASZ (GPTPTN_SIZE / SECTOR_SIZE + 1)
268 1: mov $GPTBUFADDR + GPTPTN_LBASZ * SECTOR_SIZE, %bp
306 movw $GPTBUFADDR + GPTPTN_LBASZ * SECTOR_SIZE, %bp
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/include/
H A Dlabel.h25 #define LABEL_SIZE SECTOR_SIZE /* Think very carefully before changing this */
H A Dmetadata.h33 #define SECTOR_SIZE ( 1L << SECTOR_SHIFT ) macro
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/label/
H A Dlabel.h25 #define LABEL_SIZE SECTOR_SIZE /* Think very carefully before changing this */
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/device/
H A Ddevice.c63 uint16_t buf[SECTOR_SIZE/sizeof(uint16_t)];
210 if (!(buffer = dm_malloc(SECTOR_SIZE))) {
229 if (llseek(pv_handle, offset * SECTOR_SIZE, SEEK_SET) == -1) {
235 while ((bytes_read < SECTOR_SIZE) &&
238 SECTOR_SIZE - bytes_read)) != -1)
H A Ddev-io.c739 if ((offset % SECTOR_SIZE) || (len % SECTOR_SIZE))
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/
H A Dfd.c85 #define SECTOR_SIZE 512 /* physical sector size in bytes */ macro
509 sc->bounceb = alloc_stmem(SECTOR_SIZE, &addr);
588 if (bp->b_blkno < 0 || (bp->b_bcount % SECTOR_SIZE) != 0) {
595 sz = howmany(bp->b_bcount, SECTOR_SIZE);
908 memcpy(sc->bounceb, sc->io_data, SECTOR_SIZE);
1009 memcpy(sc->io_data, sc->bounceb, SECTOR_SIZE);
1013 sc->io_data += SECTOR_SIZE;
1014 sc->io_bytes -= SECTOR_SIZE;
1195 toff = sec * SECTOR_SIZE;
1196 tsz = sc->nsectors * sc->nheads * SECTOR_SIZE;
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format1/
H A Dlayout.c151 SECTOR_SIZE - 1) >> SECTOR_SHIFT);
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/format_text/
H A Dformat-text.c118 * back up one SECTOR_SIZE from 'region_ptr' and return the value.
132 if (region_ptr >= region_start + SECTOR_SIZE)
133 return region_ptr - SECTOR_SIZE;
135 return (region_start + region_size - SECTOR_SIZE);
193 size = SECTOR_SIZE;
228 size = SECTOR_SIZE;
239 size2 += SECTOR_SIZE;
242 size += SECTOR_SIZE;
417 (SECTOR_SIZE - rlocn->size % SECTOR_SIZE)
[all...]
/netbsd-6-1-5-RELEASE/external/gpl2/lvm2/dist/lib/metadata/
H A Dmetadata.h33 #define SECTOR_SIZE ( 1L << SECTOR_SHIFT ) macro

Completed in 186 milliseconds