Home
last modified time | relevance | path

Searched defs:cap (Results 1 – 25 of 32) sorted by relevance

12

/tools/testing/selftests/landlock/
Dcommon.h112 const cap_flag_t flag, const cap_value_t cap, in _change_cap()
128 const cap_value_t cap) in set_cap()
134 const cap_value_t cap) in clear_cap()
140 set_ambient_cap(struct __test_metadata *const _metadata, const cap_value_t cap) in set_ambient_cap()
152 struct __test_metadata *const _metadata, const cap_value_t cap) in clear_ambient_cap()
/tools/perf/util/
Dcap.c16 bool perf_cap__capable(int cap, bool *used_root) in perf_cap__capable()
Dhashmap.h78 size_t cap; member
Denv.c586 const char *cap) in perf_env__find_pmu_cap()
/tools/power/acpi/tools/pfrut/
Dpfrut.c167 void print_cap(struct pfru_update_cap_info *cap) in print_cap()
203 struct pfru_update_cap_info cap; in main() local
/tools/testing/selftests/bpf/progs/
Dtoken_lsm.c15 int BPF_PROG(token_capable, struct bpf_token *token, int cap) in BPF_PROG()
/tools/power/x86/x86_energy_perf_policy/
Dx86_energy_perf_policy.c769 void print_hwp_cap(int cpu, struct msr_hwp_cap *cap, char *str) in print_hwp_cap()
777 void read_hwp_cap(int cpu, struct msr_hwp_cap *cap, unsigned int msr_offset) in read_hwp_cap()
895 struct msr_hwp_cap cap; in print_cpu_msrs() local
1035 …check_hwp_request_v_hwp_capabilities(int cpu, struct msr_hwp_request *req, struct msr_hwp_cap *cap) in check_hwp_request_v_hwp_capabilities()
1080 struct msr_hwp_cap cap; in update_hwp_request() local
1125 struct msr_hwp_cap cap; in update_hwp_request_pkg() local
/tools/testing/selftests/x86/bugs/
Dits_ret_alignment.py41 cap = c.init_capstone() variable
Dits_indirect_alignment.py46 cap = c.init_capstone() variable
/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c98 struct libcap *cap; in set_capability() local
/tools/testing/selftests/mm/
Dmlock-random-test.c30 cap_t cap = cap_init(); in set_cap_limits() local
Dmemfd_secret.c253 cap_t cap = cap_init(); in set_cap_limits() local
/tools/testing/selftests/kvm/s390x/
Ducontrol_test.c194 struct kvm_enable_cap cap = { in TEST() local
/tools/testing/selftests/kvm/include/
Dkvm_util.h259 static inline bool kvm_has_cap(long cap) in kvm_has_cap()
356 static inline int vm_check_cap(struct kvm_vm *vm, long cap) in vm_check_cap()
364 static inline int __vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in __vm_enable_cap()
370 static inline void vm_enable_cap(struct kvm_vm *vm, uint32_t cap, uint64_t arg0) in vm_enable_cap()
637 static inline void vcpu_enable_cap(struct kvm_vcpu *vcpu, uint32_t cap, in vcpu_enable_cap()
/tools/testing/selftests/tpm2/
Dtpm2.py689 def __get_cap_cnt(self, cap, pt, cnt): argument
710 def get_cap(self, cap, pt): argument
/tools/power/x86/intel-speed-select/
Dhfi-events.c202 struct nlattr *cap; in handle_event() local
Disst-display.c639 int state, int cap) in isst_clos_display_clos_information()
/tools/testing/selftests/vDSO/
Dvdso_test_getrandom.c50 size_t len, cap; member
/tools/testing/selftests/kvm/x86_64/
Dsync_regs_test.c404 int cap; in main() local
Duserspace_msr_exit_test.c702 struct kvm_enable_cap cap = { .cap = KVM_CAP_X86_USER_SPACE_MSR }; in run_user_space_msr_flag_test() local
/tools/lib/bpf/
Dhashmap.h78 size_t cap; member
Delf.c512 size_t cap = 0, cnt = 0; in elf_resolve_pattern_offsets() local
/tools/bpf/bpftool/
Dfeature.c1044 cap_value_t cap; in handle_perms() member
1076 cap_value_t cap = bpf_caps[i].cap; in handle_perms() local
/tools/testing/selftests/bpf/prog_tests/
Dkprobe_multi_test.c470 size_t cap = 0, cnt = 0; in get_syms() local
/tools/sched_ext/
Dscx_qmap.bpf.c699 u32 cap, cur; in monitor_cpuperf() local

12