Searched refs:mtype (Results 1 - 25 of 90) sorted by relevance

1234

/linux-master/drivers/vfio/mdev/
H A Dmdev_sysfs.c19 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, argument
81 ret = mdev_device_create(mtype, &uuid);
89 static ssize_t device_api_show(struct mdev_type *mtype, argument
92 return sysfs_emit(buf, "%s\n", mtype->parent->mdev_driver->device_api);
96 static ssize_t name_show(struct mdev_type *mtype, argument
100 mtype->pretty_name ? mtype->pretty_name : mtype
105 available_instances_show(struct mdev_type *mtype, struct mdev_type_attribute *attr, char *buf) argument
118 description_show(struct mdev_type *mtype, struct mdev_type_attribute *attr, char *buf) argument
[all...]
/linux-master/drivers/dax/
H A Dkmem.c59 struct memory_dev_type *mtype; local
62 list_for_each_entry(mtype, &kmem_memory_types, list) {
63 if (mtype->adistance == adist) {
69 mtype = alloc_memory_type(adist);
70 if (!IS_ERR(mtype))
71 list_add(&mtype->list, &kmem_memory_types);
75 return mtype;
80 struct memory_dev_type *mtype, *mtn; local
83 list_for_each_entry_safe(mtype, mtn, &kmem_memory_types, list) {
84 list_del(&mtype
95 struct memory_dev_type *mtype; local
[all...]
/linux-master/include/uapi/scsi/
H A Dscsi_netlink.h99 #define INIT_SCSI_NL_HDR(hdr, t, mtype, mlen) \
104 (hdr)->msgtype = mtype; \
/linux-master/drivers/edac/
H A Dghes_edac.c134 dimm->mtype = MEM_RDDR;
136 dimm->mtype = MEM_DDR;
140 dimm->mtype = MEM_RDDR2;
142 dimm->mtype = MEM_DDR2;
145 dimm->mtype = MEM_FB_DDR2;
149 dimm->mtype = MEM_NVDIMM;
151 dimm->mtype = MEM_RDDR3;
153 dimm->mtype = MEM_DDR3;
157 dimm->mtype = MEM_NVDIMM;
159 dimm->mtype
[all...]
H A Di82443bxgx_edac.c186 enum mem_type mtype)
222 dimm->mtype = mtype;
237 enum mem_type mtype; local
265 mtype = MEM_EDO;
268 mtype = MEM_SDR;
271 mtype = MEM_RDR;
275 mtype = -MEM_UNKNOWN;
278 if ((mtype == MEM_SDR) || (mtype
183 i82443bxgx_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, enum edac_type edac_mode, enum mem_type mtype) argument
[all...]
H A Dfsl_ddr_edac.c395 enum mem_type mtype; local
405 mtype = MEM_RDDR;
408 mtype = MEM_RDDR2;
411 mtype = MEM_RDDR3;
414 mtype = MEM_RDDR4;
417 mtype = MEM_UNKNOWN;
423 mtype = MEM_DDR;
426 mtype = MEM_DDR2;
429 mtype = MEM_DDR3;
432 mtype
[all...]
H A Dbluefield_edac.c195 dimm->mtype = MEM_EMPTY;
204 dimm->mtype = MEM_NVDIMM;
206 dimm->mtype = MEM_LRDDR4;
208 dimm->mtype = MEM_RDDR4;
210 dimm->mtype = MEM_DDR4;
H A Dskx_common.c348 enum mem_type mtype; local
357 mtype = MEM_HBM2;
360 mtype = MEM_DDR5;
363 mtype = MEM_DDR4;
385 dimm->mtype = mtype;
434 dimm->mtype = MEM_NVDIMM;
/linux-master/tools/testing/selftests/ipc/
H A Dmsgque.c16 long mtype; member in struct:msg1
67 if (msgsnd(msgque->msq_id, &msgque->messages[i].mtype,
88 ret = msgrcv(msgque->msq_id, &message.mtype, MAX_MSG_SIZE,
103 if (message.mtype != msgque->messages[cnt].mtype) {
162 ret = msgrcv(msgque->msq_id, &msgque->messages[i].mtype,
177 msgbuf.mtype = MSG_TYPE;
179 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeof(TEST_STRING),
185 msgbuf.mtype = ANOTHER_MSG_TYPE;
187 if (msgsnd(msgque->msq_id, &msgbuf.mtype, sizeo
[all...]
/linux-master/arch/arm/mach-imx/
H A Dmm-imx3.c56 unsigned int mtype, void *caller)
58 if (mtype == MT_DEVICE) {
66 mtype = MT_DEVICE_NONSHARED;
69 return __arm_ioremap_caller(phys_addr, size, mtype, caller);
55 imx3_ioremap_caller(phys_addr_t phys_addr, size_t size, unsigned int mtype, void *caller) argument
/linux-master/arch/arm/mm/
H A Dioremap.c50 size_t size, unsigned int mtype)
59 if ((vm->flags & VM_ARM_MTYPE_MASK) != VM_ARM_MTYPE(mtype))
111 const struct mem_type *mtype)
114 __pgprot(mtype->prot_pte));
250 unsigned long offset, size_t size, unsigned int mtype, void *caller)
266 type = get_mem_type(mtype);
281 svm = find_static_vm_paddr(paddr, size, mtype);
294 mtype != MT_MEMORY_RW))
328 unsigned int mtype, void *caller)
341 return __arm_ioremap_pfn_caller(pfn, offset, size, mtype,
49 find_static_vm_paddr(phys_addr_t paddr, size_t size, unsigned int mtype) argument
110 ioremap_page(unsigned long virt, unsigned long phys, const struct mem_type *mtype) argument
249 __arm_ioremap_pfn_caller(unsigned long pfn, unsigned long offset, size_t size, unsigned int mtype, void *caller) argument
327 __arm_ioremap_caller(phys_addr_t phys_addr, size_t size, unsigned int mtype, void *caller) argument
355 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, unsigned int mtype) argument
398 unsigned int mtype; local
[all...]
H A Dnommu.c205 size_t size, unsigned int mtype)
214 unsigned int mtype, void *caller)
204 __arm_ioremap_pfn(unsigned long pfn, unsigned long offset, size_t size, unsigned int mtype) argument
213 __arm_ioremap_caller(phys_addr_t phys_addr, size_t size, unsigned int mtype, void *caller) argument
/linux-master/include/linux/
H A Dmdev.h63 * @show_description: Print a description of the mtype
71 unsigned int (*get_available)(struct mdev_type *mtype);
72 ssize_t (*show_description)(struct mdev_type *mtype, char *buf);
/linux-master/net/netfilter/ipset/
H A Dip_set_bitmap_gen.h34 #define mtype MTYPE macro
41 struct mtype *map = set->data;
50 struct mtype *map = set->data;
61 struct mtype *map = set->data;
74 struct mtype *map = set->data;
85 mtype_memsize(const struct mtype *map, size_t dsize)
94 const struct mtype *map = set->data;
119 struct mtype *map = set->data;
133 struct mtype *map = set->data;
178 struct mtype *ma
300 static const struct ip_set_type_variant mtype = { variable in typeref:struct:ip_set_type_variant
[all...]
/linux-master/include/uapi/linux/
H A Dmsg.h39 __kernel_long_t mtype; /* type of message */ member in struct:msgbuf
/linux-master/arch/arm/include/asm/mach/
H A Dmap.h59 const struct mem_type *mtype);
/linux-master/arch/arm/mach-mvebu/
H A Dcoherency.c162 unsigned int mtype, void *caller)
164 mtype = MT_UNCACHED;
165 return __arm_ioremap_caller(phys_addr, size, mtype, caller);
161 armada_wa_ioremap_caller(phys_addr_t phys_addr, size_t size, unsigned int mtype, void *caller) argument
/linux-master/mm/
H A Dvmstat.c1501 int order, mtype; local
1503 for (mtype = 0; mtype < MIGRATE_TYPES; mtype++) {
1507 migratetype_names[mtype]);
1516 list_for_each(curr, &area->free_list[mtype]) {
1558 int mtype; local
1574 mtype = get_pageblock_migratetype(page);
1576 if (mtype < MIGRATE_TYPES)
1577 count[mtype]
1590 int mtype; local
1610 int mtype; local
[all...]
/linux-master/drivers/scsi/csiostor/
H A Dcsio_hw_t5.c239 * @mtype: memory type: MEM_EDC0, MEM_EDC1, MEM_MC0 (or MEM_MC) or MEM_MC1
253 csio_t5_memory_rw(struct csio_hw *hw, u32 win, int mtype, u32 addr, argument
273 if (mtype != MEM_MC1)
274 memoffset = (mtype * (edc_size * 1024 * 1024));
308 csio_dbg(hw, "csio_t5_memory_rw: mtype: %d, addr: 0x%x, len: %d\n",
309 mtype, addr, len);
/linux-master/drivers/net/ethernet/netronome/nfp/flower/
H A Dtunnel_conf.c293 nfp_flower_xmit_tun_conf(struct nfp_app *app, u8 mtype, u16 plen, void *pdata, argument
301 (mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH ||
302 mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6))
306 (mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH ||
307 mtype == NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6))
310 skb = nfp_flower_cmsg_alloc(app, plen, mtype, flag);
478 u8 mtype; local
516 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH_V6;
527 mtype = NFP_FLOWER_CMSG_TYPE_TUN_NEIGH;
545 nfp_flower_xmit_tun_conf(app, mtype, neigh_siz
[all...]
/linux-master/kernel/bpf/
H A Dbpf_struct_ops.c503 const struct btf_type *mtype; local
511 mtype = btf_type_by_id(btf, member->type);
512 mtype = btf_resolve_size(btf, mtype, &msize);
513 if (IS_ERR(mtype))
514 return PTR_ERR(mtype);
642 const struct btf_type *mtype, *ptype; local
673 mtype = btf_type_by_id(st_map->btf, member->type);
674 mtype = btf_resolve_size(st_map->btf, mtype,
[all...]
/linux-master/ipc/
H A Dmsg.c848 static long do_msgsnd(int msqid, long mtype, void __user *mtext, argument
861 if (mtype < 1)
868 msg->m_type = mtype;
964 long mtype; local
966 if (get_user(mtype, &msgp->mtype))
968 return do_msgsnd(msqid, mtype, msgp->mtext, msgsz, msgflg);
980 compat_long_t mtype; member in struct:compat_msgbuf
988 compat_long_t mtype; local
990 if (get_user(mtype,
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v9_0.c1035 * 58:57 mtype
1122 unsigned int mtype_local, mtype; local
1132 mtype = MTYPE_UC;
1134 mtype = MTYPE_CC;
1136 mtype = MTYPE_RW;
1148 mtype = MTYPE_UC;
1150 mtype = MTYPE_NC;
1156 mtype = MTYPE_UC;
1158 mtype = MTYPE_NC;
1188 mtype
[all...]
/linux-master/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_vi.c172 unsigned int mtype, unsigned int atc_bit)
180 mtype << CP_HQD_PQ_CONTROL__MTYPE__SHIFT;
199 mtype << CP_HQD_EOP_CONTROL__MTYPE__SHIFT;
203 mtype << CP_HQD_IB_CONTROL__MTYPE__SHIFT;
220 mtype << CP_HQD_IQ_TIMER__MTYPE__SHIFT;
232 mtype << CP_HQD_CTX_SAVE_CONTROL__MTYPE__SHIFT;
170 __update_mqd(struct mqd_manager *mm, void *mqd, struct queue_properties *q, struct mqd_update_info *minfo, unsigned int mtype, unsigned int atc_bit) argument
/linux-master/include/net/netfilter/
H A Dnf_nat.h80 enum nf_nat_manip_type mtype,

Completed in 774 milliseconds

1234