Home
last modified time | relevance | path

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

12345678910>>...20

/linux/drivers/scsi/
H A Dscsi_lib_test.c29 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense()
36 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense()
43 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense()
49 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense()
56 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_multiple_sense()
120 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_any_sense()
143 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_host()
147 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_host()
173 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_any_failure()
196 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, in scsi_lib_test_any_status()
[all …]
/linux/security/selinux/
H A Davc.c200 rc = security_xperm_test(xpd->allowed->p, perm); in avc_xperms_has_perm()
217 if (xpd && xpd->allowed) in avc_xperms_allow_perm()
218 security_xperm_set(xpd->allowed->p, perm); in avc_xperms_allow_perm()
226 if (xpd->allowed) in avc_xperms_decision_free()
227 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); in avc_xperms_decision_free()
256 memcpy(dest->allowed->p, src->allowed->p, in avc_copy_xperms_decision()
257 sizeof(src->allowed->p)); in avc_copy_xperms_decision()
283 dest->allowed->p[i] = src->allowed->p[i]; in avc_quick_copy_xperms_decision()
302 xpd->allowed = kmem_cache_zalloc(avc_xperms_data_cachep, in avc_xperms_decision_alloc()
304 if (!xpd->allowed) in avc_xperms_decision_alloc()
[all …]
/linux/arch/arm64/kvm/
H A Dhandle_exit.c319 bool allowed, fwd = is_nested_ctxt(vcpu); in handle_other() local
341 allowed = kvm_has_feat(kvm, ID_AA64ISAR1_EL1, LS64, LS64_V); in handle_other()
345 allowed = kvm_has_feat(kvm, ID_AA64ISAR1_EL1, LS64, LS64_ACCDATA); in handle_other()
349 allowed = kvm_has_feat(kvm, ID_AA64ISAR1_EL1, LS64, LS64); in handle_other()
353 allowed = kvm_has_feat(kvm, ID_AA64DFR0_EL1, TraceBuffer, TRBE_V1P1); in handle_other()
357 allowed = kvm_has_feat(kvm, ID_AA64DFR0_EL1, PMSVer, V1P5); in handle_other()
363 allowed = false; in handle_other()
366 WARN_ON_ONCE(allowed && !fwd); in handle_other()
368 if (allowed && fwd) in handle_other()
/linux/kernel/sched/
H A Dext_idle.c455 const struct cpumask *allowed = cpus_allowed ?: p->cpus_ptr; in scx_select_cpu_dfl() local
466 is_prev_allowed = cpumask_test_cpu(prev_cpu, allowed); in scx_select_cpu_dfl()
471 if (allowed != p->cpus_ptr) { in scx_select_cpu_dfl()
475 allowed = cpus_allowed; in scx_select_cpu_dfl()
477 allowed = local_cpus; in scx_select_cpu_dfl()
500 if (allowed == p->cpus_ptr && task_affinity_all(p)) in scx_select_cpu_dfl()
502 else if (cpus && cpumask_and(local_cpus, allowed, cpus)) in scx_select_cpu_dfl()
510 if (allowed == p->cpus_ptr && task_affinity_all(p)) in scx_select_cpu_dfl()
512 else if (cpus && cpumask_and(local_cpus, allowed, cpus)) in scx_select_cpu_dfl()
551 if (cpumask_test_cpu(cpu, allowed)) in scx_select_cpu_dfl()
[all …]
/linux/Documentation/hwmon/
H A 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/drivers/gpu/drm/xe/
H A Dxe_pm.c603 if (xe->d3cold.allowed) { in xe_pm_runtime_suspend()
610 err = xe->d3cold.allowed ? xe_gt_suspend(gt) : xe_gt_runtime_suspend(gt); in xe_pm_runtime_suspend()
652 if (xe->d3cold.allowed) { in xe_pm_runtime_resume()
671 xe_i2c_pm_resume(xe, xe->d3cold.allowed); in xe_pm_runtime_resume()
676 err = xe->d3cold.allowed ? xe_gt_resume(gt) : xe_gt_runtime_resume(gt); in xe_pm_runtime_resume()
689 if (xe->d3cold.allowed) { in xe_pm_runtime_resume()
700 if (xe->d3cold.allowed) in xe_pm_runtime_resume()
974 xe->d3cold.allowed = false; in xe_pm_d3cold_allowed_toggle()
989 xe->d3cold.allowed = true; in xe_pm_d3cold_allowed_toggle()
991 xe->d3cold.allowed = false; in xe_pm_d3cold_allowed_toggle()
/linux/drivers/gpu/drm/nouveau/nvkm/core/
H A 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()
H A 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/drivers/usb/core/
H A Durb.c373 unsigned int allowed; in usb_submit_urb() local
512 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | in usb_submit_urb()
518 allowed |= URB_ZERO_PACKET; in usb_submit_urb()
522 allowed |= URB_SHORT_NOT_OK; in usb_submit_urb()
525 allowed |= URB_ISO_ASAP; in usb_submit_urb()
528 allowed &= urb->transfer_flags; in usb_submit_urb()
531 if (allowed != urb->transfer_flags) in usb_submit_urb()
533 urb->transfer_flags, allowed); in usb_submit_urb()
/linux/Documentation/admin-guide/device-mapper/
H A Ddm-init.rst46 `crypt` allowed
47 `delay` allowed
50 `linear` allowed
55 `snapshot-origin` allowed
57 `striped` allowed
61 `verity` allowed
/linux/arch/arm64/boot/dts/mediatek/
H A Dmt6358.dtsi33 regulator-allowed-modes = <0 1>;
43 regulator-allowed-modes = <0 1>;
52 regulator-allowed-modes = <0 1>;
62 regulator-allowed-modes = <0 1>;
72 regulator-allowed-modes = <0 1>;
81 regulator-allowed-modes = <0 1>;
100 regulator-allowed-modes = <0 1>;
H A Dmt6359.dtsi38 regulator-allowed-modes = <0 1 2>;
53 regulator-allowed-modes = <0 1 2>;
61 regulator-allowed-modes = <0 1 2>;
82 regulator-allowed-modes = <0 1 2>;
90 regulator-allowed-modes = <0 1 2>;
/linux/drivers/char/
H A Dmem.c118 int allowed, probe; in read_mem() local
123 allowed = page_is_allowed(p >> PAGE_SHIFT); in read_mem()
124 if (!allowed) in read_mem()
128 if (allowed == 2) { in read_mem()
198 int allowed; in write_mem() local
202 allowed = page_is_allowed(p >> PAGE_SHIFT); in write_mem()
203 if (!allowed) in write_mem()
207 if (allowed == 1) { in write_mem()
/linux/Documentation/ABI/testing/
H A 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/Documentation/admin-guide/LSM/
H A 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/Documentation/admin-guide/mm/
H A Dnuma_memory_policy.rst251 MPOL_PREFERRED allowed for a mask rather than a single node.
266 the user should not be remapped if the task or VMA's set of allowed
270 change in the set of allowed nodes, the preferred nodemask (Preferred
272 remapped to the new set of allowed nodes. This may result in nodes
276 nodes allowed by the task's cpuset, then the memory policy is
284 3 is allowed from the user's nodemask, the "interleave" only
286 now allowed, the Default behavior is used.
296 set of allowed nodes. The kernel stores the user-passed nodemask,
297 and if the allowed nodes changes, then that original nodemask will
298 be remapped relative to the new set of allowed nodes.
[all …]
/linux/arch/mips/kernel/
H A Dmips-mt-fpaff.c162 cpumask_t allowed, mask; in mipsmt_sys_sched_getaffinity() local
181 cpumask_or(&allowed, &p->thread.user_cpus_allowed, p->cpus_ptr); in mipsmt_sys_sched_getaffinity()
182 cpumask_and(&mask, &allowed, cpu_active_mask); in mipsmt_sys_sched_getaffinity()
/linux/mm/
H A Dutil.c877 unsigned long allowed; in vm_commit_limit() local
880 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit()
882 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit()
884 allowed += total_swap_pages; in vm_commit_limit()
886 return allowed; in vm_commit_limit()
932 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/Documentation/userspace-api/media/dvb/
H A 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/Documentation/translations/zh_CN/scsi/
H A Dscsi_eh.rst117 可执行scmd->allowed + 1次。但存在三种例外情况会跳
265 scmd->retries值仍小于scmd->allowed
347 scmd->retries被设置为scmd->allowed以防止
460 scmd->allowed(允许重试次数)限制重试次数。
/linux/drivers/media/rc/
H A 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/drivers/iommu/iommufd/
H A Dioas.c124 struct iopt_allowed *allowed; in iommufd_ioas_load_iovas() local
135 allowed = kzalloc_obj(*allowed, GFP_KERNEL_ACCOUNT); in iommufd_ioas_load_iovas()
136 if (!allowed) in iommufd_ioas_load_iovas()
138 allowed->node.start = range.start; in iommufd_ioas_load_iovas()
139 allowed->node.last = range.last; in iommufd_ioas_load_iovas()
141 interval_tree_insert(&allowed->node, itree); in iommufd_ioas_load_iovas()
/linux/tools/testing/selftests/mm/
H A 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/arch/arm64/boot/dts/qcom/
H A Dsc8280xp-huawei-gaokun3.dts353 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
371 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
381 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
399 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
444 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
461 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
478 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
507 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
524 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
534 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
[all …]
/linux/drivers/usb/usbip/
H A Dstub_rx.c405 unsigned int allowed; in masking_bogus_flags() local
432 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | in masking_bogus_flags()
437 allowed |= URB_ZERO_PACKET; in masking_bogus_flags()
441 allowed |= URB_SHORT_NOT_OK; in masking_bogus_flags()
444 allowed |= URB_ISO_ASAP; in masking_bogus_flags()
447 urb->transfer_flags &= allowed; in masking_bogus_flags()

12345678910>>...20