Home
last modified time | relevance | path

Searched full:swap (Results 1 – 25 of 2102) sorted by relevance

12345678910>>...85

/OK3568_Linux_fs/external/xserver/glx/
H A Dindirect_reqsize.h39 extern PURE _X_HIDDEN int __glXCallListsReqSize(const GLbyte * pc, Bool swap,
41 extern PURE _X_HIDDEN int __glXBitmapReqSize(const GLbyte * pc, Bool swap,
43 extern PURE _X_HIDDEN int __glXFogfvReqSize(const GLbyte * pc, Bool swap,
45 extern PURE _X_HIDDEN int __glXFogivReqSize(const GLbyte * pc, Bool swap,
47 extern PURE _X_HIDDEN int __glXLightfvReqSize(const GLbyte * pc, Bool swap,
49 extern PURE _X_HIDDEN int __glXLightivReqSize(const GLbyte * pc, Bool swap,
51 extern PURE _X_HIDDEN int __glXLightModelfvReqSize(const GLbyte * pc, Bool swap,
53 extern PURE _X_HIDDEN int __glXLightModelivReqSize(const GLbyte * pc, Bool swap,
55 extern PURE _X_HIDDEN int __glXMaterialfvReqSize(const GLbyte * pc, Bool swap,
57 extern PURE _X_HIDDEN int __glXMaterialivReqSize(const GLbyte * pc, Bool swap,
[all …]
H A Dindirect_reqsize.c39 GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap, int reqlen ) \
44 GLint __glX ## from ## ReqSize( const GLbyte * pc, Bool swap, int reqlen ) \
45 { return __glX ## to ## ReqSize( pc, swap, reqlen ); }
49 __glXCallListsReqSize(const GLbyte * pc, Bool swap, int reqlen) in __glXCallListsReqSize() argument
55 if (swap) { in __glXCallListsReqSize()
65 __glXBitmapReqSize(const GLbyte * pc, Bool swap, int reqlen) in __glXBitmapReqSize() argument
75 if (swap) { in __glXBitmapReqSize()
89 __glXFogfvReqSize(const GLbyte * pc, Bool swap, int reqlen) in __glXFogfvReqSize() argument
94 if (swap) { in __glXFogfvReqSize()
103 __glXLightfvReqSize(const GLbyte * pc, Bool swap, int reqlen) in __glXLightfvReqSize() argument
[all …]
/OK3568_Linux_fs/external/xserver/hw/dmx/glxProxy/
H A Dglxswap.c53 * Swap Groups
75 /* All drawables in swap group are ready to swap, so just swap all in SwapSwapGroup()
81 /* Swap pCur's buffers */ in SwapSwapGroup()
99 /* The swap group is ready to swap when all drawables are ready to in SwapGroupIsReadyToSwap()
100 * swap. NOTE: A drawable is also ready to swap if it is not in SwapGroupIsReadyToSwap()
116 * case we should remove the buffer from the swap list */ in SGSwapCleanup()
142 /* The swap group is bound to a barrier and the barrier is ready in SGSwapBuffers()
143 * to swap, so swap all the swap groups that are bound to this in SGSwapBuffers()
144 * group's swap barrier */ in SGSwapBuffers()
148 /* Do the swap if the entire swap group is ready to swap and the in SGSwapBuffers()
[all …]
H A Dglxserver.h92 int nelems; /* number of elements to swap */
169 int (*varsize) (GLbyte * pc, Bool swap);
234 extern int __glXCallListsReqSize(GLbyte * pc, Bool swap);
235 extern int __glXBitmapReqSize(GLbyte * pc, Bool swap);
236 extern int __glXFogfvReqSize(GLbyte * pc, Bool swap);
237 extern int __glXFogivReqSize(GLbyte * pc, Bool swap);
238 extern int __glXLightfvReqSize(GLbyte * pc, Bool swap);
239 extern int __glXLightivReqSize(GLbyte * pc, Bool swap);
240 extern int __glXLightModelfvReqSize(GLbyte * pc, Bool swap);
241 extern int __glXLightModelivReqSize(GLbyte * pc, Bool swap);
[all …]
/OK3568_Linux_fs/kernel/Documentation/vm/
H A Dfrontswap.rst7 Frontswap provides a "transcendent memory" interface for swap pages.
9 swapped pages are saved in RAM (or a RAM-like device) instead of a swap disk.
20 a "backing" store for a swap device. The storage is assumed to be
31 with the specified swap device number (aka "type"). A "store" will
37 associated with the swap type (e.g., like swapoff) and notify the "device"
38 to refuse further stores with that swap type.
42 to swap out a page, it first attempts to use frontswap. If the store returns
46 page can be written to swap as usual.
50 in swap device writes is lost (and also a non-trivial performance advantage)
61 frontswap can be measured (across all swap devices) with:
[all …]
H A Dswap_numa.rst4 Automatically bind swap device to numa node
7 If the system has more than one swap device and swap device has the node
8 information, we can make use of this information to decide which swap
15 Swap device has priority and that decides the order of it to be used. To make
17 for swap devices. e.g. on a 2 node machine, assume 2 swap devices swapA and
24 Then node 0 will use the two swap devices in the order of swapA then swapB and
25 node 1 will use the two swap devices in the order of swapB then swapA. Note
28 A more complex example on a 4 node machine. Assume 6 swap devices are going to
31 The way to swap them on is the same as above::
44 swapA and swapB will be used in a round robin mode before any other swap device.
[all …]
H A Dzswap.rst10 Zswap is a lightweight compressed cache for swap pages. It takes pages that are
13 for potentially reduced swap I/O.  This trade-off can also result in a
15 faster than reads from a swap device.
28 dramatically reduce their swap I/O pressure, avoiding heavy handed I/O
31 * Users with SSDs as swap devices can extend the life of the device by
34 Zswap evicts pages from compressed cache on an LRU basis to the backing swap
53 pages out of the compressed pool, a swapoff on the swap device(s) will
62 the backing swap device in the case that the compressed pool is full.
83 When a swap page is passed from frontswap to zswap, zswap maintains a mapping
84 of the swap entry, a combination of the swap type and swap offset, to the zpool
[all …]
/OK3568_Linux_fs/kernel/Documentation/power/
H A Dswsusp-and-swap-files.rst2 Using swap files with software suspend (swsusp)
7 The Linux kernel handles swap files almost in the same way as it handles swap
8 partitions and there are only two differences between these two types of swap
10 (1) swap files need not be contiguous,
11 (2) the header of a swap file is not in the first block of the partition that
13 already taken care of by the swap-handling code, but (2) has to be taken into
16 In principle the location of a swap file's header may be determined with the
18 filesystem holding the swap file to be mounted, and if this filesystem is
20 identify a swap file swsusp uses the name of the partition that holds the file
21 and the offset from the beginning of the partition at which the swap file's
[all …]
H A Dswsusp.rst2 Swap suspend
34 Swap partition:
38 Swap file:
51 - If you would like to write hibernation image to swap and then suspend
102 powerdowns. You must explicitly specify the swap partition to resume from with
185 encryption) and arbitrary backends for writing the image (eg to swap
224 * SUSPEND all but swap device and parents
227 * SUSPEND swap device and parents
230 Oh no, that does not work, if swap device or its parents uses DMA,
233 * SUSPEND all but swap device and parents
[all …]
/OK3568_Linux_fs/u-boot/drivers/fpga/
H A Dzynqmppl.c49 static u32 load_word(const void *buf, u32 swap) in load_word() argument
55 if (swap == SWAP_NO) { in load_word()
73 int swap = SWAP_NO; in check_header() local
80 pattern = load_word(&test[i], swap); in check_header()
85 * Do not swap dummy word but if swap is done assume in check_header()
90 swap = SWAP_DONE; in check_header()
91 debug("%s: data swapped - let's swap\n", __func__); in check_header()
98 buf, swap == SWAP_NO ? "without" : "with"); in check_header()
100 return swap; in check_header()
103 static void *check_data(u8 *buf, size_t bsize, u32 *swap) in check_data() argument
[all …]
H A Dzynqpl.c67 static u32 load_word(const void *buf, u32 swap) in load_word() argument
73 if (swap == SWAP_NO) { in load_word()
91 int swap = SWAP_NO; in check_header() local
98 pattern = load_word(&test[i], swap); in check_header()
103 * Do not swap dummy word but if swap is done assume in check_header()
109 swap = SWAP_DONE; in check_header()
110 debug("%s: data swapped - let's swap\n", __func__); in check_header()
121 (u32)buf, swap == SWAP_NO ? "without" : "with"); in check_header()
123 return swap; in check_header()
126 static void *check_data(u8 *buf, size_t bsize, u32 *swap) in check_data() argument
[all …]
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-extended/zram/
H A Dzram_0.2.bb1 SUMMARY = "Linux zram compressed in-memory swap"
15 file://zram-swap-init \
16 file://zram-swap-deinit \
17 file://zram-swap.service \
18 file://dev-zram0.swap \
30 install -m 0755 ${WORKDIR}/zram-swap-init ${D}${libexecdir}
31 install -m 0755 ${WORKDIR}/zram-swap-deinit ${D}${libexecdir}
33 install -m 0644 ${WORKDIR}/zram-swap.service ${D}${systemd_unitdir}/system/zram-swap.service
34 sed -i -e "s,@LIBEXECDIR@,${libexecdir},g" ${D}${systemd_unitdir}/system/zram-swap.service
35 install -m 0644 ${WORKDIR}/dev-zram0.swap ${D}${systemd_unitdir}/system/dev-zram0.swap
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dswap_state.c6 * Swap reorganised 29.12.95, Stephen Tweedie
13 #include <linux/swap.h>
81 /* Avoid get_swap_device() to warn for bad swap entry */ in total_swapcache_pages()
102 printk("%lu pages in swap cache\n", total_swapcache_pages()); in show_swap_cache_info()
103 printk("Swap cache stats: add %lu, delete %lu, find %lu/%lu\n", in show_swap_cache_info()
106 printk("Free swap = %ldkB\n", in show_swap_cache_info()
108 printk("Total swap = %lukB\n", total_swap_pages << (PAGE_SHIFT - 10)); in show_swap_cache_info()
182 * been verified to be in the swap cache.
211 * add_to_swap - allocate swap space for a page
212 * @page: page we want to move to swap
[all …]
H A Dswapfile.c6 * Swap reorganised 29.12.95, Stephen Tweedie
16 #include <linux/swap.h>
57 * Some modules use swappable objects and may try to swap them out under
59 * check to see if any swap space is available.
66 static const char Bad_file[] = "Bad swap file entry ";
67 static const char Unused_file[] = "Unused swap file entry ";
68 static const char Bad_offset[] = "Bad swap offset entry ";
69 static const char Unused_offset[] = "Unused swap offset entry ";
117 /* Reclaim the swap entry anyway if possible */
120 * Reclaim the swap entry if there are no more mappings of the
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm64/include/libcxx/include/
H A D__split_buffer147 void swap(__split_buffer& __x)
249 swap(__buf);
412 __split_buffer<_Tp, _Allocator>::swap(__split_buffer& __x)
416 _VSTD::swap(__first_, __x.__first_);
417 _VSTD::swap(__begin_, __x.__begin_);
418 _VSTD::swap(__end_, __x.__end_);
419 _VSTD::swap(__end_cap(), __x.__end_cap());
432 _VSTD::swap(__first_, __t.__first_);
433 _VSTD::swap(__begin_, __t.__begin_);
434 _VSTD::swap(__end_, __t.__end_);
[all …]
H A Dsstream35 // 27.8.1.2 Assign and swap:
37 void swap(basic_stringbuf& rhs);
56 void swap(basic_stringbuf<charT, traits, Allocator>& x,
80 // 27.8.2.2 Assign and swap:
82 void swap(basic_istringstream& rhs);
91 void swap(basic_istringstream<charT, traits, Allocator>& x,
116 // 27.8.3.2 Assign/swap:
118 void swap(basic_ostringstream& rhs);
127 void swap(basic_ostringstream<charT, traits, Allocator>& x,
152 // 27.8.5.1 Assign/swap:
[all …]
/OK3568_Linux_fs/external/security/rk_tee_user/v2/export-ta_arm32/include/libcxx/include/
H A D__split_buffer147 void swap(__split_buffer& __x)
249 swap(__buf);
412 __split_buffer<_Tp, _Allocator>::swap(__split_buffer& __x)
416 _VSTD::swap(__first_, __x.__first_);
417 _VSTD::swap(__begin_, __x.__begin_);
418 _VSTD::swap(__end_, __x.__end_);
419 _VSTD::swap(__end_cap(), __x.__end_cap());
432 _VSTD::swap(__first_, __t.__first_);
433 _VSTD::swap(__begin_, __t.__begin_);
434 _VSTD::swap(__end_, __t.__end_);
[all …]
H A Dsstream35 // 27.8.1.2 Assign and swap:
37 void swap(basic_stringbuf& rhs);
56 void swap(basic_stringbuf<charT, traits, Allocator>& x,
80 // 27.8.2.2 Assign and swap:
82 void swap(basic_istringstream& rhs);
91 void swap(basic_istringstream<charT, traits, Allocator>& x,
116 // 27.8.3.2 Assign/swap:
118 void swap(basic_ostringstream& rhs);
127 void swap(basic_ostringstream<charT, traits, Allocator>& x,
152 // 27.8.5.1 Assign/swap:
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/move/
H A Dadl_move_swap.hpp23 //Based on Boost.Core's swap.
30 …#include <utility> //Dinkum libraries define std::swap in utility which is lighter than algorithm
37 //In GCC 4.3 a tiny stl_move.h was created with swap and move utilities
44 #include <type_traits> //The initial import of libc++ defines std::swap and still there
82 void swap();
89 static no_type deduce(U*, Helper<void (BaseMixin::*)(), &U::swap>* = 0);
109 using Fun::swap;
110 private_type swap(dont_care) const;
117 sizeof(no_type) == sizeof(is_private_type( (declval_wrap().swap(declval_fun()), 0)) );
160 //use std::swap if argument dependent lookup fails in swap_proxy()
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/iostreams/detail/
H A Dbuffer.hpp15 #include <algorithm> // swap.
55 void swap(basic_buffer& rhs);
65 void swap(basic_buffer<Ch, Alloc>& lhs, basic_buffer<Ch, Alloc>& rhs) in swap() function
66 { lhs.swap(rhs); } in swap()
92 void swap(buffer& rhs);
139 void swap(buffer<Ch, Alloc>& lhs, buffer<Ch, Alloc>& rhs) in swap() function
140 { lhs.swap(rhs); } in swap()
168 std::swap(size_, temp.size_); in resize()
169 std::swap(buf_, temp.buf_); in resize()
174 void basic_buffer<Ch, Alloc>::swap(basic_buffer& rhs) in swap() function in boost::iostreams::detail::basic_buffer
[all …]
/OK3568_Linux_fs/kernel/include/linux/
H A Dswap.h23 #define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */
26 #define SWAP_FLAG_DISCARD 0x10000 /* enable discard for swap */
27 #define SWAP_FLAG_DISCARD_ONCE 0x20000 /* discard swap area at swapon-time */
42 * be swapped to. The swap type and the offset into that swap type are
51 * Use some of the swap files numbers for other purposes. This
99 * Magic header for a swap area. The first part of the union is
100 * what the swap magic looks like for the old (limited to 128MB)
101 * swap area format, the second part of the union adds - in the
105 * Having the magic at the end of the PAGE_SIZE makes detecting swap
113 char magic[10]; /* SWAP-SPACE or SWAPSPACE2 */
[all …]
/OK3568_Linux_fs/buildroot/dl/qt5location/git/src/3rdparty/mapbox-gl-native/deps/boost/1.65.1/include/boost/spirit/home/support/iterators/detail/
H A Dcombine_policies.hpp53 void swap(multi_pass_unique& x) in swap() function
55 this->Ownership::swap(x); in swap()
56 this->Checking::swap(x); in swap()
57 this->Input::swap(x); in swap()
58 this->Storage::swap(x); in swap()
88 void swap(multi_pass_unique& x) in swap() function
90 this->Ownership::swap(x); in swap()
91 this->Checking::swap(x); in swap()
92 this->Storage::swap(x); in swap()
139 void swap(multi_pass_unique& x) in swap() function
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/include/c++/10.3.1/bits/
H A Dnode_handle.h110 using std::swap; in _GLIBCXX_VISIBILITY()
111 swap(_M_ptr, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
114 _M_alloc.swap(__nh._M_alloc); in _GLIBCXX_VISIBILITY()
174 swap(_Node_handle& __nh) noexcept in _GLIBCXX_VISIBILITY()
177 using std::swap; in _GLIBCXX_VISIBILITY()
178 swap(_M_pkey, __nh._M_pkey); in _GLIBCXX_VISIBILITY()
179 swap(_M_pmapped, __nh._M_pmapped); in _GLIBCXX_VISIBILITY()
183 swap(_Node_handle& __x, _Node_handle& __y) in _GLIBCXX_VISIBILITY()
184 noexcept(noexcept(__x.swap(__y))) in _GLIBCXX_VISIBILITY()
185 { __x.swap(__y); } in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/include/c++/10.3.1/bits/
H A Dnode_handle.h110 using std::swap; in _GLIBCXX_VISIBILITY()
111 swap(_M_ptr, __nh._M_ptr); in _GLIBCXX_VISIBILITY()
114 _M_alloc.swap(__nh._M_alloc); in _GLIBCXX_VISIBILITY()
174 swap(_Node_handle& __nh) noexcept in _GLIBCXX_VISIBILITY()
177 using std::swap; in _GLIBCXX_VISIBILITY()
178 swap(_M_pkey, __nh._M_pkey); in _GLIBCXX_VISIBILITY()
179 swap(_M_pmapped, __nh._M_pmapped); in _GLIBCXX_VISIBILITY()
183 swap(_Node_handle& __x, _Node_handle& __y) in _GLIBCXX_VISIBILITY()
184 noexcept(noexcept(__x.swap(__y))) in _GLIBCXX_VISIBILITY()
185 { __x.swap(__y); } in _GLIBCXX_VISIBILITY()
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/opencv/opencv-linux-armhf/include/opencv2/core/
H A Dcuda.inl.hpp127 swap(temp); in operator =()
140 void GpuMat::swap(GpuMat& b) in swap() function in cv::cuda::GpuMat
142 std::swap(flags, b.flags); in swap()
143 std::swap(rows, b.rows); in swap()
144 std::swap(cols, b.cols); in swap()
145 std::swap(step, b.step); in swap()
146 std::swap(data, b.data); in swap()
147 std::swap(datastart, b.datastart); in swap()
148 std::swap(dataend, b.dataend); in swap()
149 std::swap(refcount, b.refcount); in swap()
[all …]

12345678910>>...85