Home
last modified time | relevance | path

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

12345678910>>...23

/Linux-v6.1/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-v6.1/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()
307 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
309 if (!xpd->allowed) in avc_xperms_decision_alloc()
[all …]
/Linux-v6.1/tools/testing/selftests/wireguard/
Dnetns.sh105 allowed-ips 192.168.241.2/32,fd00::2/128
111 allowed-ips 192.168.241.1/32,fd00::1/128
225 n1 wg set wg0 peer "$pub2" allowed-ips 192.168.241.0/24
233 n1 wg set wg0 peer "$more_specific_key" allowed-ips 192.168.241.2/32
245 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips 192…
246 … <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips 192.168.241.1…
249 n2 wg set wg0 peer "$pub3" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 peer "$pub1" r…
258 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips fd0…
259 … <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips fd00::5:1/128…
268 n1 wg set wg1 listen-port 5 private-key <(echo "$key3") peer "$pub4" allowed-ips 192.168.241.2/32,f…
[all …]
/Linux-v6.1/Documentation/hwmon/
Dltc2992.rst37 inX_min Minimum voltage allowed.
38 inX_max Maximum voltage allowed.
45 currX_min Minimum current allowed.
46 currX_max Maximum current allowed.
/Linux-v6.1/arch/arm64/boot/dts/mediatek/
Dmt8195-demo.dts115 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
126 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
137 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
146 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
155 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
164 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
173 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
182 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
Dmt6358.dtsi30 regulator-allowed-modes = <0 1>;
40 regulator-allowed-modes = <0 1>;
49 regulator-allowed-modes = <0 1>;
59 regulator-allowed-modes = <0 1>;
69 regulator-allowed-modes = <0 1>;
78 regulator-allowed-modes = <0 1>;
97 regulator-allowed-modes = <0 1>;
Dmt6359.dtsi29 regulator-allowed-modes = <0 1 2>;
44 regulator-allowed-modes = <0 1 2>;
52 regulator-allowed-modes = <0 1 2>;
73 regulator-allowed-modes = <0 1 2>;
81 regulator-allowed-modes = <0 1 2>;
/Linux-v6.1/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-v6.1/Documentation/devicetree/bindings/regulator/
Dmcp16502-regulator.txt42 regulator-allowed-modes = <2>, <4>;
61 regulator-allowed-modes = <2>, <4>;
80 regulator-allowed-modes = <2>, <4>;
99 regulator-allowed-modes = <2>, <4>;
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>,
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-v6.1/drivers/usb/core/
Durb.c374 unsigned int allowed; in usb_submit_urb() local
508 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
514 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
518 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
521 allowed |= URB_ISO_ASAP; in usb_submit_urb()
524 allowed &= urb->transfer_flags; in usb_submit_urb()
527 if (allowed != urb->transfer_flags) in usb_submit_urb()
529 urb->transfer_flags, allowed); in usb_submit_urb()
/Linux-v6.1/mm/
Dutil.c937 unsigned long allowed; in vm_commit_limit() local
940 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
942 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
944 allowed += total_swap_pages; in vm_commit_limit()
946 return allowed; in vm_commit_limit()
992 long allowed; in __vm_enough_memory() local
1008 allowed = vm_commit_limit(); in __vm_enough_memory()
1013 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
1021 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
1024 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
/Linux-v6.1/drivers/char/
Dmem.c147 int allowed, probe; in read_mem() local
152 allowed = page_is_allowed(p >> PAGE_SHIFT); in read_mem()
153 if (!allowed) in read_mem()
157 if (allowed == 2) { in read_mem()
227 int allowed; in write_mem() local
231 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem()
232 if (!allowed) in write_mem()
236 if (allowed == 1) { in write_mem()
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst253 MPOL_PREFERRED allowed for a mask rather than a single node.
259 the user should not be remapped if the task or VMA's set of allowed
263 change in the set of allowed nodes, the preferred nodemask (Preferred
265 remapped to the new set of allowed nodes. This may result in nodes
269 nodes allowed by the task's cpuset, then the memory policy is
277 3 is allowed from the user's nodemask, the "interleave" only
279 now allowed, the Default behavior is used.
289 set of allowed nodes. The kernel stores the user-passed nodemask,
290 and if the allowed nodes changes, then that original nodemask will
291 be remapped relative to the new set of allowed nodes.
[all …]
/Linux-v6.1/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-v6.1/drivers/media/rc/
Drc-main.c1109 u64 allowed, enabled; in show_protocols() local
1116 allowed = dev->allowed_protocols; in show_protocols()
1117 if (dev->raw && !allowed) in show_protocols()
1118 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1123 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1126 if (allowed & enabled & proto_names[i].type) in show_protocols()
1128 else if (allowed & proto_names[i].type) in show_protocols()
1131 if (allowed & proto_names[i].type) in show_protocols()
1132 allowed &= ~proto_names[i].type; in show_protocols()
1500 u64 allowed; in show_wakeup_protocols() local
[all …]
/Linux-v6.1/drivers/usb/usbip/
Dstub_rx.c396 unsigned int allowed; in masking_bogus_flags() local
423 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | in masking_bogus_flags()
428 allowed |= URB_ZERO_PACKET; in masking_bogus_flags()
432 allowed |= URB_SHORT_NOT_OK; in masking_bogus_flags()
435 allowed |= URB_ISO_ASAP; in masking_bogus_flags()
438 urb->transfer_flags &= allowed; in masking_bogus_flags()
/Linux-v6.1/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-v6.1/arch/arm/boot/dts/
Dat91-sama5d2_xplained.dts203 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
221 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
235 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
249 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
263 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
277 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
291 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
Dat91-sama5d27_wlsom1.dtsi82 regulator-allowed-modes = <2>, <4>;
101 regulator-allowed-modes = <2>, <4>;
124 regulator-allowed-modes = <2>, <4>;
143 regulator-allowed-modes = <2>, <4>;
/Linux-v6.1/Documentation/ABI/testing/
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

12345678910>>...23