Home
last modified time | relevance | path

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

/Linux-v5.15/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.15/drivers/scsi/
Dst.c3535 struct mtop mtc; in st_ioctl() local
3537 if (_IOC_SIZE(cmd_in) != sizeof(mtc)) { in st_ioctl()
3542 i = copy_from_user(&mtc, p, sizeof(struct mtop)); in st_ioctl()
3548 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()
3555 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()
3556 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3564 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3565 mtc.mt_op == MTEOM) { in st_ioctl()
3566 mtc.mt_count -= 1; in st_ioctl()
3569 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()
[all …]
/Linux-v5.15/arch/powerpc/boot/dts/
Ddigsy_mtc.dts16 model = "intercontrol,digsy-mtc";
17 compatible = "intercontrol,digsy-mtc";
/Linux-v5.15/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c781 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift, in intel_pt_fixup_last_mtc() argument
787 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
788 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
801 uint32_t mtc, mtc_delta, ctc, fc, ctc_rem; in intel_pt_calc_cyc_cb() local
828 mtc = pkt_info->packet.payload; in intel_pt_calc_cyc_cb()
831 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift, in intel_pt_calc_cyc_cb()
834 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
835 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
837 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
839 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
[all …]
/Linux-v5.15/arch/powerpc/platforms/52xx/
DKconfig26 intercontrol,digsy-mtc
/Linux-v5.15/mm/
Dmigrate.c1607 struct migration_target_control *mtc; in alloc_migration_target() local
1614 mtc = (struct migration_target_control *)private; in alloc_migration_target()
1615 gfp_mask = mtc->gfp_mask; in alloc_migration_target()
1616 nid = mtc->nid; in alloc_migration_target()
1624 return alloc_huge_page_nodemask(h, nid, mtc->nmask, gfp_mask); in alloc_migration_target()
1640 new_page = __alloc_pages(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
1665 struct migration_target_control mtc = { in do_move_pages_to_node() local
1671 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL); in do_move_pages_to_node()
Dmemory_hotplug.c1753 struct migration_target_control mtc = { in do_migrate_range() local
1762 mtc.nid = page_to_nid(list_first_entry(&source, struct page, lru)); in do_migrate_range()
1769 node_clear(mtc.nid, nmask); in do_migrate_range()
1771 node_set(mtc.nid, nmask); in do_migrate_range()
1773 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_HOTPLUG, NULL); in do_migrate_range()
Dmemory-failure.c2061 struct migration_target_control mtc = { in __soft_offline_page() local
2102 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_FAILURE, NULL); in __soft_offline_page()
Dgup.c1709 struct migration_target_control mtc = { in check_and_migrate_movable_pages() local
1761 NULL, (unsigned long)&mtc, MIGRATE_SYNC, in check_and_migrate_movable_pages()
Dmempolicy.c1058 struct migration_target_control mtc = { in migrate_to_node() local
1077 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL); in migrate_to_node()
Dvmscan.c1315 struct migration_target_control mtc = { in alloc_demote_page() local
1327 return alloc_migration_target(page, (unsigned long)&mtc); in alloc_demote_page()
Dpage_alloc.c8954 struct migration_target_control mtc = { in __alloc_contig_migrate_range() local
8984 NULL, (unsigned long)&mtc, cc->mode, MR_CONTIG_RANGE, NULL); in __alloc_contig_migrate_range()
/Linux-v5.15/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.15/tools/perf/Documentation/
Dperf-intel-pt.txt151 used - refer to the 'mtc' config term. When MTC is used, however, the values
227 /sys/bus/event_source/devices/intel_pt/format/mtc:config:9
350 mtc Produces MTC timing packets.
358 /sys/bus/event_source/devices/intel_pt/caps/mtc
366 mtc_period Specifies how frequently MTC packets are produced - see mtc
1203 TSC is not supported and tsc=0 must be specified. That means mtc is useless, so add mtc=0.
1209 …$ sudo perf kvm --guest --host --guestkallsyms $KALLSYMS record --kcore -e intel_pt/tsc=0,mtc=0,cy…
/Linux-v5.15/arch/x86/events/intel/
Dpt.c57 PT_CAP(mtc, 0, CPUID_EBX, BIT(3)),
106 PMU_FORMAT_ATTR(mtc, "config:9" );
/Linux-v5.15/Documentation/scsi/
DChangeLog.megaraid197 Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]