Searched refs:mt_blkno (Results 1 – 12 of 12) sorted by relevance
/linux-2.4.37.9/include/linux/ |
D | mtio.h | 83 __kernel_daddr_t mt_blkno; /* current block number */ member 149 long mt_blkno; /* current block number */ member
|
/linux-2.4.37.9/drivers/char/ftape/zftape/ |
D | zftape-ctl.c | 940 mtget->mt_blkno = zft_div_blksz(zft_pos.volume_pos, in mtiocget() 949 mtget->mt_fileno = mtget->mt_blkno = -1; in mtiocget() 960 mtget->mt_fileno = mtget->mt_blkno = -1; in mtiocget() 1194 result = mt_tell((int *)&mtpos->mt_blkno); in mtiocpos()
|
/linux-2.4.37.9/drivers/char/ |
D | tpqic02.c | 469 ioctl_status.mt_fileno = ioctl_status.mt_blkno = 0; in tape_reset() 975 ioctl_status.mt_fileno = ioctl_status.mt_blkno = 0; in ll_do_qic_cmd() 1629 ioctl_status.mt_blkno += (dma_bytes_done / TAPE_BLKSIZE); in end_dma() 2687 ioctl_tell.mt_blkno = in qic02_tape_ioctl() 2921 ioctl_status.mt_blkno = 0; /* number of current (logical) block */ in qic02_tape_init()
|
/linux-2.4.37.9/arch/mips64/kernel/ |
D | ioctl32.c | 923 __kernel_daddr_t32 mt_blkno; member 928 __u32 mt_blkno; member 1011 err = __put_user(pos.mt_blkno, &((struct mtpos32 *)arg)->mt_blkno); in mt_ioctl_trans() 1020 err |= __put_user(get.mt_blkno, &((struct mtget32 *)arg)->mt_blkno); in mt_ioctl_trans()
|
/linux-2.4.37.9/drivers/s390/char/ |
D | tapechar.c | 590 pos.mt_blkno = ti->rc; in tape_ioctl() 616 get.mt_blkno = ti->rc; in tape_ioctl()
|
/linux-2.4.37.9/arch/parisc/kernel/ |
D | ioctl32.c | 1125 __kernel_daddr_t32 mt_blkno; member 1130 __u32 mt_blkno; member 1214 err = __put_user(pos.mt_blkno, &((struct mtpos32 *)arg)->mt_blkno); in mt_ioctl_trans() 1223 err |= __put_user(get.mt_blkno, &((struct mtget32 *)arg)->mt_blkno); in mt_ioctl_trans()
|
/linux-2.4.37.9/drivers/scsi/ |
D | st.c | 3320 mt_status.mt_blkno = STps->drv_block; in st_ioctl() 3324 mt_status.mt_blkno += in st_ioctl() 3327 mt_status.mt_blkno -= in st_ioctl() 3335 if (mt_status.mt_blkno == 0) { in st_ioctl() 3387 mt_pos.mt_blkno = blk; in st_ioctl()
|
D | osst.c | 5028 mt_status.mt_blkno = STps->drv_block; in osst_ioctl() 5032 mt_status.mt_blkno += (STp->buffer)->buffer_bytes / STp->block_size; in osst_ioctl() 5034 mt_status.mt_blkno -= ((STp->buffer)->buffer_bytes + in osst_ioctl() 5041 if (mt_status.mt_blkno == 0) { in osst_ioctl() 5095 mt_pos.mt_blkno = blk; in osst_ioctl()
|
/linux-2.4.37.9/arch/x86_64/ia32/ |
D | ia32_ioctl.c | 1665 __kernel_daddr_t32 mt_blkno; member 1670 __u32 mt_blkno; member 1753 err = __put_user(pos.mt_blkno, &((struct mtpos32 *)arg)->mt_blkno); in mt_ioctl_trans() 1762 err |= __put_user(get.mt_blkno, &((struct mtget32 *)arg)->mt_blkno); in mt_ioctl_trans()
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | ioctl32.c | 1561 __kernel_daddr_t32 mt_blkno; member 1566 __u32 mt_blkno; member 1649 err = __put_user(pos.mt_blkno, &((struct mtpos32 *)arg)->mt_blkno); in mt_ioctl_trans() 1658 err |= __put_user(get.mt_blkno, &((struct mtget32 *)arg)->mt_blkno); in mt_ioctl_trans()
|
/linux-2.4.37.9/arch/sparc64/kernel/ |
D | ioctl32.c | 1740 __kernel_daddr_t32 mt_blkno; member 1745 __u32 mt_blkno; member 1828 err = __put_user(pos.mt_blkno, &((struct mtpos32 *)arg)->mt_blkno); in mt_ioctl_trans() 1837 err |= __put_user(get.mt_blkno, &((struct mtget32 *)arg)->mt_blkno); in mt_ioctl_trans()
|
/linux-2.4.37.9/drivers/ide/ |
D | ide-tape.c | 5572 mtget.mt_blkno = position / tape->user_bs_factor - block_offset; in idetape_chrdev_ioctl() 5575 mtget.mt_blkno = -1; in idetape_chrdev_ioctl() 5577 mtget.mt_blkno = tape->logical_blk_num; in idetape_chrdev_ioctl() 5594 mtpos.mt_blkno = tape->logical_blk_num; in idetape_chrdev_ioctl() 5596 mtpos.mt_blkno = position / tape->user_bs_factor - block_offset; in idetape_chrdev_ioctl()
|