Searched refs:block_device (Results 1 – 24 of 24) sorted by relevance
/system/core/adb/ |
D | set_verity_enable_state_service.cpp | 46 static int set_verity_enabled_state(int fd, const char *block_device, in set_verity_enabled_state() argument 49 if (!make_block_device_writable(block_device)) { in set_verity_enabled_state() 51 block_device, strerror(errno)); in set_verity_enabled_state() 55 fec::io fh(block_device, O_RDWR); in set_verity_enabled_state() 58 WriteFdFmt(fd, "Could not open block device %s (%s).\n", block_device, strerror(errno)); in set_verity_enabled_state() 83 block_device, strerror(errno)); in set_verity_enabled_state()
|
/system/extras/verity/ |
D | build_verity_metadata.py | 59 def build_verity_table(block_device, data_blocks, root_hash, salt): argument 61 table %= ( block_device, 62 block_device, 72 block_device, signer_path, signing_key, signer_args=None): argument 74 verity_table = build_verity_table(block_device, data_blocks, root_hash, salt) 108 args.root_hash, args.salt, args.block_device,
|
/system/sepolicy/ |
D | uncrypt.te | 34 allow uncrypt block_device:blk_file w_file_perms; 35 auditallow uncrypt block_device:blk_file w_file_perms; 37 allow uncrypt block_device:dir r_dir_perms;
|
D | update_verifier.te | 9 allow update_verifier block_device:dir search;
|
D | blkid.te | 6 allow blkid block_device:dir search;
|
D | sgdisk.te | 6 allow sgdisk block_device:dir search;
|
D | blkid_untrusted.te | 5 allow blkid_untrusted block_device:dir search;
|
D | fsck_untrusted.te | 12 allow fsck_untrusted block_device:dir search;
|
D | otapreopt_chroot.te | 11 allow otapreopt_chroot block_device:dir search;
|
D | install_recovery.te | 19 allow install_recovery block_device:dir search;
|
D | toolbox.te | 20 allow toolbox block_device:dir search;
|
D | fsck.te | 19 allow fsck block_device:dir search;
|
D | update_engine_common.te | 5 allow update_engine_common block_device:dir search;
|
D | device.te | 8 type block_device, dev_type;
|
D | recovery.te | 68 allow recovery block_device:dir r_dir_perms;
|
D | dumpstate.te | 98 allow dumpstate { storage_file block_device }:dir { search getattr };
|
D | vold.te | 38 allow vold block_device:dir create_dir_perms;
|
D | domain.te | 255 # Don't allow raw read/write/open access to block_device 257 neverallow { domain -kernel -init -recovery -uncrypt } block_device:blk_file { open read write };
|
D | file_contexts | 58 /dev/block(/.*)? u:object_r:block_device:s0
|
D | system_server.te | 468 allow system_server block_device:dir search;
|
/system/vold/ |
D | secdiscard.cpp | 106 auto block_device = block_device_for_path(path); in secdiscard_path() local 107 if (block_device.empty()) { in secdiscard_path() 110 AutoCloseFD fs_fd(block_device, O_RDWR | O_LARGEFILE); in secdiscard_path() 112 PLOG(ERROR) << "Failed to open device " << block_device; in secdiscard_path()
|
/system/extras/ext4_utils/ |
D | ext4_sb.h | 46 bool block_device; /* target fd is a block device? */ member
|
D | ext4_utils.c | 195 if (info.block_device) in write_ext4_image() 370 ext4_queue_sb(group_start_block, info.block_device ? in ext4_fill_in_sb() 396 ext4_queue_sb(aux_info.first_data_block, info.block_device ? in ext4_fill_in_sb()
|
D | make_ext4fs.c | 697 info.block_device = is_block_device_fd(fd); in make_ext4fs_internal() 699 if (info.block_device && (sparse || gzip || crc)) { in make_ext4fs_internal()
|