Home
last modified time | relevance | path

Searched refs:host_dev (Results 1 – 4 of 4) sorted by relevance

/external/u-boot/drivers/block/
Dsandbox.c36 struct host_block_dev *host_dev = dev_get_priv(dev); local
45 struct host_block_dev *host_dev = find_host_device(dev);
47 if (!host_dev)
51 if (os_lseek(host_dev->fd, start * block_dev->blksz, OS_SEEK_SET) ==
56 ssize_t len = os_read(host_dev->fd, buffer, blkcnt * block_dev->blksz);
67 struct host_block_dev *host_dev = dev_get_priv(dev); local
75 struct host_block_dev *host_dev = find_host_device(dev);
78 if (os_lseek(host_dev->fd, start * block_dev->blksz, OS_SEEK_SET) ==
83 ssize_t len = os_write(host_dev->fd, buffer, blkcnt * block_dev->blksz);
92 struct host_block_dev *host_dev; local
[all …]
/external/u-boot/cmd/
Dhost.c89 struct host_block_dev *host_dev; in do_host_info() local
92 host_dev = dev_get_priv(blk_dev->bdev); in do_host_info()
94 host_dev = blk_dev->priv; in do_host_info()
97 host_dev->filename); in do_host_info()
/external/linux-kselftest/tools/testing/selftests/net/forwarding/
Dmirror_gre_bridge_1q_lag.sh216 local host_dev=$1; shift
229 setup_wait_dev $host_dev
232 mirror_test vrf-h1 192.0.2.1 192.0.2.18 $host_dev 1 10
/external/e2fsprogs/misc/
Dbadblocks.c472 static int host_dev; variable
482 retval = ext2fs_sync_device(host_dev, 1); in flush_bufs()
1256 host_dev = open (host_device_name, open_flag); in main()
1257 if (host_dev == -1) { in main()
1264 host_dev = dev; in main()