Searched refs:kernel_has_memfd (Results 1 – 4 of 4) sorted by relevance
287 pub fn kernel_has_memfd() -> bool { in kernel_has_memfd() function313 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 …]
922 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 …]
176 use base::kernel_has_memfd;181 if !kernel_has_memfd() { in test_memory_offsets()210 if !kernel_has_memfd() { in test_udmabuf_create()
732 use base::kernel_has_memfd;878 if !kernel_has_memfd() { in shm_offset()