/linux-6.12.1/drivers/infiniband/hw/hns/ |
D | hns_roce_db.c | 73 struct hns_roce_db_pgdir *pgdir; in hns_roce_alloc_db_pgdir() local 75 pgdir = kzalloc(sizeof(*pgdir), GFP_KERNEL); in hns_roce_alloc_db_pgdir() 76 if (!pgdir) in hns_roce_alloc_db_pgdir() 79 bitmap_fill(pgdir->order1, in hns_roce_alloc_db_pgdir() 81 pgdir->bits[0] = pgdir->order0; in hns_roce_alloc_db_pgdir() 82 pgdir->bits[1] = pgdir->order1; in hns_roce_alloc_db_pgdir() 83 pgdir->page = dma_alloc_coherent(dma_device, PAGE_SIZE, in hns_roce_alloc_db_pgdir() 84 &pgdir->db_dma, GFP_KERNEL); in hns_roce_alloc_db_pgdir() 85 if (!pgdir->page) { in hns_roce_alloc_db_pgdir() 86 kfree(pgdir); in hns_roce_alloc_db_pgdir() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/ |
D | alloc.c | 137 struct mlx5_db_pgdir *pgdir; in mlx5_alloc_db_pgdir() local 139 pgdir = kzalloc_node(sizeof(*pgdir), GFP_KERNEL, node); in mlx5_alloc_db_pgdir() 140 if (!pgdir) in mlx5_alloc_db_pgdir() 143 pgdir->bitmap = bitmap_zalloc_node(db_per_page, GFP_KERNEL, node); in mlx5_alloc_db_pgdir() 144 if (!pgdir->bitmap) { in mlx5_alloc_db_pgdir() 145 kfree(pgdir); in mlx5_alloc_db_pgdir() 149 bitmap_fill(pgdir->bitmap, db_per_page); in mlx5_alloc_db_pgdir() 151 pgdir->db_page = mlx5_dma_zalloc_coherent_node(dev, PAGE_SIZE, in mlx5_alloc_db_pgdir() 152 &pgdir->db_dma, node); in mlx5_alloc_db_pgdir() 153 if (!pgdir->db_page) { in mlx5_alloc_db_pgdir() [all …]
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx4/ |
D | alloc.c | 665 struct mlx4_db_pgdir *pgdir; in mlx4_alloc_db_pgdir() local 667 pgdir = kzalloc(sizeof(*pgdir), GFP_KERNEL); in mlx4_alloc_db_pgdir() 668 if (!pgdir) in mlx4_alloc_db_pgdir() 671 bitmap_fill(pgdir->order1, MLX4_DB_PER_PAGE / 2); in mlx4_alloc_db_pgdir() 672 pgdir->bits[0] = pgdir->order0; in mlx4_alloc_db_pgdir() 673 pgdir->bits[1] = pgdir->order1; in mlx4_alloc_db_pgdir() 674 pgdir->db_page = dma_alloc_coherent(dma_device, PAGE_SIZE, in mlx4_alloc_db_pgdir() 675 &pgdir->db_dma, GFP_KERNEL); in mlx4_alloc_db_pgdir() 676 if (!pgdir->db_page) { in mlx4_alloc_db_pgdir() 677 kfree(pgdir); in mlx4_alloc_db_pgdir() [all …]
|
/linux-6.12.1/arch/powerpc/include/asm/ |
D | pte-walk.h | 7 extern pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea, 10 static inline pte_t *find_linux_pte(pgd_t *pgdir, unsigned long ea, in find_linux_pte() argument 16 pte = __find_linux_pte(pgdir, ea, is_thp, hshift); in find_linux_pte() 31 pgd_t *pgdir = init_mm.pgd; in find_init_mm_pte() local 32 return __find_linux_pte(pgdir, ea, NULL, hshift); in find_init_mm_pte()
|
D | processor.h | 145 void *pgdir; /* root of page-table tree */ member 290 .pgdir = swapper_pg_dir, \ 299 .pgdir = swapper_pg_dir, \
|
/linux-6.12.1/arch/microblaze/include/asm/ |
D | processor.h | 57 void *pgdir; /* root of page-table tree */ member 63 .pgdir = swapper_pg_dir, \
|
D | mmu_context_mm.h | 117 tsk->thread.pgdir = next->pgd; in switch_mm() 130 current->thread.pgdir = mm->pgd; in activate_mm()
|
/linux-6.12.1/include/xen/ |
D | xen-front-pgdir-shbuf.h | 70 struct xen_front_pgdir_shbuf *pgdir; member
|
/linux-6.12.1/arch/arm/include/asm/ |
D | smp.h | 55 u64 pgdir; member
|
/linux-6.12.1/arch/powerpc/mm/ |
D | mmu_context.c | 20 tsk->thread.pgdir = mm->pgd; in switch_mm_pgdir()
|
D | pgtable.c | 428 pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea, in __find_linux_pte() argument 456 pgdp = pgdir + pgd_index(ea); in __find_linux_pte()
|
/linux-6.12.1/tools/testing/selftests/tc-testing/ |
D | tdc.py | 60 def load_plugin(self, pgdir, pgname): argument 64 foo = importlib.import_module('{}.{}'.format(pgdir, pgname)) 119 pgdir = source_path[0] 120 pgdir = pgdir.split('/')[0] 121 self.load_plugin(pgdir, fname)
|
/linux-6.12.1/arch/powerpc/kvm/ |
D | e500_mmu_host.c | 338 pgd_t *pgdir; in kvmppc_e500_shadow_map() local 469 pgdir = vcpu_e500->vcpu.arch.pgdir; in kvmppc_e500_shadow_map() 477 ptep = find_linux_pte(pgdir, hva, NULL, NULL); in kvmppc_e500_shadow_map()
|
D | book3s_hv_rm_mmu.c | 186 pgd_t *pgdir, bool realmode, unsigned long *pte_idx_ret) in kvmppc_do_h_enter() argument 405 vcpu->arch.pgdir, true, in kvmppc_h_enter()
|
/linux-6.12.1/arch/arm64/mm/ |
D | mmu.c | 427 static void __create_pgd_mapping_locked(pgd_t *pgdir, phys_addr_t phys, in __create_pgd_mapping_locked() argument 434 pgd_t *pgdp = pgd_offset_pgd(pgdir, virt); in __create_pgd_mapping_locked() 455 static void __create_pgd_mapping(pgd_t *pgdir, phys_addr_t phys, in __create_pgd_mapping() argument 462 __create_pgd_mapping_locked(pgdir, phys, virt, size, prot, in __create_pgd_mapping() 469 void create_kpti_ng_temp_pgd(pgd_t *pgdir, phys_addr_t phys, unsigned long virt, 1295 static void __remove_pgd_mapping(pgd_t *pgdir, unsigned long start, u64 size) in __remove_pgd_mapping() argument 1299 WARN_ON(pgdir != init_mm.pgd); in __remove_pgd_mapping()
|
/linux-6.12.1/arch/powerpc/mm/book3s64/ |
D | hash_utils.c | 1460 pgd_t *pgdir; in hash_page_mm() local 1514 pgdir = mm->pgd; in hash_page_mm() 1515 if (pgdir == NULL) { in hash_page_mm() 1538 ptep = find_linux_pte(pgdir, ea, &is_thp, &hugeshift); in hash_page_mm() 1769 pgd_t *pgdir; in hash_preload() local 1783 pgdir = mm->pgd; in hash_preload() 1784 if (pgdir == NULL) in hash_preload()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | processor.h | 233 static inline void load_cr3(pgd_t *pgdir) in load_cr3() argument 235 write_cr3(__sme_pa(pgdir)); in load_cr3()
|
/linux-6.12.1/drivers/xen/ |
D | Makefile | 40 obj-$(CONFIG_XEN_FRONT_PGDIR_SHBUF) += xen-front-pgdir-shbuf.o
|
D | xen-front-pgdir-shbuf.c | 517 struct xen_front_pgdir_shbuf *buf = cfg->pgdir; in xen_front_pgdir_shbuf_alloc()
|
/linux-6.12.1/arch/x86/mm/ |
D | tlb.c | 279 static void load_new_mm_cr3(pgd_t *pgdir, u16 new_asid, unsigned long lam, in load_new_mm_cr3() argument 286 new_mm_cr3 = build_cr3(pgdir, new_asid, lam); in load_new_mm_cr3() 288 new_mm_cr3 = build_cr3_noflush(pgdir, new_asid, lam); in load_new_mm_cr3()
|
/linux-6.12.1/arch/arm64/kernel/pi/ |
D | map_kernel.c | 21 extern void idmap_cpu_replace_ttbr1(void *pgdir);
|
/linux-6.12.1/arch/riscv/mm/ |
D | init.c | 919 static void __init create_kernel_page_table(pgd_t *pgdir, in create_kernel_page_table() argument 927 create_pgd_mapping(pgdir, va, in create_kernel_page_table() 935 create_pgd_mapping(pgdir, va, in create_kernel_page_table() 940 static void __init create_kernel_page_table(pgd_t *pgdir, bool early) in create_kernel_page_table() argument 946 create_pgd_mapping(pgdir, va, in create_kernel_page_table()
|
/linux-6.12.1/arch/microblaze/kernel/ |
D | asm-offsets.c | 83 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir)); in main()
|
/linux-6.12.1/arch/openrisc/include/asm/ |
D | pgtable.h | 201 #define SET_PAGE_DIR(tsk, pgdir) argument
|
/linux-6.12.1/arch/arm/kernel/ |
D | smp.c | 152 secondary_data.pgdir = virt_to_phys(idmap_pgd); in __cpu_up()
|