Home
last modified time | relevance | path

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

/linux-6.6.21/arch/mips/kernel/
Dmips-mt.c235 struct class *mtc; in mips_mt_init() local
237 mtc = class_create("mt"); in mips_mt_init()
238 if (IS_ERR(mtc)) in mips_mt_init()
239 return PTR_ERR(mtc); in mips_mt_init()
241 mt_class = mtc; in mips_mt_init()
/linux-6.6.21/drivers/scsi/
Dst.c3541 struct mtop mtc; in st_ioctl() local
3543 if (_IOC_SIZE(cmd_in) != sizeof(mtc)) { in st_ioctl()
3548 i = copy_from_user(&mtc, p, sizeof(struct mtop)); in st_ioctl()
3554 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()
3561 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()
3562 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3570 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3571 mtc.mt_op == MTEOM) { in st_ioctl()
3572 mtc.mt_count -= 1; in st_ioctl()
3575 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()
[all …]
/linux-6.6.21/arch/powerpc/boot/dts/
Ddigsy_mtc.dts16 model = "intercontrol,digsy-mtc";
17 compatible = "intercontrol,digsy-mtc";
/linux-6.6.21/tools/perf/util/intel-pt-decoder/
Dintel-pt-decoder.c794 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift, in intel_pt_fixup_last_mtc() argument
800 *last_mtc |= mtc & mask; in intel_pt_fixup_last_mtc()
801 if (*last_mtc >= mtc) { in intel_pt_fixup_last_mtc()
814 uint32_t mtc, mtc_delta, ctc, fc, ctc_rem; in intel_pt_calc_cyc_cb() local
844 mtc = pkt_info->packet.payload; in intel_pt_calc_cyc_cb()
847 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift, in intel_pt_calc_cyc_cb()
850 if (mtc > data->last_mtc) in intel_pt_calc_cyc_cb()
851 mtc_delta = mtc - data->last_mtc; in intel_pt_calc_cyc_cb()
853 mtc_delta = mtc + 256 - data->last_mtc; in intel_pt_calc_cyc_cb()
855 data->last_mtc = mtc; in intel_pt_calc_cyc_cb()
[all …]
/linux-6.6.21/mm/
Dmigrate.c1993 struct migration_target_control *mtc; in alloc_migration_target() local
1999 mtc = (struct migration_target_control *)private; in alloc_migration_target()
2000 gfp_mask = mtc->gfp_mask; in alloc_migration_target()
2001 nid = mtc->nid; in alloc_migration_target()
2010 mtc->nmask, gfp_mask); in alloc_migration_target()
2026 return __folio_alloc(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
2046 struct migration_target_control mtc = { in do_move_pages_to_node() local
2052 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL); in do_move_pages_to_node()
Dmemory_hotplug.c1769 struct migration_target_control mtc = { in do_migrate_range() local
1779 mtc.nid = page_to_nid(list_first_entry(&source, struct page, lru)); in do_migrate_range()
1786 node_clear(mtc.nid, nmask); in do_migrate_range()
1788 node_set(mtc.nid, nmask); in do_migrate_range()
1790 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_HOTPLUG, NULL); in do_migrate_range()
Dvmscan.c1619 struct migration_target_control *mtc; in alloc_demote_folio() local
1621 mtc = (struct migration_target_control *)private; in alloc_demote_folio()
1623 allowed_mask = mtc->nmask; in alloc_demote_folio()
1633 mtc->nmask = NULL; in alloc_demote_folio()
1634 mtc->gfp_mask |= __GFP_THISNODE; in alloc_demote_folio()
1635 dst = alloc_migration_target(src, (unsigned long)mtc); in alloc_demote_folio()
1639 mtc->gfp_mask &= ~__GFP_THISNODE; in alloc_demote_folio()
1640 mtc->nmask = allowed_mask; in alloc_demote_folio()
1642 return alloc_migration_target(src, (unsigned long)mtc); in alloc_demote_folio()
1656 struct migration_target_control mtc = { in demote_folio_list() local
[all …]
Dmemory-failure.c2651 struct migration_target_control mtc = { in soft_offline_in_use_page() local
2690 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_FAILURE, NULL); in soft_offline_in_use_page()
Dgup.c2119 struct migration_target_control mtc = { in migrate_longterm_unpinnable_pages() local
2125 NULL, (unsigned long)&mtc, MIGRATE_SYNC, in migrate_longterm_unpinnable_pages()
Dmempolicy.c1078 struct migration_target_control mtc = { in migrate_to_node() local
1098 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL); in migrate_to_node()
Dpage_alloc.c6038 struct migration_target_control mtc = { in __alloc_contig_migrate_range() local
6068 NULL, (unsigned long)&mtc, cc->mode, MR_CONTIG_RANGE, NULL); in __alloc_contig_migrate_range()
/linux-6.6.21/arch/powerpc/platforms/52xx/
DKconfig26 intercontrol,digsy-mtc
/linux-6.6.21/tools/perf/arch/x86/util/
Dintel-pt.c188 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-6.6.21/tools/perf/tests/shell/
Dtest_intel_pt.sh438 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/mtc=0,tsc=0/u uname
/linux-6.6.21/arch/x86/events/intel/
Dpt.c59 PT_CAP(mtc, 0, CPUID_EBX, BIT(3)),
110 PMU_FORMAT_ATTR(mtc, "config:9" );
/linux-6.6.21/tools/perf/Documentation/
Dperf-intel-pt.txt152 MTC packets are used - refer to the 'mtc' config term. When MTC is used, however,
248 /sys/bus/event_source/devices/intel_pt/format/mtc:config:9
371 mtc Produces MTC timing packets.
379 /sys/bus/event_source/devices/intel_pt/caps/mtc
387 mtc_period Specifies how frequently MTC packets are produced - see mtc
1296 TSC is not supported and tsc=0 must be specified. That means mtc is useless, so add mtc=0.
1302 …$ sudo perf kvm --guest --host --guestkallsyms $KALLSYMS record --kcore -e intel_pt/tsc=0,mtc=0,cy…
/linux-6.6.21/Documentation/scsi/
DChangeLog.megaraid197 Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]