Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/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()
/linux-6.12.1/kernel/power/
Dsnapshot.c150 struct pbe *restore_pblist;
2513 struct highmem_pbe *pbe; in get_highmem_page_buffer() local
2528 pbe = chain_alloc(ca, sizeof(struct highmem_pbe)); in get_highmem_page_buffer()
2529 if (!pbe) { in get_highmem_page_buffer()
2533 pbe->orig_page = page; in get_highmem_page_buffer()
2542 pbe->copy_page = tmp; in get_highmem_page_buffer()
2548 pbe->copy_page = virt_to_page(kaddr); in get_highmem_page_buffer()
2550 pbe->next = highmem_pblist; in get_highmem_page_buffer()
2551 highmem_pblist = pbe; in get_highmem_page_buffer()
2604 #define PBES_PER_LINKED_PAGE (LINKED_PAGE_DATA_SIZE / sizeof(struct pbe))
[all …]
/linux-6.12.1/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()
/linux-6.12.1/arch/x86/kernel/
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()
/linux-6.12.1/arch/xtensa/kernel/
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()
/linux-6.12.1/include/linux/
Dsuspend.h305 struct pbe { struct
308 struct pbe *next; argument
392 extern struct pbe *restore_pblist;
/linux-6.12.1/arch/loongarch/kernel/
Dasm-offsets.c274 OFFSET(PBE_ADDRESS, pbe, address); in output_pbe_defines()
275 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); in output_pbe_defines()
276 OFFSET(PBE_NEXT, pbe, next); in output_pbe_defines()
277 DEFINE(PBE_SIZE, sizeof(struct pbe)); in output_pbe_defines()
/linux-6.12.1/arch/arm64/kernel/
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()
/linux-6.12.1/arch/mips/kernel/
Dasm-offsets.c333 OFFSET(PBE_ADDRESS, pbe, address); in output_pbe_defines()
334 OFFSET(PBE_ORIG_ADDRESS, pbe, orig_address); in output_pbe_defines()
335 OFFSET(PBE_NEXT, pbe, next); in output_pbe_defines()
336 DEFINE(PBE_SIZE, sizeof(struct pbe)); in output_pbe_defines()
/linux-6.12.1/drivers/infiniband/sw/siw/
Dsiw_mem.c322 struct siw_pble *pble = &pbl->pbe[i]; in siw_pbl_get_buffer()
348 pbl = kzalloc(struct_size(pbl, pbe, num_buf), GFP_KERNEL); in siw_pbl_alloc()
Dsiw.h137 struct siw_pble pbe[] __counted_by(max_buf);
Dsiw_verbs.c1478 pble = pbl->pbe; in siw_map_mr_sg()
/linux-6.12.1/drivers/infiniband/hw/ocrdma/
Docrdma_verbs.c818 struct ocrdma_pbe *pbe; in build_user_pbes() local
827 pbe = (struct ocrdma_pbe *)pbl_tbl->va; 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()
2031 struct ocrdma_pbe *pbe; in ocrdma_build_reg() local
2058 pbe = pbl_tbl->va; in ocrdma_build_reg()
2062 pbe->pa_lo = cpu_to_le32((u32) (buf_addr & PAGE_MASK)); in ocrdma_build_reg()
2063 pbe->pa_hi = cpu_to_le32((u32) upper_32_bits(buf_addr)); in ocrdma_build_reg()
[all …]
/linux-6.12.1/lib/zstd/common/
Dcpu.h157 D(pbe, 31)
/linux-6.12.1/arch/powerpc/kernel/
Dasm-offsets.c327 OFFSET(pbe_address, pbe, address); in main()
328 OFFSET(pbe_orig_address, pbe, orig_address); in main()
329 OFFSET(pbe_next, pbe, next); in main()
/linux-6.12.1/arch/riscv/kernel/
Dasm-offsets.c131 OFFSET(HIBERN_PBE_ADDR, pbe, address); in asm_offsets()
132 OFFSET(HIBERN_PBE_ORIG, pbe, orig_address); in asm_offsets()
133 OFFSET(HIBERN_PBE_NEXT, pbe, next); in asm_offsets()
/linux-6.12.1/drivers/infiniband/hw/qedr/
Dverbs.c628 struct regpair *pbe; in qedr_populate_pbls() local
641 pbe = (struct regpair *)pbl_tbl->va; in qedr_populate_pbls()
642 if (!pbe) { in qedr_populate_pbls()
652 pbe->lo = cpu_to_le32(pg_addr); in qedr_populate_pbls()
653 pbe->hi = cpu_to_le32(upper_32_bits(pg_addr)); in qedr_populate_pbls()
657 pbe++; in qedr_populate_pbls()
666 pbe = (struct regpair *)pbl_tbl->va; in qedr_populate_pbls()
3159 struct regpair *pbe; in qedr_set_page() local
3172 pbe = (struct regpair *)pbl_table->va; in qedr_set_page()
3173 pbe += mr->npages % pbes_in_page; in qedr_set_page()
[all …]
/linux-6.12.1/arch/mips/include/asm/octeon/
Dcvmx-pci-defs.h449 uint32_t pbe:12; member
459 uint32_t pbe:12;
/linux-6.12.1/tools/arch/x86/kcpuid/
Dcpuid.csv93 1, 0, edx, 31, pbe , Pending Break Enable