Searched refs:pgdir (Results 1 - 25 of 38) sorted by relevance

12

/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_db.c73 struct hns_roce_db_pgdir *pgdir; local
75 pgdir = kzalloc(sizeof(*pgdir), GFP_KERNEL);
76 if (!pgdir)
79 bitmap_fill(pgdir->order1,
81 pgdir->bits[0] = pgdir->order0;
82 pgdir->bits[1] = pgdir->order1;
83 pgdir
93 hns_roce_alloc_db_from_pgdir(struct hns_roce_db_pgdir *pgdir, struct hns_roce_db *db, int order) argument
127 struct hns_roce_db_pgdir *pgdir; local
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c137 struct mlx5_db_pgdir *pgdir; local
139 pgdir = kzalloc_node(sizeof(*pgdir), GFP_KERNEL, node);
140 if (!pgdir)
143 pgdir->bitmap = bitmap_zalloc_node(db_per_page, GFP_KERNEL, node);
144 if (!pgdir->bitmap) {
145 kfree(pgdir);
149 bitmap_fill(pgdir->bitmap, db_per_page);
151 pgdir->db_page = mlx5_dma_zalloc_coherent_node(dev, PAGE_SIZE,
152 &pgdir
162 mlx5_alloc_db_from_pgdir(struct mlx5_db_pgdir *pgdir, struct mlx5_db *db) argument
189 struct mlx5_db_pgdir *pgdir; local
[all...]
/linux-master/arch/powerpc/include/asm/
H A Dpte-walk.h7 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, argument
16 pte = __find_linux_pte(pgdir, ea, is_thp, hshift);
31 pgd_t *pgdir = init_mm.pgd; local
32 return __find_linux_pte(pgdir, ea, NULL, hshift);
H A Dprocessor.h145 void *pgdir; /* root of page-table tree */ member in struct:thread_struct
289 .pgdir = swapper_pg_dir, \
298 .pgdir = swapper_pg_dir, \
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c665 struct mlx4_db_pgdir *pgdir; local
667 pgdir = kzalloc(sizeof(*pgdir), GFP_KERNEL);
668 if (!pgdir)
671 bitmap_fill(pgdir->order1, MLX4_DB_PER_PAGE / 2);
672 pgdir->bits[0] = pgdir->order0;
673 pgdir->bits[1] = pgdir->order1;
674 pgdir
684 mlx4_alloc_db_from_pgdir(struct mlx4_db_pgdir *pgdir, struct mlx4_db *db, int order) argument
718 struct mlx4_db_pgdir *pgdir; local
[all...]
/linux-master/include/xen/
H A Dxen-front-pgdir-shbuf.h70 struct xen_front_pgdir_shbuf *pgdir; member in struct:xen_front_pgdir_shbuf_cfg
/linux-master/arch/microblaze/include/asm/
H A Dprocessor.h57 void *pgdir; /* root of page-table tree */ member in struct:thread_struct
63 .pgdir = swapper_pg_dir, \
H A Dmmu_context_mm.h117 tsk->thread.pgdir = next->pgd;
130 current->thread.pgdir = mm->pgd;
/linux-master/arch/arm/include/asm/
H A Dsmp.h55 u64 pgdir; member in union:secondary_data::__anon6
/linux-master/arch/powerpc/mm/
H A Dmmu_context.c20 tsk->thread.pgdir = mm->pgd;
H A Dpgtable.c381 pte_t *__find_linux_pte(pgd_t *pgdir, unsigned long ea, argument
405 pgdp = pgdir + pgd_index(ea);
/linux-master/drivers/xen/
H A DMakefile40 obj-$(CONFIG_XEN_FRONT_PGDIR_SHBUF) += xen-front-pgdir-shbuf.o
H A Dxen-front-pgdir-shbuf.c22 #include <xen/xen-front-pgdir-shbuf.h>
517 struct xen_front_pgdir_shbuf *buf = cfg->pgdir;
/linux-master/arch/powerpc/kvm/
H A De500_mmu_host.c338 pgd_t *pgdir; local
469 pgdir = vcpu_e500->vcpu.arch.pgdir;
477 ptep = find_linux_pte(pgdir, hva, NULL, NULL);
/linux-master/tools/testing/selftests/tc-testing/
H A Dtdc.py60 def load_plugin(self, pgdir, pgname):
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-master/arch/arm64/mm/
H A Dmmu.c411 static void __create_pgd_mapping_locked(pgd_t *pgdir, phys_addr_t phys, argument
418 pgd_t *pgdp = pgd_offset_pgd(pgdir, virt);
439 static void __create_pgd_mapping(pgd_t *pgdir, phys_addr_t phys, argument
446 __create_pgd_mapping_locked(pgdir, phys, virt, size, prot,
453 void create_kpti_ng_temp_pgd(pgd_t *pgdir, phys_addr_t phys, unsigned long virt,
1280 static void __remove_pgd_mapping(pgd_t *pgdir, unsigned long start, u64 size) argument
1284 WARN_ON(pgdir != init_mm.pgd);
/linux-master/arch/x86/mm/
H A Dtlb.c282 static void load_new_mm_cr3(pgd_t *pgdir, u16 new_asid, unsigned long lam, argument
289 new_mm_cr3 = build_cr3(pgdir, new_asid, lam);
291 new_mm_cr3 = build_cr3_noflush(pgdir, new_asid, lam);
/linux-master/arch/x86/include/asm/
H A Dprocessor.h219 static inline void load_cr3(pgd_t *pgdir) argument
221 write_cr3(__sme_pa(pgdir));
/linux-master/arch/microblaze/kernel/
H A Dasm-offsets.c83 DEFINE(PGDIR, offsetof(struct thread_struct, pgdir));
/linux-master/arch/arm64/kernel/pi/
H A Dmap_kernel.c21 extern void idmap_cpu_replace_ttbr1(void *pgdir);
/linux-master/arch/powerpc/mm/book3s64/
H A Dhash_utils.c1464 pgd_t *pgdir; local
1509 DBG_LOW(" mm=%p, mm->pgdir=%p, vsid=%016lx\n", mm, mm->pgd, vsid);
1517 /* Get pgdir */
1518 pgdir = mm->pgd;
1519 if (pgdir == NULL) {
1542 ptep = find_linux_pte(pgdir, ea, &is_thp, &hugeshift);
1766 pgd_t *pgdir; local
1776 DBG_LOW("hash_preload(mm=%p, mm->pgdir=%p, ea=%016lx, access=%lx,"
1780 pgdir = mm->pgd;
1781 if (pgdir
[all...]
/linux-master/arch/riscv/mm/
H A Dinit.c893 static void __init create_kernel_page_table(pgd_t *pgdir, argument
901 create_pgd_mapping(pgdir, va,
908 create_pgd_mapping(pgdir, va,
913 static void __init create_kernel_page_table(pgd_t *pgdir, bool early) argument
919 create_pgd_mapping(pgdir, va,
/linux-master/drivers/gpu/drm/xen/
H A Dxen_drm_front.c26 #include <xen/xen-front-pgdir-shbuf.h>
183 buf_cfg.pgdir = &dbuf->shbuf;
/linux-master/sound/xen/
H A Dxen_snd_front.c19 #include <xen/xen-front-pgdir-shbuf.h>
/linux-master/arch/openrisc/include/asm/
H A Dpgtable.h201 #define SET_PAGE_DIR(tsk, pgdir)

Completed in 264 milliseconds

12