Home
last modified time | relevance | path

Searched refs:locked (Results 1 – 12 of 12) sorted by relevance

/tools/testing/selftests/rcutorture/formal/srcu-cbmc/src/
Dlocks.h58 bool locked; member
65 return __sync_bool_compare_and_swap(&lock->locked, false, true); in lock_impl_trylock()
68 bool old_locked = lock->locked; in lock_impl_trylock()
69 lock->locked = true; in lock_impl_trylock()
96 BUG_ON(!__sync_bool_compare_and_swap(&lock->locked, true, false)); in lock_impl_unlock()
102 bool old_locked = lock->locked; in lock_impl_unlock()
103 lock->locked = false; in lock_impl_unlock()
112 lock->locked = false; in lock_impl_init()
115 #define LOCK_IMPL_INITIALIZER {.locked = false}
/tools/testing/selftests/vm/
Dmlock2-tests.c148 bool locked; in is_vma_lock_on_fault() local
151 locked = is_vmflag_set(addr, LOCKED); in is_vma_lock_on_fault()
152 if (!locked) in is_vma_lock_on_fault()
168 bool locked; in lock_check() local
171 locked = is_vmflag_set(addr, LOCKED); in lock_check()
172 if (!locked) in lock_check()
/tools/testing/selftests/futex/functional/
Dfutex_requeue_pi.c47 static int locked; variable
375 locked = 1; in main()
379 locked = 0; in main()
398 broadcast, locked, owner, timeout_ns); in main()
405 ret = unit_test(broadcast, locked, owner, timeout_ns); in main()
/tools/perf/util/
Dannotate.c479 ops->locked.ops = zalloc(sizeof(*ops->locked.ops)); in lock__parse()
480 if (ops->locked.ops == NULL) in lock__parse()
483 if (disasm_line__parse(ops->raw, &ops->locked.ins.name, &ops->locked.ops->raw) < 0) in lock__parse()
486 ops->locked.ins.ops = ins__find(arch, ops->locked.ins.name); in lock__parse()
488 if (ops->locked.ins.ops == NULL) in lock__parse()
491 if (ops->locked.ins.ops->parse && in lock__parse()
492 ops->locked.ins.ops->parse(arch, ops->locked.ops, ms) < 0) in lock__parse()
498 zfree(&ops->locked.ops); in lock__parse()
507 if (ops->locked.ins.ops == NULL) in lock__scnprintf()
511 return printed + ins__scnprintf(&ops->locked.ins, bf + printed, in lock__scnprintf()
[all …]
Dannotate.h52 } locked; member
/tools/power/x86/intel-speed-select/
Disst.h153 int locked; member
Disst-core.c24 pkg_dev->locked = !!(resp & BIT(24)); in isst_get_ctdp_levels()
Disst-config.c712 _get_tdp_level("get-lock-status", levels, locked, "TDP lock status");
/tools/perf/Documentation/
Dperf-report.txt141 symbol_daddr, dso_daddr, locked, tlb, mem, snoop, dcacheline.
146 - locked: whether the bus was locked at the time of the sample
154 symbol_daddr, dso_daddr, snoop, tlb, locked, see '--mem-mode'.
Dintel-pt.txt482 user is likely to get an error as they exceed their mlock limit (Max locked
/tools/lib/traceevent/
Devent-parse.h48 int locked; /* Do not free, even if ref_count is zero */ member
/tools/perf/ui/browsers/
Dannotate.c137 name = pos->ops.locked.ins.name; in is_fused()