Lines Matching refs:capacity
597 par->last_frame_ppos = htonl(STp->capacity); in osst_init_aux()
1418 if (frame < 0 || frame >= STp->capacity) return (-ENXIO); in osst_seek_sector()
2322 header->partition[0].last_frame_ppos = htonl(STp->capacity); in osst_write_header()
2530 header->partition[0].last_frame_ppos != htonl(STp->capacity) || in __osst_analyze_headers()
2841 STp->capacity = ntohs(prm->segtrk) * ntohs(prm->trks); in osst_configure_onstream()
2844 name, STp->density, STp->capacity / 32, drive_buffer_size); in osst_configure_onstream()
2980 if (ppos < 0 || ppos > STp->capacity) { in osst_set_frame_position()
2982 pp = ppos = ppos < 0 ? 0 : (STp->capacity - 1); in osst_set_frame_position()
3441 if (STp->first_frame_position >= STp->capacity - OSST_EOM_RESERVE) { in osst_write()
5722 l = snprintf(buf, PAGE_SIZE, "%d\n", STp->capacity); in osst_capacity_show()
5726 DEVICE_ATTR(capacity, S_IRUGO, osst_capacity_show, NULL);
5904 tpnt->capacity = 0xfffff; in osst_probe()