Searched defs:blockdev (Results 1 - 4 of 4) sorted by relevance

/system/extras/ext4_utils/
H A Dsetup_fs.c12 int setup_fs(const char *blockdev) argument
20 n = readlink(blockdev, path, sizeof(path) - 1);
24 blockdev = path + 11;
27 if (strchr(blockdev,'/')) {
28 fprintf(stderr,"not a block device name: %s\n", blockdev);
32 snprintf(buf, sizeof(buf), "/sys/fs/ext4/%s", blockdev);
34 fprintf(stderr,"device %s already has a filesystem\n", blockdev);
37 snprintf(buf, sizeof(buf), "/dev/block/%s", blockdev);
40 fprintf(stderr,"device %s not wiped, probably encrypted, not wiping\n", blockdev);
/system/core/fs_mgr/
H A Dfs_mgr_verity.c275 static int load_verity_table(struct dm_ioctl *io, char *name, char *blockdev, int fd, char *table) argument
281 if (get_target_device_size(blockdev, &device_size) < 0) {
H A Dfs_mgr.c520 static void fs_set_blk_ro(const char *blockdev) argument
525 fd = open(blockdev, O_RDONLY);
/system/core/toolbox/
H A Dmount.c144 static void fs_set_blk_rw(const char *blockdev) argument
149 fd = open(blockdev, O_RDONLY);

Completed in 240 milliseconds