Home
last modified time | relevance | path

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

12345678910>>...22

/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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()
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 …]
/kernel/linux/linux-5.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
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 …]
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/mm/
Dutil.c811 unsigned long allowed; in vm_commit_limit() local
814 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
816 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
818 allowed += total_swap_pages; in vm_commit_limit()
820 return allowed; in vm_commit_limit()
866 long allowed; in __vm_enough_memory() local
882 allowed = vm_commit_limit(); in __vm_enough_memory()
887 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
895 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
898 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/regulator/
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>;
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>,
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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>;
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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.
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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.
/kernel/linux/linux-5.10/include/trace/events/
Drtg.h53 __bitmask(allowed, num_possible_cpus())
66 __assign_bitmask(allowed, cpumask_bits(&task->cpus_mask), num_possible_cpus());
74 __entry->comm, __entry->pid, __entry->prio, __get_bitmask(allowed), __entry->cpu,
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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.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>,
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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 …]
/kernel/linux/linux-5.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

12345678910>>...22