| /linux/drivers/scsi/ |
| H A D | scsi_lib_test.c | 29 .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 D | topology.c | 456 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 D | avc.c | 200 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/kernel/sched/ |
| H A D | ext_idle.c | 461 const struct cpumask *allowed = cpus_allowed ?: p->cpus_ptr; in scx_select_cpu_dfl() local 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() 488 is_prev_allowed = cpumask_test_cpu(prev_cpu, allowed); in scx_select_cpu_dfl() 506 if (allowed == p->cpus_ptr && task_affinity_all(p)) in scx_select_cpu_dfl() 508 else if (cpus && cpumask_and(local_cpus, allowed, cpus)) in scx_select_cpu_dfl() 516 if (allowed == p->cpus_ptr && task_affinity_all(p)) in scx_select_cpu_dfl() 518 else if (cpus && cpumask_and(local_cpus, allowed, cpus)) in scx_select_cpu_dfl() 557 if (cpumask_test_cpu(cpu, allowed)) in scx_select_cpu_dfl() [all …]
|
| /linux/Documentation/hwmon/ |
| H A D | ltc2992.rst | 37 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 D | xe_pm.c | 603 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 D | uevent.c | 35 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 D | event.c | 68 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 D | urb.c | 373 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 D | dm-init.rst | 46 `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 D | mt6358.dtsi | 33 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 D | debugfs-scmi | 42 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 D | Yama.rst | 26 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/arch/mips/kernel/ |
| H A D | mips-mt-fpaff.c | 162 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/Documentation/userspace-api/media/dvb/ |
| H A D | frontend_f_open.rst | 33 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 D | scsi_eh.rst | 117 可执行scmd->allowed + 1次。但存在三种例外情况会跳 265 scmd->retries值仍小于scmd->allowed。 347 scmd->retries被设置为scmd->allowed以防止 460 scmd->allowed(允许重试次数)限制重试次数。
|
| /linux/mm/ |
| H A D | util.c | 906 unsigned long allowed; in vm_commit_limit() local 909 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); in vm_commit_limit() 911 allowed = ((totalram_pages() - hugetlb_total_pages()) in vm_commit_limit() 913 allowed += total_swap_pages; in vm_commit_limit() 915 return allowed; in vm_commit_limit() 961 long allowed; in __vm_enough_memory() local 978 allowed = vm_commit_limit(); in __vm_enough_memory() 983 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); in __vm_enough_memory() 991 allowed -= min_t(long, mm->total_vm / 32, reserve); in __vm_enough_memory() 994 if (percpu_counter_read_positive(&vm_committed_as) < allowed) in __vm_enough_memory()
|
| /linux/drivers/iommu/iommufd/ |
| H A D | ioas.c | 124 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 D | compaction_test.c | 59 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 D | sc8280xp-huawei-gaokun3.dts | 353 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 D | qcs6490-radxa-dragon-q6a.dts | 306 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 316 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 326 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 336 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 346 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 371 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 401 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 411 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 421 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM 431 regulator-allowed-modes = <RPMH_REGULATOR_MODE_LPM
|
| H A D | sm8250-samsung-common.dtsi | 88 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 D | stub_rx.c | 405 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/Documentation/admin-guide/cgroup-v1/ |
| H A D | cpusets.rst | 61 schedule a task on a CPU that is not allowed in its cpus_allowed 63 node that is not allowed in the requesting task's mems_allowed vector. 122 - Cpusets are sets of allowed CPUs and Memory Nodes, known to the 127 allowed in that task's cpuset. 129 those Memory Nodes allowed in that task's cpuset. 147 allowed in that task's cpuset. 149 the CPUs allowed by their cpuset, if possible. 151 Memory Nodes by what's allowed in that task's cpuset. 152 - in page_alloc.c, to restrict memory to allowed nodes. 181 - cpuset.memory_spread_page flag: if set, spread page cache evenly on allowed nodes [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-sama5d2_xplained.dts | 203 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>,
|