Searched refs:pbe (Results 1 - 13 of 13) sorted by relevance

/linux-4.1.27/arch/arm/kernel/
H A Dhibernate.c84 struct pbe *pbe; arch_restore_image() local
87 for (pbe = restore_pblist; pbe; pbe = pbe->next) arch_restore_image()
88 copy_page(pbe->orig_address, pbe->address); arch_restore_image()
/linux-4.1.27/arch/unicore32/include/mach/
H A Dpm.h37 extern int restore_image(pgd_t *resume_pg_dir, struct pbe *restore_pblist);
39 extern struct pbe *restore_pblist;
/linux-4.1.27/arch/x86/kernel/
H A Dasm-offsets.c40 OFFSET(pbe_address, pbe, address); common()
41 OFFSET(pbe_orig_address, pbe, orig_address); common()
42 OFFSET(pbe_next, pbe, next); common()
/linux-4.1.27/arch/sh/kernel/
H A Dasm-offsets.c30 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); main()
31 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); main()
32 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); main()
/linux-4.1.27/arch/unicore32/kernel/
H A Dasm-offsets.c97 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); main()
98 DEFINE(PBE_ORIN_ADDRESS, offsetof(struct pbe, orig_address)); main()
99 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); main()
/linux-4.1.27/arch/x86/power/
H A Dhibernate_asm_64.S85 /* get addresses from the pbe and copy the page */
92 /* progress to the next pbe */
/linux-4.1.27/arch/sparc/power/
H A Dhibernate_asm.S89 /* next pbe */
/linux-4.1.27/arch/mips/kernel/
H A Dasm-offsets.c328 COMMENT(" Linux struct pbe offsets. "); output_pbe_defines()
329 OFFSET(PBE_ADDRESS, pbe, address); output_pbe_defines()
330 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); output_pbe_defines()
331 OFFSET(PBE_NEXT, pbe, next); output_pbe_defines()
332 DEFINE(PBE_SIZE, sizeof(struct pbe)); output_pbe_defines()
/linux-4.1.27/kernel/power/
H A Dsnapshot.c75 struct pbe *restore_pblist;
2226 struct highmem_pbe *pbe; get_highmem_page_buffer() local
2239 pbe = chain_alloc(ca, sizeof(struct highmem_pbe)); get_highmem_page_buffer()
2240 if (!pbe) { get_highmem_page_buffer()
2244 pbe->orig_page = page; get_highmem_page_buffer()
2253 pbe->copy_page = tmp; get_highmem_page_buffer()
2258 pbe->copy_page = virt_to_page(kaddr); get_highmem_page_buffer()
2260 pbe->next = highmem_pblist; get_highmem_page_buffer()
2261 highmem_pblist = pbe; get_highmem_page_buffer()
2331 #define PBES_PER_LINKED_PAGE (LINKED_PAGE_DATA_SIZE / sizeof(struct pbe)) free_highmem_data()
2419 struct pbe *pbe; get_buffer() local
2439 pbe = chain_alloc(ca, sizeof(struct pbe)); get_buffer()
2440 if (!pbe) { get_buffer()
2444 pbe->orig_address = page_address(page); get_buffer()
2445 pbe->address = safe_pages_list; get_buffer()
2447 pbe->next = restore_pblist; get_buffer()
2448 restore_pblist = pbe; get_buffer()
2449 return pbe->address; get_buffer()
2590 struct highmem_pbe *pbe = highmem_pblist; restore_highmem() local
2593 if (!pbe) restore_highmem()
2600 while (pbe) { restore_highmem()
2601 swap_two_pages_data(pbe->copy_page, pbe->orig_page, buf); restore_highmem()
2602 pbe = pbe->next; restore_highmem()
/linux-4.1.27/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c839 struct ocrdma_pbe *pbe; build_user_pbes() local
848 pbe = (struct ocrdma_pbe *)pbl_tbl->va; build_user_pbes()
856 /* store the page address in pbe */ build_user_pbes()
857 pbe->pa_lo = build_user_pbes()
861 pbe->pa_hi = build_user_pbes()
868 pbe++; build_user_pbes()
880 pbe = (struct ocrdma_pbe *)pbl_tbl->va; build_user_pbes()
2071 struct ocrdma_pbe *pbe; build_frmr_pbes() local
2073 pbe = (struct ocrdma_pbe *)pbl_tbl->va; build_frmr_pbes()
2076 /* go through the OS phy regions & fill hw pbe entries into pbls. */ build_frmr_pbes()
2083 pbe->pa_lo = cpu_to_le32((u32) (buf_addr & PAGE_MASK)); build_frmr_pbes()
2084 pbe->pa_hi = cpu_to_le32((u32) upper_32_bits(buf_addr)); build_frmr_pbes()
2086 pbe++; build_frmr_pbes()
2093 pbe = (struct ocrdma_pbe *)pbl_tbl->va; build_frmr_pbes()
3079 struct ocrdma_pbe *pbe; build_kernel_pbes() local
3085 pbe = (struct ocrdma_pbe *)pbl_tbl->va; build_kernel_pbes()
3088 /* go through the OS phy regions & fill hw pbe entries into pbls. */ build_kernel_pbes()
3107 pbe->pa_lo = build_kernel_pbes()
3109 pbe->pa_hi = build_kernel_pbes()
3112 pbe->pa_lo = build_kernel_pbes()
3114 pbe->pa_hi = build_kernel_pbes()
3120 pbe++; build_kernel_pbes()
3129 pbe = (struct ocrdma_pbe *)pbl_tbl->va; build_kernel_pbes()
/linux-4.1.27/include/linux/
H A Dsuspend.h251 /* struct pbe is used for creating lists of pages that should be restored freeze_wake()
255 struct pbe { freeze_wake() struct
258 struct pbe *next; freeze_wake()
350 extern struct pbe *restore_pblist;
/linux-4.1.27/arch/powerpc/kernel/
H A Dasm-offsets.c377 DEFINE(pbe_address, offsetof(struct pbe, address)); main()
378 DEFINE(pbe_orig_address, offsetof(struct pbe, orig_address)); main()
379 DEFINE(pbe_next, offsetof(struct pbe, next)); main()
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-pci-defs.h562 uint32_t pbe:12; member in struct:cvmx_pci_cfg16::cvmx_pci_cfg16_s
572 uint32_t pbe:12;

Completed in 380 milliseconds