Home
last modified time | relevance | path

Searched refs:bdev (Results 1 – 8 of 8) sorted by relevance

/external/ltp/testcases/kernel/fs/scsi/ltpfs/
DLtpfsCmds.c89 struct block_device *bdev = NULL; in ltpdev_ioctl() local
148 bdev = lookup_bdev(LTP_FS_DEVICE_NAME); in ltpdev_ioctl()
151 bdev->bd_block_size); in ltpdev_ioctl()
160 my_bio_copy = bio_map_user(bdev, uaddr, TEST_MEM_SIZE, FALSE); in ltpdev_ioctl()
261 struct block_device *bdev; in lookup_bdev() local
283 bdev = inode->i_bdev; in lookup_bdev()
287 return bdev; in lookup_bdev()
289 bdev = ERR_PTR(error); in lookup_bdev()
295 struct block_device *bdev; in bd_acquire() local
303 bdev = bdget(kdev_t_to_nr(inode->i_rdev)); in bd_acquire()
[all …]
/external/ltp/testcases/kernel/device-drivers/tbio/tbio_kernel/
Dltp_tbio.c73 struct block_device *bdev; member
78 struct block_device *bdev, struct tbio_interface *inter, in send_request() argument
105 if (blk_execute_rq(q, bdev->bd_disk, rq, 0)) in send_request()
118 static int tbio_io(struct block_device *bdev, struct tbio_interface *uptr) in tbio_io() argument
125 struct request_queue *q = bdev_get_queue(bdev); in tbio_io()
150 bio = bio_map_user(q, bdev, (unsigned long)inter.data, in tbio_io()
170 send_request(q, bio, bdev, &inter, writing); in tbio_io()
277 tbiop->bi_bdev = tbio_dev.bdev; in test_bio_alloc()
283 static int test_bio_split(struct block_device *bdev, in test_bio_split() argument
292 struct request_queue *q = bdev_get_queue(bdev); in test_bio_split()
[all …]
/external/ltp/testcases/kernel/device-drivers/nls/
DnlsTest.c65 static int test_open(struct block_device *bdev, fmode_t mode);
67 static int test_ioctl(struct block_device *bdev, fmode_t mode,
89 static int test_open(struct block_device *bdev, fmode_t mode) in test_open()
110 static int test_ioctl(struct block_device *bdev, fmode_t mode, in test_ioctl()
/external/e2fsprogs/e2fsck/
Drevoke.c340 struct block_device *bdev; in journal_revoke() local
353 bdev = journal->j_fs_dev; in journal_revoke()
357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
367 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
/external/e2fsprogs/debugfs/
Drevoke.c340 struct block_device *bdev; in journal_revoke() local
353 bdev = journal->j_fs_dev; in journal_revoke()
357 bh = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
367 bh2 = __find_get_block(bdev, blocknr, journal->j_blocksize); in journal_revoke()
/external/e2fsprogs/tests/u_mke2fs_opt_oddsize/
Dscript1 test_description="e2undo with mke2fs -z and non-32k-aligned bdev size"
/external/ltp/testcases/kdump/lib/lkdtm/
Dlkdtm.c189 struct block_device *bdev, unsigned int cmd, in jp_generic_ide_ioctl() argument
/external/selinux/libsepol/tests/policies/test-cond/
Drefpolicy-base.conf1696 genfscon bdev / system_u:object_r:bdev_t:s0