Home
last modified time | relevance | path

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

123

/Linux-v4.19/arch/arm/mm/
Dioremap.c47 size_t size, unsigned int mtype) in find_static_vm_paddr() argument
56 if ((vm->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype)) in find_static_vm_paddr()
108 const struct mem_type *mtype) in ioremap_page() argument
111 __pgprot(mtype->prot_pte)); in ioremap_page()
260 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller() argument
276 type = get_mem_type(mtype); in __arm_ioremap_pfn_caller()
291 svm = find_static_vm_paddr(paddr, size, mtype); in __arm_ioremap_pfn_caller()
303 if (WARN_ON(pfn_valid(pfn) && mtype != MT_MEMORY_RW)) in __arm_ioremap_pfn_caller()
337 unsigned int mtype, void *caller) in __arm_ioremap_caller() argument
350 return __arm_ioremap_pfn_caller(pfn, offset, size, mtype, in __arm_ioremap_caller()
[all …]
Dnommu.c184 size_t size, unsigned int mtype) in __arm_ioremap_pfn() argument
193 unsigned int mtype, void *caller) in __arm_ioremap_caller() argument
/Linux-v4.19/tools/testing/selftests/ipc/
Dmsgque.c15 long mtype; member
66 if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype, in restore_queue()
87 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()
176 msgbuf.mtype = MSG_TYPE; in fill_msgque()
178 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(TEST_STRING), in fill_msgque()
184 msgbuf.mtype = ANOTHER_MSG_TYPE; in fill_msgque()
186 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(ANOTHER_TEST_STRING), in fill_msgque()
/Linux-v4.19/drivers/edac/
Dghes_edac.c112 dimm->mtype = MEM_RDDR; in ghes_edac_dmidecode()
114 dimm->mtype = MEM_DDR; in ghes_edac_dmidecode()
118 dimm->mtype = MEM_RDDR2; in ghes_edac_dmidecode()
120 dimm->mtype = MEM_DDR2; in ghes_edac_dmidecode()
123 dimm->mtype = MEM_FB_DDR2; in ghes_edac_dmidecode()
127 dimm->mtype = MEM_NVDIMM; in ghes_edac_dmidecode()
129 dimm->mtype = MEM_RDDR3; in ghes_edac_dmidecode()
131 dimm->mtype = MEM_DDR3; in ghes_edac_dmidecode()
135 dimm->mtype = MEM_NVDIMM; in ghes_edac_dmidecode()
137 dimm->mtype = MEM_RDDR4; in ghes_edac_dmidecode()
[all …]
Di82443bxgx_edac.c187 enum mem_type mtype) in i82443bxgx_init_csrows() argument
223 dimm->mtype = mtype; in i82443bxgx_init_csrows()
238 enum mem_type mtype; in i82443bxgx_edacmc_probe1() local
266 mtype = MEM_EDO; in i82443bxgx_edacmc_probe1()
269 mtype = MEM_SDR; in i82443bxgx_edacmc_probe1()
272 mtype = MEM_RDR; in i82443bxgx_edacmc_probe1()
276 mtype = -MEM_UNKNOWN; in i82443bxgx_edacmc_probe1()
279 if ((mtype == MEM_SDR) || (mtype == MEM_RDR)) in i82443bxgx_edacmc_probe1()
309 i82443bxgx_init_csrows(mci, pdev, edac_mode, mtype); in i82443bxgx_edacmc_probe1()
Dfsl_ddr_edac.c394 enum mem_type mtype; in fsl_ddr_init_csrows() local
404 mtype = MEM_RDDR; in fsl_ddr_init_csrows()
407 mtype = MEM_RDDR2; in fsl_ddr_init_csrows()
410 mtype = MEM_RDDR3; in fsl_ddr_init_csrows()
413 mtype = MEM_RDDR4; in fsl_ddr_init_csrows()
416 mtype = MEM_UNKNOWN; in fsl_ddr_init_csrows()
422 mtype = MEM_DDR; in fsl_ddr_init_csrows()
425 mtype = MEM_DDR2; in fsl_ddr_init_csrows()
428 mtype = MEM_DDR3; in fsl_ddr_init_csrows()
431 mtype = MEM_DDR4; in fsl_ddr_init_csrows()
[all …]
Die31200_edac.c477 dimm->mtype = MEM_DDR4; in ie31200_probe1()
479 dimm->mtype = MEM_DDR3; in ie31200_probe1()
489 dimm->mtype = MEM_DDR4; in ie31200_probe1()
491 dimm->mtype = MEM_DDR3; in ie31200_probe1()
Dsb_edac.c879 enum mem_type mtype; in get_memory_type() local
886 mtype = MEM_RDDR3; in get_memory_type()
888 mtype = MEM_DDR3; in get_memory_type()
890 mtype = MEM_UNKNOWN; in get_memory_type()
892 return mtype; in get_memory_type()
899 enum mem_type mtype = MEM_UNKNOWN; in haswell_get_memory_type() local
913 mtype = MEM_RDDR4; in haswell_get_memory_type()
915 mtype = MEM_DDR4; in haswell_get_memory_type()
918 mtype = MEM_RDDR3; in haswell_get_memory_type()
920 mtype = MEM_DDR3; in haswell_get_memory_type()
[all …]
Dti_edac.c184 dimm->mtype = MEM_DDR2; in ti_edac_setup_dimm()
186 dimm->mtype = MEM_DDR3; in ti_edac_setup_dimm()
Dppc4xx_edac.c898 enum mem_type mtype; in ppc4xx_edac_init_csrows() local
906 mtype = ppc4xx_edac_get_mtype(mcopt1); in ppc4xx_edac_init_csrows()
982 dimm->mtype = mtype; in ppc4xx_edac_init_csrows()
/Linux-v4.19/arch/unicore32/mm/
Dioremap.c49 const struct mem_type *mtype) in ioremap_page() argument
52 __pgprot(mtype->prot_pte)); in ioremap_page()
130 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __uc32_ioremap_pfn_caller() argument
154 type = get_mem_type(mtype); in __uc32_ioremap_pfn_caller()
185 unsigned int mtype, void *caller) in __uc32_ioremap_caller() argument
198 return __uc32_ioremap_pfn_caller(pfn, offset, size, mtype, caller); in __uc32_ioremap_caller()
212 unsigned int mtype) in __uc32_ioremap_pfn() argument
214 return __uc32_ioremap_pfn_caller(pfn, offset, size, mtype, in __uc32_ioremap_pfn()
/Linux-v4.19/net/netfilter/ipset/
Dip_set_bitmap_gen.h35 #define mtype MTYPE macro
42 struct mtype *map = set->data; in mtype_gc_init()
51 struct mtype *map = set->data; in mtype_ext_cleanup()
62 struct mtype *map = set->data; in mtype_destroy()
78 struct mtype *map = set->data; in mtype_flush()
89 mtype_memsize(const struct mtype *map, size_t dsize) in mtype_memsize()
98 const struct mtype *map = set->data; in mtype_head()
123 struct mtype *map = set->data; in mtype_test()
137 struct mtype *map = set->data; in mtype_add()
182 struct mtype *map = set->data; in mtype_del()
[all …]
/Linux-v4.19/arch/arm/mach-iop13xx/
Dio.c27 size_t size, unsigned int mtype, void *caller) in __iop13xx_ioremap_caller() argument
49 size, mtype, __builtin_return_address(0)); in __iop13xx_ioremap_caller()
55 retval = __arm_ioremap_caller(cookie, size, mtype, in __iop13xx_ioremap_caller()
/Linux-v4.19/mm/
Dvmstat.c1375 int order, mtype; in pagetypeinfo_showfree_print() local
1377 for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) { in pagetypeinfo_showfree_print()
1381 migratetype_names[mtype]); in pagetypeinfo_showfree_print()
1389 list_for_each(curr, &area->free_list[mtype]) in pagetypeinfo_showfree_print()
1417 int mtype; in pagetypeinfo_showblockcount_print() local
1437 mtype = get_pageblock_migratetype(page); in pagetypeinfo_showblockcount_print()
1439 if (mtype < MIGRATE_TYPES) in pagetypeinfo_showblockcount_print()
1440 count[mtype]++; in pagetypeinfo_showblockcount_print()
1445 for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) in pagetypeinfo_showblockcount_print()
1446 seq_printf(m, "%12lu ", count[mtype]); in pagetypeinfo_showblockcount_print()
[all …]
/Linux-v4.19/arch/arm/mach-imx/
Dmm-imx3.c68 unsigned int mtype, void *caller) in imx3_ioremap_caller() argument
70 if (mtype == MT_DEVICE) { in imx3_ioremap_caller()
78 mtype = MT_DEVICE_NONSHARED; in imx3_ioremap_caller()
81 return __arm_ioremap_caller(phys_addr, size, mtype, caller); in imx3_ioremap_caller()
/Linux-v4.19/include/uapi/scsi/
Dscsi_netlink.h114 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument
119 (hdr)->msgtype = mtype; \
/Linux-v4.19/arch/arm/mach-mvebu/
Dcoherency.c165 unsigned int mtype, void *caller) in armada_wa_ioremap_caller() argument
167 mtype = MT_UNCACHED; in armada_wa_ioremap_caller()
168 return __arm_ioremap_caller(phys_addr, size, mtype, caller); in armada_wa_ioremap_caller()
/Linux-v4.19/drivers/net/ethernet/ti/
Dcpts.c93 u8 mtype; in cpts_match_tx_ts() local
96 mtype = (event->high >> MESSAGE_TYPE_SHIFT) & MESSAGE_TYPE_MASK; in cpts_match_tx_ts()
106 if (cpts_match(skb, class, seqid, mtype)) { in cpts_match_tx_ts()
116 mtype, seqid); in cpts_match_tx_ts()
124 mtype, seqid); in cpts_match_tx_ts()
366 u8 mtype; in cpts_find_ts() local
380 mtype = (event->high >> MESSAGE_TYPE_SHIFT) & MESSAGE_TYPE_MASK; in cpts_find_ts()
383 cpts_match(skb, class, seqid, mtype)) { in cpts_find_ts()
/Linux-v4.19/drivers/scsi/csiostor/
Dcsio_hw_t5.c255 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, in csio_t5_memory_rw() argument
275 if (mtype != MEM_MC1) in csio_t5_memory_rw()
276 memoffset = (mtype * (edc_size * 1024 * 1024)); in csio_t5_memory_rw()
311 mtype, addr, len); in csio_t5_memory_rw()
/Linux-v4.19/ipc/
Dmsg.c791 static long do_msgsnd(int msqid, long mtype, void __user *mtext, in do_msgsnd() argument
804 if (mtype < 1) in do_msgsnd()
811 msg->m_type = mtype; in do_msgsnd()
907 long mtype; in ksys_msgsnd() local
909 if (get_user(mtype, &msgp->mtype)) in ksys_msgsnd()
911 return do_msgsnd(msqid, mtype, msgp->mtext, msgsz, msgflg); in ksys_msgsnd()
923 compat_long_t mtype; member
931 compat_long_t mtype; in compat_ksys_msgsnd() local
933 if (get_user(mtype, &up->mtype)) in compat_ksys_msgsnd()
935 return do_msgsnd(msqid, mtype, up->mtext, (ssize_t)msgsz, msgflg); in compat_ksys_msgsnd()
[all …]
/Linux-v4.19/drivers/gpu/drm/amd/amdkfd/
Dkfd_mqd_manager_vi.c161 struct queue_properties *q, unsigned int mtype, in __update_mqd() argument
170 mtype << CP_HQD_PQ_CONTROL__MTYPE__SHIFT; in __update_mqd()
189 mtype << CP_HQD_EOP_CONTROL__MTYPE__SHIFT; in __update_mqd()
193 mtype << CP_HQD_IB_CONTROL__MTYPE__SHIFT; in __update_mqd()
210 mtype << CP_HQD_IQ_TIMER__MTYPE__SHIFT; in __update_mqd()
222 mtype << CP_HQD_CTX_SAVE_CONTROL__MTYPE__SHIFT; in __update_mqd()
/Linux-v4.19/net/tipc/
Dname_distr.c306 int mtype; in tipc_named_rcv() local
312 mtype = msg_type(msg); in tipc_named_rcv()
317 tipc_update_nametbl(net, item, node, mtype); in tipc_named_rcv()
/Linux-v4.19/arch/arm/include/asm/mach/
Dmap.h61 const struct mem_type *mtype);
/Linux-v4.19/include/uapi/linux/
Dmsg.h39 __kernel_long_t mtype; /* type of message */ member
/Linux-v4.19/drivers/ata/
Dpata_it821x.c607 const char *mtype = ""; in it821x_display_disk() local
622 mtype = "UDMA"; in it821x_display_disk()
625 mtype = "MWDMA"; in it821x_display_disk()
632 snprintf(mbuf, 8, "%5s%d", mtype, mode - 1); in it821x_display_disk()

123