Searched refs:allowed_mask (Results 1 – 3 of 3) sorted by relevance
/linux-6.6.21/tools/testing/selftests/kvm/ |
D | rseq_test.c | 70 cpu_set_t allowed_mask; in migration_worker() local 73 CPU_ZERO(&allowed_mask); in migration_worker() 76 CPU_SET(cpu, &allowed_mask); in migration_worker() 92 r = sched_setaffinity(rseq_tid, sizeof(allowed_mask), &allowed_mask); in migration_worker() 98 CPU_CLR(cpu, &allowed_mask); in migration_worker()
|
/linux-6.6.21/tools/testing/selftests/kvm/lib/ |
D | kvm_util.c | 492 static uint32_t parse_pcpu(const char *cpu_str, const cpu_set_t *allowed_mask) in parse_pcpu() argument 496 TEST_ASSERT(CPU_ISSET(pcpu, allowed_mask), in parse_pcpu() 521 cpu_set_t allowed_mask; in kvm_parse_vcpu_pinning() local 529 r = sched_getaffinity(0, sizeof(allowed_mask), &allowed_mask); in kvm_parse_vcpu_pinning() 537 vcpu_to_pcpu[i] = parse_pcpu(cpu, &allowed_mask); in kvm_parse_vcpu_pinning() 543 kvm_pin_this_task_to_pcpu(parse_pcpu(cpu, &allowed_mask)); in kvm_parse_vcpu_pinning()
|
/linux-6.6.21/mm/ |
D | vmscan.c | 1618 nodemask_t *allowed_mask; in alloc_demote_folio() local 1623 allowed_mask = mtc->nmask; in alloc_demote_folio() 1640 mtc->nmask = allowed_mask; in alloc_demote_folio() 1654 nodemask_t allowed_mask; in demote_folio_list() local 1665 .nmask = &allowed_mask in demote_folio_list() 1674 node_get_allowed_targets(pgdat, &allowed_mask); in demote_folio_list()
|