Searched defs:blockdev (Results 1 - 4 of 4) sorted by relevance
/system/extras/ext4_utils/ |
H A D | setup_fs.c | 12 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 D | fs_mgr_verity.c | 275 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 D | fs_mgr.c | 520 static void fs_set_blk_ro(const char *blockdev) argument 525 fd = open(blockdev, O_RDONLY);
|
/system/core/toolbox/ |
H A D | mount.c | 144 static void fs_set_blk_rw(const char *blockdev) argument 149 fd = open(blockdev, O_RDONLY);
|
Completed in 240 milliseconds