Home
last modified time | relevance | path

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

/external/crosvm/sys_util/src/
Dshm.rs287 pub fn kernel_has_memfd() -> bool { in kernel_has_memfd() function
313 if !kernel_has_memfd() { in named()
323 if !kernel_has_memfd() { in anon()
331 if !kernel_has_memfd() { in new()
340 if !kernel_has_memfd() { in new_sized()
351 if !kernel_has_memfd() { in new_huge()
362 if !kernel_has_memfd() { in new_too_huge()
372 if !kernel_has_memfd() { in new_named()
383 if !kernel_has_memfd() { in new_sealed()
399 if !kernel_has_memfd() { in mmap_page()
[all …]
/external/adhd/cras/client/libcras/src/
Dcras_shm.rs922 use sys_util::{kernel_has_memfd, SharedMemory};
926 if !kernel_has_memfd() { in cras_audio_header_switch_test()
937 if !kernel_has_memfd() { in cras_audio_header_write_offset_test()
961 if !kernel_has_memfd() { in cras_audio_header_read_offset_test()
985 if !kernel_has_memfd() { in cras_audio_header_commit_written_frame_test()
1002 if !kernel_has_memfd() { in cras_audio_header_get_readable_frames_test()
1018 if !kernel_has_memfd() { in cras_audio_header_commit_read_frames_test()
1043 if !kernel_has_memfd() { in cras_audio_header_get_write_offset_and_len()
1111 if !kernel_has_memfd() { in cras_audio_header_set_buffer_offset()
1162 if !kernel_has_memfd() { in create_header_and_buffers_test()
[all …]
/external/crosvm/devices/src/virtio/gpu/
Dudmabuf.rs176 use base::kernel_has_memfd;
181 if !kernel_has_memfd() { in test_memory_offsets()
210 if !kernel_has_memfd() { in test_udmabuf_create()
/external/crosvm/vm_memory/src/
Dguest_memory.rs732 use base::kernel_has_memfd;
878 if !kernel_has_memfd() { in shm_offset()