Home
last modified time | relevance | path

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

12345678910>>...19

/Linux-v4.19/drivers/power/supply/
D88pm860x_charger.c112 unsigned allowed:1; member
321 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm()
326 if (info->online && info->present && info->allowed) { in set_charging_fsm()
347 if (info->online && info->present && info->allowed) { in set_charging_fsm()
358 if (info->online && info->present && info->allowed) { in set_charging_fsm()
369 if (info->online && info->present && info->allowed) { in set_charging_fsm()
393 (info->present) ? "present" : "N/A", info->allowed); in set_charging_fsm()
412 info->allowed = 1; in pm860x_charger_handler()
415 info->allowed = 0; in pm860x_charger_handler()
419 (info->online) ? "online" : "N/A", info->allowed); in pm860x_charger_handler()
[all …]
/Linux-v4.19/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-v4.19/security/selinux/
Davc.c276 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
292 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
293 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
301 if (xpd->allowed) in avc_xperms_decision_free()
302 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
330 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
331 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
356 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
375 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
377 if (!xpd->allowed) in avc_xperms_decision_alloc()
[all …]
/Linux-v4.19/mm/
Dutil.c598 unsigned long allowed; in vm_commit_limit() local
601 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
603 allowed = ((totalram_pages - hugetlb_total_pages()) in vm_commit_limit()
605 allowed += total_swap_pages; in vm_commit_limit()
607 return allowed; in vm_commit_limit()
648 long free, allowed, reserve; in __vm_enough_memory() local
711 allowed = vm_commit_limit(); in __vm_enough_memory()
716 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory()
723 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory()
726 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
Dmlock.c843 int allowed = 0; in user_shm_lock() local
848 allowed = 1; in user_shm_lock()
851 if (!allowed && in user_shm_lock()
856 allowed = 1; in user_shm_lock()
859 return allowed; in user_shm_lock()
/Linux-v4.19/drivers/usb/core/
Durb.c358 unsigned int allowed; in usb_submit_urb() local
482 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
488 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
492 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
495 allowed |= URB_ISO_ASAP; in usb_submit_urb()
498 allowed &= urb->transfer_flags; in usb_submit_urb()
501 if (allowed != urb->transfer_flags) in usb_submit_urb()
503 urb->transfer_flags, allowed); in usb_submit_urb()
/Linux-v4.19/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-v4.19/Documentation/scheduler/
Dsched-bwc.txt10 The bandwidth allowed for a group is specified using a quota and period. Within
11 each given "period" (microseconds), a group is allowed to consume only up to
14 hierarchy will be throttled and are not allowed to run again until the next
40 The minimum quota allowed for the quota or period is 1ms. There is also an
80 aggregate case is explicitly allowed to enable work-conserving semantics
91 be allowed to until the parent's runtime is refreshed.
/Linux-v4.19/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_allowed); in mipsmt_sys_sched_getaffinity()
181 cpumask_and(&mask, &allowed, cpu_active_mask); in mipsmt_sys_sched_getaffinity()
/Linux-v4.19/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-v4.19/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-v4.19/Documentation/media/uapi/dvb/
Dfrontend_f_open.rst35 Multiple opens are allowed with ``O_RDONLY``. In this mode, only
36 query and read ioctls are allowed.
38 Only one open is allowed in ``O_RDWR``. In this mode, all ioctls are
39 allowed.
/Linux-v4.19/drivers/usb/usbip/
Dstub_rx.c397 unsigned int allowed; in masking_bogus_flags() local
424 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | in masking_bogus_flags()
429 allowed |= URB_ZERO_PACKET; in masking_bogus_flags()
433 allowed |= URB_SHORT_NOT_OK; in masking_bogus_flags()
436 allowed |= URB_ISO_ASAP; in masking_bogus_flags()
439 urb->transfer_flags &= allowed; in masking_bogus_flags()
/Linux-v4.19/drivers/net/ethernet/mellanox/mlx5/core/
Dlag.c68 bool allowed; member
237 do_bond = tracker.is_bonded && ldev->allowed; in mlx5_do_bond()
440 ldev->allowed = mlx5_lag_check_prereq(ldev); in mlx5_lag_dev_alloc()
465 ldev->allowed = mlx5_lag_check_prereq(ldev); in mlx5_lag_dev_add_pf()
487 ldev->allowed = mlx5_lag_check_prereq(ldev); in mlx5_lag_dev_remove_pf()
584 if (ldev->allowed == allow) in mlx5_lag_set_state()
586 ldev->allowed = allow; in mlx5_lag_set_state()
/Linux-v4.19/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()
218 int allowed; in write_mem() local
222 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem()
223 if (!allowed) in write_mem()
227 if (allowed == 1) { in write_mem()
/Linux-v4.19/drivers/media/rc/
Drc-main.c1059 u64 allowed, enabled; in show_protocols() local
1066 allowed = dev->allowed_protocols; in show_protocols()
1067 if (dev->raw && !allowed) in show_protocols()
1068 allowed = ir_raw_get_allowed_protocols(); in show_protocols()
1073 __func__, (long long)allowed, (long long)enabled); in show_protocols()
1076 if (allowed & enabled & proto_names[i].type) in show_protocols()
1078 else if (allowed & proto_names[i].type) in show_protocols()
1081 if (allowed & proto_names[i].type) in show_protocols()
1082 allowed &= ~proto_names[i].type; in show_protocols()
1442 u64 allowed; in show_wakeup_protocols() local
[all …]
/Linux-v4.19/Documentation/cgroup-v1/
Dcpusets.txt58 schedule a task on a CPU that is not allowed in its cpus_allowed
60 node that is not allowed in the requesting task's mems_allowed vector.
119 - Cpusets are sets of allowed CPUs and Memory Nodes, known to the
124 allowed in that task's cpuset.
126 those Memory Nodes allowed in that task's cpuset.
144 allowed in that task's cpuset.
146 the CPUs allowed by their cpuset, if possible.
148 Memory Nodes by what's allowed in that task's cpuset.
149 - in page_alloc.c, to restrict memory to allowed nodes.
178 - cpuset.memory_spread_page flag: if set, spread page cache evenly on allowed nodes
[all …]
/Linux-v4.19/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-v4.19/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-v4.19/Documentation/devicetree/bindings/dma/
Dnbpfaxi.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.
/Linux-v4.19/arch/powerpc/kvm/
Dbooke.c401 int allowed = 0; in kvmppc_booke_irqprio_deliver() local
453 allowed = 1; in kvmppc_booke_irqprio_deliver()
460 allowed = vcpu->arch.shared->msr & MSR_CE; in kvmppc_booke_irqprio_deliver()
461 allowed = allowed && !crit; in kvmppc_booke_irqprio_deliver()
466 allowed = vcpu->arch.shared->msr & MSR_ME; in kvmppc_booke_irqprio_deliver()
467 allowed = allowed && !crit; in kvmppc_booke_irqprio_deliver()
476 allowed = vcpu->arch.shared->msr & MSR_EE; in kvmppc_booke_irqprio_deliver()
477 allowed = allowed && !crit; in kvmppc_booke_irqprio_deliver()
482 allowed = vcpu->arch.shared->msr & MSR_DE; in kvmppc_booke_irqprio_deliver()
483 allowed = allowed && !crit; in kvmppc_booke_irqprio_deliver()
[all …]
/Linux-v4.19/drivers/usb/mon/
DKconfig12 If unsure, say Y, if allowed, otherwise M.

12345678910>>...19