Home
last modified time | relevance | path

Searched refs:AMR_BLKSIZE (Results 1 – 3 of 3) sorted by relevance

/dragonfly/sys/dev/raid/amr/
H A Damr_disk.c154 error = amr_dump_blocks(amr_sc, driveno, offset / AMR_BLKSIZE, in amrd_dump()
155 virtual, (int)length / AMR_BLKSIZE); in amrd_dump()
242 sc->amrd_drive->al_size / ((1024 * 1024) / AMR_BLKSIZE), in amrd_attach()
246 devstat_add_entry(&sc->amrd_stats, "amrd", sc->amrd_unit, AMR_BLKSIZE, in amrd_attach()
262 info.d_media_blksize = AMR_BLKSIZE; /* optional */ in amrd_attach()
H A Damr.c1282 blkcount = (bp->b_bcount + AMR_BLKSIZE - 1) / AMR_BLKSIZE; in amr_bio_command()
1287 ac->ac_mailbox.mb_lba = bio->bio_offset / AMR_BLKSIZE; in amr_bio_command()
1288 if (((bio->bio_offset / AMR_BLKSIZE) + blkcount) > sc->amr_drive[driveno].al_size) { in amr_bio_command()
1291 (long long)(bio->bio_offset / AMR_BLKSIZE), blkcount, in amr_bio_command()
2367 ac->ac_length = blks * AMR_BLKSIZE; in amr_dump_blocks()
H A Damrreg.h94 #define AMR_BLKSIZE 512 /* constant for all controllers */ macro