| /linux/arch/arm/mm/ |
| H A D | ioremap.c | 51 size_t size, unsigned int mtype) in find_static_vm_paddr() argument 60 if ((vm->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype)) in find_static_vm_paddr() 112 const struct mem_type *mtype) in ioremap_page() argument 115 __pgprot(mtype->prot_pte)); in ioremap_page() 275 unsigned long offset, size_t size, unsigned int mtype, void *caller) in __arm_ioremap_pfn_caller() argument 291 type = get_mem_type(mtype); in __arm_ioremap_pfn_caller() 306 svm = find_static_vm_paddr(paddr, size, mtype); in __arm_ioremap_pfn_caller() 319 mtype != MT_MEMORY_RW)) in __arm_ioremap_pfn_caller() 353 unsigned int mtype, void *caller) in __arm_ioremap_caller() argument 366 return __arm_ioremap_pfn_caller(pfn, offset, size, mtype, in __arm_ioremap_caller() [all …]
|
| /linux/tools/testing/selftests/ipc/ |
| H 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() 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 D | ip_set_bitmap_gen.h | 34 #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() 178 struct mtype *map = set->data; in mtype_del() [all …]
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_vm.h | 97 #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) << 54) argument 127 #define AMDGPU_PTE_MTYPE_GFX12(flags, mtype) \ argument 129 AMDGPU_PTE_MTYPE_GFX12_SHIFT(mtype))
|
| H A D | gmc_v9_0.c | 1058 unsigned int mtype_local, mtype; in gmc_v9_0_get_coherence_flags() local 1071 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1073 mtype = MTYPE_CC; in gmc_v9_0_get_coherence_flags() 1075 mtype = MTYPE_RW; in gmc_v9_0_get_coherence_flags() 1084 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1086 mtype = MTYPE_NC; in gmc_v9_0_get_coherence_flags() 1092 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1094 mtype = MTYPE_NC; in gmc_v9_0_get_coherence_flags() 1126 mtype = MTYPE_UC; in gmc_v9_0_get_coherence_flags() 1128 mtype = is_local ? MTYPE_CC : MTYPE_UC; in gmc_v9_0_get_coherence_flags() [all …]
|
| /linux/arch/arm/mach-imx/ |
| H 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/drivers/dax/ |
| H A D | kmem.c | 73 struct memory_dev_type *mtype; in dev_dax_kmem_probe() local 93 mtype = kmem_find_alloc_memory_type(adist); in dev_dax_kmem_probe() 94 if (IS_ERR(mtype)) in dev_dax_kmem_probe() 95 return PTR_ERR(mtype); in dev_dax_kmem_probe() 121 init_node_memory_type(numa_node, mtype); in dev_dax_kmem_probe() 204 clear_node_memory_type(numa_node, mtype); in dev_dax_kmem_probe()
|
| /linux/arch/arm/mach-mvebu/ |
| H 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/include/uapi/scsi/ |
| H A D | scsi_netlink.h | 99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \ argument 104 (hdr)->msgtype = mtype; \
|
| /linux/ipc/ |
| H 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() 992 return do_msgsnd(msqid, mtype, up->mtext, (ssize_t)msgsz, msgflg); in compat_ksys_msgsnd() [all …]
|
| /linux/drivers/scsi/csiostor/ |
| H 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()
|
| H A D | csio_hw.c | 184 csio_memory_write(struct csio_hw *hw, int mtype, u32 addr, u32 len, u32 *buf) in csio_memory_write() argument 186 return hw->chip_ops->chip_memory_rw(hw, MEMWIN_CSIOSTOR, mtype, in csio_memory_write() 1974 unsigned int mtype = 0, maddr = 0; in csio_hw_flash_config() local 2005 mtype = FW_PARAMS_PARAM_Y_G(*fw_cfg_param); in csio_hw_flash_config() 2008 ret = csio_memory_write(hw, mtype, maddr, in csio_hw_flash_config() 2022 ret = csio_memory_write(hw, mtype, maddr + size, 4, &last.word); in csio_hw_flash_config() 2056 unsigned int mtype, maddr; in csio_hw_use_fwconfig() local 2085 mtype = FW_MEMTYPE_CF_FLASH; in csio_hw_use_fwconfig() 2089 mtype = FW_PARAMS_PARAM_Y_G(*fw_cfg_param); in csio_hw_use_fwconfig() 2112 FW_CAPS_CONFIG_CMD_MEMTYPE_CF_V(mtype) | in csio_hw_use_fwconfig()
|
| /linux/drivers/edac/ |
| H A D | bluefield_edac.c | 305 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 D | skx_common.c | 462 enum mem_type mtype; in skx_get_dimm_info() local 471 mtype = MEM_HBM2; in skx_get_dimm_info() 474 mtype = MEM_DDR5; in skx_get_dimm_info() 477 mtype = MEM_DDR4; in skx_get_dimm_info() 499 dimm->mtype = mtype; in skx_get_dimm_info() 549 dimm->mtype = MEM_NVDIMM; in skx_get_nvdimm_info()
|
| H A D | ti_edac.c | 184 dimm->mtype = MEM_DDR2; in ti_edac_setup_dimm() 186 dimm->mtype = MEM_DDR3; in ti_edac_setup_dimm()
|
| H A D | amd76x_edac.c | 213 dimm->mtype = MEM_RDDR; in amd76x_init_csrows()
|
| /linux/include/linux/ |
| H 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/arch/arm/include/asm/mach/ |
| H A D | map.h | 59 const struct mem_type *mtype);
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_metafile.c | 29 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 D | msg.h | 39 __kernel_long_t mtype; /* type of message */ member
|
| /linux/drivers/ata/ |
| H A D | pata_it821x.c | 611 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()
|
| /linux/net/sched/ |
| H A D | act_ife.c | 737 u16 mtype; in tcf_ife_decode() local 740 curr_data = ife_tlv_meta_decode(tlv_data, ifehdr_end, &mtype, in tcf_ife_decode() 747 if (find_decode_metaid(skb, p, mtype, dlen, curr_data)) { in tcf_ife_decode() 752 mtype, dlen); in tcf_ife_decode()
|
| /linux/include/net/netfilter/ |
| H A D | nf_nat.h | 80 enum nf_nat_manip_type mtype,
|
| /linux/fs/ufs/ |
| H A D | super.c | 427 unsigned mtype = sbi->s_flavour; in ufs_setup_cstotal() local 429 UFSD("ENTER, mtype=%u\n", mtype); in ufs_setup_cstotal() 434 if ((mtype == UFS_MOUNT_UFSTYPE_44BSD && in ufs_setup_cstotal() 436 mtype == UFS_MOUNT_UFSTYPE_UFS2) { in ufs_setup_cstotal() 532 unsigned mtype = UFS_SB(sb)->s_flavour; in ufs_put_cstotal() local 543 if (mtype == UFS_MOUNT_UFSTYPE_UFS2) { in ufs_put_cstotal() 556 if (mtype == UFS_MOUNT_UFSTYPE_44BSD && in ufs_put_cstotal()
|
| /linux/sound/usb/qcom/ |
| H A D | qc_audio_offload.c | 502 static void uaudio_iommu_unmap(enum mem_type mtype, unsigned long iova, in uaudio_iommu_unmap() argument 511 switch (mtype) { in uaudio_iommu_unmap() 562 static unsigned long uaudio_iommu_map_pa(enum mem_type mtype, bool dma_coherent, in uaudio_iommu_map_pa() argument 569 switch (mtype) { in uaudio_iommu_map_pa() 582 dev_err(uaudio_qdev->data->dev, "unknown mem type %d\n", mtype); in uaudio_iommu_map_pa()
|