Home
last modified time | relevance | path

Searched refs:pbe (Results 1 – 15 of 15) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/kernel/
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/
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].cpu[bte] = pa | LIMA_VM_FLAGS_CACHE; in lima_vm_map_page()
/kernel/linux/linux-5.10/kernel/power/
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()
2377 pbe->copy_page = virt_to_page(kaddr); in get_highmem_page_buffer()
2379 pbe->next = highmem_pblist; in get_highmem_page_buffer()
2380 highmem_pblist = pbe; in get_highmem_page_buffer()
2433 #define PBES_PER_LINKED_PAGE (LINKED_PAGE_DATA_SIZE / sizeof(struct pbe))
[all …]
/kernel/linux/linux-5.10/arch/sh/kernel/
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-5.10/arch/x86/kernel/
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/include/linux/
Dsuspend.h357 struct pbe { struct
360 struct pbe *next; argument
446 extern struct pbe *restore_pblist;
/kernel/linux/linux-5.10/arch/arm64/kernel/
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-5.10/arch/mips/kernel/
Dasm-offsets.c325 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-5.10/drivers/infiniband/sw/siw/
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()
Dsiw.h139 struct siw_pble pbe[]; member
Dsiw_verbs.c1486 pble = pbl->pbe; in siw_map_mr_sg()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c816 struct ocrdma_pbe *pbe; in build_user_pbes() local
825 pbe = (struct ocrdma_pbe *)pbl_tbl->va; 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->pa_lo = cpu_to_le32((u32) (buf_addr & PAGE_MASK)); in ocrdma_build_reg()
2064 pbe->pa_hi = cpu_to_le32((u32) upper_32_bits(buf_addr)); in ocrdma_build_reg()
[all …]
/kernel/linux/linux-5.10/drivers/infiniband/hw/qedr/
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 += mr->npages % pbes_in_page; in qedr_set_page()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dasm-offsets.c391 OFFSET(pbe_address, pbe, address); in main()
392 OFFSET(pbe_orig_address, pbe, orig_address); in main()
393 OFFSET(pbe_next, pbe, next); in main()
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pci-defs.h449 uint32_t pbe:12; member
459 uint32_t pbe:12;