Home
last modified time | relevance | path

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

12345678910>>...25

/Linux-v6.6/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.6/security/selinux/
Davc.c205 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
221 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
222 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
230 if (xpd->allowed) in avc_xperms_decision_free()
231 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
259 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
260 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
285 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
305 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
307 if (!xpd->allowed) in avc_xperms_decision_alloc()
[all …]
/Linux-v6.6/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.6/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.6/arch/arm64/boot/dts/qcom/
Dsa8775p-ride.dts67 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
77 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
87 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
97 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
107 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
117 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
132 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
142 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
152 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
174 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
[all …]
/Linux-v6.6/drivers/gpu/drm/nouveau/nvkm/core/
Duevent.c35 atomic_t allowed; member
45 atomic_set(&uevent->allowed, 0); in nvkm_uevent_mthd_block()
56 atomic_set(&uevent->allowed, 1); in nvkm_uevent_mthd_allow()
89 if (atomic_read(&uevent->allowed)) in nvkm_uevent_init()
Devent.c68 if (atomic_read(&ntfy->allowed) != ntfy->running) { in nvkm_event_ntfy_state()
104 if (atomic_xchg(&ntfy->allowed, 0) == 1) { in nvkm_event_ntfy_block_()
123 if (atomic_xchg(&ntfy->allowed, 1) == 0) { in nvkm_event_ntfy_allow()
156 atomic_set(&ntfy->allowed, 0); in nvkm_event_ntfy_add()
183 if (atomic_read(&ntfy->allowed)) in nvkm_event_ntfy()
/Linux-v6.6/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.6/drivers/iommu/iommufd/
Dioas.c120 struct iopt_allowed *allowed; in iommufd_ioas_load_iovas() local
131 allowed = kzalloc(sizeof(*allowed), GFP_KERNEL_ACCOUNT); in iommufd_ioas_load_iovas()
132 if (!allowed) in iommufd_ioas_load_iovas()
134 allowed->node.start = range.start; in iommufd_ioas_load_iovas()
135 allowed->node.last = range.last; in iommufd_ioas_load_iovas()
137 interval_tree_insert(&allowed->node, itree); in iommufd_ioas_load_iovas()
/Linux-v6.6/drivers/usb/core/
Durb.c374 unsigned int allowed; in usb_submit_urb() local
507 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
513 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
517 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
520 allowed |= URB_ISO_ASAP; in usb_submit_urb()
523 allowed &= urb->transfer_flags; in usb_submit_urb()
526 if (allowed != urb->transfer_flags) in usb_submit_urb()
528 urb->transfer_flags, allowed); in usb_submit_urb()
/Linux-v6.6/mm/
Dutil.c878 unsigned long allowed; in vm_commit_limit() local
881 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
883 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
885 allowed += total_swap_pages; in vm_commit_limit()
887 return allowed; in vm_commit_limit()
933 long allowed; in __vm_enough_memory() local
949 allowed = vm_commit_limit(); in __vm_enough_memory()
954 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
962 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
965 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
/Linux-v6.6/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>;
/Linux-v6.6/arch/arm64/boot/dts/mediatek/
Dmt6331.dtsi23 regulator-allowed-modes = <0 1>;
33 regulator-allowed-modes = <0 1>;
43 regulator-allowed-modes = <0 1>;
53 regulator-allowed-modes = <0 1>;
63 regulator-allowed-modes = <0 1>;
73 regulator-allowed-modes = <0 1>;
Dmt8195-demo.dts155 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
166 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
177 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
186 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
195 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
204 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
213 regulator-allowed-modes = <MT6360_OPMODE_NORMAL
222 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.6/Documentation/ABI/testing/
Ddebugfs-scmi42 Description: Timeout in milliseconds allowed for SCMI synchronous replies
50 Description: Max message size of allowed SCMI messages for the currently
58 Description: Max number of concurrently allowed in-flight SCMI messages for
67 Description: Max number of concurrently allowed in-flight SCMI messages for
/Linux-v6.6/drivers/char/
Dmem.c140 int allowed, probe; in read_mem() local
145 allowed = page_is_allowed(p >> PAGE_SHIFT); in read_mem()
146 if (!allowed) in read_mem()
150 if (allowed == 2) { in read_mem()
220 int allowed; in write_mem() local
224 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem()
225 if (!allowed) in write_mem()
229 if (allowed == 1) { in write_mem()
/Linux-v6.6/tools/testing/selftests/mm/
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.6/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.6/Documentation/admin-guide/mm/
Dnuma_memory_policy.rst251 MPOL_PREFERRED allowed for a mask rather than a single node.
257 the user should not be remapped if the task or VMA's set of allowed
261 change in the set of allowed nodes, the preferred nodemask (Preferred
263 remapped to the new set of allowed nodes. This may result in nodes
267 nodes allowed by the task's cpuset, then the memory policy is
275 3 is allowed from the user's nodemask, the "interleave" only
277 now allowed, the Default behavior is used.
287 set of allowed nodes. The kernel stores the user-passed nodemask,
288 and if the allowed nodes changes, then that original nodemask will
289 be remapped relative to the new set of allowed nodes.
[all …]
/Linux-v6.6/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.6/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.6/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.6/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()

12345678910>>...25