Home
last modified time | relevance | path

Searched refs:swap_file (Results 1 – 12 of 12) sorted by relevance

/external/crosvm/swap/src/
Dfile.rs355 let swap_file = SwapFile::new(&file, 0, 200).unwrap(); in len() localVariable
357 assert_eq!(swap_file.num_pages(), 200); in len()
363 let swap_file = SwapFile::new(&file, 0, 200).unwrap(); in page_content_default_is_none() localVariable
365 assert_eq!(swap_file.page_content(0).unwrap().is_none(), true); in page_content_default_is_none()
371 let mut swap_file = SwapFile::new(&file, 0, 200).unwrap(); in page_content_returns_content() localVariable
374 swap_file.write_to_file(0, data).unwrap(); in page_content_returns_content()
376 let page = swap_file.page_content(0).unwrap().unwrap(); in page_content_returns_content()
384 let swap_file = SwapFile::new(&file, 0, 200).unwrap(); in page_content_out_of_range() localVariable
386 assert_eq!(swap_file.page_content(199).is_ok(), true); in page_content_out_of_range()
387 match swap_file.page_content(200) { in page_content_out_of_range()
[all …]
Dlib.rs263 let swap_file = OpenOptions::new() in launch() localVariable
285 swap_file.as_raw_descriptor(), in launch()
324 swap_file, in launch()
551 swap_file: File, in monitor_process()
624 &swap_file, in monitor_process()
678 if let Err(e) = swap_file.set_len(0) { in monitor_process()
/external/mesa3d/src/gallium/drivers/vc4/
Dvc4_qpu_emit.c79 swap_file(struct qpu_reg *src) in swap_file() function
178 if (swap_file(src0) || swap_file(src1)) in fixup_raddr_conflict()
/external/libbpf/.github/actions/build-selftests/
Dvmlinux.h8620 struct file *swap_file; member
/external/bcc/libbpf-tools/powerpc/
Dvmlinux_510.h6164 struct file *swap_file; member
Dvmlinux.h6164 struct file *swap_file; member
/external/bcc/libbpf-tools/arm64/
Dvmlinux.h4714 struct file *swap_file; member
Dvmlinux_510.h4714 struct file *swap_file; member
/external/bcc/libbpf-tools/x86/
Dvmlinux_505.h8194 struct file *swap_file; member
Dvmlinux.h8194 struct file *swap_file; member
/external/libabigail/tests/data/test-diff-filter/
Dtest-PR27569-v1.abi74609 …<var-decl name="swap_file" type-id="77e79a4c" visibility="default" filepath="include/linux/swap.h"…
Dtest-PR27569-v0.abi74595 …<var-decl name="swap_file" type-id="77e79a4c" visibility="default" filepath="include/linux/swap.h"…