Home
last modified time | relevance | path

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

1234567

/linux-4.19.296/drivers/xen/
Dxen-selfballoon.c267 if (!capable(CAP_SYS_ADMIN)) in store_selfballooning()
297 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_interval()
321 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_downhys()
346 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_uphys()
371 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_min_usable_mb()
397 if (!capable(CAP_SYS_ADMIN)) in store_selfballoon_reserved_mb()
425 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_selfshrinking()
454 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_inertia()
479 if (!capable(CAP_SYS_ADMIN)) in store_frontswap_hysteresis()
Dxen-balloon.c160 if (!capable(CAP_SYS_ADMIN)) in store_target_kb()
190 if (!capable(CAP_SYS_ADMIN)) in store_target()
/linux-4.19.296/fs/reiserfs/
Dxattr_trusted.c15 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_get()
27 if (!capable(CAP_SYS_ADMIN) || IS_PRIVATE(inode)) in trusted_set()
37 return capable(CAP_SYS_ADMIN) && !IS_PRIVATE(d_inode(dentry)); in trusted_list()
/linux-4.19.296/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-4.19.296/block/
Dioctl.c24 if (!capable(CAP_SYS_ADMIN)) in blkpg_ioctl()
168 if (!capable(CAP_SYS_ADMIN)) in __blkdev_reread_part()
320 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_register()
338 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_reserve()
356 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_release()
374 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_preempt()
392 if (!capable(CAP_SYS_ADMIN)) in blkdev_pr_clear()
429 if (!capable(CAP_SYS_ADMIN)) in blkdev_flushbuf()
446 if (!capable(CAP_SYS_ADMIN)) in blkdev_roset()
490 if (!capable(CAP_SYS_ADMIN)) in blkdev_bszset()
[all …]
Dioprio.c44 !uid_eq(tcred->uid, cred->uid) && !capable(CAP_SYS_NICE)) { in set_task_ioprio()
71 if (!capable(CAP_SYS_ADMIN)) in ioprio_check_cap()
/linux-4.19.296/drivers/s390/block/
Ddasd_ioctl.c48 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_enable()
74 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_disable()
109 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_quiesce()
130 if (!capable (CAP_SYS_ADMIN)) in dasd_ioctl_resume()
154 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_abortio()
188 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_allowio()
269 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_format()
503 if (!capable(CAP_SYS_ADMIN)) in dasd_ioctl_set_ro()
/linux-4.19.296/include/linux/
Dpm_wakeup.h107 extern void device_set_wakeup_capable(struct device *dev, bool capable);
119 static inline void device_set_wakeup_capable(struct device *dev, bool capable) in device_set_wakeup_capable() argument
121 dev->power.can_wakeup = capable; in device_set_wakeup_capable()
Dcapability.h209 extern bool capable(int cap);
231 static inline bool capable(int cap) in capable() function
/linux-4.19.296/fs/gfs2/
Dsys.c100 if (!capable(CAP_SYS_ADMIN)) in freeze_store()
132 if (!capable(CAP_SYS_ADMIN)) in withdraw_store()
152 if (!capable(CAP_SYS_ADMIN)) in statfs_sync_store()
171 if (!capable(CAP_SYS_ADMIN)) in quota_sync_store()
192 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_user_store()
214 if (!capable(CAP_SYS_ADMIN)) in quota_refresh_group_store()
239 if (!capable(CAP_SYS_ADMIN)) in demote_rq_store()
562 if (!capable(CAP_SYS_ADMIN)) in quota_scale_store()
582 if (!capable(CAP_SYS_ADMIN)) in tune_set()
Dquota.h50 if (capable(CAP_SYS_RESOURCE) || in gfs2_quota_lock_check()
/linux-4.19.296/drivers/pci/
Dsyscall.c26 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
95 if (!capable(CAP_SYS_ADMIN)) in SYSCALL_DEFINE5()
/linux-4.19.296/fs/xfs/
Dxfs_ioctl.c200 if (!capable(CAP_SYS_ADMIN)) in xfs_open_by_handle()
274 if (!capable(CAP_SYS_ADMIN)) in xfs_readlink_by_handle()
309 if (!capable(CAP_SYS_ADMIN)) in xfs_set_dmattrs()
341 if (!capable(CAP_MKNOD)) in xfs_fssetdm_by_handle()
387 if (!capable(CAP_SYS_ADMIN)) in xfs_attrlist_by_handle()
514 if (!capable(CAP_SYS_ADMIN)) in xfs_attrmulti_by_handle()
612 !capable(CAP_SYS_ADMIN)) in xfs_ioc_space()
746 if (!capable(CAP_SYS_ADMIN)) in xfs_ioc_bulkstat()
1045 !capable(CAP_LINUX_IMMUTABLE)) in xfs_ioctl_setattr_xflags()
1378 capable(CAP_FOWNER) ? XFS_QMOPT_FORCE_RES : 0); in xfs_ioctl_setattr()
[all …]
/linux-4.19.296/fs/jfs/
Dioctl.c110 if (!capable(CAP_LINUX_IMMUTABLE)) { in jfs_ioctl()
137 if (!capable(CAP_SYS_ADMIN)) in jfs_ioctl()
/linux-4.19.296/fs/hfsplus/
Dioctl.c36 if (!capable(CAP_SYS_ADMIN)) in hfsplus_ioctl_bless()
101 if (!capable(CAP_LINUX_IMMUTABLE)) { in hfsplus_ioctl_setflags()
/linux-4.19.296/drivers/ntb/hw/amd/
DKconfig5 This driver supports AMD NTB on capable Zeppelin hardware.
/linux-4.19.296/drivers/ntb/hw/intel/
DKconfig5 This driver supports Intel NTB on capable Xeon and Atom hardware.
/linux-4.19.296/fs/nilfs2/
Dioctl.c157 !capable(CAP_LINUX_IMMUTABLE)) in nilfs_ioctl_setflags()
215 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_change_cpmode()
270 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_delete_checkpoint()
881 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_clean_segments()
1043 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_resize()
1080 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_trim_fs()
1123 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_set_alloc_range()
1238 if (!capable(CAP_SYS_ADMIN)) in nilfs_ioctl_set_suinfo()
/linux-4.19.296/fs/ext4/
Dxattr_trusted.c19 return capable(CAP_SYS_ADMIN); in ext4_xattr_trusted_list()
/linux-4.19.296/fs/jffs2/
Dxattr_trusted.c38 return capable(CAP_SYS_ADMIN); in jffs2_trusted_listxattr()
/linux-4.19.296/fs/ext2/
Dxattr_trusted.c15 return capable(CAP_SYS_ADMIN); in ext2_xattr_trusted_list()
/linux-4.19.296/fs/cramfs/
DKconfig21 consider a more capable compressed filesystem such as SquashFS
46 MTD device capable of direct memory mapping e.g. from
/linux-4.19.296/include/uapi/linux/
Deventpoll.h85 if ((epev->events & EPOLLWAKEUP) && !capable(CAP_BLOCK_SUSPEND)) in ep_take_care_of_epollwakeup()
/linux-4.19.296/drivers/rtc/
Drtc-dev.c230 if (!capable(CAP_SYS_TIME)) in rtc_dev_ioctl()
235 if (arg > rtc->max_user_freq && !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl()
241 !capable(CAP_SYS_RESOURCE)) in rtc_dev_ioctl()
/linux-4.19.296/fs/btrfs/
Dioctl.c222 if (!capable(CAP_LINUX_IMMUTABLE)) { in btrfs_ioctl_setflags()
426 !capable(CAP_LINUX_IMMUTABLE)) { in btrfs_ioctl_fssetxattr()
496 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_fitrim()
1619 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_resize()
2254 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search()
2289 if (!capable(CAP_SYS_ADMIN)) in btrfs_ioctl_tree_search_v2()
2592 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_ino_lookup()
2921 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_snap_destroy()
3000 if (!capable(CAP_SYS_ADMIN)) { in btrfs_ioctl_defrag()
3012 if (!capable(CAP_SYS_ADMIN) && in btrfs_ioctl_defrag()
[all …]

1234567