Home
last modified time | relevance | path

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

12345678910>>...22

/Linux-v5.15/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.15/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-v5.15/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
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-v5.15/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-v5.15/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.15/drivers/usb/core/
Durb.c373 unsigned int allowed; in usb_submit_urb() local
506 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
512 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
516 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
519 allowed |= URB_ISO_ASAP; in usb_submit_urb()
522 allowed &= urb->transfer_flags; in usb_submit_urb()
525 if (allowed != urb->transfer_flags) in usb_submit_urb()
527 urb->transfer_flags, allowed); in usb_submit_urb()
/Linux-v5.15/mm/
Dutil.c838 unsigned long allowed; in vm_commit_limit() local
841 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
843 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
845 allowed += total_swap_pages; in vm_commit_limit()
847 return allowed; in vm_commit_limit()
893 long allowed; in __vm_enough_memory() local
909 allowed = vm_commit_limit(); in __vm_enough_memory()
914 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
922 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
925 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
/Linux-v5.15/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.txt42 regulator-allowed-modes = <2>, <4>;
61 regulator-allowed-modes = <2>, <4>;
80 regulator-allowed-modes = <2>, <4>;
99 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.15/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-v5.15/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.15/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.15/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.15/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.15/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-v5.15/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.15/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.15/security/landlock/
Dfs.c228 bool allowed = false; in check_access_path() local
275 allowed = true; in check_access_path()
289 allowed = false; in check_access_path()
299 allowed = !!(walker_path.mnt->mnt_flags & MNT_INTERNAL); in check_access_path()
307 return allowed ? 0 : -EACCES; in check_access_path()
/Linux-v5.15/arch/arm/boot/dts/
Dat91-sama5d27_wlsom1.dtsi74 regulator-allowed-modes = <2>, <4>;
93 regulator-allowed-modes = <2>, <4>;
116 regulator-allowed-modes = <2>, <4>;
135 regulator-allowed-modes = <2>, <4>;
Dat91-sama5d2_xplained.dts201 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
219 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
233 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
247 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
261 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
275 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
289 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
/Linux-v5.15/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.15/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.15/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

12345678910>>...22