Home
last modified time | relevance | path

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

/Linux-v6.1/arch/mips/kernel/
Dmips-mt.c235 struct class *mtc; in mips_mt_init() local
237 mtc = class_create(THIS_MODULE, "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.1/drivers/scsi/
Dst.c3539 struct mtop mtc; in st_ioctl() local
3541 if (_IOC_SIZE(cmd_in) != sizeof(mtc)) { in st_ioctl()
3546 i = copy_from_user(&mtc, p, sizeof(struct mtop)); in st_ioctl()
3552 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) { in st_ioctl()
3559 (mtc.mt_op != MTSETDRVBUFFER && in st_ioctl()
3560 (mtc.mt_count & MT_ST_OPTIONS) == 0)) { in st_ioctl()
3568 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM || in st_ioctl()
3569 mtc.mt_op == MTEOM) { in st_ioctl()
3570 mtc.mt_count -= 1; in st_ioctl()
3573 } else if (mtc.mt_op == MTBSF || mtc.mt_op == MTBSFM) { in st_ioctl()
[all …]
/Linux-v6.1/arch/powerpc/boot/dts/
Ddigsy_mtc.dts16 model = "intercontrol,digsy-mtc";
17 compatible = "intercontrol,digsy-mtc";
/Linux-v6.1/mm/
Dmigrate.c1609 struct migration_target_control *mtc; in alloc_migration_target() local
1616 mtc = (struct migration_target_control *)private; in alloc_migration_target()
1617 gfp_mask = mtc->gfp_mask; in alloc_migration_target()
1618 nid = mtc->nid; in alloc_migration_target()
1626 return alloc_huge_page_nodemask(h, nid, mtc->nmask, gfp_mask); in alloc_migration_target()
1642 new_folio = __folio_alloc(gfp_mask, order, nid, mtc->nmask); in alloc_migration_target()
1664 struct migration_target_control mtc = { in do_move_pages_to_node() local
1670 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL); in do_move_pages_to_node()
Dmemory_hotplug.c1690 struct migration_target_control mtc = { in do_migrate_range() local
1699 mtc.nid = page_to_nid(list_first_entry(&source, struct page, lru)); in do_migrate_range()
1706 node_clear(mtc.nid, nmask); in do_migrate_range()
1708 node_set(mtc.nid, nmask); in do_migrate_range()
1710 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_HOTPLUG, NULL); in do_migrate_range()
Dvmscan.c1540 struct migration_target_control *mtc; in alloc_demote_page() local
1542 mtc = (struct migration_target_control *)private; in alloc_demote_page()
1544 allowed_mask = mtc->nmask; in alloc_demote_page()
1554 mtc->nmask = NULL; in alloc_demote_page()
1555 mtc->gfp_mask |= __GFP_THISNODE; in alloc_demote_page()
1556 target_page = alloc_migration_target(page, (unsigned long)mtc); in alloc_demote_page()
1560 mtc->gfp_mask &= ~__GFP_THISNODE; in alloc_demote_page()
1561 mtc->nmask = allowed_mask; in alloc_demote_page()
1563 return alloc_migration_target(page, (unsigned long)mtc); in alloc_demote_page()
1577 struct migration_target_control mtc = { in demote_folio_list() local
[all …]
Dmemory-failure.c2457 struct migration_target_control mtc = { in soft_offline_in_use_page() local
2496 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_FAILURE, NULL); in soft_offline_in_use_page()
Dmempolicy.c1068 struct migration_target_control mtc = { in migrate_to_node() local
1088 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL); in migrate_to_node()
Dgup.c2035 struct migration_target_control mtc = { in migrate_longterm_unpinnable_pages() local
2041 NULL, (unsigned long)&mtc, MIGRATE_SYNC, in migrate_longterm_unpinnable_pages()
Dpage_alloc.c9195 struct migration_target_control mtc = { in __alloc_contig_migrate_range() local
9225 NULL, (unsigned long)&mtc, cc->mode, MR_CONTIG_RANGE, NULL); in __alloc_contig_migrate_range()
/Linux-v6.1/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.1/arch/powerpc/platforms/52xx/
DKconfig26 intercontrol,digsy-mtc
/Linux-v6.1/tools/perf/arch/x86/util/
Dintel-pt.c192 int mtc, mtc_periods = 0, mtc_period; in intel_pt_default_config() local
201 &mtc) != 1) in intel_pt_default_config()
202 mtc = 1; in intel_pt_default_config()
204 if (mtc) { in intel_pt_default_config()
/Linux-v6.1/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.1/arch/x86/events/intel/
Dpt.c59 PT_CAP(mtc, 0, CPUID_EBX, BIT(3)),
110 PMU_FORMAT_ATTR(mtc, "config:9" );
/Linux-v6.1/tools/perf/Documentation/
Dperf-intel-pt.txt152 used - refer to the 'mtc' config term. When MTC is used, however, the values
239 /sys/bus/event_source/devices/intel_pt/format/mtc:config:9
362 mtc Produces MTC timing packets.
370 /sys/bus/event_source/devices/intel_pt/caps/mtc
378 mtc_period Specifies how frequently MTC packets are produced - see mtc
1276 TSC is not supported and tsc=0 must be specified. That means mtc is useless, so add mtc=0.
1282 …$ sudo perf kvm --guest --host --guestkallsyms $KALLSYMS record --kcore -e intel_pt/tsc=0,mtc=0,cy…
/Linux-v6.1/Documentation/scsi/
DChangeLog.megaraid197 Jun'ichi Nomura [mailto:jnomura@mtc.biglobe.ne.jp]