Home
last modified time | relevance | path

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

12345678910>>...33

/Linux-v6.6/include/linux/
Dcapability.h148 extern bool capable(int cap);
171 static inline bool capable(int cap) in capable() function
197 return capable(CAP_PERFMON) || capable(CAP_SYS_ADMIN); in perfmon_capable()
202 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable()
Dpm_wakeup.h111 extern void device_set_wakeup_capable(struct device *dev, bool capable);
122 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument
124 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
/Linux-v6.6/net/dcb/
DKconfig7 features on DCB capable Ethernet adapters via rtnetlink. Say 'Y'
8 if you have a DCB capable Ethernet adapter which supports this
9 interface and you are connected to a DCB capable switch.
11 DCB is a collection of Ethernet enhancements which allow DCB capable
/Linux-v6.6/Documentation/arch/arm64/
Dasymmetric-32bit.rst16 of the CPUs are capable of executing 32-bit user applications. On such
56 The subset of CPUs capable of running 32-bit tasks is described in
61 late-onlining of 32-bit-capable CPUs can result in the file contents
74 1. If the 32-bit-capable subset of the affinity mask is not empty,
83 ancestor is found containing at least one 32-bit-capable CPU. The
84 affinity of the task is then changed to match the 32-bit-capable
88 of all 32-bit-capable CPUs of which the kernel is aware.
98 the 32-bit-capable CPUs of the requested affinity mask. On success, the
113 of 32-bit-capable CPUs may still necessitate the procedure described in
117 **Note:** It is recommended that a set of 32-bit-capable CPUs are placed
[all …]
/Linux-v6.6/fs/reiserfs/
Dxattr_trusted.c15 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_get()
28 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_set()
38 return capable(CAP_SYS_ADMIN) && !IS_PRIVATE(d_inode(dentry)); in trusted_list()
/Linux-v6.6/Documentation/devicetree/bindings/dma/
Dmv-xor.txt20 - dmacap,memcpy to indicate that the XOR channel is capable of memcpy operations
21 - dmacap,memset to indicate that the XOR channel is capable of memset operations
22 - dmacap,xor to indicate that the XOR channel is capable of xor operations
23 - dmacap,interrupt to indicate that the XOR channel is capable of
/Linux-v6.6/drivers/xen/xenbus/
Dxenbus_dev_backend.c24 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_open()
77 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_ioctl()
96 if (!capable(CAP_SYS_ADMIN)) in xenbus_backend_mmap()
/Linux-v6.6/drivers/net/wireless/broadcom/b43legacy/
Dsysfs.c71 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_show()
107 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_interfmode_store()
152 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_show()
177 if (!capable(CAP_NET_ADMIN)) in b43legacy_attr_preamble_store()
/Linux-v6.6/kernel/
Dcapability.c355 int capable; in ns_capable_common() local
362 capable = security_capable(current_cred(), ns, cap, opts); in ns_capable_common()
363 if (capable == 0) { in ns_capable_common()
434 bool capable(int cap) in capable() function
438 EXPORT_SYMBOL(capable);
/Linux-v6.6/Documentation/powerpc/
Delfnote.rst18 - Ultravisor-capable bit (PowerNV only).
28 by the ultravisor. If the kernel is not ultravisor-capable, but it ends up
35 or the Ultravisor-capable bit is not set.
/Linux-v6.6/drivers/s390/block/
Ddasd_ioctl.c49 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable()
70 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable()
103 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce()
124 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume()
148 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio()
182 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio()
262 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format()
350 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_release_space()
393 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_copy_pair_swap()
/Linux-v6.6/Documentation/userspace-api/ioctl/
Dcdrom.rst117 - ENOSYS cd drive not audio-capable.
138 - ENOSYS cd drive not audio-capable.
162 - ENOSYS cd drive not audio-capable.
193 - ENOSYS cd drive not audio-capable.
222 - ENOSYS cd drive not audio-capable.
247 - ENOSYS cd drive not audio-capable.
277 - ENOSYS cd drive not audio-capable.
302 - ENOSYS cd drive not audio-capable.
328 - ENOSYS cd drive not capable of ejecting
355 - ENOSYS cd drive not capable of closing the tray
[all …]
/Linux-v6.6/net/atm/
Dresources.c271 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
284 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
310 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
323 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
367 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
/Linux-v6.6/arch/alpha/kernel/
Dpci-noop.c100 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
109 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
/Linux-v6.6/mm/
Dhwpoison-inject.c21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject()
57 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
/Linux-v6.6/Documentation/driver-api/serial/
Dserial-iso7816.rst14 Some CPUs/UARTs (e.g., Microchip AT91) contain a built-in mode capable of
17 For these microcontrollers, the Linux driver should be made capable of
29 Any driver for devices capable of working both as RS232 and ISO7816 should
/Linux-v6.6/fs/gfs2/
Dsys.c172 if (!capable(CAP_SYS_ADMIN)) in freeze_store()
204 if (!capable(CAP_SYS_ADMIN)) in withdraw_store()
225 if (!capable(CAP_SYS_ADMIN)) in statfs_sync_store()
244 if (!capable(CAP_SYS_ADMIN)) in quota_sync_store()
265 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_user_store()
287 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_group_store()
312 if (!capable(CAP_SYS_ADMIN)) in demote_rq_store()
640 if (!capable(CAP_SYS_ADMIN)) in quota_scale_store()
660 if (!capable(CAP_SYS_ADMIN)) in tune_set()
/Linux-v6.6/block/
Dioctl.c25 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl()
265 if (capable(CAP_SYS_ADMIN)) in blkdev_pr_allowed()
367 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf()
386 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset()
471 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset()
546 if(!capable(CAP_SYS_ADMIN)) in blkdev_common_ioctl()
551 if (!capable(CAP_SYS_ADMIN)) in blkdev_common_ioctl()
/Linux-v6.6/drivers/pci/
Dsyscall.c26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
95 if (!capable(CAP_SYS_ADMIN) || in SYSCALL_DEFINE5()
/Linux-v6.6/drivers/net/wireless/broadcom/b43/
Dsysfs.c44 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_show()
87 if (!capable(CAP_NET_ADMIN)) in b43_attr_interfmode_store()
/Linux-v6.6/Documentation/devicetree/bindings/usb/
Dhisilicon,histb-xhci.txt27 - usb3-lpm-capable: determines if platform is USB3 LPM capable
/Linux-v6.6/net/bluetooth/
Dhci_sock.c1015 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
1026 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
1031 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
1124 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1129 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1134 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1139 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1151 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1258 if (capable(CAP_NET_ADMIN)) in hci_sock_bind()
1283 if (!capable(CAP_NET_ADMIN)) { in hci_sock_bind()
[all …]
/Linux-v6.6/arch/x86/kernel/
Dioport.c73 if (turn_on && (!capable(CAP_SYS_RAWIO) || in ksys_ioperm()
189 if (!capable(CAP_SYS_RAWIO) || in SYSCALL_DEFINE1()
/Linux-v6.6/drivers/macintosh/
Dans-lcd.c112 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
118 if (!capable(CAP_SYS_ADMIN)) in anslcd_ioctl()
/Linux-v6.6/drivers/platform/x86/dell/
Ddell-smbios-base.c250 capable(token_whitelist[i].need_capability)) { in dell_smbios_call_filter()
264 capable(call_whitelist[i].need_capability)) { in dell_smbios_call_filter()
276 if (capable(CAP_SYS_RAWIO)) { in dell_smbios_call_filter()
439 if (!capable(CAP_SYS_ADMIN)) in location_show()
453 if (!capable(CAP_SYS_ADMIN)) in value_show()

12345678910>>...33