Home
last modified time | relevance | path

Searched refs:Protection (Results 1 – 25 of 214) sorted by relevance

123456789

/external/crosvm/devices/src/virtio/iommu/
Dmemory_mapper.rs21 use base::Protection;
34 pub prot: Protection,
43 pub prot: Protection,
48 fn new(iova: u64, gpa: GuestAddress, size: u64, prot: Protection) -> Result<Self> { in new()
222 _prot: Protection, in vfio_dma_map() argument
467 MappingInfo::new(u64::MAX - 1, GuestAddress(1), 2, Protection::read()).unwrap_err(); in test_mapping_info()
468 MappingInfo::new(1, GuestAddress(u64::MAX - 1), 2, Protection::read()).unwrap_err(); in test_mapping_info()
469 MappingInfo::new(u64::MAX, GuestAddress(1), 2, Protection::read()).unwrap_err(); in test_mapping_info()
470 MappingInfo::new(1, GuestAddress(u64::MAX), 2, Protection::read()).unwrap_err(); in test_mapping_info()
471 MappingInfo::new(5, GuestAddress(5), u64::MAX, Protection::read()).unwrap_err(); in test_mapping_info()
[all …]
Dipc_memory_mapper.rs17 use base::Protection;
238 prot: Protection, in do_copy() argument
289 self.do_copy(iova, buf.len(), Protection::read(), |offset, gpa, len| { in read_obj_from_addr()
305 self.do_copy(iova, buf.len(), Protection::write(), |offset, gpa, len| { in write_obj_at_addr()
340 use base::Protection;
360 prot: Protection::read_write(), in test()
380 prot: Protection::read_write(), in test()
/external/crosvm/base/src/
Dmmap.rs112 pub struct Protection { struct
117 impl Protection { impl
120 pub fn read_write() -> Protection { in read_write()
121 Protection { in read_write()
129 pub fn read() -> Protection { in read()
130 Protection { in read()
138 pub fn write() -> Protection { in write()
139 Protection { in write()
147 pub fn set_read(self) -> Protection { in set_read() argument
148 Protection { read: true, ..self } in set_read()
[all …]
/external/crosvm/base/src/sys/windows/
Dmmap_platform.rs25 use crate::Protection;
28 impl From<Protection> for DWORD {
30 fn from(p: Protection) -> Self { in from()
48 pub fn new_protection(size: usize, prot: Protection) -> Result<MemoryMapping> { in new_protection()
75 Protection::read_write().into(), in from_raw_handle_offset()
92 prot: Protection, in from_descriptor_offset_protection() argument
119 prot: Protection, in new_protection_fixed() argument
141 prot: Protection, in from_descriptor_offset_protection_fixed() argument
Dmmap.rs19 use crate::Protection;
87 MemoryMapping::new_protection(size, Protection::read_write()) in new()
115 Protection::read_write(), in from_descriptor_offset()
207 self.protection.unwrap_or_else(Protection::read_write), in build()
219 self.protection.unwrap_or_else(Protection::read_write), in build()
/external/crosvm/base/src/sys/linux/
Dmmap.rs24 use crate::Protection;
28 impl From<Protection> for c_int {
30 fn from(p: Protection) -> Self { in from()
128 MemoryMapping::new_protection(size, None, Protection::read_write()) in new()
140 prot: Protection, in new_protection() argument
162 MemoryMapping::from_fd_offset_protection(fd, size, offset, Protection::read_write()) in from_fd_offset()
176 prot: Protection, in from_fd_offset_protection() argument
195 prot: Protection, in from_fd_offset_protection_populate() argument
228 prot: Protection, in new_protection_fixed() argument
253 prot: Protection, in from_descriptor_offset_protection_fixed() argument
[all …]
/external/autotest/client/common_lib/
Dhost_protections.py13 Protection = autotest_enum.AutotestEnum( variable
37 default = Protection.get_value(default_protection)
44 choices = Protection.choices()
/external/google-cloud-java/java-phishingprotection/
DREADME.md1 # Google Phishing Protection Client for Java
3 Java idiomatic client for [Phishing Protection][product-docs].
71Protection APIs, and the authenticated principal must have the [IAM role(s)][predefined-iam-roles]…
77 …e Cloud Platform Console][developer-console] project with the Phishing Protection [API enabled][en…
88 ## About Phishing Protection
91 [Phishing Protection][product-docs] helps prevent users from accessing phishing sites by identifyin…
93 See the [Phishing Protection client library docs][javadocs] to learn how to
94 use this Phishing Protection Client Library.
107 Phishing Protection uses gRPC for the transport layer.
/external/crosvm/devices/src/virtio/vhost_user_frontend/
Dhandler.rs8 use base::Protection;
81 Protection::from(req.flags), in shmem_map()
140 Protection::read_write(), in gpu_map()
169 Protection::read_write(), in external_map()
/external/sg3_utils/inhex/
Dvpd_fp.hex15 00 00 # FMPTINFO, Protection field usage and protection interval exp
26 00 00 # FMPTINFO, Protection field usage and protection interval exp
/external/crosvm/devices/src/virtio/iommu/sys/linux/
Dvfio_wrapper.rs12 use base::Protection;
61 map.prot.allows(&Protection::write()), in do_map()
92 prot: Protection, in vfio_dma_map() argument
/external/gsc-utils/docs/
Dwrite_protection.md1 # Firmware Write Protection
62 ## Changing Hardware Write Protection
72 ### Enable Hardware Write Protection argument
78 ### Disable Hardware Write Protection argument
84 ### Enable/Disable Hardware Write Protection via Cr50 Console argument
121 ## Changing Software Write Protection
132 ### Changing Software Write Protection with `ectool` argument
205 Stands for Readout Protection Level 1.
222 ## EC Flash Read/Write Command Write Protection Checks
/external/crosvm/fuse/src/
Dfuzzing.rs8 use base::Protection;
43 _prot: Protection, in map() argument
Dworker.rs17 use base::Protection;
150 _prot: Protection, in map() argument
/external/googleapis/google/cloud/securitycenter/v2/
Dresource_value_config.proto39 // Resource value mapping for Sensitive Data Protection findings
43 // Resource value mapping for high-sensitivity Sensitive Data Protection
47 // Resource value mapping for medium-sensitivity Sensitive Data Protection
94 // A mapping of the sensitivity on Sensitive Data Protection finding to
/external/crosvm/ext2/src/
Dbuilder.rs16 use base::Protection;
138 Protection::read(), in do_mmap()
/external/googleapis/google/cloud/phishingprotection/
DBUILD.bazel32 …ruby_cloud_description = "Phishing Protection helps prevent users from accessing phishing sites by…
33 ruby_cloud_title = "Phishing Protection",
/external/trusty/arm-trusted-firmware/plat/arm/board/tc/fdts/
Ddice_prot_env.dtsi7 /* DICE Protection Environment Client Config */
/external/crosvm/vm_control/src/
Dapi.rs9 use base::Protection;
81 prot: Protection, in register_memory() argument
/external/googleapis/google/cloud/securitycenter/v1/
Dcloud_armor.proto43 // Protection](https://cloud.google.com/armor/docs/adaptive-protection-overview).
94 // Protection](https://cloud.google.com/armor/docs/cloud-armor-overview#google-cloud-armor-adaptive…
98 // detected event is an attack. See the [Adaptive Protection
/external/crosvm/third_party/vmm_vhost/src/
Dmessage.rs15 use base::Protection;
881 impl From<Protection> for VhostUserShmemMapMsgFlags {
882 fn from(prot: Protection) -> Self { in from()
884 flags.set(Self::MAP_R, prot.allows(&Protection::read())); in from()
885 flags.set(Self::MAP_W, prot.allows(&Protection::write())); in from()
890 impl From<VhostUserShmemMapMsgFlags> for Protection { implementation
892 let mut prot = Protection::default(); in from()
/external/crosvm/vm_control/src/sys/
Dlinux.rs17 use base::Protection;
171 prot: Protection,
/external/crosvm/devices/src/virtio/
Dvirtio_device.rs11 use base::Protection;
49 prot: Protection, in add_mapping() argument
/external/crosvm/base/src/sys/macos/
Dmod.rs123 _prot: crate::Protection, in new_protection_fixed() argument
135 _prot: crate::Protection, in from_descriptor_offset_protection_fixed() argument
/external/crosvm/devices/src/virtio/fs/
Dworker.rs16 use base::Protection;
99 prot: Protection, in map() argument

123456789