/linux-6.6.21/drivers/clk/qcom/ |
D | clk-rcg.c | 106 static u32 md_to_m(struct mn *mn, u32 md) in md_to_m() argument 108 md >>= mn->m_val_shift; in md_to_m() 109 md &= BIT(mn->width) - 1; in md_to_m() 132 static u32 mn_to_md(struct mn *mn, u32 m, u32 n, u32 md) in mn_to_md() argument 136 mask_w = BIT(mn->width) - 1; in mn_to_md() 137 mask = (mask_w << mn->m_val_shift) | mask_w; in mn_to_md() 141 m <<= mn->m_val_shift; in mn_to_md() 149 static u32 ns_m_to_n(struct mn *mn, u32 ns, u32 m) in ns_m_to_n() argument 151 ns = ~ns >> mn->n_val_shift; in ns_m_to_n() 152 ns &= BIT(mn->width) - 1; in ns_m_to_n() [all …]
|
D | clk-rcg.h | 30 struct mn { struct 79 struct mn mn; member 118 struct mn mn[2]; member
|
D | gcc-msm8660.c | 106 .mn = { 157 .mn = { 208 .mn = { 259 .mn = { 310 .mn = { 361 .mn = { 412 .mn = { 463 .mn = { 514 .mn = { 565 .mn = { [all …]
|
D | gcc-mdm9615.c | 188 .mn = { 239 .mn = { 290 .mn = { 341 .mn = { 392 .mn = { 455 .mn = { 506 .mn = { 557 .mn = { 608 .mn = { 659 .mn = { [all …]
|
D | gcc-ipq806x.c | 414 .mn = { 465 .mn = { 516 .mn = { 567 .mn = { 618 .mn = { 669 .mn = { 733 .mn = { 784 .mn = { 835 .mn = { 886 .mn = { [all …]
|
D | gcc-msm8960.c | 351 .mn = { 402 .mn = { 453 .mn = { 504 .mn = { 555 .mn = { 606 .mn = { 657 .mn = { 708 .mn = { 759 .mn = { 810 .mn = { [all …]
|
D | mmcc-msm8960.c | 176 .mn = { 227 .mn = { 278 .mn = { 336 .mn = { 404 .mn = { 472 .mn = { 727 .mn = { 833 .mn[0] = { 841 .mn[1] = { 895 .mn[0] = { [all …]
|
D | lcc-ipq806x.c | 113 .mn = { 230 .mn = { 314 .mn = { 371 .mn = {
|
D | lcc-msm8960.c | 96 .mn = { \ 258 .mn = { 328 .mn = {
|
/linux-6.6.21/drivers/misc/sgi-gru/ |
D | grutlbpurge.c | 209 static int gru_invalidate_range_start(struct mmu_notifier *mn, in gru_invalidate_range_start() argument 212 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_start() 224 static void gru_invalidate_range_end(struct mmu_notifier *mn, in gru_invalidate_range_end() argument 227 struct gru_mm_struct *gms = container_of(mn, struct gru_mm_struct, in gru_invalidate_range_end() 252 static void gru_free_notifier(struct mmu_notifier *mn) in gru_free_notifier() argument 254 kfree(container_of(mn, struct gru_mm_struct, ms_notifier)); in gru_free_notifier() 267 struct mmu_notifier *mn; in gru_register_mmu_notifier() local 269 mn = mmu_notifier_get_locked(&gru_mmuops, current->mm); in gru_register_mmu_notifier() 270 if (IS_ERR(mn)) in gru_register_mmu_notifier() 271 return ERR_CAST(mn); in gru_register_mmu_notifier() [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/core/ |
D | memory.c | 38 nvkm_mm_free(&fb->tags.mm, &tags->mn); in nvkm_memory_tags_put() 61 if (tags->mn && tags->mn->length != nr) { in nvkm_memory_tags_get() 77 if (!nvkm_mm_head(&fb->tags.mm, 0, 1, nr, nr, 1, &tags->mn)) { in nvkm_memory_tags_get() 79 clr(device, tags->mn->offset, tags->mn->length); in nvkm_memory_tags_get() 90 tags->mn = NULL; in nvkm_memory_tags_get()
|
/linux-6.6.21/drivers/infiniband/hw/hfi1/ |
D | mmu_rb.c | 59 INIT_HLIST_NODE(&h->mn.hlist); in hfi1_mmu_rb_register() 61 h->mn.ops = &mn_opts; in hfi1_mmu_rb_register() 68 ret = mmu_notifier_register(&h->mn, current->mm); in hfi1_mmu_rb_register() 86 mmgrab(handler->mn.mm); in hfi1_mmu_rb_unregister() 89 mmu_notifier_unregister(&handler->mn, handler->mn.mm); in hfi1_mmu_rb_unregister() 115 mmdrop(handler->mn.mm); in hfi1_mmu_rb_unregister() 129 if (current->mm != handler->mn.mm) in hfi1_mmu_rb_insert() 233 if (current->mm != handler->mn.mm) in hfi1_mmu_rb_evict() 261 static int mmu_notifier_range_start(struct mmu_notifier *mn, in mmu_notifier_range_start() argument 265 container_of(mn, struct mmu_rb_handler, mn); in mmu_notifier_range_start()
|
/linux-6.6.21/drivers/iommu/arm/arm-smmu-v3/ |
D | arm-smmu-v3-sva.c | 17 struct mmu_notifier mn; member 25 #define mn_to_smmu(mn) container_of(mn, struct arm_smmu_mmu_notifier, mn) argument 198 static void arm_smmu_mm_arch_invalidate_secondary_tlbs(struct mmu_notifier *mn, in arm_smmu_mm_arch_invalidate_secondary_tlbs() argument 203 struct arm_smmu_mmu_notifier *smmu_mn = mn_to_smmu(mn); in arm_smmu_mm_arch_invalidate_secondary_tlbs() 235 static void arm_smmu_mm_release(struct mmu_notifier *mn, struct mm_struct *mm) in arm_smmu_mm_release() argument 237 struct arm_smmu_mmu_notifier *smmu_mn = mn_to_smmu(mn); in arm_smmu_mm_release() 259 static void arm_smmu_mmu_notifier_free(struct mmu_notifier *mn) in arm_smmu_mmu_notifier_free() argument 261 kfree(mn_to_smmu(mn)); in arm_smmu_mmu_notifier_free() 280 if (smmu_mn->mn.mm == mm) { in arm_smmu_mmu_notifier_get() 299 smmu_mn->mn.ops = &arm_smmu_mmu_notifier_ops; in arm_smmu_mmu_notifier_get() [all …]
|
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
D | en_rep_tracepoint.h | 24 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh; 34 if (mn->family == AF_INET) { 35 *p32 = mn->dst_ip.v4; 37 } else if (mn->family == AF_INET6) { 38 *pin6 = mn->dst_ip.v6;
|
D | en_tc_tracepoint.h | 85 TP_fast_assign(const struct mlx5e_neigh *mn = &nhe->m_neigh; 94 if (mn->family == AF_INET) { 95 *p32 = mn->dst_ip.v4; 97 } else if (mn->family == AF_INET6) { 98 *pin6 = mn->dst_ip.v6;
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/fb/ |
D | ram.c | 35 struct nvkm_mm_node *mn; member 52 .mem = vram->mn, in nvkm_vram_map() 61 return (u64)nvkm_mm_size(nvkm_vram(memory)->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_size() 68 if (!nvkm_mm_contiguous(vram->mn)) in nvkm_vram_addr() 70 return (u64)nvkm_mm_addr(vram->mn) << NVKM_RAM_MM_SHIFT; in nvkm_vram_addr() 89 struct nvkm_mm_node *next = vram->mn; in nvkm_vram_dtor() 138 node = &vram->mn; in nvkm_ram_get()
|
/linux-6.6.21/mm/ |
D | page_ext.c | 416 struct memory_notify *mn = arg; in page_ext_callback() local 421 ret = online_page_ext(mn->start_pfn, in page_ext_callback() 422 mn->nr_pages, mn->status_change_nid); in page_ext_callback() 425 offline_page_ext(mn->start_pfn, in page_ext_callback() 426 mn->nr_pages); in page_ext_callback() 429 offline_page_ext(mn->start_pfn, in page_ext_callback() 430 mn->nr_pages); in page_ext_callback()
|
/linux-6.6.21/drivers/iommu/amd/ |
D | iommu_v2.c | 41 struct mmu_notifier mn; /* mmu_notifier handle */ member 337 mmu_notifier_unregister(&pasid_state->mn, pasid_state->mm); in free_pasid_states() 356 static struct pasid_state *mn_to_state(struct mmu_notifier *mn) in mn_to_state() argument 358 return container_of(mn, struct pasid_state, mn); in mn_to_state() 361 static void mn_arch_invalidate_secondary_tlbs(struct mmu_notifier *mn, in mn_arch_invalidate_secondary_tlbs() argument 368 pasid_state = mn_to_state(mn); in mn_arch_invalidate_secondary_tlbs() 378 static void mn_release(struct mmu_notifier *mn, struct mm_struct *mm) in mn_release() argument 386 pasid_state = mn_to_state(mn); in mn_release() 641 pasid_state->mn.ops = &iommu_mn; in amd_iommu_bind_pasid() 646 ret = mmu_notifier_register(&pasid_state->mn, mm); in amd_iommu_bind_pasid() [all …]
|
/linux-6.6.21/drivers/gpu/drm/nouveau/nvkm/subdev/instmem/ |
D | gk20a.c | 53 struct nvkm_mm_node *mn; member 130 return (u64)gk20a_instobj(memory)->mn->offset << 12; in gk20a_instobj_addr() 136 return (u64)gk20a_instobj(memory)->mn->length << 12; in gk20a_instobj_size() 288 .mem = node->mn, in gk20a_instobj_map() 304 dma_free_attrs(dev, (u64)node->base.mn->length << PAGE_SHIFT, in gk20a_instobj_dtor_dma() 317 struct nvkm_mm_node *r = node->base.mn; in gk20a_instobj_dtor_iommu() 335 for (i = 0; i < node->base.mn->length; i++) { in gk20a_instobj_dtor_iommu() 416 node->base.mn = &node->r; in gk20a_instobj_ctor_dma() 494 node->base.mn = r; in gk20a_instobj_ctor_iommu() 543 size, align, (u64)node->mn->offset << 12); in gk20a_instobj_new()
|
/linux-6.6.21/drivers/gpu/drm/radeon/ |
D | radeon_mn.c | 49 static bool radeon_mn_invalidate(struct mmu_interval_notifier *mn, in radeon_mn_invalidate() argument 53 struct radeon_bo *bo = container_of(mn, struct radeon_bo, notifier); in radeon_mn_invalidate()
|
/linux-6.6.21/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 1025 struct verify_chip_entry_84xx *mn = NULL; in qla84xx_updatefw() local 1071 mn = dma_pool_zalloc(ha->s_dma_pool, GFP_KERNEL, &mn_dma); in qla84xx_updatefw() 1072 if (!mn) { in qla84xx_updatefw() 1082 mn->entry_type = VERIFY_CHIP_IOCB_TYPE; in qla84xx_updatefw() 1083 mn->entry_count = 1; in qla84xx_updatefw() 1089 mn->options = cpu_to_le16(options); in qla84xx_updatefw() 1090 mn->fw_ver = cpu_to_le32(fw_ver); in qla84xx_updatefw() 1091 mn->fw_size = cpu_to_le32(data_len); in qla84xx_updatefw() 1092 mn->fw_seq_size = cpu_to_le32(data_len); in qla84xx_updatefw() 1093 put_unaligned_le64(fw_dma, &mn->dsd.address); in qla84xx_updatefw() [all …]
|
/linux-6.6.21/arch/x86/kernel/apic/ |
D | x2apic_uv_x.c | 1212 struct mn { struct 1220 static void get_mn(struct mn *mnp) in get_mn() argument 1242 struct mn mn; in uv_init_hub_info() local 1244 get_mn(&mn); in uv_init_hub_info() 1245 hi->gpa_mask = mn.m_val ? in uv_init_hub_info() 1246 (1UL << (mn.m_val + mn.n_val)) - 1 : in uv_init_hub_info() 1249 hi->m_val = mn.m_val; in uv_init_hub_info() 1250 hi->n_val = mn.n_val; in uv_init_hub_info() 1251 hi->m_shift = mn.m_shift; in uv_init_hub_info() 1252 hi->n_lshift = mn.n_lshift ? mn.n_lshift : 0; in uv_init_hub_info() [all …]
|
/linux-6.6.21/net/sched/ |
D | sch_teql.c | 230 struct neighbour *mn; in __teql_resolve() local 232 mn = __neigh_lookup_errno(n->tbl, n->primary_key, dev); in __teql_resolve() 234 if (IS_ERR(mn)) in __teql_resolve() 235 return PTR_ERR(mn); in __teql_resolve() 236 n = mn; in __teql_resolve()
|
/linux-6.6.21/lib/ |
D | maple_tree.c | 318 static inline void mte_set_node_dead(struct maple_enode *mn) in mte_set_node_dead() argument 320 mte_to_node(mn)->parent = ma_parent_ptr(mte_to_node(mn)); in mte_set_node_dead() 754 static inline void mte_set_pivot(struct maple_enode *mn, unsigned char piv, in mte_set_pivot() argument 757 struct maple_node *node = mte_to_node(mn); in mte_set_pivot() 758 enum maple_type type = mte_node_type(mn); in mte_set_pivot() 783 static inline void __rcu **ma_slots(struct maple_node *mn, enum maple_type mt) in ma_slots() argument 788 return mn->ma64.slot; in ma_slots() 791 return mn->mr64.slot; in ma_slots() 793 return mn->slot; in ma_slots() 875 static inline struct maple_metadata *ma_meta(struct maple_node *mn, in ma_meta() argument [all …]
|
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_cs.h | 68 struct amdgpu_mn *mn; member
|