Home
last modified time | relevance | path

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

12345678910>>...18

/linux/tools/testing/selftests/sched_ext/
H A Dallowed_cpus.bpf.c46 const struct cpumask *allowed = cast_mask(allowed_cpumask); in validate_selected_cpu() local
48 if (!allowed) { in validate_selected_cpu()
53 if (!bpf_cpumask_test_cpu(cpu, allowed)) in validate_selected_cpu()
65 const struct cpumask *allowed; in BPF_STRUCT_OPS() local
69 allowed = cast_mask(allowed_cpumask); in BPF_STRUCT_OPS()
70 if (!allowed) { in BPF_STRUCT_OPS()
78 cpu = scx_bpf_select_cpu_and(p, prev_cpu, wake_flags, allowed, 0); in BPF_STRUCT_OPS()
91 const struct cpumask *allowed; in BPF_STRUCT_OPS() local
97 allowed = cast_mask(allowed_cpumask); in BPF_STRUCT_OPS()
98 if (!allowed) { in BPF_STRUCT_OPS()
[all …]
/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/arch/x86/kernel/cpu/
H A Dtopology.c456 unsigned int cnta, cntb, cpu, allowed = 1; in topology_init_possible_cpus() local
476 allowed = min_t(unsigned int, total, nr_cpu_ids); in topology_init_possible_cpus()
479 if (total > allowed) in topology_init_possible_cpus()
480 pr_warn("%u possible CPUs exceed the limit of %u\n", total, allowed); in topology_init_possible_cpus()
482 assigned = min_t(unsigned int, allowed, assigned); in topology_init_possible_cpus()
483 disabled = allowed - assigned; in topology_init_possible_cpus()
488 total_cpus = allowed; in topology_init_possible_cpus()
489 set_nr_cpu_ids(allowed); in topology_init_possible_cpus()
539 for (cpu = 0; cpu < allowed; cpu++) { in topology_init_possible_cpus()
/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 in avc_quick_copy_xperms_decision()
1027 struct extended_perms_data allowed; avc_has_extended_perms() local
[all...]
/linux/kernel/sched/ext/
H A Didle.c462 const struct cpumask *allowed = cpus_allowed ?: p->cpus_ptr; in scx_select_cpu_dfl() local
472 if (allowed != p->cpus_ptr) { in scx_select_cpu_dfl()
476 allowed = cpus_allowed; in scx_select_cpu_dfl()
478 allowed = local_cpus; in scx_select_cpu_dfl()
489 is_prev_allowed = cpumask_test_cpu(prev_cpu, allowed); in scx_select_cpu_dfl()
507 if (allowed == p->cpus_ptr && task_affinity_all(p)) in scx_select_cpu_dfl()
509 else if (cpus && cpumask_and(local_cpus, allowed, cpus)) in scx_select_cpu_dfl()
517 if (allowed == p->cpus_ptr && task_affinity_all(p)) in scx_select_cpu_dfl()
519 else if (cpus && cpumask_and(local_cpus, allowed, cpus)) in scx_select_cpu_dfl()
558 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/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>;
/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
H A 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
H A Dsysfs-memory-page-offline21 the file is not allowed.
44 Reading the file is not allowed.
/linux/tools/testing/selftests/mm/
H A Dcompaction_test.c64 char allowed; in prereq() local
75 if (read(fd, &allowed, sizeof(char)) != sizeof(char)) { in prereq()
83 if (allowed == '1') in prereq()
/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/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/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 …]
H A Dsm8250-samsung-common.dtsi88 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
112 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
136 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
/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()
/linux/arch/arm/boot/dts/microchip/
H A Dat91-sama5d2_xplained.dts203 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
221 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
235 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_FIXED>,
249 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
263 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
277 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
291 regulator-allowed-modes = <ACT8945A_REGULATOR_MODE_NORMAL>,
H A Dat91-sama5d27_wlsom1.dtsi95 regulator-allowed-modes = <2>, <4>;
114 regulator-allowed-modes = <2>, <4>;
137 regulator-allowed-modes = <2>, <4>;
156 regulator-allowed-modes = <2>, <4>;
/linux/Documentation/devicetree/bindings/dma/
H A 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.
/linux/Documentation/driver-api/
H A Dclk.rst235 .disable operations. Those operations are thus not allowed to sleep,
236 and calls to the clk_enable(), clk_disable() API functions are allowed in
239 For clk_is_enabled() API, it is also designed to be allowed to be used in
250 All those operations are allowed to sleep, and calls to the corresponding API
251 functions are not allowed in atomic context.
262 The clock framework is reentrant, in that a driver is allowed to call clock

12345678910>>...18