/linux-master/mm/ |
H A D | workingset.c | 15 #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 D | memremap.c | 9 #include <linux/swap.h>
|
H A D | show_mem.c | 15 #include <linux/swap.h> 19 #include "swap.h"
|
/linux-master/fs/bcachefs/ |
H A D | io_write.c | 975 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 D | bkey.c | 1057 swap(*l, *h); 1070 swap(*l, *h);
|
H A D | util.h | 88 swap((h)->data[i], (h)->data[j]); \ 694 swap((_base)[_i], (_base)[_i + 1]); \
|
/linux-master/include/linux/ |
H A D | swap.h | 25 #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 D | remap_range.c | 173 swap(folio1, folio2);
|
/linux-master/drivers/extcon/ |
H A D | extcon-usbc-cros-ec.c | 154 pd_control.swap = USB_PD_CTRL_SWAP_NONE;
|
/linux-master/net/unix/ |
H A D | garbage.c | 530 swap(unix_vertex_unvisited_index, unix_vertex_grouped_index);
|
/linux-master/drivers/gpu/drm/amd/display/dc/core/ |
H A D | dc_resource.c | 773 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 D | ftl.c | 539 swap(xfer->EraseCount, eun->EraseCount); 540 swap(xfer->Offset, eun->Offset);
|
/linux-master/drivers/md/ |
H A D | dm-ima.c | 369 void dm_ima_measure_on_device_resume(struct mapped_device *md, bool swap) argument 390 if (swap) {
|
H A D | dm-zoned-target.c | 159 swap(bio->bi_iter.bi_size, size); 161 swap(bio->bi_iter.bi_size, size);
|
/linux-master/arch/x86/crypto/ |
H A D | sha256-ssse3-asm.S | 67 # Load xmm with mem and byte swap each dword 393 ## byte swap first 16 dwords
|
H A D | sha256-avx-asm.S | 73 # Load xmm with mem and byte swap each dword 383 ## byte swap first 16 dwords
|
/linux-master/drivers/media/tuners/ |
H A D | e4000.c | 235 swap(q_data[2], q_data[3]); 236 swap(i_data[2], i_data[3]);
|
/linux-master/drivers/net/ethernet/sfc/ |
H A D | efx_channels.c | 880 swap(efx->channel[i], other_channel[i]); 923 swap(efx->channel[i], other_channel[i]);
|
/linux-master/drivers/iommu/ |
H A D | iova.c | 777 swap(cpu_rcache->prev, cpu_rcache->loaded); 831 swap(cpu_rcache->prev, cpu_rcache->loaded);
|
/linux-master/drivers/gpu/drm/mediatek/ |
H A D | mtk_dpi.c | 128 * @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 D | xfarray.c | 640 * 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 D | smt.c | 838 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 D | bmac.c | 172 __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 D | intel_fb.c | 982 swap(tile_width, tile_height); 1047 swap(tile_width, tile_height); 1489 swap(tile_width, tile_height);
|
/linux-master/fs/ext4/ |
H A D | ioctl.c | 282 * @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
|