| /external/ot-br-posix/script/ |
| D | _swapfile | 35 SWAP_FILENAME=${SWAP_FILENAME:-/swapfile} 36 # 1M * 1024 = 1G swapfile 44 echo "Disable & remove old swapfile" 52 echo "Create new (zeroed) swapfile" 63 echo "Format swapfile" 85 echo "Swapfile: Creating..." 90 echo "Swapfile: Complete" 92 echo "Swapfile: not required"
|
| /external/crosvm/swap/src/ |
| D | file.rs | 44 /// [SwapFile] stores active pages in a memory region. 51 pub struct SwapFile<'a> { struct 61 impl<'a> SwapFile<'a> { argument 62 /// Creates an initialized [SwapFile] for a memory region. 166 /// `SwapFile::mark_as_present()` and reduce disk I/O. 261 /// The content on the swap file on previous `SwapFile::write_to_file()` is reused. 349 assert_eq!(SwapFile::new(&file, 0, 200).is_ok(), true); in new_success() 355 let swap_file = SwapFile::new(&file, 0, 200).unwrap(); in len() 363 let swap_file = SwapFile::new(&file, 0, 200).unwrap(); in page_content_default_is_none() 371 let mut swap_file = SwapFile::new(&file, 0, 200).unwrap(); in page_content_returns_content() [all …]
|
| D | page_handler.rs | 25 use crate::file::SwapFile; 115 /// [Region] represents a memory region and corresponding [SwapFile]. 119 file: SwapFile<'a>, 236 let file = SwapFile::new(swap_raw_file, offset_pages, num_of_pages)?; in create()
|
| /external/ltp/libs/libltpswap/ |
| D | libswap.c | 18 int make_swapfile(const char *swapfile, int safe) in make_swapfile() argument 24 if (tst_fill_file(swapfile, 0, sysconf(_SC_PAGESIZE), 10) != 0) in make_swapfile() 25 tst_brk(TBROK, "Failed to create swapfile"); in make_swapfile() 27 /* make the file swapfile */ in make_swapfile() 30 argv[1] = swapfile; in make_swapfile() 57 tst_brk(TCONF, "Swapfile on %s not implemented", fstype); in is_swap_supported()
|
| /external/ltp/testcases/kernel/syscalls/swapon/ |
| D | swapon01.c | 9 * Checks that swapon() succeds with swapfile. 24 tst_res(TFAIL | TTERRNO, "Failed to turn on swapfile"); in verify_swapon() 26 tst_res(TPASS, "Succeeded to turn on swapfile"); in verify_swapon() 29 tst_brk(TBROK | TERRNO, "Failed to turn off swapfile," in verify_swapon()
|
| D | swapon03.c | 151 if (sprintf(filename, "swapfile%02d", j + 2) < 0) { in setup_swap() 157 /* Create the swapfile */ in setup_swap() 167 printf("Failed to create swapfile: %s\n", filename); in setup_swap() 196 "swapfile%02d", j + 2) < 0) { in clean_swap()
|
| /external/ltp/testcases/commands/mkswap/ |
| D | mkswap01.sh | 41 local swapfile="$3" 56 swapon $swapfile 2>/dev/null 59 tst_res TINFO "Can not do swapon on $swapfile." 94 swapoff $swapfile 2>/dev/null 96 tst_res TWARN "Can not do swapoff on $swapfile."
|
| /external/ltp/testcases/kernel/syscalls/swapoff/ |
| D | swapoff01.c | 31 tst_res(TFAIL | TTERRNO, "Failed to turn off swapfile," in verify_swapoff() 35 tst_res(TPASS, "Succeeded to turn off swapfile"); in verify_swapoff() 51 tst_brk(TBROK, "Failed to make swapfile"); in setup()
|
| D | swapoff02.c | 91 tst_brk(TBROK, "Failed to create swapfile"); in setup()
|
| /external/ltp/testcases/kernel/syscalls/copy_file_range/ |
| D | copy_file_range02.c | 22 * 7) Try to copy contents to a swapfile ->ETXTBSY 124 tst_res(TCONF, "filesystem doesn't support swapfile, skip it"); in verify_copy_file_range() 238 tst_res(TCONF, "Failed to create swapfile"); in setup()
|
| /external/ltp/include/ |
| D | libswap.h | 17 int make_swapfile(const char *swapfile, int safe);
|
| /external/oss-fuzz/.github/workflows/ |
| D | project_tests.yml | 59 sudo rm -f /swapfile
|
| /external/openthread/src/posix/platform/ |
| D | settings.cpp | 139 char swapFile[kMaxFileNameSize]; in swapPersist() local 142 getSettingsFileName(aInstance, swapFile, true); in swapPersist() 147 VerifyOrDie(0 == rename(swapFile, dataFile), OT_EXIT_ERROR_ERRNO); in swapPersist()
|
| /external/rust/crates/libc/src/unix/bsd/freebsdlike/ |
| D | mod.rs | 1816 swapfile: *const ::c_char, in kvm_open() 1831 swapfile: *const ::c_char, in kvm_openfiles()
|
| /external/cpuinfo/test/dmesg/ |
| D | lenovo-a6600-plus.log | 1220 [ 6.096871] (2)[430:tiny_swapon][name:swapfile&]Adding 993704k swap on /dev/block/zram0. Prior…
|
| D | blu-r1-hd.log | 2759 [ 9.771738] (2)[301:tiny_swapon][name:swapfile&]Adding 262140k swap on /dev/block/zram0. Prior…
|