/Linux-v4.19/Documentation/power/ |
D | swsusp-and-swap-files.txt | 1 Using swap files with software suspend (swsusp) 4 The Linux kernel handles swap files almost in the same way as it handles swap 5 partitions and there are only two differences between these two types of swap 7 (1) swap files need not be contiguous, 8 (2) the header of a swap file is not in the first block of the partition that 10 already taken care of by the swap-handling code, but (2) has to be taken into 13 In principle the location of a swap file's header may be determined with the 15 filesystem holding the swap file to be mounted, and if this filesystem is 17 identify a swap file swsusp uses the name of the partition that holds the file 18 and the offset from the beginning of the partition at which the swap file's [all …]
|
D | swsusp.txt | 44 . If you would like to write hibernation image to swap and then suspend 92 powerdowns. You must explicitly specify the swap partition to resume from with 164 encryption) and arbitrary backends for writing the image (eg to swap 197 * SUSPEND all but swap device and parents 200 * SUSPEND swap device and parents 203 Oh no, that does not work, if swap device or its parents uses DMA, 206 * SUSPEND all but swap device and parents 207 * FREEZE swap device and parents 209 * UNFREEZE swap device and parents 211 * SUSPEND swap device and parents [all …]
|
D | swsusp-dmcrypt.txt | 15 the swap device(s) and the boot partition which may contain a mini 19 At this point you want to encrypt your swap, too. Still you want to 25 swap device. 28 a way that the swap device you suspend to/resume from has 31 to always set up this swap device first with dmsetup, so that 54 card contains at least the encrypted swap setup in a file 65 initrd that allows you to resume from encrypted swap and that 124 pcmcia flash disk. If this succeeds we need to reset the swap 131 Otherwise we just remove the encrypted swap device and leave it to the
|
/Linux-v4.19/Documentation/vm/ |
D | swap_numa.rst | 4 Automatically bind swap device to numa node 7 If the system has more than one swap device and swap device has the node 8 information, we can make use of this information to decide which swap 17 for swap devices. e.g. on a 2 node machine, assume 2 swap devices swapA and 24 Then node 0 will use the two swap devices in the order of swapA then swapB and 25 node 1 will use the two swap devices in the order of swapB then swapA. Note 28 A more complex example on a 4 node machine. Assume 6 swap devices are going to 31 The way to swap them on is the same as above:: 44 swapA and swapB will be used in a round robin mode before any other swap device. 55 other swap devices. [all …]
|
D | frontswap.rst | 7 Frontswap provides a "transcendent memory" interface for swap pages. 9 swapped pages are saved in RAM (or a RAM-like device) instead of a swap disk. 20 a "backing" store for a swap device. The storage is assumed to be 31 with the specified swap device number (aka "type"). A "store" will 37 associated with the swap type (e.g., like swapoff) and notify the "device" 38 to refuse further stores with that swap type. 42 to swap out a page, it first attempts to use frontswap. If the store returns 46 page can be written to swap as usual. 50 in swap device writes is lost (and also a non-trivial performance advantage) 61 frontswap can be measured (across all swap devices) with: [all …]
|
D | zswap.rst | 10 Zswap is a lightweight compressed cache for swap pages. It takes pages that are 13 for potentially reduced swap I/O. This trade-off can also result in a 15 faster than reads from a swap device. 28 dramatically reduce their swap I/O pressure, avoiding heavy handed I/O 31 * Users with SSDs as swap devices can extend the life of the device by 34 Zswap evicts pages from compressed cache on an LRU basis to the backing swap 51 pages out of the compressed pool, a swapoff on the swap device(s) will 60 the backing swap device in the case that the compressed pool is full. 80 When a swap page is passed from frontswap to zswap, zswap maintains a mapping 81 of the swap entry, a combination of the swap type and swap offset, to the zpool [all …]
|
/Linux-v4.19/arch/arm/vdso/ |
D | vdsomunge.c | 114 static Elf32_Word read_elf_word(Elf32_Word word, bool swap) in read_elf_word() argument 116 return swap ? swab32(word) : word; in read_elf_word() 119 static Elf32_Half read_elf_half(Elf32_Half half, bool swap) in read_elf_half() argument 121 return swap ? swab16(half) : half; in read_elf_half() 124 static void write_elf_word(Elf32_Word val, Elf32_Word *dst, bool swap) in write_elf_word() argument 126 *dst = swap ? swab32(val) : val; in write_elf_word() 138 bool swap; in main() local 172 swap = inhdr->e_ident[EI_DATA] != HOST_ORDER; in main() 174 if (read_elf_half(inhdr->e_type, swap) != ET_DYN) in main() 177 if (read_elf_half(inhdr->e_machine, swap) != EM_ARM) in main() [all …]
|
/Linux-v4.19/Documentation/ABI/testing/ |
D | sysfs-kernel-mm-swap | 1 What: /sys/kernel/mm/swap/ 6 What: /sys/kernel/mm/swap/vma_ra_enabled 9 Description: Enable/disable VMA based swap readahead. 11 If set to true, the VMA based swap readahead algorithm 13 VMA, and the global swap readahead algorithm will be 15 false, the global swap readahead algorithm will be
|
/Linux-v4.19/include/linux/mtd/ |
D | cfi_endian.h | 43 #define cpu_to_cfi16(map, x) _cpu_to_cfi(16, (map)->swap, (x)) 44 #define cpu_to_cfi32(map, x) _cpu_to_cfi(32, (map)->swap, (x)) 45 #define cpu_to_cfi64(map, x) _cpu_to_cfi(64, (map)->swap, (x)) 46 #define cfi16_to_cpu(map, x) _cfi_to_cpu(16, (map)->swap, (x)) 47 #define cfi32_to_cpu(map, x) _cfi_to_cpu(32, (map)->swap, (x)) 48 #define cfi64_to_cpu(map, x) _cfi_to_cpu(64, (map)->swap, (x))
|
/Linux-v4.19/kernel/power/ |
D | user.c | 37 int swap; member 73 data->swap = swsusp_resume_device ? in snapshot_open() 87 data->swap = -1; in snapshot_open() 120 free_all_swap_pages(data->swap); in snapshot_release() 311 size = count_swap_pages(data->swap, 1); in snapshot_ioctl() 317 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl() 321 offset = alloc_swapdev_block(data->swap); in snapshot_ioctl() 331 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl() 335 free_all_swap_pages(data->swap); in snapshot_ioctl() 381 data->swap = swap_type_of(swdev, offset, NULL); in snapshot_ioctl() [all …]
|
/Linux-v4.19/sound/firewire/bebob/ |
D | bebob_focusrite.c | 248 swap(buf[1], buf[3]); in saffire_meter_get() 249 swap(buf[2], buf[3]); in saffire_meter_get() 250 swap(buf[3], buf[4]); in saffire_meter_get() 252 swap(buf[7], buf[10]); in saffire_meter_get() 253 swap(buf[8], buf[10]); in saffire_meter_get() 254 swap(buf[9], buf[11]); in saffire_meter_get() 255 swap(buf[11], buf[12]); in saffire_meter_get() 257 swap(buf[15], buf[16]); in saffire_meter_get()
|
/Linux-v4.19/arch/m68k/ifpsp060/src/ |
D | ilsp.S | 299 swap %d5 # same as r*b if previous step rqd 300 swap %d6 # get u3 to lsw position 306 swap %d6 # get u4 311 swap %d1 314 swap %d5 # now remainder 344 swap %d2 345 swap %d3 363 swap %d6 # in lsw position 367 swap %d3 372 swap %d4 [all …]
|
/Linux-v4.19/drivers/video/fbdev/ |
D | pxa168fb.h | 236 #define CFG_GRA_SWAPRB(swap) ((swap) << 12) argument 238 #define CFG_GRA_SWAPUV(swap) ((swap) << 11) argument 240 #define CFG_GRA_SWAPYU(swap) ((swap) << 10) argument 253 #define CFG_DMA_SWAPRB(swap) ((swap) << 4) argument 255 #define CFG_DMA_SWAPUV(swap) ((swap) << 3) argument 257 #define CFG_DMA_SWAPYU(swap) ((swap) << 2) argument
|
/Linux-v4.19/drivers/ata/ |
D | pata_falcon.c | 52 bool swap = 1; in pata_falcon_data_xfer() local 56 swap = 0; in pata_falcon_data_xfer() 60 if (swap) in pata_falcon_data_xfer() 65 if (swap) in pata_falcon_data_xfer() 79 if (swap) in pata_falcon_data_xfer() 86 if (swap) in pata_falcon_data_xfer()
|
/Linux-v4.19/drivers/staging/wlan-ng/ |
D | p80211wep.c | 183 swap(i, j); in wep_decrypt() 193 swap(i, j); in wep_decrypt() 208 swap(i, j); in wep_decrypt() 256 swap(i, j); in wep_encrypt() 267 swap(i, j); in wep_encrypt() 281 swap(i, j); in wep_encrypt()
|
/Linux-v4.19/arch/m68k/math-emu/ |
D | fp_move.S | 49 swap %d1 | one can be trashed below 83 swap %d1 99 swap %d2 111 swap %d2 122 swap %d2 130 swap %d2 191 swap %d2
|
D | fp_cond.S | 63 swap %d0 68 swap %d0 83 swap %d1 | test condition in %d1 103 swap %d1 118 swap %d1 120 swap %d1 165 swap %d1
|
/Linux-v4.19/arch/nds32/kernel/ |
D | module.c | 31 unsigned int partial_in_place, unsigned int swap) in do_reloc16() argument 38 "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) in do_reloc16() 54 "r"(loc), "r"(swap) in do_reloc16() 60 unsigned int partial_in_place, unsigned int swap) in do_reloc32() argument 68 "1:\n":"=r"(tmp):"0"(tmp), "r"(loc), "r"(swap) in do_reloc32() 85 "r"(loc), "r"(swap) in do_reloc32()
|
/Linux-v4.19/arch/sh/lib/ |
D | udivsi3_i4i-Os.S | 52 swap.w r4,r0 68 swap.w r4,r4 74 swap.w r0,r0 124 swap.w r4,r0 136 swap.w r4,r0
|
D | strlen.S | 51 swap.b r1,r1 52 swap.w r1,r1 53 swap.b r1,r1
|
/Linux-v4.19/drivers/gpu/drm/tinydrm/core/ |
D | tinydrm-pipe.c | 147 swap(mode->hdisplay, mode->vdisplay); in tinydrm_rotate_mode() 148 swap(mode->hsync_start, mode->vsync_start); in tinydrm_rotate_mode() 149 swap(mode->hsync_end, mode->vsync_end); in tinydrm_rotate_mode() 150 swap(mode->htotal, mode->vtotal); in tinydrm_rotate_mode() 151 swap(mode->width_mm, mode->height_mm); in tinydrm_rotate_mode()
|
/Linux-v4.19/drivers/staging/vt6655/ |
D | card.c | 684 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF() 693 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF() 702 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF() 711 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
|
/Linux-v4.19/drivers/gpu/drm/tegra/ |
D | plane.c | 58 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state() 125 int tegra_plane_format(u32 fourcc, u32 *format, u32 *swap) in tegra_plane_format() argument 128 if (swap) in tegra_plane_format() 129 *swap = BYTE_SWAP_NOSWAP; in tegra_plane_format() 209 if (!swap) in tegra_plane_format() 213 *swap = BYTE_SWAP_SWAP2; in tegra_plane_format()
|
/Linux-v4.19/Documentation/cgroup-v1/ |
D | memcg_test.txt | 36 Called when swp_entry's refcnt goes down to 0. A charge against swap 59 At swap-in, the page is taken from swap-cache. There are 2 cases. 66 At swap-out, typical state transition is below. 68 (a) add to swap cache. (marked as SwapCache) 72 (c) write back to swap. 73 (d) delete from swap cache. (remove from SwapCache) 97 - Both on radix-tree and SwapCache. This happens at swap-in 98 and swap-out, 207 Besides management of swap is one of complicated parts of memcg, 208 call path of swap-in at swapoff is not same as usual swap-in path.. [all …]
|
/Linux-v4.19/tools/lib/traceevent/ |
D | kbuffer-parse.c | 91 unsigned long long swap; in __read_8_sw() local 93 swap = ((data & 0xffULL) << 56) | in __read_8_sw() 102 return swap; in __read_8_sw() 115 unsigned int swap; in __read_4_sw() local 117 swap = ((data & 0xffULL) << 24) | in __read_4_sw() 122 return swap; in __read_4_sw() 417 void *kbuffer_translate_data(int swap, void *data, unsigned int *size) in kbuffer_translate_data() argument 425 if (swap) { in kbuffer_translate_data()
|