Home
last modified time | relevance | path

Searched refs:mtype (Results 1 – 25 of 65) sorted by relevance

123

/linux/arch/arm/mm/
H A Dioremap.c49 size_t size, unsigned int mtype)
58 if ((vm->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype)) in find_static_vm_paddr()
110 const struct mem_type *mtype)
113 __pgprot(mtype->prot_pte)); in ioremap_page()
240 unsigned long offset, size_t size, unsigned int mtype, void *caller) in remap_area_supersections()
258 type = get_mem_type(mtype); in remap_area_supersections()
273 svm = find_static_vm_paddr(paddr, size, mtype);
286 mtype != MT_MEMORY_RW)) in __arm_ioremap_pfn_caller()
314 unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller()
327 return __arm_ioremap_pfn_caller(pfn, offset, size, mtype, in __arm_ioremap_pfn_caller()
51 find_static_vm_paddr(phys_addr_t paddr,size_t size,unsigned int mtype) find_static_vm_paddr() argument
112 ioremap_page(unsigned long virt,unsigned long phys,const struct mem_type * mtype) ioremap_page() argument
275 __arm_ioremap_pfn_caller(unsigned long pfn,unsigned long offset,size_t size,unsigned int mtype,void * caller) __arm_ioremap_pfn_caller() argument
353 __arm_ioremap_caller(phys_addr_t phys_addr,size_t size,unsigned int mtype,void * caller) __arm_ioremap_caller() argument
381 __arm_ioremap_pfn(unsigned long pfn,unsigned long offset,size_t size,unsigned int mtype) __arm_ioremap_pfn() argument
423 unsigned int mtype; __arm_ioremap_exec() local
[all...]
/linux/tools/testing/selftests/ipc/
H A Dmsgque.c16 long mtype; member
67 if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype, in restore_queue()
88 ret = msgrcv(msgque->msq_id, &message.mtype, MAX_MSG_SIZE, in check_and_destroy_queue()
102 if (message.mtype != msgque->messages[cnt].mtype) { in check_and_destroy_queue()
161 ret = msgrcv(msgque->msq_id, &msgque->messages[i].mtype, in dump_queue()
179 msgbuf.mtype = MSG_TYPE; in fill_msgque()
181 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(TEST_STRING), in fill_msgque()
187 msgbuf.mtype = ANOTHER_MSG_TYPE; in fill_msgque()
189 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeo in fill_msgque()
[all...]
/linux/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h34 #define mtype MTYPE macro
41 struct mtype *map = set->data; in mtype_gc_init()
50 struct mtype *map = set->data; in mtype_ext_cleanup()
61 struct mtype *map = set->data; in mtype_destroy()
74 struct mtype *map = set->data; in mtype_flush()
85 mtype_memsize(const struct mtype *map, size_t dsize) in mtype_memsize()
94 const struct mtype *map = set->data; in mtype_head()
119 struct mtype *map = set->data; in mtype_test()
133 struct mtype *map = set->data; in mtype_add()
179 struct mtype *map = set->data; in mtype_del()
[all …]
/linux/drivers/edac/
H A Dfsl_ddr_edac.c410 enum mem_type mtype; in fsl_ddr_init_csrows() local
420 mtype = MEM_RDDR; in fsl_ddr_init_csrows()
423 mtype = MEM_RDDR2; in fsl_ddr_init_csrows()
426 mtype = MEM_RDDR3; in fsl_ddr_init_csrows()
429 mtype = MEM_RDDR4; in fsl_ddr_init_csrows()
432 mtype = MEM_UNKNOWN; in fsl_ddr_init_csrows()
438 mtype = MEM_DDR; in fsl_ddr_init_csrows()
441 mtype = MEM_DDR2; in fsl_ddr_init_csrows()
444 mtype = MEM_DDR3; in fsl_ddr_init_csrows()
447 mtype = MEM_DDR4; in fsl_ddr_init_csrows()
[all …]
H A Dbluefield_edac.c305 dimm->mtype = MEM_EMPTY; in bluefield_edac_init_dimms()
314 dimm->mtype = MEM_NVDIMM; in bluefield_edac_init_dimms()
316 dimm->mtype = MEM_LRDDR4; in bluefield_edac_init_dimms()
318 dimm->mtype = MEM_RDDR4; in bluefield_edac_init_dimms()
320 dimm->mtype = MEM_DDR4; in bluefield_edac_init_dimms()
H A Die31200_edac.c148 enum mem_type mtype; member
468 dimm->mtype = cfg->mtype; in ie31200_get_dimm_config()
503 mci->mtype_cap = BIT(cfg->mtype); in ie31200_register_mci()
684 .mtype = MEM_DDR3,
706 .mtype = MEM_DDR4,
728 .mtype = MEM_DDR5,
H A Dsb_edac.c878 enum mem_type mtype; in get_memory_type() local
885 mtype = MEM_RDDR3; in get_memory_type()
887 mtype = MEM_DDR3; in get_memory_type()
889 mtype = MEM_UNKNOWN; in get_memory_type()
891 return mtype; in get_memory_type()
898 enum mem_type mtype = MEM_UNKNOWN; in haswell_get_memory_type() local
912 mtype = MEM_RDDR4; in haswell_get_memory_type()
914 mtype = MEM_DDR4; in haswell_get_memory_type()
917 mtype = MEM_RDDR3; in haswell_get_memory_type()
919 mtype = MEM_DDR3; in haswell_get_memory_type()
[all …]
H A Digen6_edac.c685 u32 mtype, val; in ptl_h_get_mem_type() local
688 mtype = field_get(res_cfg->reg_mem_config_ddr_type_mask, val); in ptl_h_get_mem_type()
690 edac_dbg(2, "mtype %u (reg 0x%x)\n", mtype, val); in ptl_h_get_mem_type()
692 switch (mtype) { in ptl_h_get_mem_type()
734 enum mem_type mtype = ptl_h_get_mem_type(imc); in ptl_h_get_dimm_size() local
738 switch (mtype) { in ptl_h_get_dimm_size()
1425 enum mem_type mtype; in igen6_get_dimm_config() local
1432 mtype = get_mem_type(imc); in igen6_get_dimm_config()
1451 dimm->mtype = mtype; in igen6_get_dimm_config()
H A Dti_edac.c184 dimm->mtype = MEM_DDR2; in ti_edac_setup_dimm()
186 dimm->mtype = MEM_DDR3; in ti_edac_setup_dimm()
H A Dskx_base.c67 enum munittype mtype; member
119 switch (m->mtype) { in get_all_munits()
124 d->imc[i].chan[m->mtype].cdev = pdev; in get_all_munits()
130 d->imc[i].chan[m->mtype - ERRCHAN0].edev = pdev; in get_all_munits()
/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_vm.h97 #define AMDGPU_PTE_MTYPE_VG10_SHIFT(mtype) ((uint64_t)(mtype) << 57) argument
99 #define AMDGPU_PTE_MTYPE_VG10(flags, mtype) \ argument
101 AMDGPU_PTE_MTYPE_VG10_SHIFT(mtype))
114 #define AMDGPU_PTE_MTYPE_NV10_SHIFT(mtype) ((uint64_t)(mtype) << 48) argument
116 #define AMDGPU_PTE_MTYPE_NV10(flags, mtype) \ argument
118 AMDGPU_PTE_MTYPE_NV10_SHIFT(mtype))
125 #define AMDGPU_PTE_MTYPE_GFX12_SHIFT(mtype) ((uint64_t)(mtype) << 5 argument
127 AMDGPU_PTE_MTYPE_GFX12(flags,mtype) global() argument
[all...]
H A Dgmc_v12_1.c681 unsigned int mtype, mtype_local, mtype_remote;
693 mtype = MTYPE_UC; in gmc_v12_1_set_irq_funcs()
703 mtype = mtype_local; in gmc_v12_1_init_vram_info()
705 mtype = MTYPE_UC; in gmc_v12_1_init_vram_info()
707 mtype = is_local ? mtype_local : mtype_remote;
712 mtype = MTYPE_UC;
714 mtype = MTYPE_NC;
717 if (mtype != MTYPE_NC)
718 *flags = AMDGPU_PTE_MTYPE_GFX12(*flags, mtype);
586 unsigned int mtype, mtype_local, mtype_remote; gmc_v12_1_get_coherence_flags() local
/linux/kernel/trace/
H A Dtrace_btf.c96 const struct btf_type *mtype; in btf_find_struct_member()
112 mtype = btf_type_skip_modifiers(btf, member->type, &tid); in btf_find_struct_member()
113 if (mtype && btf_type_is_struct(mtype) && in btf_find_struct_member()
78 const struct btf_type *mtype; btf_find_struct_member() local
/linux/mm/
H A Dvmstat.c1596 int order, mtype; in pagetypeinfo_showfree_print() local
1598 for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) { in pagetypeinfo_showfree_print()
1602 migratetype_names[mtype]); in pagetypeinfo_showfree_print()
1611 list_for_each(curr, &area->free_list[mtype]) { in pagetypeinfo_showfree_print()
1653 int mtype; in pagetypeinfo_showblockcount_print() local
1669 mtype = get_pageblock_migratetype(page); in pagetypeinfo_showblockcount_print()
1671 if (mtype < MIGRATE_TYPES) in pagetypeinfo_showblockcount_print()
1672 count[mtype] in pagetypeinfo_showblockcount_print()
1685 int mtype; pagetypeinfo_showblockcount() local
1705 int mtype; pagetypeinfo_showmixedcount() local
[all...]
/linux/include/uapi/scsi/
H A Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument
104 (hdr)->msgtype = mtype; \
/linux/ipc/
H A Dmsg.c848 static long do_msgsnd(int msqid, long mtype, void __user *mtext, in do_msgsnd() argument
861 if (mtype < 1) in do_msgsnd()
868 msg->m_type = mtype; in do_msgsnd()
964 long mtype; in ksys_msgsnd() local
966 if (get_user(mtype, &msgp->mtype)) in ksys_msgsnd()
968 return do_msgsnd(msqid, mtype, msgp->mtext, msgsz, msgflg); in ksys_msgsnd()
980 compat_long_t mtype; member
988 compat_long_t mtype; in compat_ksys_msgsnd() local
990 if (get_user(mtype, &up->mtype)) in compat_ksys_msgsnd()
992 return do_msgsnd(msqid, mtype, up->mtext, (ssize_t)msgsz, msgflg); in compat_ksys_msgsnd()
[all …]
/linux/drivers/scsi/csiostor/
H A Dcsio_hw_t5.c253 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw() argument
273 if (mtype != MEM_MC1) in csio_t5_memory_rw()
274 memoffset = (mtype * (edc_size * 1024 * 1024)); in csio_t5_memory_rw()
309 mtype, addr, len); in csio_t5_memory_rw()
/linux/include/linux/
H A Dmdev.h71 unsigned int (*get_available)(struct mdev_type *mtype);
72 ssize_t (*show_description)(struct mdev_type *mtype, char *buf);
/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_vi.c177 unsigned int mtype, unsigned int atc_bit) in __update_mqd() argument
185 mtype << CP_HQD_PQ_CONTROL__MTYPE__SHIFT; in __update_mqd()
204 mtype << CP_HQD_EOP_CONTROL__MTYPE__SHIFT; in __update_mqd()
208 mtype << CP_HQD_IB_CONTROL__MTYPE__SHIFT; in __update_mqd()
228 mtype << CP_HQD_IQ_TIMER__MTYPE__SHIFT; in __update_mqd()
240 mtype << CP_HQD_CTX_SAVE_CONTROL__MTYPE__SHIFT; in __update_mqd()
/linux/kernel/bpf/
H A Dbpf_struct_ops.c600 const struct btf_type *mtype; in check_zero_holes()
608 mtype = btf_type_by_id(btf, member->type); in check_zero_holes()
609 mtype = btf_resolve_size(btf, mtype, &msize); in check_zero_holes()
610 if (IS_ERR(mtype)) in check_zero_holes()
611 return PTR_ERR(mtype); in check_zero_holes()
793 const struct btf_type *mtype, *ptype; in bpf_struct_ops_map_update_elem()
826 mtype = btf_type_by_id(st_map->btf, member->type); in bpf_struct_ops_map_update_elem()
827 mtype = btf_resolve_size(st_map->btf, mtype, in bpf_struct_ops_map_update_elem()
599 const struct btf_type *mtype; check_zero_holes() local
787 const struct btf_type *mtype, *ptype; bpf_struct_ops_map_update_elem() local
[all...]
/linux/arch/arm/include/asm/mach/
H A Dmap.h59 const struct mem_type *mtype);
/linux/fs/xfs/libxfs/
H A Dxfs_metafile.c29 enum xfs_metafile_type mtype; member
39 if (xfs_metafile_type_strs[i].mtype == metatype) in xfs_metafile_type_str()
/linux/include/uapi/linux/
H A Dmsg.h39 __kernel_long_t mtype; /* type of message */ member
/linux/net/sched/
H A Dact_ife.c736 u16 mtype; in tcf_ife_decode()
740 curr_data = ife_tlv_meta_decode(tlv_data, ifehdr_end, &mtype, in tcf_ife_decode()
747 ret = find_decode_metaid(skb, p, mtype, dlen, curr_data); in tcf_ife_decode()
756 mtype, dlen); in tcf_ife_decode()
759 mtype, dlen, ret); in tcf_ife_decode()
738 u16 mtype; tcf_ife_decode() local
/linux/drivers/ata/
H A Dpata_it821x.c611 const char *mtype = ""; in it821x_display_disk() local
626 mtype = "UDMA"; in it821x_display_disk()
629 mtype = "MWDMA"; in it821x_display_disk()
636 snprintf(mbuf, sizeof(mbuf), "%5s%d", mtype, mode - 1); in it821x_display_disk()

123