Home
last modified time | relevance | path

Searched refs:capable (Results 1 – 9 of 9) sorted by relevance

/include/linux/
Dpm_wakeup.h97 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() argument
111 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
Dcapability.h210 extern bool capable(int cap);
233 static inline bool capable(int cap) in capable() function
Dperf_event.h1263 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()
Dlsm_hooks.h1477 int (*capable)(const struct cred *cred, member
1840 struct hlist_head capable; member
Diommu.h251 bool (*capable)(enum iommu_cap); member
Dfilter.h1058 if (bpf_jit_harden == 1 && capable(CAP_SYS_ADMIN)) in bpf_jit_blinding_enabled()
Dnetdevice.h2944 if (capable(CAP_SYS_RAWIO)) { in dev_validate_header()
/include/uapi/linux/
Deventpoll.h85 if ((epev->events & EPOLLWAKEUP) && !capable(CAP_BLOCK_SUSPEND)) in ep_take_care_of_epollwakeup()
/include/drm/
Ddrm_connector.h1597 struct drm_connector *connector, bool capable);