Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
H A Dhns_roce_db.c75 struct hns_roce_db_pgdir *pgdir; in hns_roce_alloc_db_pgdir() local
77 pgdir = kzalloc(sizeof(*pgdir), GFP_KERNEL); in hns_roce_alloc_db_pgdir()
78 if (!pgdir) in hns_roce_alloc_db_pgdir()
81 bitmap_fill(pgdir->order1, in hns_roce_alloc_db_pgdir()
83 pgdir->bits[0] = pgdir->order0; in hns_roce_alloc_db_pgdir()
84 pgdir->bits[1] = pgdir->order1; in hns_roce_alloc_db_pgdir()
85 pgdir in hns_roce_alloc_db_pgdir()
95 hns_roce_alloc_db_from_pgdir(struct hns_roce_db_pgdir *pgdir, struct hns_roce_db *db, int order) hns_roce_alloc_db_from_pgdir() argument
129 struct hns_roce_db_pgdir *pgdir; hns_roce_alloc_db() local
[all...]
/kernel/linux/linux-6.6/drivers/infiniband/hw/hns/
H A Dhns_roce_db.c73 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 in hns_roce_alloc_db_pgdir()
93 hns_roce_alloc_db_from_pgdir(struct hns_roce_db_pgdir *pgdir, struct hns_roce_db *db, int order) hns_roce_alloc_db_from_pgdir() argument
127 struct hns_roce_db_pgdir *pgdir; hns_roce_alloc_db() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c137 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 in mlx5_alloc_db_pgdir()
162 mlx5_alloc_db_from_pgdir(struct mlx5_db_pgdir *pgdir, struct mlx5_db *db) mlx5_alloc_db_from_pgdir() argument
189 struct mlx5_db_pgdir *pgdir; mlx5_db_alloc_node() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
H A Dalloc.c184 struct mlx5_db_pgdir *pgdir; in mlx5_alloc_db_pgdir() local
186 pgdir = kzalloc(sizeof(*pgdir), GFP_KERNEL); in mlx5_alloc_db_pgdir()
187 if (!pgdir) in mlx5_alloc_db_pgdir()
190 pgdir->bitmap = bitmap_zalloc(db_per_page, GFP_KERNEL); in mlx5_alloc_db_pgdir()
191 if (!pgdir->bitmap) { in mlx5_alloc_db_pgdir()
192 kfree(pgdir); in mlx5_alloc_db_pgdir()
196 bitmap_fill(pgdir->bitmap, db_per_page); in mlx5_alloc_db_pgdir()
198 pgdir->db_page = mlx5_dma_zalloc_coherent_node(dev, PAGE_SIZE, in mlx5_alloc_db_pgdir()
199 &pgdir in mlx5_alloc_db_pgdir()
209 mlx5_alloc_db_from_pgdir(struct mlx5_db_pgdir *pgdir, struct mlx5_db *db) mlx5_alloc_db_from_pgdir() argument
236 struct mlx5_db_pgdir *pgdir; mlx5_db_alloc_node() local
[all...]
/kernel/linux/linux-5.10/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, 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()
38 static inline pte_t *find_current_mm_pte(pgd_t *pgdir, unsigned long ea, in find_current_mm_pte() argument
44 VM_WARN(pgdir != current->mm->pgd, in find_current_mm_pte()
46 pte = __find_linux_pte(pgdir, ea, is_thp, hshift); in find_current_mm_pte()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c665 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 in mlx4_alloc_db_pgdir()
684 mlx4_alloc_db_from_pgdir(struct mlx4_db_pgdir *pgdir, struct mlx4_db *db, int order) mlx4_alloc_db_from_pgdir() argument
718 struct mlx4_db_pgdir *pgdir; mlx4_db_alloc() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c665 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 in mlx4_alloc_db_pgdir()
684 mlx4_alloc_db_from_pgdir(struct mlx4_db_pgdir *pgdir, struct mlx4_db *db, int order) mlx4_alloc_db_from_pgdir() argument
718 struct mlx4_db_pgdir *pgdir; mlx4_db_alloc() local
[all...]
/kernel/linux/linux-6.6/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, 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()
H A Dprocessor.h145 void *pgdir; /* root of page-table tree */ member
289 .pgdir = swapper_pg_dir, \
298 .pgdir = swapper_pg_dir, \
/kernel/linux/linux-6.6/arch/arm64/mm/
H A Dfixmap.c172 * Copy the fixmap region into a new pgdir.
174 void __init fixmap_copy(pgd_t *pgdir) in fixmap_copy() argument
176 if (!READ_ONCE(pgd_val(*pgd_offset_pgd(pgdir, FIXADDR_TOT_START)))) { in fixmap_copy()
182 set_pgd(pgd_offset_pgd(pgdir, FIXADDR_TOT_START), in fixmap_copy()
195 bm_pgdp = pgd_offset_pgd(pgdir, FIXADDR_TOT_START); in fixmap_copy()
/kernel/linux/linux-5.10/arch/arm64/include/asm/
H A Dkasan.h37 void kasan_copy_shadow(pgd_t *pgdir);
42 static inline void kasan_copy_shadow(pgd_t *pgdir) { } in kasan_copy_shadow() argument
/kernel/linux/linux-6.6/arch/arm64/include/asm/
H A Dkasan.h39 void kasan_copy_shadow(pgd_t *pgdir);
44 static inline void kasan_copy_shadow(pgd_t *pgdir) { } in kasan_copy_shadow() argument
H A Dfixmap.h103 void __init fixmap_copy(pgd_t *pgdir);
/kernel/linux/linux-6.6/arch/microblaze/include/asm/
H A Dprocessor.h57 void *pgdir; /* root of page-table tree */ member
63 .pgdir = swapper_pg_dir, \
H A Dmmu_context_mm.h117 tsk->thread.pgdir = next->pgd; in switch_mm()
130 current->thread.pgdir = mm->pgd; in activate_mm()
/kernel/linux/linux-5.10/arch/microblaze/include/asm/
H A Dmmu_context_mm.h120 tsk->thread.pgdir = next->pgd; in switch_mm()
132 current->thread.pgdir = mm->pgd; in activate_mm()
H A Dprocessor.h93 void *pgdir; /* root of page-table tree */ member
99 .pgdir = swapper_pg_dir, \
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/
H A Dtdc.py59 def load_plugin(self, pgdir, pgname):
61 foo = importlib.import_module('{}.{}'.format(pgdir, pgname))
107 pgdir = source_path[0]
108 pgdir = pgdir.split('/')[0]
109 self.load_plugin(pgdir, fname)
/kernel/linux/linux-5.10/include/xen/
H A Dxen-front-pgdir-shbuf.h70 struct xen_front_pgdir_shbuf *pgdir; member
/kernel/linux/linux-6.6/include/xen/
H A Dxen-front-pgdir-shbuf.h70 struct xen_front_pgdir_shbuf *pgdir; member
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/
H A Dtdc.py59 def load_plugin(self, pgdir, pgname):
61 foo = importlib.import_module('{}.{}'.format(pgdir, pgname))
107 pgdir = source_path[0]
108 pgdir = pgdir.split('/')[0]
109 self.load_plugin(pgdir, fname)
/kernel/linux/linux-5.10/arch/powerpc/mm/
H A Dmmu_context.c20 tsk->thread.pgdir = mm->pgd; in switch_mm_pgdir()
/kernel/linux/linux-5.10/arch/arm/include/asm/
H A Dsmp.h60 u64 pgdir; member
/kernel/linux/linux-6.6/arch/arm/include/asm/
H A Dsmp.h55 u64 pgdir; member
/kernel/linux/linux-5.10/arch/powerpc/kvm/
H A De500_mmu_host.c338 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()

Completed in 12 milliseconds

1234