Searched refs:swap (Results 301 - 325 of 700) sorted by relevance

<<11121314151617181920>>

/linux-master/mm/
H A Dworkingset.c15 #include <linux/swap.h>
115 * If we have swap we should consider about NR_inactive_anon and
501 * on having free swap space.
H A Dmemremap.c9 #include <linux/swap.h>
H A Dshow_mem.c15 #include <linux/swap.h>
19 #include "swap.h"
/linux-master/fs/bcachefs/
H A Dio_write.c975 swap(dst->bi_iter.bi_size, dst_len);
977 swap(dst->bi_iter.bi_size, dst_len);
1038 swap(dst->bi_iter.bi_size, dst_len);
1047 swap(dst->bi_iter.bi_size, dst_len);
H A Dbkey.c1057 swap(*l, *h);
1070 swap(*l, *h);
H A Dutil.h88 swap((h)->data[i], (h)->data[j]); \
694 swap((_base)[_i], (_base)[_i + 1]); \
/linux-master/include/linux/
H A Dswap.h25 #define SWAP_FLAG_PREFER 0x8000 /* set if swap priority specified */
28 #define SWAP_FLAG_DISCARD 0x10000 /* enable discard for swap */
29 #define SWAP_FLAG_DISCARD_ONCE 0x20000 /* discard swap area at swapon-time */
44 * be swapped to. The swap type and the offset into that swap type are
53 * Use some of the swap files numbers for other purposes. This
123 * Magic header for a swap area. The first part of the union is
124 * what the swap magic looks like for the old (limited to 128MB)
125 * swap area format, the second part of the union adds - in the
129 * Having the magic at the end of the PAGE_SIZE makes detecting swap
[all...]
/linux-master/fs/
H A Dremap_range.c173 swap(folio1, folio2);
/linux-master/drivers/extcon/
H A Dextcon-usbc-cros-ec.c154 pd_control.swap = USB_PD_CTRL_SWAP_NONE;
/linux-master/net/unix/
H A Dgarbage.c530 swap(unix_vertex_unvisited_index, unix_vertex_grouped_index);
/linux-master/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_resource.c773 swap(data->viewport.width, data->viewport.height);
774 swap(data->viewport_c.width, data->viewport_c.height);
1153 swap(surf_src.height, surf_src.width);
1295 swap(src.width, src.height);
1296 swap(flip_vert_scan_dir, flip_horz_scan_dir);
1340 swap(data->viewport.x, data->viewport.y);
1341 swap(data->viewport.width, data->viewport.height);
1342 swap(data->viewport_c.x, data->viewport_c.y);
1343 swap(data->viewport_c.width, data->viewport_c.height);
/linux-master/drivers/mtd/
H A Dftl.c539 swap(xfer->EraseCount, eun->EraseCount);
540 swap(xfer->Offset, eun->Offset);
/linux-master/drivers/md/
H A Ddm-ima.c369 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) argument
390 if (swap) {
H A Ddm-zoned-target.c159 swap(bio->bi_iter.bi_size, size);
161 swap(bio->bi_iter.bi_size, size);
/linux-master/arch/x86/crypto/
H A Dsha256-ssse3-asm.S67 # Load xmm with mem and byte swap each dword
393 ## byte swap first 16 dwords
H A Dsha256-avx-asm.S73 # Load xmm with mem and byte swap each dword
383 ## byte swap first 16 dwords
/linux-master/drivers/media/tuners/
H A De4000.c235 swap(q_data[2], q_data[3]);
236 swap(i_data[2], i_data[3]);
/linux-master/drivers/net/ethernet/sfc/
H A Defx_channels.c880 swap(efx->channel[i], other_channel[i]);
923 swap(efx->channel[i], other_channel[i]);
/linux-master/drivers/iommu/
H A Diova.c777 swap(cpu_rcache->prev, cpu_rcache->loaded);
831 swap(cpu_rcache->prev, cpu_rcache->loaded);
/linux-master/drivers/gpu/drm/mediatek/
H A Dmtk_dpi.c128 * @swap_input_support: Support input swap function.
135 * @channel_swap_shift: Shift value of channel swap.
361 enum mtk_dpi_out_channel_swap swap)
365 switch (swap) {
360 mtk_dpi_config_channel_swap(struct mtk_dpi *dpi, enum mtk_dpi_out_channel_swap swap) argument
/linux-master/fs/xfs/scrub/
H A Dxfarray.c640 * Find a pivot value for quicksort partitioning, swap it with a[lo], and save
725 * Find the cached copy of a[lo] in the pivot array so that we can swap
782 swap(si_lo[si->stack_depth], si_lo[si->stack_depth - 1]);
783 swap(si_hi[si->stack_depth], si_hi[si->stack_depth - 1]);
/linux-master/drivers/net/fddi/skfp/
H A Dsmt.c838 smt_swap_para(sm,(int) mb->sm_len,0) ; /* swap para & header */
907 /* swap it back */
1440 * note: this para 200B is NOT in swap table, because it's also set in
1817 /* swap args */
1879 swap(data[0], data[1]) ;
1884 swap(data[0], data[3]) ;
1885 swap(data[1], data[2]) ;
/linux-master/drivers/net/ethernet/apple/
H A Dbmac.c172 __u32 swap; local
173 __asm__ volatile ("lwbrx %0,0,%1" : "=r" (swap) : "r" (a));
174 return swap;
/linux-master/drivers/gpu/drm/i915/display/
H A Dintel_fb.c982 swap(tile_width, tile_height);
1047 swap(tile_width, tile_height);
1489 swap(tile_width, tile_height);
/linux-master/fs/ext4/
H A Dioctl.c282 * @len: number of bytes to swap
292 swap(*ap, *bp);
300 * This function is used for the primary swap between inode1 and inode2
301 * and also to revert this primary swap in case of errors.
320 swap(inode1->i_version, inode2->i_version);
337 swap(ei1->i_disksize, ei2->i_disksize);
363 * EXT4_BOOT_LOADER_INO. It will basically swap i_data and all other
368 * @inode: the inode to swap with EXT4_BOOT_LOADER_INO

Completed in 524 milliseconds

<<11121314151617181920>>