/linux-6.3-rc2/drivers/vfio/mdev/ |
A D | mdev_sysfs.c | 19 ssize_t (*show)(struct mdev_type *mtype, 21 ssize_t (*store)(struct mdev_type *mtype, 61 static ssize_t create_store(struct mdev_type *mtype, in create_store() argument 81 ret = mdev_device_create(mtype, &uuid); in create_store() 89 static ssize_t device_api_show(struct mdev_type *mtype, in device_api_show() argument 96 static ssize_t name_show(struct mdev_type *mtype, in name_show() argument 100 mtype->pretty_name ? mtype->pretty_name : mtype->sysfs_name); in name_show() 109 struct mdev_driver *drv = mtype->parent->mdev_driver; in available_instances_show() 114 atomic_read(&mtype->parent->available_instances)); in available_instances_show() 118 static ssize_t description_show(struct mdev_type *mtype, in description_show() argument [all …]
|
/linux-6.3-rc2/drivers/edac/ |
A D | ghes_edac.c | 134 dimm->mtype = MEM_RDDR; in assign_dmi_dimm_info() 136 dimm->mtype = MEM_DDR; in assign_dmi_dimm_info() 140 dimm->mtype = MEM_RDDR2; in assign_dmi_dimm_info() 142 dimm->mtype = MEM_DDR2; in assign_dmi_dimm_info() 153 dimm->mtype = MEM_DDR3; in assign_dmi_dimm_info() 161 dimm->mtype = MEM_DDR4; in assign_dmi_dimm_info() 165 dimm->mtype = MEM_RMBS; in assign_dmi_dimm_info() 167 dimm->mtype = MEM_RDR; in assign_dmi_dimm_info() 169 dimm->mtype = MEM_SDR; in assign_dmi_dimm_info() 171 dimm->mtype = MEM_EDO; in assign_dmi_dimm_info() [all …]
|
A D | i82443bxgx_edac.c | 186 enum mem_type mtype) in i82443bxgx_init_csrows() argument 222 dimm->mtype = mtype; in i82443bxgx_init_csrows() 237 enum mem_type mtype; in i82443bxgx_edacmc_probe1() local 265 mtype = MEM_EDO; in i82443bxgx_edacmc_probe1() 268 mtype = MEM_SDR; in i82443bxgx_edacmc_probe1() 271 mtype = MEM_RDR; in i82443bxgx_edacmc_probe1() 275 mtype = -MEM_UNKNOWN; in i82443bxgx_edacmc_probe1() 278 if ((mtype == MEM_SDR) || (mtype == MEM_RDR)) in i82443bxgx_edacmc_probe1() 308 i82443bxgx_init_csrows(mci, pdev, edac_mode, mtype); in i82443bxgx_edacmc_probe1()
|
A D | fsl_ddr_edac.c | 396 enum mem_type mtype; in fsl_ddr_init_csrows() local 406 mtype = MEM_RDDR; in fsl_ddr_init_csrows() 409 mtype = MEM_RDDR2; in fsl_ddr_init_csrows() 412 mtype = MEM_RDDR3; in fsl_ddr_init_csrows() 415 mtype = MEM_RDDR4; in fsl_ddr_init_csrows() 418 mtype = MEM_UNKNOWN; in fsl_ddr_init_csrows() 424 mtype = MEM_DDR; in fsl_ddr_init_csrows() 427 mtype = MEM_DDR2; in fsl_ddr_init_csrows() 430 mtype = MEM_DDR3; in fsl_ddr_init_csrows() 433 mtype = MEM_DDR4; in fsl_ddr_init_csrows() [all …]
|
A D | bluefield_edac.c | 195 dimm->mtype = MEM_EMPTY; in bluefield_edac_init_dimms() 204 dimm->mtype = MEM_NVDIMM; in bluefield_edac_init_dimms() 206 dimm->mtype = MEM_LRDDR4; in bluefield_edac_init_dimms() 208 dimm->mtype = MEM_RDDR4; in bluefield_edac_init_dimms() 210 dimm->mtype = MEM_DDR4; in bluefield_edac_init_dimms()
|
A D | skx_common.c | 348 enum mem_type mtype; in skx_get_dimm_info() local 357 mtype = MEM_HBM2; in skx_get_dimm_info() 360 mtype = MEM_DDR5; in skx_get_dimm_info() 363 mtype = MEM_DDR4; in skx_get_dimm_info() 385 dimm->mtype = mtype; in skx_get_dimm_info() 434 dimm->mtype = MEM_NVDIMM; in skx_get_nvdimm_info()
|
A D | sb_edac.c | 886 enum mem_type mtype; in get_memory_type() local 893 mtype = MEM_RDDR3; in get_memory_type() 895 mtype = MEM_DDR3; in get_memory_type() 899 return mtype; in get_memory_type() 922 mtype = MEM_DDR4; in haswell_get_memory_type() 927 mtype = MEM_DDR3; in haswell_get_memory_type() 931 return mtype; in haswell_get_memory_type() 1599 if (mtype == MEM_RDDR3 || mtype == MEM_RDDR4) in __populate_dimms() 1606 if (mtype == MEM_DDR4 || mtype == MEM_RDDR4) in __populate_dimms() 1670 dimm->mtype = mtype; in __populate_dimms() [all …]
|
A D | ie31200_edac.c | 507 dimm->mtype = MEM_DDR4; in ie31200_probe1() 509 dimm->mtype = MEM_DDR3; in ie31200_probe1() 518 dimm->mtype = MEM_DDR4; in ie31200_probe1() 520 dimm->mtype = MEM_DDR3; in ie31200_probe1()
|
/linux-6.3-rc2/arch/arm/mm/ |
A D | ioremap.c | 50 size_t size, unsigned int mtype) in find_static_vm_paddr() argument 111 const struct mem_type *mtype) in ioremap_page() argument 114 __pgprot(mtype->prot_pte)); in ioremap_page() 266 type = get_mem_type(mtype); in __arm_ioremap_pfn_caller() 281 svm = find_static_vm_paddr(paddr, size, mtype); in __arm_ioremap_pfn_caller() 294 mtype != MT_MEMORY_RW)) in __arm_ioremap_pfn_caller() 328 unsigned int mtype, void *caller) in __arm_ioremap_caller() argument 356 unsigned int mtype) in __arm_ioremap_pfn() argument 398 unsigned int mtype; in __arm_ioremap_exec() local 401 mtype = MT_MEMORY_RWX; in __arm_ioremap_exec() [all …]
|
A D | nommu.c | 198 size_t size, unsigned int mtype) in __arm_ioremap_pfn() argument 207 unsigned int mtype, void *caller) in __arm_ioremap_caller() argument
|
/linux-6.3-rc2/tools/testing/selftests/ipc/ |
A D | msgque.c | 16 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() 103 if (message.mtype != msgque->messages[cnt].mtype) { in check_and_destroy_queue() 162 ret = msgrcv(msgque->msq_id, &msgque->messages[i].mtype, in dump_queue() 177 msgbuf.mtype = MSG_TYPE; in fill_msgque() 179 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(TEST_STRING), in fill_msgque() 185 msgbuf.mtype = ANOTHER_MSG_TYPE; in fill_msgque() 187 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(ANOTHER_TEST_STRING), in fill_msgque()
|
/linux-6.3-rc2/net/netfilter/ipset/ |
A D | ip_set_bitmap_gen.h | 31 #define mtype MTYPE macro 38 struct mtype *map = set->data; in mtype_gc_init() 47 struct mtype *map = set->data; in mtype_ext_cleanup() 58 struct mtype *map = set->data; in mtype_destroy() 74 struct mtype *map = set->data; in mtype_flush() 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() 178 struct mtype *map = set->data; in mtype_del() 206 struct mtype *map = set->data; in mtype_list() [all …]
|
/linux-6.3-rc2/arch/arm/mach-imx/ |
A D | mm-imx3.c | 56 unsigned int mtype, void *caller) in imx3_ioremap_caller() argument 58 if (mtype == MT_DEVICE) { in imx3_ioremap_caller() 66 mtype = MT_DEVICE_NONSHARED; in imx3_ioremap_caller() 69 return __arm_ioremap_caller(phys_addr, size, mtype, caller); in imx3_ioremap_caller()
|
/linux-6.3-rc2/kernel/bpf/ |
A D | bpf_struct_ops.c | 297 const struct btf_type *mtype; in check_zero_holes() local 305 mtype = btf_type_by_id(btf_vmlinux, member->type); in check_zero_holes() 306 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in check_zero_holes() 307 if (IS_ERR(mtype)) in check_zero_holes() 308 return PTR_ERR(mtype); in check_zero_holes() 406 const struct btf_type *mtype, *ptype; in bpf_struct_ops_map_update_elem() local 437 mtype = btf_type_by_id(btf_vmlinux, member->type); in bpf_struct_ops_map_update_elem() 438 mtype = btf_resolve_size(btf_vmlinux, mtype, &msize); in bpf_struct_ops_map_update_elem() 439 if (IS_ERR(mtype)) { in bpf_struct_ops_map_update_elem() 440 err = PTR_ERR(mtype); in bpf_struct_ops_map_update_elem()
|
/linux-6.3-rc2/mm/ |
A D | vmstat.c | 1487 int order, mtype; in pagetypeinfo_showfree_print() local 1489 for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) { in pagetypeinfo_showfree_print() 1493 migratetype_names[mtype]); in pagetypeinfo_showfree_print() 1544 int mtype; in pagetypeinfo_showblockcount_print() local 1562 if (mtype < MIGRATE_TYPES) in pagetypeinfo_showblockcount_print() 1563 count[mtype]++; in pagetypeinfo_showblockcount_print() 1568 for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) in pagetypeinfo_showblockcount_print() 1576 int mtype; in pagetypeinfo_showblockcount() local 1580 for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) in pagetypeinfo_showblockcount() 1596 int mtype; in pagetypeinfo_showmixedcount() local [all …]
|
/linux-6.3-rc2/include/uapi/scsi/ |
A D | scsi_netlink.h | 99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument 104 (hdr)->msgtype = mtype; \
|
/linux-6.3-rc2/arch/arm/mach-mvebu/ |
A D | coherency.c | 162 unsigned int mtype, void *caller) in armada_wa_ioremap_caller() argument 164 mtype = MT_UNCACHED; in armada_wa_ioremap_caller() 165 return __arm_ioremap_caller(phys_addr, size, mtype, caller); in armada_wa_ioremap_caller()
|
/linux-6.3-rc2/include/linux/ |
A D | mdev.h | 71 unsigned int (*get_available)(struct mdev_type *mtype); 72 ssize_t (*show_description)(struct mdev_type *mtype, char *buf);
|
/linux-6.3-rc2/drivers/scsi/csiostor/ |
A D | csio_hw_t5.c | 253 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-6.3-rc2/drivers/net/ethernet/netronome/nfp/flower/ |
A D | tunnel_conf.c | 289 (mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH || in nfp_flower_xmit_tun_conf() 290 mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6)) in nfp_flower_xmit_tun_conf() 294 (mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH || in nfp_flower_xmit_tun_conf() 295 mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6)) in nfp_flower_xmit_tun_conf() 466 u8 mtype; in nfp_tun_write_neigh() local 504 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6; in nfp_tun_write_neigh() 515 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH; in nfp_tun_write_neigh() 544 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6; in nfp_tun_write_neigh() 552 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH; in nfp_tun_write_neigh() 577 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6; in nfp_tun_write_neigh() [all …]
|
/linux-6.3-rc2/ipc/ |
A D | msg.c | 848 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() 1031 if (put_user(msg->m_type, &msgp->mtype)) in do_msg_fill() [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdkfd/ |
A D | kfd_mqd_manager_vi.c | 173 unsigned int mtype, unsigned int atc_bit) in __update_mqd() argument 181 mtype << CP_HQD_PQ_CONTROL__MTYPE__SHIFT; in __update_mqd() 200 mtype << CP_HQD_EOP_CONTROL__MTYPE__SHIFT; in __update_mqd() 204 mtype << CP_HQD_IB_CONTROL__MTYPE__SHIFT; in __update_mqd() 221 mtype << CP_HQD_IQ_TIMER__MTYPE__SHIFT; in __update_mqd() 233 mtype << CP_HQD_CTX_SAVE_CONTROL__MTYPE__SHIFT; in __update_mqd()
|
/linux-6.3-rc2/drivers/gpu/drm/amd/amdgpu/ |
A D | gmc_v9_0.c | 1141 unsigned int mtype; in gmc_v9_0_get_coherence_flags() local 1150 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1152 mtype = MTYPE_CC; in gmc_v9_0_get_coherence_flags() 1154 mtype = MTYPE_RW; in gmc_v9_0_get_coherence_flags() 1164 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1166 mtype = MTYPE_NC; in gmc_v9_0_get_coherence_flags() 1172 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1174 mtype = MTYPE_NC; in gmc_v9_0_get_coherence_flags() 1183 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1185 mtype = MTYPE_NC; in gmc_v9_0_get_coherence_flags() [all …]
|
/linux-6.3-rc2/arch/arm/include/asm/mach/ |
A D | map.h | 59 const struct mem_type *mtype);
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | msg.h | 39 __kernel_long_t mtype; /* type of message */ member
|