Lines Matching refs:secsize
259 blks = size / d->ll.secsize; in biosdisk_strategy()
267 frag = size % d->ll.secsize; in biosdisk_strategy()
271 *rsize = blks * d->ll.secsize; in biosdisk_strategy()
274 memcpy(buf + blks * d->ll.secsize, d->buf, frag); in biosdisk_strategy()
395 md5(bi_wedge.matchhash, d->buf, d->ll.secsize); in check_gpt()
398 sectors = sizeof(d->buf)/d->ll.secsize; /* sectors per buffer */ in check_gpt()
410 sectors = roundup(size, d->ll.secsize) / d->ll.secsize; in check_gpt()
490 d->ll.secsize = ed.sbytes; in read_gpt()
577 md5(bi_wedge.matchhash, d->buf, d->ll.secsize); in check_label()
941 size_t secsize; in biosdisk_probe() local
948 secsize = d->ll.secsize; in biosdisk_probe()
959 if (raidframe[i].size >= (10ULL * 1024 * 1024 * 1024 / secsize)) in biosdisk_probe()
961 raidframe[i].size / (1024 * 1024 * 1024 / secsize)); in biosdisk_probe()
964 raidframe[i].size / (1024 * 1024 / secsize)); in biosdisk_probe()
1181 d->ll.secsize = ed.sbytes; in biosdisk_read_raidframe()
1183 offset += (RF_COMPONENT_INFO_OFFSET / d->ll.secsize); in biosdisk_read_raidframe()
1184 size = roundup(sizeof(*label), d->ll.secsize) / d->ll.secsize; in biosdisk_read_raidframe()
1669 md5(bi_wedge.matchhash, d->buf, d->ll.secsize); in biosdisk_open_name()