Home
last modified time | relevance | path

Searched refs:swap (Results 1 – 200 of 348) sorted by relevance

12

/linux-4.4.14/Documentation/power/
Dswsusp-and-swap-files.txt1 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 …]
Dswsusp.txt36 . If you would like to write hibernation image to swap and then suspend
84 powerdowns. You must explicitly specify the swap partition to resume from with
156 encryption) and arbitrary backends for writing the image (eg to swap
189 * SUSPEND all but swap device and parents
192 * SUSPEND swap device and parents
195 Oh no, that does not work, if swap device or its parents uses DMA,
198 * SUSPEND all but swap device and parents
199 * FREEZE swap device and parents
201 * UNFREEZE swap device and parents
203 * SUSPEND swap device and parents
[all …]
Dswsusp-dmcrypt.txt15 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
Duserland-swsusp.txt63 SNAPSHOT_AVAIL_SWAP_SIZE - return the amount of available swap in bytes (the
67 SNAPSHOT_ALLOC_SWAP_PAGE - allocate a swap page from the resume partition
69 will contain the swap page offset if the call is successful)
71 SNAPSHOT_FREE_SWAP_PAGES - free all swap pages allocated by
75 units) from the beginning of the partition at which the swap header is
78 containing the resume device specification and the offset); for swap
80 swap files (see Documentation/power/swsusp-and-swap-files.txt for
110 and all swap pages allocated with SNAPSHOT_ALLOC_SWAP_PAGE (if any).
117 snapshot image from/to the kernel will use a swap partition, called the resume
118 partition, or a swap file as storage space (if a swap file is used, the resume
D00-INDEX35 swsusp-and-swap-files.txt
36 - Using swap files with software suspend (to disk)
Dstates.txt99 to write memory contents to free swap space. swsusp has some restrictive
/linux-4.4.14/arch/arm/vdso/
Dvdsomunge.c114 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-4.4.14/drivers/net/wireless/ath/ath10k/
Dswap.c145 if (!ar->swap.firmware_swap_code_seg_info) in ath10k_swap_code_seg_configure()
149 seg_info = ar->swap.firmware_swap_code_seg_info; in ath10k_swap_code_seg_configure()
173 ath10k_swap_code_seg_free(ar, ar->swap.firmware_swap_code_seg_info); in ath10k_swap_code_seg_release()
174 ar->swap.firmware_codeswap_data = NULL; in ath10k_swap_code_seg_release()
175 ar->swap.firmware_codeswap_len = 0; in ath10k_swap_code_seg_release()
176 ar->swap.firmware_swap_code_seg_info = NULL; in ath10k_swap_code_seg_release()
184 if (!ar->swap.firmware_codeswap_len || !ar->swap.firmware_codeswap_data) in ath10k_swap_code_seg_init()
188 ar->swap.firmware_codeswap_len); in ath10k_swap_code_seg_init()
195 ar->swap.firmware_codeswap_data, in ath10k_swap_code_seg_init()
196 ar->swap.firmware_codeswap_len); in ath10k_swap_code_seg_init()
[all …]
DMakefile15 swap.o
Dcore.h693 } swap; member
/linux-4.4.14/Documentation/vm/
Dfrontswap.txt1 Frontswap provides a "transcendent memory" interface for swap pages.
3 swapped pages are saved in RAM (or a RAM-like device) instead of a swap disk.
13 a "backing" store for a swap device. The storage is assumed to be
24 with the specified swap device number (aka "type"). A "store" will
30 associated with the swap type (e.g., like swapoff) and notify the "device"
31 to refuse further stores with that swap type.
35 to swap out a page, it first attempts to use frontswap. If the store returns
39 page can be written to swap as usual.
43 in swap device writes is lost (and also a non-trivial performance advantage)
54 frontswap can be measured (across all swap devices) with:
[all …]
Dzswap.txt3 Zswap is a lightweight compressed cache for swap pages. It takes pages that are
6 for potentially reduced swap I/O.  This trade-off can also result in a
8 faster than reads from a swap device.
19     dramatically reduce their swap I/O pressure, avoiding heavy handed I/O
22 * Users with SSDs as swap devices can extend the life of the device by
25 Zswap evicts pages from compressed cache on an LRU basis to the backing swap
42 pages out of the compressed pool, a swapoff on the swap device(s) will
50 the backing swap device in the case that the compressed pool is full.
70 When a swap page is passed from frontswap to zswap, zswap maintains a mapping
71 of the swap entry, a combination of the swap type and swap offset, to the zpool
[all …]
Dpagemap.txt16 * Bits 0-4 swap type if swapped
17 * Bits 5-54 swap offset if swapped
30 If the page is not present but in swap, then the PFN contains an
31 encoding of the swap file number and the page's offset into the
32 swap. Unmapped pages return a null PFN. This allows determining
33 precisely which pages are mapped (or in swap) and comparing mapped
148 13. SWAPCACHE page is mapped to swap space, ie. has an associated swap entry
149 14. SWAPBACKED page is backed by swap/RAM
Dovercommit-accounting6 overcommit to reduce swap usage. root is allowed to
16 for the system is not permitted to exceed swap + a
52 SHARED or READ-only - 0 cost (the file is the map not swap)
D00-INDEX42 - Intro to compressed cache for swap pages
Didle_page_tracking.txt28 process address space, page cache and buffer pages, swap cache pages. For other
76 When a dirty page is written to swap or disk as a result of memory reclaim or
/linux-4.4.14/net/tipc/
Dsubscr.c65 static u32 htohl(u32 in, int swap) in htohl() argument
67 return swap ? swab32(in) : in; in htohl()
80 sub->evt.event = htohl(event, sub->swap); in tipc_subscrp_send_event()
81 sub->evt.found_lower = htohl(found_lower, sub->swap); in tipc_subscrp_send_event()
82 sub->evt.found_upper = htohl(found_upper, sub->swap); in tipc_subscrp_send_event()
83 sub->evt.port.ref = htohl(port_ref, sub->swap); in tipc_subscrp_send_event()
84 sub->evt.port.node = htohl(node, sub->swap); in tipc_subscrp_send_event()
225 int swap; in tipc_subscrp_create() local
228 swap = !(s->filter & (TIPC_SUB_PORTS | TIPC_SUB_SERVICE)); in tipc_subscrp_create()
231 if (s->filter & htohl(TIPC_SUB_CANCEL, swap)) { in tipc_subscrp_create()
[all …]
Dsubscr.h71 int swap; member
/linux-4.4.14/kernel/power/
Duser.c37 int swap; member
73 data->swap = swsusp_resume_device ? in snapshot_open()
87 data->swap = -1; in snapshot_open()
118 free_all_swap_pages(data->swap); in snapshot_release()
304 size = count_swap_pages(data->swap, 1); in snapshot_ioctl()
310 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
314 offset = alloc_swapdev_block(data->swap); in snapshot_ioctl()
324 if (data->swap < 0 || data->swap >= MAX_SWAPFILES) { in snapshot_ioctl()
328 free_all_swap_pages(data->swap); in snapshot_ioctl()
374 data->swap = swap_type_of(swdev, offset, NULL); in snapshot_ioctl()
[all …]
Dpower.h144 extern sector_t alloc_swapdev_block(int swap);
145 extern void free_all_swap_pages(int swap);
DMakefile10 obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o user.o
DKconfig59 It creates an image which is saved in your active swap. Upon the next
65 need to run mkswap against the swap partition used for the suspend.
67 It also works with swap files to a limited extent (for details see
68 <file:Documentation/power/swsusp-and-swap-files.txt>).
71 meantime you cannot use the swap partition(s)/file(s) involved in
91 It should be a valid swap partition (at least for now) that is turned
101 suspended image to. It will simply pick the first available swap
Dswap.c168 sector_t alloc_swapdev_block(int swap) in alloc_swapdev_block() argument
172 offset = swp_offset(get_swap_page_of_type(swap)); in alloc_swapdev_block()
175 swap_free(swp_entry(swap, offset)); in alloc_swapdev_block()
177 return swapdev_block(swap, offset); in alloc_swapdev_block()
188 void free_all_swap_pages(int swap) in free_all_swap_pages() argument
199 swap_free(swp_entry(swap, offset)); in free_all_swap_pages()
/linux-4.4.14/include/linux/mtd/
Dcfi_endian.h43 #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))
Dmap.h217 int swap; /* this mapping's byte-swapping requirement */ member
/linux-4.4.14/sound/firewire/bebob/
Dbebob_focusrite.c248 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()
Dbebob_maudio.c707 swap(buf[4], buf[6]); in normal_meter_get()
708 swap(buf[5], buf[7]); in normal_meter_get()
/linux-4.4.14/drivers/video/fbdev/
Dpxa168fb.h235 #define CFG_GRA_SWAPRB(swap) ((swap) << 12) argument
237 #define CFG_GRA_SWAPUV(swap) ((swap) << 11) argument
239 #define CFG_GRA_SWAPYU(swap) ((swap) << 10) argument
252 #define CFG_DMA_SWAPRB(swap) ((swap) << 4) argument
254 #define CFG_DMA_SWAPUV(swap) ((swap) << 3) argument
256 #define CFG_DMA_SWAPYU(swap) ((swap) << 2) argument
/linux-4.4.14/arch/m68k/ifpsp060/src/
Dilsp.S299 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-4.4.14/drivers/staging/wlan-ng/
Dp80211wep.c186 swap(i, j); in wep_decrypt()
195 swap(i, j); in wep_decrypt()
210 swap(i, j); in wep_decrypt()
258 swap(i, j); in wep_encrypt()
268 swap(i, j); in wep_encrypt()
282 swap(i, j); in wep_encrypt()
/linux-4.4.14/arch/m68k/math-emu/
Dfp_move.S49 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
Dfp_cond.S63 swap %d0
68 swap %d0
83 swap %d1 | test condition in %d1
103 swap %d1
118 swap %d1
120 swap %d1
165 swap %d1
Dfp_movem.S59 swap %d1
132 swap %d1 | get fpu register list
208 swap %d1
306 swap %d1
319 swap %d1 | get fpu register list
Dfp_decode.h343 swap %d2
402 swap %d2
Dfp_scan.S111 swap %d1 | one can be trashed below
244 swap %d1
Dfp_util.S105 1: swap %d1
/linux-4.4.14/arch/sh/lib/
Dudivsi3_i4i-Os.S52 swap.w r4,r0
68 swap.w r4,r4
74 swap.w r0,r0
124 swap.w r4,r0
136 swap.w r4,r0
Dstrlen.S50 swap.b r1,r1
51 swap.w r1,r1
52 swap.b r1,r1
Dudivsi3.S54 swap.w r4,r0
63 swap.w r4,r4
68 swap.w r0,r0
Dmemset.S33 swap.b r5,r0 ! V0
35 swap.w r5,r0 ! VV00
Dudiv_qrnnd.S58 swap.w r0,r0
72 swap.w r4,r1
Dmemset-sh4.S31 swap.b r5,r0 ! V0
33 swap.w r5,r0 ! VV00
Dudivsi3_i4i.S218 swap.w r0,r0
227 mov.l @r15+,r4 ! zero-extension and swap using LS unit.
278 swap.w r0,r0
287 mov.l @r15+,r4 ! zero-extension and swap using LS unit.
Dcopy_page.S298 swap.w r10,r0
346 swap.w r0,r7
/linux-4.4.14/drivers/staging/vt6655/
Dcard.c690 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
699 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
708 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
717 swap(phy.swap[0], phy.swap[1]); in CARDvSetRSPINF()
Ddesc.h259 u16 swap[2]; member
/linux-4.4.14/Documentation/cgroups/
Dmemcg_test.txt36 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 …]
Dmemory.txt41 - accounting anonymous pages, file caches, swap caches usage and limiting them.
43 - optionally, memory+swap usage can be accounted and limited.
186 causing page fault. So, we avoid accounting at swap-in I/O.
211 Swap Extension allows you to record charge for swap. A swapped-in page is
214 When swap is accounted, following files are added.
218 memsw means memory+swap. Usage of memory+swap is limited by
221 Example: Assume a system with 4G of swap. A task which allocates 6G of memory
222 (by mistake) under 2G memory limitation will use all swap.
223 In this case, setting memsw.limit_in_bytes=3G will prevent bad use of swap.
224 By using the memsw limit, you can avoid system OOM which can be caused by swap
[all …]
/linux-4.4.14/tools/lib/traceevent/
Dkbuffer-parse.c106 unsigned long long swap; in __read_8_sw() local
108 swap = ((data & 0xffULL) << 56) | in __read_8_sw()
117 return swap; in __read_8_sw()
130 unsigned int swap; in __read_4_sw() local
132 swap = ((data & 0xffULL) << 24) | in __read_4_sw()
137 return swap; in __read_4_sw()
431 void *kbuffer_translate_data(int swap, void *data, unsigned int *size) in kbuffer_translate_data() argument
439 if (swap) { in kbuffer_translate_data()
Devent-parse.h545 unsigned short swap; in __data2host2() local
550 swap = ((data & 0xffULL) << 8) | in __data2host2()
553 return swap; in __data2host2()
559 unsigned int swap; in __data2host4() local
564 swap = ((data & 0xffULL) << 24) | in __data2host4()
569 return swap; in __data2host4()
575 unsigned long long swap; in __data2host8() local
580 swap = ((data & 0xffULL) << 56) | in __data2host8()
589 return swap; in __data2host8()
Dkbuffer.h53 void *kbuffer_translate_data(int swap, void *data, unsigned int *size);
/linux-4.4.14/arch/m68k/lib/
Dudivsi3.S98 swap d2 define
101 swap d0 define
120 swap d2 define
122 swap d2 /* align high part with low part */ define
Dmulsi3.S98 swap d0 define
/linux-4.4.14/arch/m68k/fpsp040/
Dbinstr.S99 swap %d6 |put 0 in d6 lower word
109 swap %d6 |with d6 = 0; put 0 in upper word
116 swap %d7 |bring first digit to word d7b
120 swap %d7 |put LEN counter in word d7a
125 swap %d7 |put digit word in d7b
127 swap %d7 |put LEN counter in word d7a
130 swap %d7 |put last digit in string
Dgen_except.S78 swap %d1
82 swap %d1
197 swap %d1
201 swap %d1
309 swap %d1
313 swap %d1
Dround.S55 swap %d1 |set up d1.w for round prec.
81 swap %d1 |set up d1 for round prec.
106 swap %d1 |set up d1 for round prec.
116 swap %d1 |set up d1 for round prec.
134 | Notes: the ext_grs uses the round PREC, and therefore has to swap d1
138 swap %d1 |have d1.w point to round precision
175 swap %d1 |restore d1 to original
Dx_operr.S178 swap %d0
206 swap %d0
Dres_func.S889 swap %d1
913 swap %d1
939 swap %d1
1064 swap %d1
1088 swap %d1
1120 swap %d1
1906 swap %d1
1908 swap %d1 |at this point d1 has PREC/MODE info
Dx_store.S137 swap %d0 |d0 now in upper word
Dbindec.S387 swap %d5 |use upper word of d5 for LAMBDA
638 swap %d5 |put ICTR in lower word of d5
/linux-4.4.14/arch/x86/crypto/
Daesni-intel_avx-x86_64.S408 vpshufb SHUF_MASK(%rip), reg_i, reg_i # perform a 16Byte swap
488 vpshufb SHUF_MASK(%rip), \XMM1, \XMM1 # perform a 16Byte swap
492 vpshufb SHUF_MASK(%rip), \XMM2, \XMM2 # perform a 16Byte swap
496 vpshufb SHUF_MASK(%rip), \XMM3, \XMM3 # perform a 16Byte swap
500 vpshufb SHUF_MASK(%rip), \XMM4, \XMM4 # perform a 16Byte swap
504 vpshufb SHUF_MASK(%rip), \XMM5, \XMM5 # perform a 16Byte swap
508 vpshufb SHUF_MASK(%rip), \XMM6, \XMM6 # perform a 16Byte swap
512 vpshufb SHUF_MASK(%rip), \XMM7, \XMM7 # perform a 16Byte swap
516 vpshufb SHUF_MASK(%rip), \XMM8, \XMM8 # perform a 16Byte swap
613 vpshufb SHUF_MASK(%rip), \XMM1, \XMM1 # perform a 16Byte swap
[all …]
Daesni-intel_asm.S270 PSHUFB_XMM %xmm14, %xmm\index # perform a 16 byte swap
333 PSHUFB_XMM %xmm14, \XMM1 # perform a 16 byte swap
337 PSHUFB_XMM %xmm14, \XMM2 # perform a 16 byte swap
341 PSHUFB_XMM %xmm14, \XMM3 # perform a 16 byte swap
345 PSHUFB_XMM %xmm14, \XMM4 # perform a 16 byte swap
427 PSHUFB_XMM %xmm14, \XMM1 # perform a 16 byte swap
430 PSHUFB_XMM %xmm14, \XMM2 # perform a 16 byte swap
431 PSHUFB_XMM %xmm14, \XMM3 # perform a 16 byte swap
432 PSHUFB_XMM %xmm14, \XMM4 # perform a 16 byte swap
492 PSHUFB_XMM %xmm14, %xmm\index # perform a 16 byte swap
[all …]
Dsha256-ssse3-asm.S66 # Load xmm with mem and byte swap each dword
391 ## byte swap first 16 dwords
Dsha256-avx-asm.S73 # Load xmm with mem and byte swap each dword
384 ## byte swap first 16 dwords
/linux-4.4.14/drivers/gpu/drm/nouveau/nvkm/engine/sec/fuc/
Dg98.fuc0s43 swap:
319 st b32 D[$r0 + #swap + 0x0] $r4
320 st b32 D[$r0 + #swap + 0x4] $r0
321 st b32 D[$r0 + #swap + 0x8] $r5
322 st b32 D[$r0 + #swap + 0xc] $r6
332 mov $r5 #swap
370 mov $r5 #swap
379 ld b32 $r4 D[$r0 + #swap + 4]
393 ld b32 $r5 D[$r0 + #swap + 0x00]
394 ld b32 $r6 D[$r0 + #swap + 0x10]
[all …]
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c557 enum drm_exynos_flip flip, bool *swap) in gsc_src_set_transf() argument
605 *swap = ctx->rotation; in gsc_src_set_transf()
610 static int gsc_src_set_size(struct device *dev, int swap, in gsc_src_set_size() argument
619 swap, pos->x, pos->y, pos->w, pos->h); in gsc_src_set_size()
621 if (swap) { in gsc_src_set_size()
828 enum drm_exynos_flip flip, bool *swap) in gsc_dst_set_transf() argument
876 *swap = ctx->rotation; in gsc_dst_set_transf()
1036 static int gsc_dst_set_size(struct device *dev, int swap, in gsc_dst_set_size() argument
1045 swap, pos->x, pos->y, pos->w, pos->h); in gsc_dst_set_size()
1047 if (swap) { in gsc_dst_set_size()
[all …]
Dexynos_drm_rotator.c236 static int rotator_src_set_size(struct device *dev, int swap, in rotator_src_set_size() argument
324 enum drm_exynos_flip flip, bool *swap) in rotator_dst_set_transf() argument
367 *swap = true; in rotator_dst_set_transf()
369 *swap = false; in rotator_dst_set_transf()
374 static int rotator_dst_set_size(struct device *dev, int swap, in rotator_dst_set_size() argument
525 bool swap = false; in rotator_ippdrv_check_property() local
547 swap = true; in rotator_ippdrv_check_property()
574 if (swap) { in rotator_ippdrv_check_property()
Dexynos_drm_fimc.c534 enum drm_exynos_flip flip, bool *swap) in fimc_src_set_transf() argument
587 *swap = (cfg2 & EXYNOS_CITRGFMT_INROT90_CLOCKWISE) ? 1 : 0; in fimc_src_set_transf()
626 static int fimc_src_set_size(struct device *dev, int swap, in fimc_src_set_size() argument
635 swap, sz->hsize, sz->vsize); in fimc_src_set_size()
645 if (swap) { in fimc_src_set_size()
888 enum drm_exynos_flip flip, bool *swap) in fimc_dst_set_transf() argument
937 *swap = (cfg & EXYNOS_CITRGFMT_OUTROT90_CLOCKWISE) ? 1 : 0; in fimc_dst_set_transf()
1049 static int fimc_dst_set_size(struct device *dev, int swap, in fimc_dst_set_size() argument
1058 swap, sz->hsize, sz->vsize); in fimc_dst_set_size()
1079 if (swap) { in fimc_dst_set_size()
[all …]
Dexynos_drm_ipp.h130 enum drm_exynos_flip flip, bool *swap);
131 int (*set_size)(struct device *dev, int swap,
Dexynos_drm_ipp.c1148 bool swap = false; in ipp_set_property() local
1185 config->flip, &swap); in ipp_set_property()
1192 ret = ops->set_size(ippdrv->dev, swap, &config->pos, in ipp_set_property()
/linux-4.4.14/drivers/staging/vt6656/
Dmac.c134 swap(set_key.u.swap[0], set_key.u.swap[1]); in vnt_mac_set_keyentry()
Dmac.h366 u32 swap[2]; member
/linux-4.4.14/arch/powerpc/platforms/powermac/
Dpci.c274 u8 devfn, u8 offset, int *swap) in u3_ht_cfg_access() argument
276 *swap = 1; in u3_ht_cfg_access()
280 *swap = 0; in u3_ht_cfg_access()
291 int swap; in u3_ht_read_config() local
298 addr = u3_ht_cfg_access(hose, bus->number, devfn, offset, &swap); in u3_ht_read_config()
328 *val = swap ? in_le16(addr) : in_be16(addr); in u3_ht_read_config()
331 *val = swap ? in_le32(addr) : in_be32(addr); in u3_ht_read_config()
342 int swap; in u3_ht_write_config() local
349 addr = u3_ht_cfg_access(hose, bus->number, devfn, offset, &swap); in u3_ht_write_config()
371 swap ? out_le16(addr, val) : out_be16(addr, val); in u3_ht_write_config()
[all …]
/linux-4.4.14/mm/
Dshmem.c281 pgoff_t index, swp_entry_t swap) in shmem_confirm_swap() argument
288 return item == swp_to_radix_entry(swap); in shmem_confirm_swap()
635 swp_entry_t swap, struct page **pagep) in shmem_unuse_inode() argument
643 radswap = swp_to_radix_entry(swap); in shmem_unuse_inode()
703 swap_free(swap); in shmem_unuse_inode()
712 int shmem_unuse(swp_entry_t swap, struct page *page) in shmem_unuse() argument
723 if (unlikely(!PageSwapCache(page) || page_private(page) != swap.val)) in shmem_unuse()
741 error = shmem_unuse_inode(info, swap, &page); in shmem_unuse()
771 swp_entry_t swap; in shmem_writepage() local
828 swap = get_swap_page(); in shmem_writepage()
[all …]
Dmadvise.c195 swp_entry_t swap; in force_shm_swapin_readahead() local
206 swap = radix_to_swp_entry(page); in force_shm_swapin_readahead()
207 page = read_swap_cache_async(swap, GFP_HIGHUSER_MOVABLE, in force_shm_swapin_readahead()
DKconfig463 bool "Enable frontswap to cache swap pages if tmem is present"
468 of a "backing" store for a swap device. The data is stored into
472 a significant swap I/O reduction may be achieved. When none is
475 and swap data is stored as normal on the matching swap device.
533 bool "Compressed cache for swap pages (EXPERIMENTAL)"
539 A lightweight compressed cache for swap pages. It takes
542 This can result in a significant I/O reduction on swap device and,
543 in the case where decompressing from RAM is faster that swap device
Dswapfile.c2015 static void *swap_start(struct seq_file *swap, loff_t *pos) in swap_start() argument
2038 static void *swap_next(struct seq_file *swap, void *v, loff_t *pos) in swap_next() argument
2060 static void swap_stop(struct seq_file *swap, void *v) in swap_stop() argument
2065 static int swap_show(struct seq_file *swap, void *v) in swap_show() argument
2072 seq_puts(swap,"Filename\t\t\t\tType\t\tSize\tUsed\tPriority\n"); in swap_show()
2077 len = seq_file_path(swap, file, " \t\n\\"); in swap_show()
2078 seq_printf(swap, "%*s%s\t%u\t%u\t%d\n", in swap_show()
2734 swp_entry_t swap = { .val = page_private(page) }; in page_swap_info() local
2736 return swap_info[swp_type(swap)]; in page_swap_info()
2751 swp_entry_t swap = { .val = page_private(page) }; in __page_file_index() local
[all …]
DMakefile19 readahead.o swap.o truncate.o vmscan.o shmem.o \
/linux-4.4.14/drivers/video/fbdev/mmp/hw/
Dmmp_ctrl.h459 #define CFG_GRA_SWAPRB(swap) ((swap)<<12) argument
461 #define CFG_GRA_SWAPUV(swap) ((swap)<<11) argument
463 #define CFG_GRA_SWAPYU(swap) ((swap)<<10) argument
480 #define CFG_DMA_SWAPRB(swap) ((swap)<<4) argument
482 #define CFG_DMA_SWAPUV(swap) ((swap)<<3) argument
484 #define CFG_DMA_SWAPYU(swap) ((swap)<<2) argument
/linux-4.4.14/drivers/i2c/busses/
Di2c-puv3.c125 unsigned char swap; in puv3_i2c_xfer() local
162 swap = pmsg->buf[0]; in puv3_i2c_xfer()
164 pmsg->buf[1] = swap; in puv3_i2c_xfer()
/linux-4.4.14/tools/testing/selftests/zram/
DREADME9 use as swap disks, various caches under /var and maybe many more :)
27 zram02.sh: creates block device for swap
/linux-4.4.14/Documentation/filesystems/
Dtmpfs.txt9 shrinks to accommodate the files it contains and is able to swap
10 unneeded pages out to swap space. It has maximum size limits which can
17 cannot swap and you do not have the possibility to resize them.
19 Since tmpfs lives completely in the page cache and on swap, all tmpfs
22 RAM+swap use of a tmpfs instance with df(1) and du(1).
50 e.g. on /tmp and /var/tmp and have a big swap partition. And now
60 default is half of your physical RAM without swap. If you
Dproc.txt241 VmSwap size of swap usage (the number of referred swapents)
461 "Swap" shows how much would-be-anonymous memory is also used, but out on swap.
462 "SwapPss" shows proportional swap share of this mapping.
486 nr - swap space is not reserved for the area
893 SwapTotal: total amount of swap space available
917 overcommit_ratio / 100 + [total swap pages]
919 of swap with a `vm.overcommit_ratio` of 30 it would
1446 may allocate from based on an estimation of its current memory and swap use.
1451 and swap usage is discounted by 3% for root processes.
1458 limit (or swap limit) being reached, the allowed memory is that configured
/linux-4.4.14/kernel/sched/
Dcpudeadline.c38 swap(cp->elements[a].cpu, cp->elements[b].cpu); in cpudl_exchange()
39 swap(cp->elements[a].dl , cp->elements[b].dl ); in cpudl_exchange()
41 swap(cp->elements[cpu_a].idx, cp->elements[cpu_b].idx); in cpudl_exchange()
Dsched.h1589 swap(l1, l2); in double_lock()
1598 swap(l1, l2); in double_lock_irq()
1607 swap(l1, l2); in double_raw_lock()
/linux-4.4.14/drivers/net/fddi/skfp/
Dpmf.c561 const char *swap ; in smt_add_para() local
641 swap = NULL; in smt_add_para()
685 swap = "IIIIIIIIIIII" ; in smt_add_para()
689 swap = "I" ; in smt_add_para()
691 swap = "II" ; in smt_add_para()
694 swap = "IIIIIIIIIIIIIIIIIIIIIIII" ; in smt_add_para()
893 if (!swap) in smt_add_para()
894 swap = pt->p_swap ; /* pointer to swap string */ in smt_add_para()
899 while ((c = *swap++)) { in smt_add_para()
1084 const char *swap ; in smt_set_para() local
[all …]
/linux-4.4.14/arch/frv/include/asm/
Dio.h74 static inline void __outsl(unsigned int addr, const void *buf, int len, int swap) in __outsl() argument
78 if (!swap) in __outsl()
102 static inline void __insl(unsigned long addr, void *buf, int len, int swap) in __insl() argument
104 if (!swap) in __insl()
/linux-4.4.14/drivers/input/touchscreen/
Dmc13783_ts.c64 swap(a0, a1); \
66 swap(a1, a2); \
68 swap(a0, a1); \
/linux-4.4.14/net/netfilter/ipset/
Dip_set_hash_ipportnet.c93 swap(*flags, elem->nomatch); in hash_ipportnet4_data_reset_flags()
243 swap(ip, ip_to); in hash_ipportnet4_uadt()
256 swap(port, port_to); in hash_ipportnet4_uadt()
265 swap(ip2_from, ip2_to); in hash_ipportnet4_uadt()
342 swap(*flags, elem->nomatch); in hash_ipportnet6_data_reset_flags()
495 swap(port, port_to); in hash_ipportnet6_uadt()
Dip_set_hash_netport.c90 swap(*flags, elem->nomatch); in hash_netport4_data_reset_flags()
228 swap(port, port_to); in hash_netport4_uadt()
235 swap(ip, ip_to); in hash_netport4_uadt()
302 swap(*flags, elem->nomatch); in hash_netport6_data_reset_flags()
442 swap(port, port_to); in hash_netport6_uadt()
Dip_set_hash_netportnet.c89 swap(*flags, elem->nomatch); in hash_netportnet4_data_reset_flags()
264 swap(ip, ip_to); in hash_netportnet4_uadt()
275 swap(port, port_to); in hash_netportnet4_uadt()
284 swap(ip2_from, ip2_to); in hash_netportnet4_uadt()
364 swap(*flags, elem->nomatch); in hash_netportnet6_data_reset_flags()
539 swap(port, port_to); in hash_netportnet6_uadt()
Dip_set_hash_netnet.c82 swap(*flags, elem->nomatch); in hash_netnet4_data_reset_flags()
230 swap(ip, ip_to); in hash_netnet4_uadt()
243 swap(ip2_from, ip2_to); in hash_netnet4_uadt()
313 swap(*flags, elem->nomatch); in hash_netnet6_data_reset_flags()
Dip_set_hash_ipport.c163 swap(ip, ip_to); in hash_ipport4_uadt()
176 swap(port, port_to); in hash_ipport4_uadt()
324 swap(port, port_to); in hash_ipport6_uadt()
Dip_set_hash_net.c78 swap(*flags, elem->nomatch); in hash_net4_data_reset_flags()
190 swap(ip, ip_to); in hash_net4_uadt()
244 swap(*flags, elem->nomatch); in hash_net6_data_reset_flags()
Dip_set_hash_ipportip.c170 swap(ip, ip_to); in hash_ipportip4_uadt()
183 swap(port, port_to); in hash_ipportip4_uadt()
339 swap(port, port_to); in hash_ipportip6_uadt()
Dip_set_hash_netiface.c96 swap(*flags, elem->nomatch); in hash_netiface4_data_reset_flags()
251 swap(ip, ip_to); in hash_netiface4_uadt()
322 swap(*flags, elem->nomatch); in hash_netiface6_data_reset_flags()
Dip_set_hash_ipmark.c141 swap(ip, ip_to); in hash_ipmark4_uadt()
Dip_set_hash_ip.c140 swap(ip, ip_to); in hash_ip4_uadt()
Dip_set_bitmap_port.c162 swap(port, port_to); in bitmap_port_uadt()
Dip_set_bitmap_ip.c169 swap(ip, ip_to); in bitmap_ip_uadt()
/linux-4.4.14/drivers/md/bcache/
Dutil.h60 #define heap_swap(h, i, j) swap((h)->data[i], (h)->data[j])
227 swap((l)->front, (r)->front); \
228 swap((l)->back, (r)->back); \
229 swap((l)->size, (r)->size); \
230 swap((l)->mask, (r)->mask); \
231 swap((l)->data, (r)->data); \
Drequest.c1054 swap(bio->bi_iter.bi_size, bytes); in flash_dev_cache_miss()
1056 swap(bio->bi_iter.bi_size, bytes); in flash_dev_cache_miss()
/linux-4.4.14/include/linux/
Dsort.h8 void (*swap)(void *, void *, int));
/linux-4.4.14/include/uapi/linux/
Drds.h253 uint64_t swap; member
260 uint64_t swap; member
/linux-4.4.14/Documentation/ABI/obsolete/
Dsysfs-block-zram47 of swap slot free notifications or b) the number of pages freed
49 are sent to a swap block device when a swap slot is freed, which
50 implies that this disk is being used as a swap disk. The latter
/linux-4.4.14/lib/
Dgcd.c11 swap(a, b); in gcd()
/linux-4.4.14/Documentation/devicetree/bindings/mtd/
Dgpmi-nand.txt28 - fsl,no-blockmark-swap: Don't swap the bad block marker from the OOB
/linux-4.4.14/drivers/crypto/qce/
Dcommon.c182 u8 swap[QCE_AES_IV_LENGTH]; in qce_xts_swapiv() local
188 memset(swap, 0, QCE_AES_IV_LENGTH); in qce_xts_swapiv()
192 swap[i] = src[j]; in qce_xts_swapiv()
194 qce_cpu_to_be32p_array(dst, swap, QCE_AES_IV_LENGTH); in qce_xts_swapiv()
/linux-4.4.14/Documentation/ABI/testing/
Dsysfs-block-zram82 of swap slot free notifications or b) the number of pages freed
84 are sent to a swap block device when a swap slot is freed, which
85 implies that this disk is being used as a swap disk. The latter
/linux-4.4.14/arch/mn10300/mm/
Dtlb-mn10300.S63 # (might be a swap id)
126 # (might be a swap id)
/linux-4.4.14/drivers/gpu/drm/tegra/
Ddc.c67 u32 swap; member
125 static int tegra_dc_format(u32 fourcc, u32 *format, u32 *swap) in tegra_dc_format() argument
128 if (swap) in tegra_dc_format()
129 *swap = BYTE_SWAP_NOSWAP; in tegra_dc_format()
149 if (swap) in tegra_dc_format()
150 *swap = BYTE_SWAP_SWAP2; in tegra_dc_format()
263 tegra_dc_writel(dc, window->swap, DC_WIN_BYTE_SWAP); in tegra_dc_setup_window()
461 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state()
525 &plane_state->swap); in tegra_plane_atomic_check()
587 window.swap = state->swap; in tegra_plane_atomic_update()
Ddrm.h189 u32 swap; member
/linux-4.4.14/tools/build/feature/
DMakefile8 test-sync-compare-and-swap.bin \
155 test-sync-compare-and-swap.bin:
/linux-4.4.14/drivers/block/zram/
DKconfig13 It has several use cases, for example: /tmp storage, use as swap
/linux-4.4.14/Documentation/sysctl/
Dvm.txt17 files can be found in mm/swap.c.
307 applications are using mlock(), or if you are running with no swap then
399 the swap cache, but works for the majority of user pages.
613 permitted to exceed swap plus this amount of physical RAM. See below.
649 space is not permitted to exceed swap plus this percentage
657 are read in from swap in a single attempt. This is the swap counterpart
660 but consecutive on swap space - that means they were swapped out together.
664 Zero disables swap readahead completely.
668 swap-intensive.
730 This control is used to define how aggressive the kernel will swap
[all …]
/linux-4.4.14/Documentation/devicetree/bindings/input/
Dads7846.txt34 ti,swap-xy swap x and y axis
/linux-4.4.14/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_lcdc_encoder.c113 int bpp, nchan, swap; in setup_phy() local
125 swap = 0; in setup_phy()
247 if (swap) in setup_phy()
/linux-4.4.14/Documentation/virtual/kvm/devices/
Ds390_flic.txt60 __u8 swap;
66 and swap whether the indicators need to be byte swapped.
/linux-4.4.14/drivers/media/platform/vsp1/
Dvsp1_video.h42 unsigned int swap; member
Dvsp1_rpf.c143 vsp1_rpf_write(rpf, VI6_RPF_DSWAP, fmtinfo->swap); in rpf_s_stream()
Dvsp1_wpf.c144 vsp1_wpf_write(wpf, VI6_WPF_DSWAP, fmtinfo->swap); in wpf_s_stream()
/linux-4.4.14/arch/arm/boot/dts/
Domap3-panel-sharp-ls037v7dw01.dtsi68 ti,swap-xy;
/linux-4.4.14/drivers/gpu/drm/omapdrm/
DTODO7 have swap or harddrive.
Domap_fb.c202 swap(w, h); in omap_framebuffer_update_scanout()
/linux-4.4.14/Documentation/
Dbad_memory.txt10 1) Reinsert/swap the memory modules
Dvme_api.txt167 unsigned int mask, unsigned int compare, unsigned int swap,
172 the value of swap is written the specified offset.
/linux-4.4.14/arch/s390/include/uapi/asm/
Dkvm.h42 __u8 swap; member
/linux-4.4.14/net/ipv4/
Dtcp_offload.c160 swap(gso_skb->sk, skb->sk); in tcp_gso_segment()
161 swap(gso_skb->destructor, skb->destructor); in tcp_gso_segment()
/linux-4.4.14/net/rds/
Drdma.c798 rm->atomic.op_m_cswp.swap = args->cswp.swap; in rds_cmsg_atomic()
805 rm->atomic.op_m_cswp.swap = args->m_cswp.swap; in rds_cmsg_atomic()
Dib_send.c782 send->s_atomic_wr.swap = op->op_m_cswp.swap; in rds_ib_xmit_atomic()
788 send->s_atomic_wr.swap = 0; in rds_ib_xmit_atomic()
/linux-4.4.14/arch/arm/crypto/
Dsha1-armv4-large.S88 rev r9,r9 @ byte swap
113 rev r9,r9 @ byte swap
138 rev r9,r9 @ byte swap
163 rev r9,r9 @ byte swap
188 rev r9,r9 @ byte swap
216 rev r9,r9 @ byte swap
/linux-4.4.14/kernel/locking/
Dlglock.c69 swap(cpu1, cpu2); in lg_double_lock()
/linux-4.4.14/drivers/hid/
Dhid-cypress.c46 swap(rdesc[i + 3], rdesc[i + 1]); in cp_report_fixup()
Dhid-sony.c1291 swap(rd[41], rd[42]); in sony_raw_event()
1292 swap(rd[43], rd[44]); in sony_raw_event()
1293 swap(rd[45], rd[46]); in sony_raw_event()
1294 swap(rd[47], rd[48]); in sony_raw_event()
/linux-4.4.14/Documentation/devicetree/bindings/misc/
Difm-csi.txt17 - ifm,csi-byte-swap: if this property is present, the byte swapping on
/linux-4.4.14/net/core/
Dflow_dissector.c587 swap(keys->addrs.v4addrs.src, keys->addrs.v4addrs.dst); in __flow_hash_consistentify()
588 swap(keys->ports.src, keys->ports.dst); in __flow_hash_consistentify()
600 swap(keys->addrs.v6addrs.src.s6_addr32[i], in __flow_hash_consistentify()
602 swap(keys->ports.src, keys->ports.dst); in __flow_hash_consistentify()
Ddrop_monitor.c102 swap(data->skb, skb); in reset_per_cpu_data()
/linux-4.4.14/Documentation/trace/
Dring-buffer-design.txt106 it will swap its page with the head_page. The old reader page will
115 show the head page in the buffer, it is for demonstrating a swap
341 The reader cannot swap a page into the ring buffer if the commit page
388 But when a swap takes place, it will use the most recent head page.
459 When the reader tries to swap the page with the ring buffer, it
571 not be able to swap the head page from the buffer, nor will it be able to
664 tail page. The reader cannot swap the reader page if it is also being
667 it will never go back on it unless a reader does another swap with the
/linux-4.4.14/arch/alpha/lib/
Dcsum_ipv6_magic.S24 extqh $18,1,$4 # e0 : byte swap len & proto while we wait
/linux-4.4.14/drivers/staging/sm750fb/
Dsm750.c932 int swap; in sm750fb_setup() local
934 swap = 0; in sm750fb_setup()
956 swap = 1; in sm750fb_setup()
987 if (swap) in sm750fb_setup()
992 if (swap) in sm750fb_setup()
/linux-4.4.14/kernel/
Dkcmp.c85 swap(m1, m2); in kcmp_lock()
Dstop_machine.c279 swap(cpu1, cpu2); in stop_two_cpus()
/linux-4.4.14/include/drm/ttm/
Dttm_bo_api.h235 struct list_head swap; member
/linux-4.4.14/tools/build/
DMakefile.feature34 sync-compare-and-swap \
/linux-4.4.14/fs/proc/
Dtask_mmu.c25 unsigned long data, text, lib, swap, ptes, pmds; in task_mem() local
45 swap = get_mm_counter(mm, MM_SWAPENTS); in task_mem()
72 swap << (PAGE_SHIFT-10)); in task_mem()
449 unsigned long swap; member
503 mss->swap += PAGE_SIZE; in smaps_pte_entry()
709 mss.swap >> 10, in show_smap()
/linux-4.4.14/drivers/staging/android/
DKconfig35 as there is no particular swap space on android.
/linux-4.4.14/crypto/
Daf_alg.c191 swap(ask->type, type); in alg_bind()
192 swap(ask->private, private); in alg_bind()
/linux-4.4.14/include/media/
Dsaa7146_vv.h39 u8 swap; member
/linux-4.4.14/arch/arc/kernel/
Dsetup.c71 cpu->extn.swap = read_aux_reg(ARC_REG_SWAP_BCR) ? 1 : 0; /* 1,3 */ in read_arc_build_cfg_regs()
243 IS_AVAIL1(cpu->extn.swap, "swap "), in arc_cpu_mumbojumbo()
/linux-4.4.14/arch/arm/include/debug/
Dtegra.S95 beq 11f @ some boards swap the meaning
/linux-4.4.14/drivers/gpu/drm/ttm/
Dttm_bo.c180 list_add_tail(&bo->swap, &bo->glob->swap_lru); in ttm_bo_add_to_lru()
191 if (!list_empty(&bo->swap)) { in ttm_bo_del_from_lru()
192 list_del_init(&bo->swap); in ttm_bo_del_from_lru()
1124 INIT_LIST_HEAD(&bo->swap); in ttm_bo_init()
1626 list_for_each_entry(bo, &glob->swap_lru, swap) { in ttm_bo_swapout()
Dttm_bo_util.c463 INIT_LIST_HEAD(&fbo->swap); in ttm_buffer_object_transfer()
577 BUG_ON(!list_empty(&bo->swap)); in ttm_bo_kmap()
/linux-4.4.14/net/ipv4/netfilter/
Dipt_SYNPROXY.c392 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
397 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
/linux-4.4.14/arch/
DKconfig154 with a nearby load or store and use load-and-swap or
155 store-and-swap instructions if the architecture has them. It
160 Any architecture with load-and-swap or store-and-swap
/linux-4.4.14/drivers/s390/block/
DKconfig10 or zSeries as a disk. This is useful as a _fast_ swap device if you
/linux-4.4.14/sound/isa/gus/
Dgus_mixer.c124 swap(val1, val2); in snd_ics_put_double()
/linux-4.4.14/crypto/async_tx/
Draid6test.c76 swap(faila, failb); in raid6_dual_recov()
/linux-4.4.14/arch/arc/include/asm/
Darcregs.h356 unsigned int swap:1, norm:1, minmax:1, barrel:1, crc:1, pad1:3, member
/linux-4.4.14/net/ipv6/netfilter/
Dip6t_SYNPROXY.c412 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
417 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
/linux-4.4.14/arch/m68k/ifpsp060/
Diskeleton.S241 swap %d0
245 swap %d0
/linux-4.4.14/Documentation/hwmon/
Dadm127531 ADM1075, ADM1275, ADM1276, ADM1293, and ADM1294 are hot-swap controllers that
/linux-4.4.14/drivers/media/tuners/
De4000.c248 swap(q_data[2], q_data[3]); in e4000_set_params()
249 swap(i_data[2], i_data[3]); in e4000_set_params()
/linux-4.4.14/drivers/staging/rtl8712/
Drtl8712_xmit.c201 swap(acirp_cnt[i], acirp_cnt[j]); in dequeue_xframe_ex()
202 swap(inx[i], inx[j]); in dequeue_xframe_ex()
/linux-4.4.14/drivers/cpufreq/
Dlonghaul.c511 swap(longhaul_table[j].frequency, in longhaul_get_ranges()
513 swap(longhaul_table[j].driver_data, in longhaul_get_ranges()
/linux-4.4.14/drivers/media/pci/bt8xx/
Dbtcx-risc.c170 swap(clips[j], clips[j + 1]); in btcx_sort_clips()
/linux-4.4.14/fs/xfs/libxfs/
Dxfs_dir2_node.c963 int swap; /* swapped leaf blocks */ in xfs_dir2_leafn_rebalance() local
974 if ((swap = xfs_dir2_leafn_order(dp, blk1->bp, blk2->bp))) { in xfs_dir2_leafn_rebalance()
1044 state->inleaf = swap; in xfs_dir2_leafn_rebalance()
1046 state->inleaf = !swap; in xfs_dir2_leafn_rebalance()
1048 state->inleaf = swap ^ (blk1->index <= hdr1.count); in xfs_dir2_leafn_rebalance()
/linux-4.4.14/drivers/media/common/saa7146/
Dsaa7146_hlp.c322 swap(values[low], values[high]); in sort_and_eliminate()
608 vdma1.base_page = sfmt->swap; in saa7146_set_position()
724 vdma1.base_page = buf->pt[0].dma | ME1 | sfmt->swap; in calculate_video_dma_grab_packed()
/linux-4.4.14/drivers/misc/vmw_vmci/
Dvmci_queue_pair.c1790 bool *swap) in qp_broker_alloc() argument
1842 if (swap) in qp_broker_alloc()
1843 *swap = (context_id == VMCI_HOST_CONTEXT_ID) && in qp_broker_alloc()
1868 bool swap; in qp_alloc_host_work() local
1881 wakeup_cb, client_data, &entry, &swap); in qp_alloc_host_work()
1883 if (swap) { in qp_alloc_host_work()
/linux-4.4.14/arch/s390/kvm/
Dinterrupt.c1805 adapter->swap = adapter_info.swap; in register_io_adapter()
2003 static unsigned long get_ind_bit(__u64 addr, unsigned long bit_nr, bool swap) in get_ind_bit() argument
2009 return swap ? (bit ^ (BITS_PER_LONG - 1)) : bit; in get_ind_bit()
2040 bit = get_ind_bit(info->addr, adapter_int->ind_offset, adapter->swap); in adapter_indicators_set()
2052 adapter->swap); in adapter_indicators_set()
/linux-4.4.14/init/
DKconfig212 bool "Support for paging of anonymous memory (swap)"
217 for so called swap devices or swap files in your kernel that are
1017 Add swap management feature to memory resource controller. When you
1018 enable this, you can limit mem+swap usage per cgroup. In other words,
1020 usage of swap...a process can exhaust all of the swap. This extension
1021 is useful when you want to avoid exhaustion swap but this itself
1027 if boot option "swapaccount=0" is set, swap will not be accounted.
1028 Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
1029 size is 4096bytes, 512k per 1Gbytes of swap.
1565 It is backed by swap and manages resource limits. It is also exported
[all …]
/linux-4.4.14/drivers/infiniband/hw/mthca/
Dmthca_profile.c139 swap(profile[j], profile[j - 1]); in mthca_make_profile()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
Dprofile.c152 swap(profile[j], profile[j - 1]); in mlx4_make_profile()
/linux-4.4.14/drivers/gpu/drm/
Ddrm_plane_helper.c436 swap(plane->state, plane_state); in drm_plane_helper_commit()
Ddrm_atomic_helper.c1411 swap(state->connector_states[i], connector->state); in drm_atomic_helper_swap_state()
1422 swap(state->crtc_states[i], crtc->state); in drm_atomic_helper_swap_state()
1433 swap(state->plane_states[i], plane->state); in drm_atomic_helper_swap_state()
/linux-4.4.14/drivers/net/wireless/mwifiex/
Dwmm.c268 swap(tmp[j - 1], tmp[j]); in mwifiex_wmm_setup_queue_priorities()
269 swap(priv->wmm.queue_priority[j - 1], in mwifiex_wmm_setup_queue_priorities()
274 swap(priv->wmm.queue_priority[j - 1], in mwifiex_wmm_setup_queue_priorities()
/linux-4.4.14/drivers/mtd/nand/gpmi-nand/
Dgpmi-nand.c1384 u8 swap = tmp_buf[0]; in gpmi_ecc_read_page_raw() local
1387 tmp_buf[mtd->writesize] = swap; in gpmi_ecc_read_page_raw()
1512 u8 swap = tmp_buf[0]; in gpmi_ecc_write_page_raw() local
1515 tmp_buf[mtd->writesize] = swap; in gpmi_ecc_write_page_raw()
/linux-4.4.14/net/netfilter/
Dxt_HMARK.c124 swap(src, dst); in hmark_hash()
/linux-4.4.14/drivers/media/i2c/
Dsaa6588.c304 swap(tmpbuf[2], tmpbuf[0]); in saa6588_i2c_poll()
/linux-4.4.14/arch/m32r/lib/
Dchecksum.S145 beqz r7, 1f ; swap the upper byte for the lower
/linux-4.4.14/drivers/net/ethernet/apple/
Dbmac.c176 __u32 swap; in dbdma_ld32() local
177 __asm__ volatile ("lwbrx %0,0,%1" : "=r" (swap) : "r" (a)); in dbdma_ld32()
178 return swap; in dbdma_ld32()
/linux-4.4.14/tools/perf/util/
Dsession.c1204 perf_event__swap_op swap; in event_swap() local
1206 swap = perf_event__swap_ops[event->header.type]; in event_swap()
1207 if (swap) in event_swap()
1208 swap(event, sample_id_all); in event_swap()
/linux-4.4.14/Documentation/DocBook/
Dlibata.xml.db95 API-swap-buf-le16
/linux-4.4.14/arch/frv/kernel/
Dswitch_to.S137 # - GR8 will point to the user context to swap in
Dbreak.S427 # we'll swap the real return address for one with a BREAK insn so that we can re-enable
/linux-4.4.14/arch/powerpc/platforms/ps3/
DKconfig146 storage or system swap.
/linux-4.4.14/Documentation/sound/alsa/
DChannel-Mapping-API.txt68 have {FL/FR/RL/RR} channel map, _PAIRED type would allow you to swap
/linux-4.4.14/Documentation/sound/oss/
Dmwave13 I have Windows 95 on /dev/hda1, swap on /dev/hda2, and Red Hat 5 on /dev/hda3.
/linux-4.4.14/arch/s390/include/asm/
Dkvm_host.h542 bool swap; member
/linux-4.4.14/Documentation/accounting/
Dtaskstats-struct.txt114 /* Delay waiting for page fault I/O (swap in only) */
/linux-4.4.14/net/caif/
Dchnl_net.c241 swap(ip_hdr(skb)->saddr, ip_hdr(skb)->daddr); in chnl_net_start_xmit()
/linux-4.4.14/arch/arc/
DKconfig137 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr
394 bool "Insn: SWAPE (endian-swap)"
/linux-4.4.14/kernel/trace/
DKconfig252 bool "Allow snapshot to swap per CPU"
257 full swap (all buffers). If this is set, then the following is
269 or irq latency tracers are enabled, as those need to swap as well
/linux-4.4.14/drivers/mmc/card/
Dqueue.c89 swap(mq->mqrq_prev, mq->mqrq_cur); in mmc_queue_thread()
/linux-4.4.14/drivers/hwmon/
Dw83627ehf.c1940 swap(data->temp_src[r1], data->temp_src[r2]); in w82627ehf_swap_tempreg()
1941 swap(data->reg_temp[r1], data->reg_temp[r2]); in w82627ehf_swap_tempreg()
1942 swap(data->reg_temp_over[r1], data->reg_temp_over[r2]); in w82627ehf_swap_tempreg()
1943 swap(data->reg_temp_hyst[r1], data->reg_temp_hyst[r2]); in w82627ehf_swap_tempreg()
1944 swap(data->reg_temp_config[r1], data->reg_temp_config[r2]); in w82627ehf_swap_tempreg()
/linux-4.4.14/fs/
Ddcache.c2474 swap(target->d_name.name, dentry->d_name.name); in swap_names()
2504 swap(((long *) &dentry->d_iname)[i], in swap_names()
2509 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2641 swap(dentry->d_parent, target->d_parent); in __d_move()
/linux-4.4.14/drivers/atm/
Dzatm.c1152 int offset, int swap) in eprom_try_esi() argument
1163 eprom_get_byte(zatm_dev,buf+i+swap,cmd); in eprom_try_esi()
1164 eprom_get_byte(zatm_dev,buf+i+1-swap,cmd); in eprom_try_esi()
/linux-4.4.14/fs/autofs4/
Ddev-ioctl.c388 swap(sbi->oz_pgrp, new_pid); in autofs_dev_ioctl_setpipefd()
/linux-4.4.14/fs/nfs/
DKconfig90 bool "Provide swap over NFS support"
/linux-4.4.14/drivers/media/platform/s3c-camif/
Dcamif-core.c162 swap(target_x, target_y); in s3c_camif_get_scaler_config()
/linux-4.4.14/drivers/staging/rtl8723au/core/
Drtw_wlan_util.c592 swap(edca[i], edca[j]); in WMMOnAssocRsp23a()
593 swap(inx[i], inx[j]); in WMMOnAssocRsp23a()

12