Home
last modified time | relevance | path

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

12345678910>>...20

/Linux-v5.4/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.4/arch/mips/kvm/
Dinterrupt.c118 int allowed = 0; in kvm_mips_irq_deliver_cb() local
129 allowed = 1; in kvm_mips_irq_deliver_cb()
138 allowed = 1; in kvm_mips_irq_deliver_cb()
147 allowed = 1; in kvm_mips_irq_deliver_cb()
156 allowed = 1; in kvm_mips_irq_deliver_cb()
166 if (allowed) { in kvm_mips_irq_deliver_cb()
195 return allowed; in kvm_mips_irq_deliver_cb()
/Linux-v5.4/security/selinux/
Davc.c204 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
220 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
221 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
229 if (xpd->allowed) in avc_xperms_decision_free()
230 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
258 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
259 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
284 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
303 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
305 if (!xpd->allowed) in avc_xperms_decision_alloc()
[all …]
/Linux-v5.4/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.4/mm/
Dutil.c739 unsigned long allowed; in vm_commit_limit() local
742 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
744 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
746 allowed += total_swap_pages; in vm_commit_limit()
748 return allowed; in vm_commit_limit()
789 long allowed; in __vm_enough_memory() local
809 allowed = vm_commit_limit(); in __vm_enough_memory()
814 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
822 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
825 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
/Linux-v5.4/drivers/usb/core/
Durb.c357 unsigned int allowed; in usb_submit_urb() local
481 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
487 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
491 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
494 allowed |= URB_ISO_ASAP; in usb_submit_urb()
497 allowed &= urb->transfer_flags; in usb_submit_urb()
500 if (allowed != urb->transfer_flags) in usb_submit_urb()
502 urb->transfer_flags, allowed); in usb_submit_urb()
/Linux-v5.4/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.4/tools/testing/selftests/vm/
Dcompaction_test.c58 char allowed; in prereq() local
69 if (read(fd, &allowed, sizeof(char)) != sizeof(char)) { in prereq()
77 if (allowed == '1') in prereq()
/Linux-v5.4/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.4/Documentation/admin-guide/LSM/
DYama.rst25 exist and remain possible if ptrace is allowed to operate as before.
27 builders should be allowed the option to disable this debugging system.
39 other process (and its descendants) are allowed to call ``PTRACE_ATTACH``
45 so that any otherwise allowed process (even those in external pid namespaces)
63 an allowed debugger PID to call ``PTRACE_ATTACH`` on the inferior.
/Linux-v5.4/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.4/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.4/drivers/media/rc/
Drc-main.c1072 u64 allowed, enabled; in show_protocols() local
1079 allowed = dev->allowed_protocols; in show_protocols()
1080 if (dev->raw && !allowed) in show_protocols()
1081 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1086 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1089 if (allowed & enabled & proto_names[i].type) in show_protocols()
1091 else if (allowed & proto_names[i].type) in show_protocols()
1094 if (allowed & proto_names[i].type) in show_protocols()
1095 allowed &= ~proto_names[i].type; in show_protocols()
1455 u64 allowed; in show_wakeup_protocols() local
[all …]
/Linux-v5.4/Documentation/media/uapi/dvb/
Dfrontend_f_open.rst42 Multiple opens are allowed with ``O_RDONLY``. In this mode, only
43 query and read ioctls are allowed.
45 Only one open is allowed in ``O_RDWR``. In this mode, all ioctls are
46 allowed.
/Linux-v5.4/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.4/arch/arm/boot/dts/
Dat91-sama5d2_xplained.dts148 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
166 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
180 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
194 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
208 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
222 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
236 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
/Linux-v5.4/Documentation/admin-guide/cgroup-v1/
Dcpusets.rst59 schedule a task on a CPU that is not allowed in its cpus_allowed
61 node that is not allowed in the requesting task's mems_allowed vector.
120 - Cpusets are sets of allowed CPUs and Memory Nodes, known to the
125 allowed in that task's cpuset.
127 those Memory Nodes allowed in that task's cpuset.
145 allowed in that task's cpuset.
147 the CPUs allowed by their cpuset, if possible.
149 Memory Nodes by what's allowed in that task's cpuset.
150 - in page_alloc.c, to restrict memory to allowed nodes.
179 - cpuset.memory_spread_page flag: if set, spread page cache evenly on allowed nodes
[all …]
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-module18 Description: Maximum time allowed for periodic transfers per microframe (μs)
20 [ 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
Dsysfs-memory-page-offline21 the file is not allowed.
44 Reading the file is not allowed.
/Linux-v5.4/Documentation/devicetree/bindings/i2c/
Di2c-st.txt18 allowed through the deglitch circuit. In units of us.
20 allowed through the deglitch circuit. In units of us.
/Linux-v5.4/Documentation/devicetree/bindings/dma/
Drenesas,nbpfaxi.txt28 than using the maximum burst size allowed by the hardware's buffer size.
31 than using the maximum burst size allowed by the hardware's buffer size.

12345678910>>...20