Home
last modified time | relevance | path

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

12345678910>>...40

/OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/
H A Drtltool.c59 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
80 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
97 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
112 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
121 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
136 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
163 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
166 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
180 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
205 if (!capable(CAP_NET_ADMIN)) in rtl8168_tool_ioctl()
[all …]
/OK3568_Linux_fs/kernel/drivers/ide/
H A Dide-ioctls.c55 if (!capable(CAP_SYS_ADMIN)) in ide_setting_ioctl()
266 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl()
271 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in generic_ide_ioctl()
281 if (!capable(CAP_SYS_RAWIO)) in generic_ide_ioctl()
285 if (!capable(CAP_SYS_RAWIO)) in generic_ide_ioctl()
289 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl()
293 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl()
299 if (!capable(CAP_SYS_ADMIN)) in generic_ide_ioctl()
/OK3568_Linux_fs/kernel/net/dcb/
H A 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
/OK3568_Linux_fs/kernel/include/linux/
H A Dcapability.h210 extern bool capable(int cap);
233 static inline bool capable(int cap) in capable() function
256 return capable(CAP_PERFMON) || capable(CAP_SYS_ADMIN); in perfmon_capable()
261 return capable(CAP_BPF) || capable(CAP_SYS_ADMIN); in bpf_capable()
H A Dpm_wakeup.h106 extern void device_set_wakeup_capable(struct device *dev, bool capable);
118 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument
120 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/dma/
H A 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
/OK3568_Linux_fs/kernel/fs/reiserfs/
H A Dxattr_trusted.c16 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()
/OK3568_Linux_fs/kernel/block/
H A Dioctl.c22 if (!capable(CAP_SYS_ADMIN)) in blkpg_do_ioctl()
99 if (!capable(CAP_SYS_ADMIN)) in blkdev_reread_part()
274 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_register()
292 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_reserve()
310 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_release()
328 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_preempt()
346 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_clear()
383 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf()
400 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset()
483 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset()
[all …]
H A Dioprio.c45 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
79 if (!capable(CAP_SYS_ADMIN) && !capable(CAP_SYS_NICE)) in ioprio_check_cap()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/mfd/
H A Daxp20x.txt126 DCDC2 : DC-DC buck : vin2-supply : poly-phase capable
127 DCDC3 : DC-DC buck : vin3-supply : poly-phase capable
129 DCDC5 : DC-DC buck : vin5-supply : poly-phase capable
130 DCDC6 : DC-DC buck : vin6-supply : poly-phase capable
153 DCDCA : DC-DC buck : vina-supply : poly-phase capable
154 DCDCB : DC-DC buck : vinb-supply : poly-phase capable
155 DCDCC : DC-DC buck : vinc-supply : poly-phase capable
156 DCDCD : DC-DC buck : vind-supply : poly-phase capable
157 DCDCE : DC-DC buck : vine-supply : poly-phase capable
202 DCDC2 : DC-DC buck : vin2-supply : poly-phase capable
[all …]
/OK3568_Linux_fs/kernel/drivers/xen/xenbus/
H A 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()
/OK3568_Linux_fs/kernel/drivers/s390/block/
H A Ddasd_ioctl.c49 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable()
72 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable()
105 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce()
126 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume()
149 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio()
183 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio()
264 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format()
352 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_release_space()
541 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_set_ro()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/b43legacy/
H A 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()
/OK3568_Linux_fs/kernel/kernel/
H A Dcapability.c368 int capable; in ns_capable_common() local
375 capable = security_capable(current_cred(), ns, cap, opts); in ns_capable_common()
376 if (capable == 0) { in ns_capable_common()
447 bool capable(int cap) in capable() function
451 EXPORT_SYMBOL(capable);
/OK3568_Linux_fs/kernel/Documentation/powerpc/
H A 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.
/OK3568_Linux_fs/kernel/Documentation/userspace-api/ioctl/
H A Dcdrom.rst114 - ENOSYS cd drive not audio-capable.
135 - ENOSYS cd drive not audio-capable.
159 - ENOSYS cd drive not audio-capable.
190 - ENOSYS cd drive not audio-capable.
219 - ENOSYS cd drive not audio-capable.
244 - ENOSYS cd drive not audio-capable.
274 - ENOSYS cd drive not audio-capable.
299 - ENOSYS cd drive not audio-capable.
325 - ENOSYS cd drive not capable of ejecting
352 - ENOSYS cd drive not capable of closing the tray
[all …]
/OK3568_Linux_fs/kernel/fs/gfs2/
H A Dsys.c97 if (!capable(CAP_SYS_ADMIN)) in freeze_store()
129 if (!capable(CAP_SYS_ADMIN)) in withdraw_store()
150 if (!capable(CAP_SYS_ADMIN)) in statfs_sync_store()
169 if (!capable(CAP_SYS_ADMIN)) in quota_sync_store()
190 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_user_store()
212 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_group_store()
237 if (!capable(CAP_SYS_ADMIN)) in demote_rq_store()
563 if (!capable(CAP_SYS_ADMIN)) in quota_scale_store()
583 if (!capable(CAP_SYS_ADMIN)) in tune_set()
/OK3568_Linux_fs/kernel/net/atm/
H A Dresources.c274 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
287 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
313 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
326 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
370 if (!capable(CAP_NET_ADMIN)) { in atm_dev_ioctl()
/OK3568_Linux_fs/kernel/net/bluetooth/
H A Dhci_sock.c954 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
965 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
970 if (!capable(CAP_NET_ADMIN)) in hci_sock_bound_ioctl()
1003 if (capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1028 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1033 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1038 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1043 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1055 if (!capable(CAP_NET_ADMIN)) in hci_sock_ioctl()
1162 if (capable(CAP_NET_ADMIN)) in hci_sock_bind()
[all …]
/OK3568_Linux_fs/kernel/arch/mips/netlogic/xlp/
H A Dcop2-ex.c100 if (!capable(CAP_SYS_ADMIN) || !capable(CAP_SYS_RAWIO)) in nlm_cu2_call()
/OK3568_Linux_fs/kernel/Documentation/driver-api/serial/
H A 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
/OK3568_Linux_fs/kernel/mm/
H A Dhwpoison-inject.c21 if (!capable(CAP_SYS_ADMIN)) in hwpoison_inject()
56 if (!capable(CAP_SYS_ADMIN)) in hwpoison_unpoison()
/OK3568_Linux_fs/kernel/arch/alpha/kernel/
H A Dpci-noop.c100 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
109 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
/OK3568_Linux_fs/kernel/Documentation/ABI/testing/
H A Dsysfs-devices-power31 For the devices that are not capable of generating system wakeup
86 attribute is read-only. If the device is not capable to wake up
98 is read-only. If the device is not capable to wake up the
111 is not capable to wake up the system from sleep states, this
122 read-only. If the device is not capable to wake up the system
134 If the device is not capable to wake up the system from sleep
146 device is not capable to wake up the system from sleep states,
157 If the device is not capable to wake up the system from sleep
181 This attribute is read-only. If the device is not capable to
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/usb/
H A Dmediatek,mtk-xhci.txt50 - usb3-lpm-capable : supports USB3.0 LPM
75 usb3-lpm-capable;
108 - usb3-lpm-capable : supports USB3.0 LPM
120 usb3-lpm-capable;

12345678910>>...40