Searched refs:capable (Results 1 – 9 of 9) sorted by relevance
97 extern void device_set_wakeup_capable(struct device *dev, bool capable);109 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument111 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
210 extern bool capable(int cap);233 static inline bool capable(int cap) in capable() function
1263 if (sysctl_perf_event_paranoid > 1 && !capable(CAP_SYS_ADMIN)) in perf_allow_kernel()1271 if (sysctl_perf_event_paranoid > 0 && !capable(CAP_SYS_ADMIN)) in perf_allow_cpu()1279 if (sysctl_perf_event_paranoid > -1 && !capable(CAP_SYS_ADMIN)) in perf_allow_tracepoint()
1477 int (*capable)(const struct cred *cred, member1840 struct hlist_head capable; member
251 bool (*capable)(enum iommu_cap); member
1058 if (bpf_jit_harden == 1 && capable(CAP_SYS_ADMIN)) in bpf_jit_blinding_enabled()
2944 if (capable(CAP_SYS_RAWIO)) { in dev_validate_header()
85 if ((epev->events & EPOLLWAKEUP) && !capable(CAP_BLOCK_SUSPEND)) in ep_take_care_of_epollwakeup()
1597 struct drm_connector *connector, bool capable);