Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/arm/kernel/
H A Dhibernate.c83 struct pbe *pbe; in arch_restore_image() local
86 for (pbe = restore_pblist; pbe; pbe = pbe->next) in arch_restore_image()
87 copy_page(pbe->orig_address, pbe->address); in arch_restore_image()
/kernel/linux/linux-6.6/arch/arm/kernel/
H A Dhibernate.c83 struct pbe *pbe; in arch_restore_image() local
86 for (pbe = restore_pblist; pbe; pbe = pbe->next) in arch_restore_image()
87 copy_page(pbe->orig_address, pbe->address); in arch_restore_image()
/kernel/linux/linux-5.10/drivers/gpu/drm/lima/
H A Dlima_vm.c40 u32 pbe = LIMA_PBE(addr); in lima_vm_unmap_range() local
43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_range()
49 u32 pbe = LIMA_PBE(va); in lima_vm_map_page() local
52 if (!vm->bts[pbe].cpu) { in lima_vm_map_page()
57 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page()
59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); in lima_vm_map_page()
60 if (!vm->bts[pbe].cpu) in lima_vm_map_page()
63 pts = vm->bts[pbe].dma; in lima_vm_map_page()
64 pd = vm->pd.cpu + (pbe << LIMA_VM_NUM_PT_PER_BT_SHIFT); in lima_vm_map_page()
71 vm->bts[pbe] in lima_vm_map_page()
[all...]
/kernel/linux/linux-6.6/drivers/gpu/drm/lima/
H A Dlima_vm.c40 u32 pbe = LIMA_PBE(addr); in lima_vm_unmap_range() local
43 vm->bts[pbe].cpu[bte] = 0; in lima_vm_unmap_range()
49 u32 pbe = LIMA_PBE(va); in lima_vm_map_page() local
52 if (!vm->bts[pbe].cpu) { in lima_vm_map_page()
57 vm->bts[pbe].cpu = dma_alloc_wc( in lima_vm_map_page()
59 &vm->bts[pbe].dma, GFP_KERNEL | __GFP_NOWARN | __GFP_ZERO); in lima_vm_map_page()
60 if (!vm->bts[pbe].cpu) in lima_vm_map_page()
63 pts = vm->bts[pbe].dma; in lima_vm_map_page()
64 pd = vm->pd.cpu + (pbe << LIMA_VM_NUM_PT_PER_BT_SHIFT); in lima_vm_map_page()
71 vm->bts[pbe] in lima_vm_map_page()
[all...]
/kernel/linux/linux-5.10/kernel/power/
H A Dsnapshot.c114 struct pbe *restore_pblist;
2343 struct highmem_pbe *pbe; in get_highmem_page_buffer() local
2358 pbe = chain_alloc(ca, sizeof(struct highmem_pbe)); in get_highmem_page_buffer()
2359 if (!pbe) { in get_highmem_page_buffer()
2363 pbe->orig_page = page; in get_highmem_page_buffer()
2372 pbe->copy_page = tmp; in get_highmem_page_buffer()
2378 pbe->copy_page = virt_to_page(kaddr); in get_highmem_page_buffer()
2380 pbe->next = highmem_pblist; in get_highmem_page_buffer()
2381 highmem_pblist = pbe; in get_highmem_page_buffer()
2434 #define PBES_PER_LINKED_PAGE (LINKED_PAGE_DATA_SIZE / sizeof(struct pbe))
2529 struct pbe *pbe; get_buffer() local
2693 struct highmem_pbe *pbe = highmem_pblist; restore_highmem() local
[all...]
/kernel/linux/linux-6.6/kernel/power/
H A Dsnapshot.c148 struct pbe *restore_pblist;
2516 struct highmem_pbe *pbe; in get_highmem_page_buffer() local
2531 pbe = chain_alloc(ca, sizeof(struct highmem_pbe)); in get_highmem_page_buffer()
2532 if (!pbe) { in get_highmem_page_buffer()
2536 pbe->orig_page = page; in get_highmem_page_buffer()
2545 pbe->copy_page = tmp; in get_highmem_page_buffer()
2551 pbe->copy_page = virt_to_page(kaddr); in get_highmem_page_buffer()
2553 pbe->next = highmem_pblist; in get_highmem_page_buffer()
2554 highmem_pblist = pbe; in get_highmem_page_buffer()
2607 #define PBES_PER_LINKED_PAGE (LINKED_PAGE_DATA_SIZE / sizeof(struct pbe))
2726 struct pbe *pbe; get_buffer() local
2906 struct highmem_pbe *pbe = highmem_pblist; restore_highmem() local
[all...]
/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dasm-offsets.c44 OFFSET(pbe_address, pbe, address); in common()
45 OFFSET(pbe_orig_address, pbe, orig_address); in common()
46 OFFSET(pbe_next, pbe, next); in common()
/kernel/linux/linux-5.10/arch/sh/kernel/
H A Dasm-offsets.c31 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
32 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
33 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
/kernel/linux/linux-6.6/arch/sh/kernel/
H A Dasm-offsets.c31 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
32 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
33 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dasm-offsets.c43 OFFSET(pbe_address, pbe, address); in common()
44 OFFSET(pbe_orig_address, pbe, orig_address); in common()
45 OFFSET(pbe_next, pbe, next); in common()
/kernel/linux/linux-6.6/arch/xtensa/kernel/
H A Dasm-offsets.c157 DEFINE(PBE_ADDRESS, offsetof(struct pbe, address)); in main()
158 DEFINE(PBE_ORIG_ADDRESS, offsetof(struct pbe, orig_address)); in main()
159 DEFINE(PBE_NEXT, offsetof(struct pbe, next)); in main()
160 DEFINE(PBE_SIZE, sizeof(struct pbe)); in main()
/kernel/linux/linux-5.10/include/linux/
H A Dsuspend.h353 /* struct pbe is used for creating lists of pages that should be restored
357 struct pbe { struct
360 struct pbe *next;
446 extern struct pbe *restore_pblist;
/kernel/linux/linux-5.10/arch/arm64/kernel/
H A Dasm-offsets.c128 DEFINE(HIBERN_PBE_ORIG, offsetof(struct pbe, orig_address)); in main()
129 DEFINE(HIBERN_PBE_ADDR, offsetof(struct pbe, address)); in main()
130 DEFINE(HIBERN_PBE_NEXT, offsetof(struct pbe, next)); in main()
/kernel/linux/linux-6.6/include/linux/
H A Dsuspend.h360 /* struct pbe is used for creating lists of pages that should be restored
364 struct pbe { struct
367 struct pbe *next;
451 extern struct pbe *restore_pblist;
/kernel/linux/linux-5.10/arch/loongarch/kernel/
H A Dasm-offsets.c277 COMMENT(" Linux struct pbe offsets. "); in output_pbe_defines()
278 OFFSET(PBE_ADDRESS, pbe, address); in output_pbe_defines()
279 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); in output_pbe_defines()
280 OFFSET(PBE_NEXT, pbe, next); in output_pbe_defines()
281 DEFINE(PBE_SIZE, sizeof(struct pbe)); in output_pbe_defines()
/kernel/linux/linux-6.6/arch/loongarch/kernel/
H A Dasm-offsets.c272 COMMENT("Linux struct pbe offsets."); in output_pbe_defines()
273 OFFSET(PBE_ADDRESS, pbe, address); in output_pbe_defines()
274 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); in output_pbe_defines()
275 OFFSET(PBE_NEXT, pbe, next); in output_pbe_defines()
276 DEFINE(PBE_SIZE, sizeof(struct pbe)); in output_pbe_defines()
/kernel/linux/linux-5.10/arch/mips/kernel/
H A Dasm-offsets.c324 COMMENT(" Linux struct pbe offsets. "); in output_pbe_defines()
325 OFFSET(PBE_ADDRESS, pbe, address); in output_pbe_defines()
326 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); in output_pbe_defines()
327 OFFSET(PBE_NEXT, pbe, next); in output_pbe_defines()
328 DEFINE(PBE_SIZE, sizeof(struct pbe)); in output_pbe_defines()
/kernel/linux/linux-6.6/arch/mips/kernel/
H A Dasm-offsets.c331 COMMENT(" Linux struct pbe offsets. "); in output_pbe_defines()
332 OFFSET(PBE_ADDRESS, pbe, address); in output_pbe_defines()
333 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); in output_pbe_defines()
334 OFFSET(PBE_NEXT, pbe, next); in output_pbe_defines()
335 DEFINE(PBE_SIZE, sizeof(struct pbe)); in output_pbe_defines()
/kernel/linux/linux-6.6/arch/arm64/kernel/
H A Dasm-offsets.c172 DEFINE(HIBERN_PBE_ORIG, offsetof(struct pbe, orig_address)); in main()
173 DEFINE(HIBERN_PBE_ADDR, offsetof(struct pbe, address)); in main()
174 DEFINE(HIBERN_PBE_NEXT, offsetof(struct pbe, next)); in main()
/kernel/linux/linux-6.6/lib/zstd/common/
H A Dcpu.h157 D(pbe, 31)
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c816 struct ocrdma_pbe *pbe; in build_user_pbes() local
825 pbe = (struct ocrdma_pbe *)pbl_tbl->va; in build_user_pbes()
829 /* store the page address in pbe */ in build_user_pbes()
831 pbe->pa_lo = cpu_to_le32(pg_addr); in build_user_pbes()
832 pbe->pa_hi = cpu_to_le32(upper_32_bits(pg_addr)); in build_user_pbes()
834 pbe++; in build_user_pbes()
841 pbe = (struct ocrdma_pbe *)pbl_tbl->va; in build_user_pbes()
2032 struct ocrdma_pbe *pbe; in ocrdma_build_reg() local
2059 pbe = pbl_tbl->va; in ocrdma_build_reg()
2063 pbe in ocrdma_build_reg()
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/ocrdma/
H A Docrdma_verbs.c818 struct ocrdma_pbe *pbe; in build_user_pbes() local
827 pbe = (struct ocrdma_pbe *)pbl_tbl->va; in build_user_pbes()
831 /* store the page address in pbe */ in build_user_pbes()
833 pbe->pa_lo = cpu_to_le32(pg_addr); in build_user_pbes()
834 pbe->pa_hi = cpu_to_le32(upper_32_bits(pg_addr)); in build_user_pbes()
836 pbe++; in build_user_pbes()
843 pbe = (struct ocrdma_pbe *)pbl_tbl->va; in build_user_pbes()
2030 struct ocrdma_pbe *pbe; in ocrdma_build_reg() local
2057 pbe = pbl_tbl->va; in ocrdma_build_reg()
2061 pbe in ocrdma_build_reg()
[all...]
/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
H A Dsiw_mem.c330 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer()
356 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc()
/kernel/linux/linux-6.6/drivers/infiniband/sw/siw/
H A Dsiw_mem.c330 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer()
356 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc()
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
H A Dverbs.c626 struct regpair *pbe; in qedr_populate_pbls() local
639 pbe = (struct regpair *)pbl_tbl->va; in qedr_populate_pbls()
640 if (!pbe) { in qedr_populate_pbls()
650 pbe->lo = cpu_to_le32(pg_addr); in qedr_populate_pbls()
651 pbe->hi = cpu_to_le32(upper_32_bits(pg_addr)); in qedr_populate_pbls()
655 pbe++; in qedr_populate_pbls()
664 pbe = (struct regpair *)pbl_tbl->va; in qedr_populate_pbls()
3158 struct regpair *pbe; in qedr_set_page() local
3171 pbe = (struct regpair *)pbl_table->va; in qedr_set_page()
3172 pbe in qedr_set_page()
[all...]

Completed in 26 milliseconds

12