Home
last modified time | relevance | path

Searched refs:mtc (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.10/arch/mips/kernel/
Dmips-mt.c235 struct class *mtc; in mt_init() local
237 mtc = class_create(THIS_MODULE, "mt"); in mt_init()
238 if (IS_ERR(mtc)) in mt_init()
239 return PTR_ERR(mtc); in mt_init()
241 mt_class = mtc; in mt_init()
/Linux-v5.10/drivers/scsi/
Dst.c3540 struct mtop mtc; in st_ioctl_common() local
3542 if (_IOC_SIZE(cmd_in) != sizeof(mtc)) { in st_ioctl_common()
3547 i = copy_from_user(&mtc, p, sizeof(struct mtop)); in st_ioctl_common()
3553 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl_common()
3560 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl_common()
3561 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl_common()
3569 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl_common()
3570 mtc.mt_op == MTEOM) { in st_ioctl_common()
3571 mtc.mt_count -= 1; in st_ioctl_common()
3574 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl_common()
[all …]
/Linux-v5.10/arch/powerpc/boot/dts/
Ddigsy_mtc.dts16 model = "intercontrol,digsy-mtc";
17 compatible = "intercontrol,digsy-mtc";
/Linux-v5.10/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c671 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift, in intel_pt_fixup_last_mtc() argument
677 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
678 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
691 uint32_t mtc, mtc_delta, ctc, fc, ctc_rem; in intel_pt_calc_cyc_cb() local
718 mtc = pkt_info->packet.payload; in intel_pt_calc_cyc_cb()
721 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift, in intel_pt_calc_cyc_cb()
724 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
725 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
727 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
729 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
[all …]
/Linux-v5.10/arch/powerpc/platforms/52xx/
DKconfig26 intercontrol,digsy-mtc
/Linux-v5.10/mm/
Dmemory_hotplug.c1335 struct migration_target_control mtc = { in do_migrate_range() local
1344 mtc.nid = page_to_nid(list_first_entry(&source, struct page, lru)); in do_migrate_range()
1351 node_clear(mtc.nid, nmask); in do_migrate_range()
1353 node_set(mtc.nid, nmask); in do_migrate_range()
1355 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_HOTPLUG); in do_migrate_range()
Dmigrate.c1542 struct migration_target_control *mtc; in alloc_migration_target() local
1549 mtc = (struct migration_target_control *)private; in alloc_migration_target()
1550 gfp_mask = mtc->gfp_mask; in alloc_migration_target()
1551 nid = mtc->nid; in alloc_migration_target()
1559 return alloc_huge_page_nodemask(h, nid, mtc->nmask, gfp_mask); in alloc_migration_target()
1575 new_page = __alloc_pages_nodemask(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
1600 struct migration_target_control mtc = { in do_move_pages_to_node() local
1606 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL); in do_move_pages_to_node()
Dmemory-failure.c1788 struct migration_target_control mtc = { in __soft_offline_page() local
1829 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_FAILURE); in __soft_offline_page()
Dgup.c1604 struct migration_target_control mtc = { in check_and_migrate_cma_pages() local
1657 (unsigned long)&mtc, MIGRATE_SYNC, MR_CONTIG_RANGE)) { in check_and_migrate_cma_pages()
Dmempolicy.c1077 struct migration_target_control mtc = { in migrate_to_node() local
1096 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL); in migrate_to_node()
Dpage_alloc.c8411 struct migration_target_control mtc = { in __alloc_contig_migrate_range() local
8442 NULL, (unsigned long)&mtc, cc->mode, MR_CONTIG_RANGE); in __alloc_contig_migrate_range()
/Linux-v5.10/tools/perf/arch/x86/util/
Dintel-pt.c191 int mtc, mtc_periods = 0, mtc_period; in intel_pt_default_config() local
200 &mtc) != 1) in intel_pt_default_config()
201 mtc = 1; in intel_pt_default_config()
203 if (mtc) { in intel_pt_default_config()
/Linux-v5.10/arch/x86/events/intel/
Dpt.c57 PT_CAP(mtc, 0, CPUID_EBX, BIT(3)),
106 PMU_FORMAT_ATTR(mtc, "config:9" );
/Linux-v5.10/tools/perf/Documentation/
Dperf-intel-pt.txt151 used - refer to the 'mtc' config term. When MTC is used, however, the values
223 /sys/bus/event_source/devices/intel_pt/format/mtc:config:9
346 mtc Produces MTC timing packets.
354 /sys/bus/event_source/devices/intel_pt/caps/mtc
362 mtc_period Specifies how frequently MTC packets are produced - see mtc
/Linux-v5.10/Documentation/scsi/
DChangeLog.megaraid197 Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]