Searched refs:mtc (Results 1 - 12 of 12) sorted by relevance

/linux-master/drivers/scsi/
H A Dst.c3555 struct mtop mtc;
3557 if (_IOC_SIZE(cmd_in) != sizeof(mtc)) {
3562 i = copy_from_user(&mtc, p, sizeof(struct mtop));
3568 if (mtc.mt_op == MTSETDRVBUFFER && !capable(CAP_SYS_ADMIN)) {
3575 (mtc.mt_op != MTSETDRVBUFFER &&
3576 (mtc.mt_count & MT_ST_OPTIONS) == 0)) {
3584 if (mtc.mt_op == MTFSF || mtc.mt_op == MTFSFM ||
3585 mtc.mt_op == MTEOM) {
3586 mtc
3541 struct mtop mtc; local
[all...]
/linux-master/mm/
H A Dmigrate.c2008 struct migration_target_control *mtc; local
2014 mtc = (struct migration_target_control *)private;
2015 gfp_mask = mtc->gfp_mask;
2016 nid = mtc->nid;
2025 mtc->nmask, gfp_mask);
2041 return __folio_alloc(gfp_mask, order, nid, mtc->nmask);
2060 struct migration_target_control mtc = { local
2066 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL);
H A Dmemory_hotplug.c1841 struct migration_target_control mtc = { local
1851 mtc.nid = page_to_nid(list_first_entry(&source, struct page, lru));
1858 node_clear(mtc.nid, nmask);
1860 node_set(mtc.nid, nmask);
1862 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_HOTPLUG, NULL);
H A Dvmscan.c924 struct migration_target_control *mtc; local
926 mtc = (struct migration_target_control *)private;
928 allowed_mask = mtc->nmask;
938 mtc->nmask = NULL;
939 mtc->gfp_mask |= __GFP_THISNODE;
940 dst = alloc_migration_target(src, (unsigned long)mtc);
944 mtc->gfp_mask &= ~__GFP_THISNODE;
945 mtc->nmask = allowed_mask;
947 return alloc_migration_target(src, (unsigned long)mtc);
961 struct migration_target_control mtc local
[all...]
H A Dmemory-failure.c2678 struct migration_target_control mtc = { local
2717 (unsigned long)&mtc, MIGRATE_SYNC, MR_MEMORY_FAILURE, NULL);
H A Dmempolicy.c1070 struct migration_target_control mtc = { local
1095 (unsigned long)&mtc, MIGRATE_SYNC, MR_SYSCALL, NULL);
H A Dgup.c2144 struct migration_target_control mtc = { local
2150 NULL, (unsigned long)&mtc, MIGRATE_SYNC,
H A Dpage_alloc.c6251 struct migration_target_control mtc = { local
6291 NULL, (unsigned long)&mtc, cc->mode, MR_CONTIG_RANGE, NULL);
/linux-master/tools/perf/util/intel-pt-decoder/
H A Dintel-pt-decoder.c794 static void intel_pt_fixup_last_mtc(uint32_t mtc, int mtc_shift, argument
800 *last_mtc |= mtc & mask;
801 if (*last_mtc >= mtc) {
814 uint32_t mtc, mtc_delta, ctc, fc, ctc_rem; local
844 mtc = pkt_info->packet.payload;
847 intel_pt_fixup_last_mtc(mtc, decoder->mtc_shift,
850 if (mtc > data->last_mtc)
851 mtc_delta = mtc - data->last_mtc;
853 mtc_delta = mtc + 256 - data->last_mtc;
855 data->last_mtc = mtc;
1939 uint32_t mtc, mtc_delta; local
[all...]
/linux-master/tools/perf/arch/x86/util/
H A Dintel-pt.c183 int mtc, mtc_periods = 0, mtc_period; local
194 if (perf_pmu__scan_file_at(intel_pt_pmu, dirfd, "caps/mtc", "%d",
195 &mtc) != 1)
196 mtc = 1;
198 if (mtc) {
205 ",mtc,mtc_period=%d", mtc_period);
340 intel_pt_parse_terms(intel_pt_pmu, "mtc", &mtc_bit);
547 "mtc_period", "caps/mtc",
/linux-master/tools/perf/tests/shell/
H A Dtest_intel_pt.sh439 perf_record_no_decode -o "${perfdatafile}" -e intel_pt/mtc=0,tsc=0/u uname
443 echo "Failed to filter with mtc=0"
/linux-master/arch/x86/events/intel/
H A Dpt.c59 PT_CAP(mtc, 0, CPUID_EBX, BIT(3)),
110 PMU_FORMAT_ATTR(mtc, "config:9" );
339 * In the unlikely case that CPUID lists valid mtc periods,
340 * but not the mtc capability, drop out here.
342 * Spec says that setting mtc period bits while mtc bit in

Completed in 273 milliseconds