Home
last modified time | relevance | path

Searched refs:swp (Results 1 – 22 of 22) sorted by relevance

/linux-4.4.14/include/linux/
Dswap.h472 #define free_swap_and_cache(swp) is_migration_entry(swp) argument
473 #define swapcache_prepare(swp) is_migration_entry(swp) argument
475 static inline int add_swap_count_continuation(swp_entry_t swp, gfp_t gfp_mask) in add_swap_count_continuation() argument
480 static inline void swap_shmem_alloc(swp_entry_t swp) in swap_shmem_alloc() argument
484 static inline int swap_duplicate(swp_entry_t swp) in swap_duplicate() argument
489 static inline void swap_free(swp_entry_t swp) in swap_free() argument
493 static inline void swapcache_free(swp_entry_t swp) in swapcache_free() argument
497 static inline struct page *swapin_readahead(swp_entry_t swp, gfp_t gfp_mask, in swapin_readahead() argument
508 static inline struct page *lookup_swap_cache(swp_entry_t swp) in lookup_swap_cache() argument
Dswapops.h147 static inline int is_migration_entry(swp_entry_t swp) in is_migration_entry() argument
151 #define migration_entry_to_page(swp) NULL argument
215 static inline int is_hwpoison_entry(swp_entry_t swp) in is_hwpoison_entry() argument
/linux-4.4.14/arch/nios2/include/asm/
Dpgtable.h283 #define __swp_type(swp) (((swp).val >> 26) & 0x3) argument
284 #define __swp_offset(swp) ((swp).val & 0xfffff) argument
287 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/linux-4.4.14/arch/tile/include/asm/
Dpgtable.h292 #define __swp_type(swp) ((swp).val & 0x1f) argument
293 #define __swp_offset(swp) ((swp).val >> 5) argument
296 #define __swp_entry_to_pte(swp) ((pte_t) { (((long long) ((swp).val)) << 32) }) argument
/linux-4.4.14/fs/nilfs2/
Dthe_nilfs.c503 int valid[2], swp = 0; in nilfs_load_super_block() local
529 swp = valid[1] && (!valid[0] || in nilfs_load_super_block()
533 if (valid[swp] && nilfs_sb2_bad_offset(sbp[swp], sb2off)) { in nilfs_load_super_block()
538 swp = 0; in nilfs_load_super_block()
540 if (!valid[swp]) { in nilfs_load_super_block()
547 if (!valid[!swp]) in nilfs_load_super_block()
550 if (swp) in nilfs_load_super_block()
555 nilfs->ns_prot_seq = le64_to_cpu(sbp[valid[1] & !swp]->s_last_seq); in nilfs_load_super_block()
/linux-4.4.14/mm/
Dmincore.c68 swp_entry_t swp = radix_to_swp_entry(page); in mincore_page() local
69 page = find_get_page(swap_address_space(swp), swp.val); in mincore_page()
Dhugetlb.c3054 swp_entry_t swp; in is_hugetlb_entry_migration() local
3058 swp = pte_to_swp_entry(pte); in is_hugetlb_entry_migration()
3059 if (non_swap_entry(swp) && is_migration_entry(swp)) in is_hugetlb_entry_migration()
3067 swp_entry_t swp; in is_hugetlb_entry_hwpoisoned() local
3071 swp = pte_to_swp_entry(pte); in is_hugetlb_entry_hwpoisoned()
3072 if (non_swap_entry(swp) && is_hwpoison_entry(swp)) in is_hugetlb_entry_hwpoisoned()
Dmemcontrol.c4519 swp_entry_t swp = radix_to_swp_entry(page); in mc_handle_file_pte() local
4521 *entry = swp; in mc_handle_file_pte()
4522 page = find_get_page(swap_address_space(swp), swp.val); in mc_handle_file_pte()
/linux-4.4.14/tools/testing/selftests/rcutorture/
D.gitignore6 *.swp
/linux-4.4.14/arch/unicore32/include/asm/
Dpgtable.h276 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/linux-4.4.14/Documentation/devicetree/bindings/net/nfc/
Dst-nci-spi.txt15 - uicc-present: Specifies that the uicc swp signal can be physically
Dst-nci-i2c.txt16 - uicc-present: Specifies that the uicc swp signal can be physically
Dst21nfca.txt16 - uicc-present: Specifies that the uicc swp signal can be physically
/linux-4.4.14/Documentation/zh_CN/arm64/
Dlegacy_instructions.txt57 节点: /proc/sys/abi/swp
/linux-4.4.14/ipc/
Dshm.c781 unsigned long *swp) in shm_get_stat() argument
787 *swp = 0; in shm_get_stat()
800 shm_add_rss_swap(shp, rss, swp); in shm_get_stat()
1369 unsigned long rss = 0, swp = 0; in sysvipc_shm_proc_show() local
1371 shm_add_rss_swap(shp, &rss, &swp); in sysvipc_shm_proc_show()
1398 swp * PAGE_SIZE); in sysvipc_shm_proc_show()
/linux-4.4.14/arch/arm/include/asm/
Dpgtable.h336 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/linux-4.4.14/arch/unicore32/mm/
Dalignment.c221 goto swp; in do_alignment_ldrhstrh()
237 swp: in do_alignment_ldrhstrh()
/linux-4.4.14/Documentation/arm64/
Dlegacy_instructions.txt41 Node: /proc/sys/abi/swp
/linux-4.4.14/arch/arm/mm/
Dalignment.c839 goto swp; in do_alignment()
921 swp: in do_alignment()
/linux-4.4.14/arch/arm64/include/asm/
Dpgtable.h672 #define __swp_entry_to_pte(swp) ((pte_t) { (swp).val }) argument
/linux-4.4.14/arch/mips/include/asm/
Dasm.h308 #define LONG_SP swp
/linux-4.4.14/Documentation/cgroups/
Dmemcg_test.txt102 - A swp page is read. (move a charge from swap_cgroup to page_cgroup)