Home
last modified time | relevance | path

Searched refs:allowed (Results 1 – 25 of 528) sorted by relevance

12345678910>>...22

/Linux-v5.10/drivers/power/supply/
D88pm860x_charger.c109 unsigned allowed:1; member
318 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm()
323 if (info->online && info->present && info->allowed) { in set_charging_fsm()
344 if (info->online && info->present && info->allowed) { in set_charging_fsm()
355 if (info->online && info->present && info->allowed) { in set_charging_fsm()
366 if (info->online && info->present && info->allowed) { in set_charging_fsm()
390 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm()
409 info->allowed = 1; in pm860x_charger_handler()
412 info->allowed = 0; in pm860x_charger_handler()
416 (info->online) ? "online" : "N/A", info->allowed); in pm860x_charger_handler()
[all …]
/Linux-v5.10/security/selinux/
Davc.c207 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
223 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
224 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
232 if (xpd->allowed) in avc_xperms_decision_free()
233 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
261 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
262 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
287 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
306 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
308 if (!xpd->allowed) in avc_xperms_decision_alloc()
[all …]
/Linux-v5.10/tools/testing/selftests/wireguard/
Dnetns.sh103 allowed-ips 192.168.241.2/32,fd00::2/128
109 allowed-ips 192.168.241.1/32,fd00::1/128
212 n1 wg set wg0 peer "$pub2" allowed-ips 192.168.241.0/24
220 n1 wg set wg0 peer "$more_specific_key" allowed-ips 192.168.241.2/32
232 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips 192…
233 … <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips 192.168.241.1…
236 n2 wg set wg0 peer "$pub3" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 peer "$pub1" r…
245 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips fd0…
246 … <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips fd00::5:1/128…
255 n1 wg set wg1 listen-port 5 private-key <(echo "$key3") peer "$pub4" allowed-ips 192.168.241.2/32,f…
[all …]
/Linux-v5.10/arch/mips/kvm/
Dinterrupt.c81 int allowed = 0; in kvm_mips_irq_deliver_cb() local
94 allowed = 1; in kvm_mips_irq_deliver_cb()
99 if (allowed) { in kvm_mips_irq_deliver_cb()
128 return allowed; in kvm_mips_irq_deliver_cb()
/Linux-v5.10/Documentation/admin-guide/device-mapper/
Ddm-init.rst46 `crypt` allowed
47 `delay` allowed
50 `linear` allowed
55 `snapshot-origin` allowed
57 `striped` allowed
61 `verity` allowed
/Linux-v5.10/drivers/usb/core/
Durb.c373 unsigned int allowed; in usb_submit_urb() local
497 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
503 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
507 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
510 allowed |= URB_ISO_ASAP; in usb_submit_urb()
513 allowed &= urb->transfer_flags; in usb_submit_urb()
516 if (allowed != urb->transfer_flags) in usb_submit_urb()
518 urb->transfer_flags, allowed); in usb_submit_urb()
/Linux-v5.10/mm/
Dutil.c807 unsigned long allowed; in vm_commit_limit() local
810 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
812 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
814 allowed += total_swap_pages; in vm_commit_limit()
816 return allowed; in vm_commit_limit()
862 long allowed; in __vm_enough_memory() local
878 allowed = vm_commit_limit(); in __vm_enough_memory()
883 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
891 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
894 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
/Linux-v5.10/Documentation/devicetree/bindings/regulator/
Dact8945a-regulator.txt18 regulator-initial-mode, regulator-allowed-modes and regulator-mode could be
42 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
61 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
83 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
Dmcp16502-regulator.txt41 regulator-allowed-modes = <2>, <4>;
60 regulator-allowed-modes = <2>, <4>;
79 regulator-allowed-modes = <2>, <4>;
98 regulator-allowed-modes = <2>, <4>;
Dact8865-regulator.txt37 regulator-initial-mode, regulator-allowed-modes and regulator-mode could be specified
75 regulator-allowed-modes = <ACT8865_REGULATOR_MODE_FIXED>,
101 regulator-allowed-modes = <ACT8865_REGULATOR_MODE_NORMAL>,
/Linux-v5.10/tools/testing/selftests/vm/
Dcompaction_test.c59 char allowed; in prereq() local
70 if (read(fd, &allowed, sizeof(char)) != sizeof(char)) { in prereq()
78 if (allowed == '1') in prereq()
/Linux-v5.10/arch/arm64/boot/dts/mediatek/
Dmt6358.dtsi28 regulator-allowed-modes = <0 1>;
38 regulator-allowed-modes = <0 1>;
47 regulator-allowed-modes = <0 1>;
57 regulator-allowed-modes = <0 1>;
67 regulator-allowed-modes = <0 1>;
76 regulator-allowed-modes = <0 1>;
95 regulator-allowed-modes = <0 1>;
/Linux-v5.10/arch/mips/kernel/
Dmips-mt-fpaff.c161 cpumask_t allowed, mask; in mipsmt_sys_sched_getaffinity() local
180 cpumask_or(&allowed, &p->thread.user_cpus_allowed, p->cpus_ptr); in mipsmt_sys_sched_getaffinity()
181 cpumask_and(&mask, &allowed, cpu_active_mask); in mipsmt_sys_sched_getaffinity()
/Linux-v5.10/Documentation/admin-guide/LSM/
DYama.rst26 exist and remain possible if ptrace is allowed to operate as before.
28 builders should be allowed the option to disable this debugging system.
40 other process (and its descendants) are allowed to call ``PTRACE_ATTACH``
46 so that any otherwise allowed process (even those in external pid namespaces)
64 an allowed debugger PID to call ``PTRACE_ATTACH`` on the inferior.
/Linux-v5.10/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst252 the user should not be remapped if the task or VMA's set of allowed
256 change in the set of allowed nodes, the node (Preferred) or
258 allowed nodes. This may result in nodes being used that were
262 nodes allowed by the task's cpuset, then the memory policy is
270 3 is allowed from the user's nodemask, the "interleave" only
272 now allowed, the Default behavior is used.
282 set of allowed nodes. The kernel stores the user-passed nodemask,
283 and if the allowed nodes changes, then that original nodemask will
284 be remapped relative to the new set of allowed nodes.
287 mempolicy is rebound because of a change in the set of allowed
[all …]
/Linux-v5.10/Documentation/userspace-api/media/dvb/
Dfrontend_f_open.rst33 Multiple opens are allowed with ``O_RDONLY``. In this mode, only
34 query and read ioctls are allowed.
36 Only one open is allowed in ``O_RDWR``. In this mode, all ioctls are
37 allowed.
/Linux-v5.10/drivers/media/rc/
Drc-main.c1108 u64 allowed, enabled; in show_protocols() local
1115 allowed = dev->allowed_protocols; in show_protocols()
1116 if (dev->raw && !allowed) in show_protocols()
1117 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1122 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1125 if (allowed & enabled & proto_names[i].type) in show_protocols()
1127 else if (allowed & proto_names[i].type) in show_protocols()
1130 if (allowed & proto_names[i].type) in show_protocols()
1131 allowed &= ~proto_names[i].type; in show_protocols()
1499 u64 allowed; in show_wakeup_protocols() local
[all …]
/Linux-v5.10/arch/arm/boot/dts/
Dat91-sama5d27_wlsom1.dtsi68 regulator-allowed-modes = <2>, <4>;
87 regulator-allowed-modes = <2>, <4>;
110 regulator-allowed-modes = <2>, <4>;
129 regulator-allowed-modes = <2>, <4>;
Dat91-sama5d2_xplained.dts200 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
218 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
232 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
246 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
260 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
274 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
288 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
/Linux-v5.10/drivers/usb/usbip/
Dstub_rx.c394 unsigned int allowed; in masking_bogus_flags() local
421 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | in masking_bogus_flags()
426 allowed |= URB_ZERO_PACKET; in masking_bogus_flags()
430 allowed |= URB_SHORT_NOT_OK; in masking_bogus_flags()
433 allowed |= URB_ISO_ASAP; in masking_bogus_flags()
436 urb->transfer_flags &= allowed; in masking_bogus_flags()
/Linux-v5.10/drivers/char/
Dmem.c151 int allowed, probe; in read_mem() local
156 allowed = page_is_allowed(p >> PAGE_SHIFT); in read_mem()
157 if (!allowed) in read_mem()
161 if (allowed == 2) { in read_mem()
231 int allowed; in write_mem() local
235 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem()
236 if (!allowed) in write_mem()
240 if (allowed == 1) { in write_mem()
/Linux-v5.10/Documentation/admin-guide/cgroup-v1/
Dcpusets.rst61 schedule a task on a CPU that is not allowed in its cpus_allowed
63 node that is not allowed in the requesting task's mems_allowed vector.
122 - Cpusets are sets of allowed CPUs and Memory Nodes, known to the
127 allowed in that task's cpuset.
129 those Memory Nodes allowed in that task's cpuset.
147 allowed in that task's cpuset.
149 the CPUs allowed by their cpuset, if possible.
151 Memory Nodes by what's allowed in that task's cpuset.
152 - in page_alloc.c, to restrict memory to allowed nodes.
181 - cpuset.memory_spread_page flag: if set, spread page cache evenly on allowed nodes
[all …]
/Linux-v5.10/Documentation/ABI/testing/
Dsysfs-module18 Description: Maximum time allowed for periodic transfers per microframe (μs)
21 USB 2.0 sets maximum allowed time for periodic transfers per
Dsysfs-class-net-queues78 Indicates the current limit of bytes allowed to be queued
87 Indicates the absolute maximum limit of bytes allowed to be
96 Indicates the absolute minimum limit of bytes allowed to be
Dsysfs-class-powercap119 Maximum allowed power in micro watts for this constraint.
127 Minimum allowed power in micro watts for this constraint.
135 Maximum allowed time window in micro seconds for this
143 Minimum allowed time window in micro seconds for this

12345678910>>...22