/kernel/linux/linux-5.10/drivers/spi/ |
H A D | spi-fsi.c | 80 bool restricted; member 295 if (ctx->restricted) { in fsi_spi_sequence_transfer() 596 if (of_device_is_compatible(np, "ibm,fsi2spi-restricted")) { in fsi_spi_probe() 597 ctx->restricted = true; in fsi_spi_probe() 600 ctx->restricted = false; in fsi_spi_probe()
|
/kernel/linux/linux-5.10/drivers/hwmon/ |
H A D | dell-smm-hwmon.c | 103 static bool restricted = true; variable 104 module_param(restricted, bool, 0); 105 MODULE_PARM_DESC(restricted, "Restrict fan control and serial number to CAP_SYS_ADMIN (default: 1)"); 464 if (restricted && !capable(CAP_SYS_ADMIN)) in i8k_ioctl_unlocked() 498 if (restricted && !capable(CAP_SYS_ADMIN)) in i8k_ioctl_unlocked() 589 (restricted && !capable(CAP_SYS_ADMIN)) ? "-1" : bios_machineid, in i8k_proc_show()
|
/kernel/linux/linux-6.6/drivers/hwmon/ |
H A D | dell-smm-hwmon.c | 109 static bool restricted = true; variable 110 module_param(restricted, bool, 0); 111 MODULE_PARM_DESC(restricted, "Restrict fan control and serial number to CAP_SYS_ADMIN (default: 1)"); 459 if (restricted && !capable(CAP_SYS_ADMIN)) in i8k_ioctl() 499 if (restricted && !capable(CAP_SYS_ADMIN)) in i8k_ioctl() 570 (restricted && !capable(CAP_SYS_ADMIN)) ? "-1" : data->bios_machineid, in i8k_proc_show()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intersil/orinoco/ |
H A D | wext.c | 244 int restricted = priv->wep_restrict; in orinoco_ioctl_setiwencode() local 298 restricted = 0; in orinoco_ioctl_setiwencode() 300 restricted = 1; in orinoco_ioctl_setiwencode() 310 (priv->wep_restrict == restricted) && in orinoco_ioctl_setiwencode() 318 priv->wep_restrict = restricted; in orinoco_ioctl_setiwencode()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intersil/orinoco/ |
H A D | wext.c | 247 int restricted = priv->wep_restrict; in orinoco_ioctl_setiwencode() local 301 restricted = 0; in orinoco_ioctl_setiwencode() 303 restricted = 1; in orinoco_ioctl_setiwencode() 313 (priv->wep_restrict == restricted) && in orinoco_ioctl_setiwencode() 321 priv->wep_restrict = restricted; in orinoco_ioctl_setiwencode()
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | io_uring_types.h | 201 unsigned int restricted: 1; member
|
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | symbol.c | 948 bool restricted = false; in symbol__restricted_filename() local 954 restricted = strcmp(r, restricted_filename) == 0; in symbol__restricted_filename() 956 return restricted; in symbol__restricted_filename() 960 return restricted; in symbol__restricted_filename()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ |
H A D | wl3501_cs.c | 1767 u8 implemented, restricted, keys[100], len_keys, tocopy; in wl3501_get_encode() local 1779 &restricted, sizeof(restricted)); in wl3501_get_encode() 1782 wrqu->encoding.flags = restricted ? IW_ENCODE_RESTRICTED : in wl3501_get_encode()
|
/kernel/linux/linux-6.6/drivers/net/wireless/legacy/ |
H A D | wl3501_cs.c | 1767 u8 implemented, restricted, keys[100], len_keys, tocopy; in wl3501_get_encode() local 1779 &restricted, sizeof(restricted)); in wl3501_get_encode() 1782 wrqu->encoding.flags = restricted ? IW_ENCODE_RESTRICTED : in wl3501_get_encode()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | symbol.c | 999 bool restricted = false; in symbol__restricted_filename() local 1005 restricted = strcmp(r, restricted_filename) == 0; in symbol__restricted_filename() 1007 return restricted; in symbol__restricted_filename() 1011 return restricted; in symbol__restricted_filename()
|
/kernel/linux/linux-5.10/drivers/s390/net/ |
H A D | qeth_core_main.c | 6875 netdev_features_t restricted = 0; in qeth_features_check() local 6878 restricted |= NETIF_F_ALL_TSO; in qeth_features_check() 6883 restricted |= NETIF_F_IP_CSUM; in qeth_features_check() 6885 if (restricted && qeth_next_hop_is_local_v4(card, skb)) in qeth_features_check() 6886 features &= ~restricted; in qeth_features_check() 6890 restricted |= NETIF_F_IPV6_CSUM; in qeth_features_check() 6892 if (restricted && qeth_next_hop_is_local_v6(card, skb)) in qeth_features_check() 6893 features &= ~restricted; in qeth_features_check()
|
/kernel/linux/linux-6.6/drivers/s390/net/ |
H A D | qeth_core_main.c | 6867 netdev_features_t restricted = 0; in qeth_features_check() local 6870 restricted |= NETIF_F_ALL_TSO; in qeth_features_check() 6875 restricted |= NETIF_F_IP_CSUM; in qeth_features_check() 6877 if (restricted && qeth_next_hop_is_local_v4(card, skb)) in qeth_features_check() 6878 features &= ~restricted; in qeth_features_check() 6882 restricted |= NETIF_F_IPV6_CSUM; in qeth_features_check() 6884 if (restricted && qeth_next_hop_is_local_v6(card, skb)) in qeth_features_check() 6885 features &= ~restricted; in qeth_features_check()
|
/kernel/linux/linux-6.6/io_uring/ |
H A D | io_uring.c | 2160 if (unlikely(ctx->restricted || ctx->drain_active || ctx->drain_next)) { 2161 if (ctx->restricted && !io_check_restriction(ctx, req, sqe_flags)) 4221 ctx->restricted = 1; in io_register_enable_rings() 4381 if (ctx->restricted) {
|
/kernel/linux/linux-5.10/io_uring/ |
H A D | io_uring.c | 340 unsigned int restricted: 1; member 7146 if (likely(!ctx->restricted)) in io_check_restriction() 10658 ctx->restricted = 1; in io_register_enable_rings() 10942 if (ctx->restricted) {
|