Home
last modified time | relevance | path

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

/Linux-v6.6/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-v6.6/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-v6.6/arch/powerpc/boot/dts/
Ddigsy_mtc.dts16 model = "intercontrol,digsy-mtc";
17 compatible = "intercontrol,digsy-mtc";
/Linux-v6.6/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-v6.6/mm/
Dmigrate.c1983 struct migration_target_control *mtc; in alloc_migration_target() local
1989 mtc = (struct migration_target_control *)private; in alloc_migration_target()
1990 gfp_mask = mtc->gfp_mask; in alloc_migration_target()
1991 nid = mtc->nid; in alloc_migration_target()
2000 mtc->nmask, gfp_mask); in alloc_migration_target()
2016 return __folio_alloc(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
2036 struct migration_target_control mtc = { in do_move_pages_to_node() local
2042 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL); in do_move_pages_to_node()
Dmemory_hotplug.c1767 struct migration_target_control mtc = { in do_migrate_range() local
1777 mtc.nid = page_to_nid(list_first_entry(&source, struct page, lru)); in do_migrate_range()
1784 node_clear(mtc.nid, nmask); in do_migrate_range()
1786 node_set(mtc.nid, nmask); in do_migrate_range()
1788 (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.c2649 struct migration_target_control mtc = { in soft_offline_in_use_page() local
2688 (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.c1074 struct migration_target_control mtc = { in migrate_to_node() local
1094 (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-v6.6/arch/powerpc/platforms/52xx/
DKconfig26 intercontrol,digsy-mtc
/Linux-v6.6/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-v6.6/tools/perf/tests/shell/
Dtest_intel_pt.sh438 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/mtc=0,tsc=0/u uname
/Linux-v6.6/arch/x86/events/intel/
Dpt.c59 PT_CAP(mtc, 0, CPUID_EBX, BIT(3)),
110 PMU_FORMAT_ATTR(mtc, "config:9" );
/Linux-v6.6/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-v6.6/Documentation/scsi/
DChangeLog.megaraid197 Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]