Home
last modified time | relevance | path

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

12

/linux-4.1.27/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.1.27/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.1.27/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
36 the backing swap device in the case that the compressed pool is full.
44 When a swap page is passed from frontswap to zswap, zswap maintains a mapping
45 of the swap entry, a combination of the swap type and swap offset, to the zbud
46 handle that references that compressed swap page. This mapping is achieved
[all …]
Dpagemap.txt16 * Bits 0-4 swap type if swapped
17 * Bits 5-54 swap offset if swapped
24 If the page is not present but in swap, then the PFN contains an
25 encoding of the swap file number and the page's offset into the
26 swap. Unmapped pages return a null PFN. This allows determining
27 precisely which pages are mapped (or in swap) and comparing mapped
131 13. SWAPCACHE page is mapped to swap space, ie. has an associated swap entry
132 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-INDEX40 - Intro to compressed cache for swap pages
Dbalance8 to incur cost overheads of page stealing and possible swap io for
/linux-4.1.27/net/tipc/
Dsubscr.c60 static u32 htohl(u32 in, int swap) in htohl() argument
62 return swap ? swab32(in) : in; in htohl()
75 sub->evt.event = htohl(event, sub->swap); in subscr_send_event()
76 sub->evt.found_lower = htohl(found_lower, sub->swap); in subscr_send_event()
77 sub->evt.found_upper = htohl(found_upper, sub->swap); in subscr_send_event()
78 sub->evt.port.ref = htohl(port_ref, sub->swap); in subscr_send_event()
79 sub->evt.port.node = htohl(node, sub->swap); in subscr_send_event()
236 int swap; in subscr_subscribe() local
239 swap = !(s->filter & (TIPC_SUB_PORTS | TIPC_SUB_SERVICE)); in subscr_subscribe()
242 if (s->filter & htohl(TIPC_SUB_CANCEL, swap)) { in subscr_subscribe()
[all …]
Dsubscr.h71 int swap; member
/linux-4.1.27/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);
DKconfig49 It creates an image which is saved in your active swap. Upon the next
55 need to run mkswap against the swap partition used for the suspend.
57 It also works with swap files to a limited extent (for details see
58 <file:Documentation/power/swsusp-and-swap-files.txt>).
61 meantime you cannot use the swap partition(s)/file(s) involved in
81 It should be a valid swap partition (at least for now) that is turned
91 suspended image to. It will simply pick the first available swap
DMakefile10 obj-$(CONFIG_HIBERNATION) += hibernate.o snapshot.o swap.o user.o \
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.1.27/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.1.27/sound/firewire/bebob/
Dbebob_focusrite.c241 swap(buf[1], buf[3]); in saffire_meter_get()
242 swap(buf[2], buf[3]); in saffire_meter_get()
243 swap(buf[3], buf[4]); in saffire_meter_get()
245 swap(buf[7], buf[10]); in saffire_meter_get()
246 swap(buf[8], buf[10]); in saffire_meter_get()
247 swap(buf[9], buf[11]); in saffire_meter_get()
248 swap(buf[11], buf[12]); in saffire_meter_get()
250 swap(buf[15], buf[16]); in saffire_meter_get()
Dbebob_maudio.c698 swap(buf[4], buf[6]); in normal_meter_get()
699 swap(buf[5], buf[7]); in normal_meter_get()
/linux-4.1.27/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.1.27/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.1.27/drivers/staging/wlan-ng/
Dp80211wep.c195 swap(i, j); in wep_decrypt()
204 swap(i, j); in wep_decrypt()
219 swap(i, j); in wep_decrypt()
272 swap(i, j); in wep_encrypt()
282 swap(i, j); in wep_encrypt()
296 swap(i, j); in wep_encrypt()
/linux-4.1.27/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.1.27/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.1.27/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.h309 u16 swap[2]; member
/linux-4.1.27/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.1.27/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.h538 unsigned short swap; in __data2host2() local
543 swap = ((data & 0xffULL) << 8) | in __data2host2()
546 return swap; in __data2host2()
552 unsigned int swap; in __data2host4() local
557 swap = ((data & 0xffULL) << 24) | in __data2host4()
562 return swap; in __data2host4()
568 unsigned long long swap; in __data2host8() local
573 swap = ((data & 0xffULL) << 56) | in __data2host8()
582 return swap; in __data2host8()
Dkbuffer.h53 void *kbuffer_translate_data(int swap, void *data, unsigned int *size);
/linux-4.1.27/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.1.27/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.1.27/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-avx-asm.S73 # Load xmm with mem and byte swap each dword
384 ## byte swap first 16 dwords
Dsha256-ssse3-asm.S66 # Load xmm with mem and byte swap each dword
391 ## byte swap first 16 dwords
/linux-4.1.27/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.1.27/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c557 enum drm_exynos_flip flip, bool *swap) in gsc_src_set_transf() argument
598 *swap = ctx->rotation; in gsc_src_set_transf()
603 static int gsc_src_set_size(struct device *dev, int swap, in gsc_src_set_size() argument
612 swap, pos->x, pos->y, pos->w, pos->h); in gsc_src_set_size()
614 if (swap) { in gsc_src_set_size()
821 enum drm_exynos_flip flip, bool *swap) in gsc_dst_set_transf() argument
862 *swap = ctx->rotation; in gsc_dst_set_transf()
1022 static int gsc_dst_set_size(struct device *dev, int swap, in gsc_dst_set_size() argument
1031 swap, pos->x, pos->y, pos->w, pos->h); in gsc_dst_set_size()
1033 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.c1151 bool swap = false; in ipp_set_property() local
1188 config->flip, &swap); in ipp_set_property()
1195 ret = ops->set_size(ippdrv->dev, swap, &config->pos, in ipp_set_property()
/linux-4.1.27/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.1.27/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.1.27/mm/
Dshmem.c279 pgoff_t index, swp_entry_t swap) in shmem_confirm_swap() argument
286 return item == swp_to_radix_entry(swap); in shmem_confirm_swap()
613 swp_entry_t swap, struct page **pagep) in shmem_unuse_inode() argument
621 radswap = swp_to_radix_entry(swap); in shmem_unuse_inode()
681 swap_free(swap); in shmem_unuse_inode()
690 int shmem_unuse(swp_entry_t swap, struct page *page) in shmem_unuse() argument
701 if (unlikely(!PageSwapCache(page) || page_private(page) != swap.val)) in shmem_unuse()
719 error = shmem_unuse_inode(info, swap, &page); in shmem_unuse()
749 swp_entry_t swap; in shmem_writepage() local
806 swap = get_swap_page(); in shmem_writepage()
[all …]
Dmadvise.c193 swp_entry_t swap; in force_shm_swapin_readahead() local
204 swap = radix_to_swp_entry(page); in force_shm_swapin_readahead()
205 page = read_swap_cache_async(swap, GFP_HIGHUSER_MOVABLE, in force_shm_swapin_readahead()
DKconfig480 bool "Enable frontswap to cache swap pages if tmem is present"
485 of a "backing" store for a swap device. The data is stored into
489 a significant swap I/O reduction may be achieved. When none is
492 and swap data is stored as normal on the matching swap device.
550 bool "Compressed cache for swap pages (EXPERIMENTAL)"
556 A lightweight compressed cache for swap pages. It takes
559 This can result in a significant I/O reduction on swap device and,
560 in the case where decompressing from RAM is faster that swap device
Dswapfile.c1973 static void *swap_start(struct seq_file *swap, loff_t *pos) in swap_start() argument
1996 static void *swap_next(struct seq_file *swap, void *v, loff_t *pos) in swap_next() argument
2018 static void swap_stop(struct seq_file *swap, void *v) in swap_stop() argument
2023 static int swap_show(struct seq_file *swap, void *v) in swap_show() argument
2030 seq_puts(swap,"Filename\t\t\t\tType\t\tSize\tUsed\tPriority\n"); in swap_show()
2035 len = seq_path(swap, &file->f_path, " \t\n\\"); in swap_show()
2036 seq_printf(swap, "%*s%s\t%u\t%u\t%d\n", in swap_show()
2703 swp_entry_t swap = { .val = page_private(page) }; in page_swap_info() local
2705 return swap_info[swp_type(swap)]; in page_swap_info()
2720 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 \
Dmemcontrol.c3129 static inline u64 mem_cgroup_usage(struct mem_cgroup *memcg, bool swap) in mem_cgroup_usage() argument
3136 if (swap) in mem_cgroup_usage()
3139 if (!swap) in mem_cgroup_usage()
3571 static void __mem_cgroup_threshold(struct mem_cgroup *memcg, bool swap) in __mem_cgroup_threshold() argument
3578 if (!swap) in __mem_cgroup_threshold()
3586 usage = mem_cgroup_usage(memcg, swap); in __mem_cgroup_threshold()
/linux-4.1.27/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.1.27/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.1.27/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.txt239 VmSwap size of swap usage (the number of referred swapents)
444 swap.
467 nr - swap space is not reserved for the area
878 SwapTotal: total amount of swap space available
902 overcommit_ratio / 100 + [total swap pages]
904 of swap with a `vm.overcommit_ratio` of 30 it would
1431 may allocate from based on an estimation of its current memory and swap use.
1436 and swap usage is discounted by 3% for root processes.
1443 limit (or swap limit) being reached, the allowed memory is that configured
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
Dlibcfs.h57 #if !defined(swap)
58 #define swap(x, y) do { typeof(x) z = x; x = y; y = z; } while (0) macro
/linux-4.1.27/kernel/sched/
Dcpudeadline.c43 swap(cp->elements[a].cpu, cp->elements[b].cpu); in cpudl_exchange()
44 swap(cp->elements[a].dl , cp->elements[b].dl ); in cpudl_exchange()
46 swap(cp->elements[cpu_a].idx, cp->elements[cpu_b].idx); in cpudl_exchange()
Dsched.h1567 swap(l1, l2); in double_lock()
1576 swap(l1, l2); in double_lock_irq()
1585 swap(l1, l2); in double_raw_lock()
Dcputime.c524 swap(rtime, stime); in scale_stime()
/linux-4.1.27/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.1.27/arch/frv/include/asm/
Dio.h72 static inline void __outsl(unsigned int addr, const void *buf, int len, int swap) in __outsl() argument
76 if (!swap) in __outsl()
100 static inline void __insl(unsigned long addr, void *buf, int len, int swap) in __insl() argument
102 if (!swap) in __insl()
/linux-4.1.27/drivers/input/touchscreen/
Dmc13783_ts.c64 swap(a0, a1); \
66 swap(a1, a2); \
68 swap(a0, a1); \
Dad7879.c165 swap(x, y); in ad7879_report()
/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_ipportnet.c93 swap(*flags, elem->nomatch); in hash_ipportnet4_data_reset_flags()
248 swap(ip, ip_to); in hash_ipportnet4_uadt()
261 swap(port, port_to); in hash_ipportnet4_uadt()
270 swap(ip2_from, ip2_to); in hash_ipportnet4_uadt()
346 swap(*flags, elem->nomatch); in hash_ipportnet6_data_reset_flags()
501 swap(port, port_to); in hash_ipportnet6_uadt()
Dip_set_hash_netportnet.c89 swap(*flags, elem->nomatch); in hash_netportnet4_data_reset_flags()
262 swap(ip, ip_to); in hash_netportnet4_uadt()
272 swap(port, port_to); in hash_netportnet4_uadt()
281 swap(ip2_from, ip2_to); in hash_netportnet4_uadt()
362 swap(*flags, elem->nomatch); in hash_netportnet6_data_reset_flags()
531 swap(port, port_to); in hash_netportnet6_uadt()
Dip_set_hash_netport.c90 swap(*flags, elem->nomatch); in hash_netport4_data_reset_flags()
233 swap(port, port_to); in hash_netport4_uadt()
240 swap(ip, ip_to); in hash_netport4_uadt()
306 swap(*flags, elem->nomatch); in hash_netport6_data_reset_flags()
452 swap(port, port_to); in hash_netport6_uadt()
Dip_set_hash_netnet.c82 swap(*flags, elem->nomatch); in hash_netnet4_data_reset_flags()
226 swap(ip, ip_to); in hash_netnet4_uadt()
238 swap(ip2_from, ip2_to); in hash_netnet4_uadt()
309 swap(*flags, elem->nomatch); in hash_netnet6_data_reset_flags()
Dip_set_hash_ipport.c170 swap(ip, ip_to); in hash_ipport4_uadt()
183 swap(port, port_to); in hash_ipport4_uadt()
334 swap(port, port_to); in hash_ipport6_uadt()
Dip_set_hash_net.c78 swap(*flags, elem->nomatch); in hash_net4_data_reset_flags()
193 swap(ip, ip_to); in hash_net4_uadt()
247 swap(*flags, elem->nomatch); in hash_net6_data_reset_flags()
Dip_set_hash_ipportip.c176 swap(ip, ip_to); in hash_ipportip4_uadt()
189 swap(port, port_to); in hash_ipportip4_uadt()
346 swap(port, port_to); in hash_ipportip6_uadt()
Dip_set_hash_netiface.c172 swap(*flags, elem->nomatch); in hash_netiface4_data_reset_flags()
353 swap(ip, ip_to); in hash_netiface4_uadt()
423 swap(*flags, elem->nomatch); in hash_netiface6_data_reset_flags()
Dip_set_hash_ip.c144 swap(ip, ip_to); in hash_ip4_uadt()
Dip_set_hash_ipmark.c146 swap(ip, ip_to); in hash_ipmark4_uadt()
Dip_set_bitmap_port.c167 swap(port, port_to); in bitmap_port_uadt()
Dip_set_bitmap_ip.c170 swap(ip, ip_to); in bitmap_ip_uadt()
/linux-4.1.27/drivers/md/bcache/
Dutil.h62 #define heap_swap(h, i, j) swap((h)->data[i], (h)->data[j])
232 swap((l)->front, (r)->front); \
233 swap((l)->back, (r)->back); \
234 swap((l)->size, (r)->size); \
235 swap((l)->mask, (r)->mask); \
236 swap((l)->data, (r)->data); \
Drequest.c1042 swap(bio->bi_iter.bi_size, bytes); in flash_dev_cache_miss()
1044 swap(bio->bi_iter.bi_size, bytes); in flash_dev_cache_miss()
/linux-4.1.27/include/linux/
Dsort.h8 void (*swap)(void *, void *, int));
Dkernel.h801 #define swap(a, b) \ macro
/linux-4.1.27/include/uapi/linux/
Drds.h243 uint64_t swap; member
250 uint64_t swap; member
/linux-4.1.27/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.1.27/lib/
Dgcd.c11 swap(a, b); in gcd()
/linux-4.1.27/drivers/media/pci/bt8xx/
Dbtcx-risc.c163 struct v4l2_clip swap; in btcx_sort_clips() local
171 swap = clips[j]; in btcx_sort_clips()
173 clips[j+1] = swap; in btcx_sort_clips()
/linux-4.1.27/Documentation/devicetree/bindings/mtd/
Dgpmi-nand.txt28 - fsl,no-blockmark-swap: Don't swap the bad block marker from the OOB
/linux-4.1.27/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.1.27/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.1.27/arch/mn10300/mm/
Dtlb-mn10300.S63 # (might be a swap id)
126 # (might be a swap id)
/linux-4.1.27/tools/build/feature/
DMakefile8 test-sync-compare-and-swap.bin \
144 test-sync-compare-and-swap.bin:
/linux-4.1.27/drivers/gpu/drm/tegra/
Ddc.c67 u32 swap; member
117 static int tegra_dc_format(u32 fourcc, u32 *format, u32 *swap) in tegra_dc_format() argument
120 if (swap) in tegra_dc_format()
121 *swap = BYTE_SWAP_NOSWAP; in tegra_dc_format()
141 if (swap) in tegra_dc_format()
142 *swap = BYTE_SWAP_SWAP2; in tegra_dc_format()
255 tegra_dc_writel(dc, window->swap, DC_WIN_BYTE_SWAP); in tegra_dc_setup_window()
453 copy->swap = state->swap; in tegra_plane_atomic_duplicate_state()
519 &plane_state->swap); in tegra_plane_atomic_check()
581 window.swap = state->swap; in tegra_plane_atomic_update()
Ddrm.h180 u32 swap; member
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/input/
Dads7846.txt34 ti,swap-xy swap x and y axis
/linux-4.1.27/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.1.27/drivers/block/zram/
DKconfig13 It has several use cases, for example: /tmp storage, use as swap
/linux-4.1.27/drivers/media/platform/vsp1/
Dvsp1_video.h42 unsigned int swap; member
Dvsp1_wpf.c144 vsp1_wpf_write(wpf, VI6_WPF_DSWAP, fmtinfo->swap); in wpf_s_stream()
Dvsp1_rpf.c143 vsp1_rpf_write(rpf, VI6_RPF_DSWAP, fmtinfo->swap); in rpf_s_stream()
/linux-4.1.27/Documentation/virtual/kvm/devices/
Ds390_flic.txt60 __u8 swap;
66 and swap whether the indicators need to be byte swapped.
/linux-4.1.27/drivers/gpu/drm/omapdrm/
DTODO7 have swap or harddrive.
Domap_plane.c239 swap(src_w, src_h); in omap_plane_update()
Domap_fb.c200 swap(w, h); in omap_framebuffer_update_scanout()
/linux-4.1.27/arch/arm/boot/dts/
Domap3-panel-sharp-ls037v7dw01.dtsi68 ti,swap-xy;
/linux-4.1.27/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.1.27/arch/s390/include/uapi/asm/
Dkvm.h42 __u8 swap; member
/linux-4.1.27/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.1.27/net/rds/
Drdma.c795 rm->atomic.op_m_cswp.swap = args->cswp.swap; in rds_cmsg_atomic()
802 rm->atomic.op_m_cswp.swap = args->m_cswp.swap; in rds_cmsg_atomic()
Dib_send.c814 send->s_wr.wr.atomic.swap = op->op_m_cswp.swap; in rds_ib_xmit_atomic()
820 send->s_wr.wr.atomic.swap = 0; in rds_ib_xmit_atomic()
Drds.h322 uint64_t swap; member
/linux-4.1.27/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.1.27/Documentation/devicetree/bindings/misc/
Difm-csi.txt17 - ifm,csi-byte-swap: if this property is present, the byte swapping on
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_atomic.c155 swap(state->plane_states[i], plane->state); in intel_atomic_commit()
/linux-4.1.27/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.1.27/arch/alpha/lib/
Dcsum_ipv6_magic.S24 extqh $18,1,$4 # e0 : byte swap len & proto while we wait
/linux-4.1.27/kernel/
Dkcmp.c85 swap(m1, m2); in kcmp_lock()
/linux-4.1.27/net/core/
Dflow_dissector.c291 swap(keys->dst, keys->src); in __flow_hash_from_keys()
292 swap(keys->port16[0], keys->port16[1]); in __flow_hash_from_keys()
Ddrop_monitor.c102 swap(data->skb, skb); in reset_per_cpu_data()
/linux-4.1.27/drivers/staging/sm750fb/
Dsm750.c1004 int swap; in sm750fb_setup() local
1011 swap = 0; in sm750fb_setup()
1033 swap = 1; in sm750fb_setup()
1076 if (swap) in sm750fb_setup()
1081 if (swap) in sm750fb_setup()
/linux-4.1.27/include/drm/ttm/
Dttm_bo_api.h235 struct list_head swap; member
/linux-4.1.27/tools/build/
DMakefile.feature34 sync-compare-and-swap \
/linux-4.1.27/arch/arc/kernel/
Dsetup.c63 cpu->extn.swap = read_aux_reg(ARC_REG_SWAP_BCR) ? 1 : 0; /* 1,3 */ in read_arc_build_cfg_regs()
198 IS_AVAIL1(cpu->extn.swap, "swap "), in arc_cpu_mumbojumbo()
/linux-4.1.27/fs/proc/
Dtask_mmu.c24 unsigned long data, text, lib, swap, ptes, pmds; in task_mem() local
44 swap = get_mm_counter(mm, MM_SWAPENTS); in task_mem()
71 swap << (PAGE_SHIFT-10)); in task_mem()
447 unsigned long swap; member
496 mss->swap += PAGE_SIZE; in smaps_pte_entry()
654 mss.swap >> 10, in show_smap()
/linux-4.1.27/crypto/
Daf_alg.c188 swap(ask->type, type); in alg_bind()
189 swap(ask->private, private); in alg_bind()
/linux-4.1.27/include/media/
Dsaa7146_vv.h39 u8 swap; member
/linux-4.1.27/arch/arc/include/asm/
Darcregs.h328 unsigned int swap:1, norm:1, minmax:1, barrel:1, crc:1, pad1:3, member
/linux-4.1.27/arch/arm/include/debug/
Dtegra.S95 beq 11f @ some boards swap the meaning
/linux-4.1.27/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()
1120 INIT_LIST_HEAD(&bo->swap); in ttm_bo_init()
1622 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()
576 BUG_ON(!list_empty(&bo->swap)); in ttm_bo_kmap()
/linux-4.1.27/net/ipv4/netfilter/
Dipt_SYNPROXY.c387 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
392 swap(opts.tsval, opts.tsecr); in ipv4_synproxy_hook()
/linux-4.1.27/drivers/hid/
Dhid-sony.c1045 swap(rd[41], rd[42]); in sony_raw_event()
1046 swap(rd[43], rd[44]); in sony_raw_event()
1047 swap(rd[45], rd[46]); in sony_raw_event()
1048 swap(rd[47], rd[48]); in sony_raw_event()
/linux-4.1.27/arch/
DKconfig146 with a nearby load or store and use load-and-swap or
147 store-and-swap instructions if the architecture has them. It
152 Any architecture with load-and-swap or store-and-swap
/linux-4.1.27/Documentation/hwmon/
Dadm127527 ADM1075, ADM1275, and ADM1276 are hot-swap controllers that allow a circuit
/linux-4.1.27/crypto/async_tx/
Draid6test.c76 swap(faila, failb); in raid6_dual_recov()
Dasync_raid6_recov.c358 swap(faila, failb); in async_raid6_2data_recov()
/linux-4.1.27/drivers/s390/block/
DKconfig10 or zSeries as a disk. This is useful as a _fast_ swap device if you
/linux-4.1.27/drivers/media/tuners/
De4000.c237 swap(q_data[2], q_data[3]); in e4000_set_params()
238 swap(i_data[2], i_data[3]); in e4000_set_params()
/linux-4.1.27/arch/m68k/ifpsp060/
Diskeleton.S241 swap %d0
245 swap %d0
/linux-4.1.27/net/ipv6/netfilter/
Dip6t_SYNPROXY.c409 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
414 swap(opts.tsval, opts.tsecr); in ipv6_synproxy_hook()
/linux-4.1.27/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.1.27/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.1.27/fs/xfs/libxfs/
Dxfs_dir2_node.c959 int swap; /* swapped leaf blocks */ in xfs_dir2_leafn_rebalance() local
970 if ((swap = xfs_dir2_leafn_order(dp, blk1->bp, blk2->bp))) { in xfs_dir2_leafn_rebalance()
1040 state->inleaf = swap; in xfs_dir2_leafn_rebalance()
1042 state->inleaf = !swap; in xfs_dir2_leafn_rebalance()
1044 state->inleaf = swap ^ (blk1->index <= hdr1.count); in xfs_dir2_leafn_rebalance()
Dxfs_attr_leaf.c1460 int swap; in xfs_attr3_leaf_rebalance() local
1482 swap = 0; in xfs_attr3_leaf_rebalance()
1498 swap = 1; in xfs_attr3_leaf_rebalance()
1512 if (swap) in xfs_attr3_leaf_rebalance()
/linux-4.1.27/drivers/net/wireless/mwifiex/
Dwmm.c271 swap(tmp[j - 1], tmp[j]); in mwifiex_wmm_setup_queue_priorities()
272 swap(priv->wmm.queue_priority[j - 1], in mwifiex_wmm_setup_queue_priorities()
277 swap(priv->wmm.queue_priority[j - 1], in mwifiex_wmm_setup_queue_priorities()
/linux-4.1.27/arch/s390/kvm/
Dinterrupt.c1816 adapter->swap = adapter_info.swap; in register_io_adapter()
2014 static unsigned long get_ind_bit(__u64 addr, unsigned long bit_nr, bool swap) in get_ind_bit() argument
2020 return swap ? (bit ^ (BITS_PER_LONG - 1)) : bit; in get_ind_bit()
2051 bit = get_ind_bit(info->addr, adapter_int->ind_offset, adapter->swap); in adapter_indicators_set()
2063 adapter->swap); in adapter_indicators_set()
/linux-4.1.27/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.1.27/init/
DKconfig212 bool "Support for paging of anonymous memory (swap)"
217 for so called swap devices or swap files in your kernel that are
1012 Add swap management feature to memory resource controller. When you
1013 enable this, you can limit mem+swap usage per cgroup. In other words,
1015 usage of swap...a process can exhaust all of the swap. This extension
1016 is useful when you want to avoid exhaustion swap but this itself
1022 if boot option "swapaccount=0" is set, swap will not be accounted.
1023 Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page
1024 size is 4096bytes, 512k per 1Gbytes of swap.
1554 It is backed by swap and manages resource limits. It is also exported
[all …]
/linux-4.1.27/drivers/gpu/drm/
Ddrm_plane_helper.c435 swap(plane->state, plane_state); in drm_plane_helper_commit()
Ddrm_atomic_helper.c1228 swap(state->connector_states[i], connector->state); in drm_atomic_helper_swap_state()
1239 swap(state->crtc_states[i], crtc->state); in drm_atomic_helper_swap_state()
1250 swap(state->plane_states[i], plane->state); in drm_atomic_helper_swap_state()
/linux-4.1.27/arch/arc/
DKconfig110 -Insns: endian swap, load-locked/store-conditional, time-stamp-ctr
322 bool "Insn: SWAPE (endian-swap)"
/linux-4.1.27/net/netfilter/
Dxt_HMARK.c124 swap(src, dst); in hmark_hash()
/linux-4.1.27/drivers/net/ethernet/freescale/
Dgianfar_ethtool.c921 swap(_a[0], _b[0]); in gfar_swap()
922 swap(_a[1], _b[1]); in gfar_swap()
923 swap(_a[2], _b[2]); in gfar_swap()
924 swap(_a[3], _b[3]); in gfar_swap()
/linux-4.1.27/tools/perf/util/
Dsession.c1005 perf_event__swap_op swap; in event_swap() local
1007 swap = perf_event__swap_ops[event->header.type]; in event_swap()
1008 if (swap) in event_swap()
1009 swap(event, sample_id_all); in event_swap()
/linux-4.1.27/arch/m32r/lib/
Dchecksum.S145 beqz r7, 1f ; swap the upper byte for the lower
/linux-4.1.27/arch/powerpc/platforms/ps3/
DKconfig146 storage or system swap.
/linux-4.1.27/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.1.27/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.1.27/Documentation/accounting/
Dtaskstats-struct.txt114 /* Delay waiting for page fault I/O (swap in only) */
/linux-4.1.27/Documentation/sound/oss/
Dmwave13 I have Windows 95 on /dev/hda1, swap on /dev/hda2, and Red Hat 5 on /dev/hda3.
/linux-4.1.27/Documentation/sound/alsa/
DChannel-Mapping-API.txt68 have {FL/FR/RL/RR} channel map, _PAIRED type would allow you to swap
/linux-4.1.27/net/caif/
Dchnl_net.c241 swap(ip_hdr(skb)->saddr, ip_hdr(skb)->daddr); in chnl_net_start_xmit()
/linux-4.1.27/arch/s390/include/asm/
Dkvm_host.h536 bool swap; member
/linux-4.1.27/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.1.27/drivers/media/common/saa7146/
Dsaa7146_hlp.c611 vdma1.base_page = sfmt->swap; in saa7146_set_position()
727 vdma1.base_page = buf->pt[0].dma | ME1 | sfmt->swap; in calculate_video_dma_grab_packed()
/linux-4.1.27/fs/ext3/
Dnamei.c737 swap(*p, *q); in dx_sort_map()
747 swap(*(q+1), *q); in dx_sort_map()
1206 swap(*bh, bh2); in do_split()
1568 swap(frame->bh, bh2); in ext3_dx_add_entry()
/linux-4.1.27/fs/
Ddcache.c2471 swap(target->d_name.name, dentry->d_name.name); in swap_names()
2501 swap(((long *) &dentry->d_iname)[i], in swap_names()
2506 swap(dentry->d_name.hash_len, target->d_name.hash_len); in swap_names()
2638 swap(dentry->d_parent, target->d_parent); in __d_move()
DKconfig119 created on your hard drive. The files live in memory and swap
/linux-4.1.27/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.1.27/fs/nfs/
DKconfig90 bool "Provide swap over NFS support"
/linux-4.1.27/drivers/media/platform/s3c-camif/
Dcamif-core.c162 swap(target_x, target_y); in s3c_camif_get_scaler_config()
/linux-4.1.27/Documentation/blockdev/
Dzram.txt10 use as swap disks, various caches under /var and maybe many more :)
Dramdisk.txt112 unused disk partition (such as an unmounted swap partition). For this
/linux-4.1.27/fs/autofs4/
Ddev-ioctl.c388 swap(sbi->oz_pgrp, new_pid); in autofs_dev_ioctl_setpipefd()
/linux-4.1.27/drivers/vme/
Dvme.c591 unsigned int compare, unsigned int swap, loff_t offset) in vme_master_rmw() argument
608 return bridge->master_rmw(image, mask, compare, swap, offset); in vme_master_rmw()
/linux-4.1.27/include/uapi/rdma/
Dib_user_verbs.h655 __u64 swap; member

12