/linux-master/drivers/power/supply/ |
H A D | 88pm860x_charger.c | 109 unsigned allowed:1; member in struct:pm860x_charger_info 318 (info->present) ? "present" : "N/A", info->allowed); 323 if (info->online && info->present && info->allowed) { 344 if (info->online && info->present && info->allowed) { 355 if (info->online && info->present && info->allowed) { 366 if (info->online && info->present && info->allowed) { 390 (info->present) ? "present" : "N/A", info->allowed); 409 info->allowed = 1; 412 info->allowed = 0; 416 (info->online) ? "online" : "N/A", info->allowed); [all...] |
/linux-master/drivers/scsi/ |
H A D | scsi_lib_test.c | 29 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, 36 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, 43 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, 49 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, 56 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, 92 /* Test hitting allowed limit */ 103 /* Test no retries allowed */ 113 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, 136 .allowed = SCSI_LIB_TEST_MAX_ALLOWED, 140 .allowed [all...] |
H A D | scsi_debugfs.c | 65 seq_printf(m, ", .cmd=%s, .retries=%d, .allowed=%d, .result = %#x%s%s", 66 buf, cmd->retries, cmd->allowed, cmd->result,
|
/linux-master/arch/x86/kernel/cpu/ |
H A D | topology.c | 417 unsigned int cnta, cntb, cpu, allowed = 1; local 437 allowed = min_t(unsigned int, total, nr_cpu_ids); 440 if (total > allowed) 441 pr_warn("%u possible CPUs exceed the limit of %u\n", total, allowed); 443 assigned = min_t(unsigned int, allowed, assigned); 444 disabled = allowed - assigned; 449 total_cpus = allowed; 450 set_nr_cpu_ids(allowed); 492 for (cpu = 0; cpu < allowed; cpu++) {
|
/linux-master/drivers/gpu/drm/nouveau/nvkm/core/ |
H A D | uevent.c | 35 atomic_t allowed; member in struct:nvkm_uevent 45 atomic_set(&uevent->allowed, 0); 56 atomic_set(&uevent->allowed, 1); 89 if (atomic_read(&uevent->allowed))
|
H A D | event.c | 68 if (atomic_read(&ntfy->allowed) != ntfy->running) { 104 if (atomic_xchg(&ntfy->allowed, 0) == 1) { 123 if (atomic_xchg(&ntfy->allowed, 1) == 0) { 156 atomic_set(&ntfy->allowed, 0); 183 if (atomic_read(&ntfy->allowed))
|
H A D | intr.c | 112 nvkm_debug(intr->subdev, "intr %d/%08x allowed by %s\n", leaf, mask, subdev->name); 200 if (atomic_read(&inth->allowed)) { 400 atomic_set(&inth->allowed, 0); 413 if (!atomic_xchg(&inth->allowed, 1)) { 439 atomic_set(&inth->allowed, 0);
|
/linux-master/security/selinux/ |
H A D | avc.c | 205 rc = security_xperm_test(xpd->allowed->p, perm); 221 if (xpd && xpd->allowed) 222 security_xperm_set(xpd->allowed->p, perm); 230 if (xpd->allowed) 231 kmem_cache_free(avc_xperms_data_cachep, xpd->allowed); 259 memcpy(dest->allowed->p, src->allowed->p, 260 sizeof(src->allowed->p)); 285 dest->allowed->p[i] = src->allowed 1026 struct extended_perms_data allowed; local [all...] |
/linux-master/drivers/gpu/drm/xe/ |
H A D | xe_pm.c | 246 /* For now suspend/resume is only allowed with GuC */ 365 if (xe->d3cold.allowed) { 402 * It can be possible that xe has allowed d3cold but other pcie devices 409 if (xe->d3cold.allowed && xe->d3cold.power_lost) { 428 if (xe->d3cold.allowed && xe->d3cold.power_lost) { 621 * xe_pm_d3cold_allowed_toggle - Check conditions to toggle d3cold.allowed 635 xe->d3cold.allowed = false; 650 xe->d3cold.allowed = true; 652 xe->d3cold.allowed = false; 657 "d3cold: allowed [all...] |
/linux-master/arch/mips/kernel/ |
H A D | mips-mt-fpaff.c | 119 /* Compute new global allowed CPU set if necessary */ 162 cpumask_t allowed, mask; local 181 cpumask_or(&allowed, &p->thread.user_cpus_allowed, p->cpus_ptr); 182 cpumask_and(&mask, &allowed, cpu_active_mask);
|
/linux-master/tools/testing/selftests/mm/ |
H A D | compaction_test.c | 59 char allowed; local 70 if (read(fd, &allowed, sizeof(char)) != sizeof(char)) { 78 if (allowed == '1') 81 ksft_print_msg("Compaction isn't allowed\n");
|
/linux-master/drivers/usb/core/ |
H A D | urb.c | 374 unsigned int allowed; local 507 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | URB_DIR_MASK | 513 allowed |= URB_ZERO_PACKET; 517 allowed |= URB_SHORT_NOT_OK; 520 allowed |= URB_ISO_ASAP; 523 allowed &= urb->transfer_flags; 526 if (allowed != urb->transfer_flags) 528 urb->transfer_flags, allowed);
|
/linux-master/tools/testing/selftests/wireguard/ |
H A D | netns.sh | 105 allowed-ips 192.168.241.2/32,fd00::2/128 111 allowed-ips 192.168.241.1/32,fd00::1/128 225 n1 wg set wg0 peer "$pub2" allowed-ips 192.168.241.0/24 233 n1 wg set wg0 peer "$more_specific_key" allowed-ips 192.168.241.2/32 245 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips 192.168.241.2/32 endpoint 127.0.0.1:2 246 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 249 n2 wg set wg0 peer "$pub3" preshared-key <(echo "$psk") allowed-ips 192.168.241.1/32 peer "$pub1" remove 258 n1 wg set wg0 private-key <(echo "$key1") peer "$pub2" preshared-key <(echo "$psk") allowed-ips fd00::5:2/128 endpoint 127.0.0.1:2 259 n2 wg set wg0 private-key <(echo "$key2") listen-port 2 peer "$pub1" preshared-key <(echo "$psk") allowed-ips fd00::5:1/128 endpoint 127.212.121.99:9998 268 n1 wg set wg1 listen-port 5 private-key <(echo "$key3") peer "$pub4" allowed [all...] |
/linux-master/drivers/gpu/drm/nouveau/include/nvkm/core/ |
H A D | intr.h | 64 atomic_t allowed; member in struct:nvkm_inth
|
H A D | event.h | 59 atomic_t allowed; member in struct:nvkm_event_ntfy
|
/linux-master/drivers/mmc/core/ |
H A D | debugfs.c | 314 u32 allowed = MMC_CAP_AGGRESSIVE_PM | local 320 if (diff & ~allowed) 330 u32 allowed = MMC_CAP2_HSX00_1_8V | MMC_CAP2_HSX00_1_2V; local 334 if (diff & ~allowed)
|
/linux-master/drivers/iommu/iommufd/ |
H A D | ioas.c | 120 struct iopt_allowed *allowed; local 131 allowed = kzalloc(sizeof(*allowed), GFP_KERNEL_ACCOUNT); 132 if (!allowed) 134 allowed->node.start = range.start; 135 allowed->node.last = range.last; 137 interval_tree_insert(&allowed->node, itree); 166 * We want the allowed tree update to be atomic, so we have to keep the
|
/linux-master/mm/ |
H A D | util.c | 906 unsigned long allowed; local 909 allowed = sysctl_overcommit_kbytes >> (PAGE_SHIFT - 10); 911 allowed = ((totalram_pages() - hugetlb_total_pages()) 913 allowed += total_swap_pages; 915 return allowed; 961 long allowed; local 978 allowed = vm_commit_limit(); 983 allowed -= sysctl_admin_reserve_kbytes >> (PAGE_SHIFT - 10); 991 allowed -= min_t(long, mm->total_vm / 32, reserve); 994 if (percpu_counter_read_positive(&vm_committed_as) < allowed) [all...] |
/linux-master/drivers/char/ |
H A D | mem.c | 136 int allowed, probe; local 141 allowed = page_is_allowed(p >> PAGE_SHIFT); 142 if (!allowed) 146 if (allowed == 2) { 216 int allowed; local 220 allowed = page_is_allowed(p >> PAGE_SHIFT); 221 if (!allowed) 225 if (allowed == 1) {
|
/linux-master/drivers/media/dvb-frontends/drx39xyj/ |
H A D | drx_dap_fasi.h | 98 #error At least one of short- or long-addressing format must be allowed.
|
/linux-master/fs/gfs2/ |
H A D | quota.h | 46 ap->allowed = UINT_MAX; /* Assume we are permitted a whole lot */
|
/linux-master/drivers/usb/usbip/ |
H A D | stub_rx.c | 396 unsigned int allowed; local 423 allowed = (URB_NO_TRANSFER_DMA_MAP | URB_NO_INTERRUPT | 428 allowed |= URB_ZERO_PACKET; 432 allowed |= URB_SHORT_NOT_OK; 435 allowed |= URB_ISO_ASAP; 438 urb->transfer_flags &= allowed;
|
/linux-master/net/mac80211/ |
H A D | led.c | 354 bool allowed; local 370 allowed = tpt_trig->active & IEEE80211_TPT_LEDTRIG_FL_RADIO; 372 if (!allowed || !(tpt_trig->active & tpt_trig->want))
|
/linux-master/drivers/media/rc/ |
H A D | rc-main.c | 360 * @resize: controls whether we allowed to resize the table to 1109 u64 allowed, enabled; local 1116 allowed = dev->allowed_protocols; 1117 if (dev->raw && !allowed) 1118 allowed = ir_raw_get_allowed_protocols(); 1122 dev_dbg(&dev->dev, "%s: allowed - 0x%llx, enabled - 0x%llx\n", 1123 __func__, (long long)allowed, (long long)enabled); 1126 if (allowed & enabled & proto_names[i].type) 1128 else if (allowed & proto_names[i].type) 1131 if (allowed 1500 u64 allowed; local 1552 u64 allowed; local [all...] |
/linux-master/security/selinux/include/ |
H A D | avc.h | 68 denied = requested & ~avd->allowed;
|