Searched refs:kernel_has_memfd (Results 1 – 3 of 3) sorted by relevance
246 pub fn kernel_has_memfd() -> bool { in kernel_has_memfd() function273 if !kernel_has_memfd() { in new()282 if !kernel_has_memfd() { in new_sized()293 if !kernel_has_memfd() { in new_huge()304 if !kernel_has_memfd() { in new_too_huge()314 if !kernel_has_memfd() { in new_named()328 if !kernel_has_memfd() { in new_sealed()344 if !kernel_has_memfd() { in mmap_page()373 if !kernel_has_memfd() { in mmap_page_offset()
570 use crate::kernel_has_memfd;687 if !kernel_has_memfd() { in memfd_offset()
683 use sys_util::{kernel_has_memfd, SharedMemory};687 if !kernel_has_memfd() { in cras_audio_header_switch_test()698 if !kernel_has_memfd() { in cras_audio_header_write_offset_test()722 if !kernel_has_memfd() { in cras_audio_header_read_offset_test()746 if !kernel_has_memfd() { in cras_audio_header_commit_written_frame_test()763 if !kernel_has_memfd() { in cras_audio_header_get_readable_frames_test()779 if !kernel_has_memfd() { in cras_audio_header_commit_read_frames_test()804 if !kernel_has_memfd() { in cras_audio_header_get_write_offset_and_len()872 if !kernel_has_memfd() { in cras_audio_header_set_buffer_offset()920 if !kernel_has_memfd() { in create_header_and_buffers_test()[all …]