Home
last modified time | relevance | path

Searched refs:valid (Results 1 – 25 of 1564) sorted by relevance

12345678910>>...63

/linux-6.6.21/drivers/accel/habanalabs/include/gaudi/
Dgaudi_async_ids_map_extended.h19 int valid; member
24 { .fc_id = 0, .cpu_id = 0, .valid = 0, .name = "" },
25 { .fc_id = 1, .cpu_id = 1, .valid = 0, .name = "" },
26 { .fc_id = 2, .cpu_id = 2, .valid = 0, .name = "" },
27 { .fc_id = 3, .cpu_id = 3, .valid = 0, .name = "" },
28 { .fc_id = 4, .cpu_id = 4, .valid = 0, .name = "" },
29 { .fc_id = 5, .cpu_id = 5, .valid = 0, .name = "" },
30 { .fc_id = 6, .cpu_id = 6, .valid = 0, .name = "" },
31 { .fc_id = 7, .cpu_id = 7, .valid = 0, .name = "" },
32 { .fc_id = 8, .cpu_id = 8, .valid = 0, .name = "" },
[all …]
/linux-6.6.21/drivers/accel/habanalabs/include/gaudi2/
Dgaudi2_async_ids_map_extended.h25 int valid; member
32 { .fc_id = 0, .cpu_id = 0, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
34 { .fc_id = 1, .cpu_id = 1, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
36 { .fc_id = 2, .cpu_id = 2, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
38 { .fc_id = 3, .cpu_id = 3, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
40 { .fc_id = 4, .cpu_id = 4, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
42 { .fc_id = 5, .cpu_id = 5, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
44 { .fc_id = 6, .cpu_id = 6, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
46 { .fc_id = 7, .cpu_id = 7, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
48 { .fc_id = 8, .cpu_id = 8, .valid = 0, .msg = 0, .reset = EVENT_RESET_TYPE_NONE,
[all …]
/linux-6.6.21/lib/crypto/
Dcurve25519-selftest.c12 bool valid; member
28 .valid = true
43 .valid = true
55 .valid = true
67 .valid = true
82 .valid = true
88 .valid = false
97 .valid = false
112 .valid = true
127 .valid = true
[all …]
/linux-6.6.21/drivers/acpi/
Dthermal.c97 bool valid; member
196 bool valid = false; in __acpi_thermal_trips_update() local
210 tz->trips.critical.valid = false; in __acpi_thermal_trips_update()
215 tz->trips.critical.valid = false; in __acpi_thermal_trips_update()
217 tz->trips.critical.valid = true; in __acpi_thermal_trips_update()
222 if (tz->trips.critical.valid) { in __acpi_thermal_trips_update()
224 tz->trips.critical.valid = false; in __acpi_thermal_trips_update()
243 tz->trips.hot.valid = false; in __acpi_thermal_trips_update()
248 tz->trips.hot.valid = true; in __acpi_thermal_trips_update()
256 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.trip.valid) || in __acpi_thermal_trips_update()
[all …]
/linux-6.6.21/tools/testing/selftests/sync/
Dsync_alloc.c34 int timeline, valid; in test_alloc_timeline() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_timeline()
38 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_timeline()
46 int timeline, fence, valid; in test_alloc_fence() local
49 valid = sw_sync_timeline_is_valid(timeline); in test_alloc_fence()
50 ASSERT(valid, "Failure allocating timeline\n"); in test_alloc_fence()
53 valid = sw_sync_fence_is_valid(fence); in test_alloc_fence()
54 ASSERT(valid, "Failure allocating fence\n"); in test_alloc_fence()
Dsync_fence.c34 int fence, valid, ret; in test_fence_one_timeline_wait() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_one_timeline_wait()
38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_one_timeline_wait()
41 valid = sw_sync_fence_is_valid(fence); in test_fence_one_timeline_wait()
42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_one_timeline_wait()
78 int a, b, c, d, valid; in test_fence_one_timeline_merge() local
86 valid = sw_sync_fence_is_valid(a) && in test_fence_one_timeline_merge()
89 ASSERT(valid, "Failure allocating fences\n"); in test_fence_one_timeline_merge()
93 valid = sw_sync_fence_is_valid(d); in test_fence_one_timeline_merge()
94 ASSERT(valid, "Failure merging fences\n"); in test_fence_one_timeline_merge()
Dsync_merge.c34 int fence, valid, merged; in test_fence_merge_same_fence() local
37 valid = sw_sync_timeline_is_valid(timeline); in test_fence_merge_same_fence()
38 ASSERT(valid, "Failure allocating timeline\n"); in test_fence_merge_same_fence()
41 valid = sw_sync_fence_is_valid(fence); in test_fence_merge_same_fence()
42 ASSERT(valid, "Failure allocating fence\n"); in test_fence_merge_same_fence()
45 valid = sw_sync_fence_is_valid(fence); in test_fence_merge_same_fence()
46 ASSERT(valid, "Failure merging fence\n"); in test_fence_merge_same_fence()
Dsync_stress_parallelism.c45 int fence, valid, ret, i; in test_stress_two_threads_shared_timeline_thread() local
50 valid = sw_sync_fence_is_valid(fence); in test_stress_two_threads_shared_timeline_thread()
51 ASSERT(valid, "Failure allocating fence\n"); in test_stress_two_threads_shared_timeline_thread()
78 int valid; in test_stress_two_threads_shared_timeline() local
81 valid = sw_sync_timeline_is_valid(timeline); in test_stress_two_threads_shared_timeline()
82 ASSERT(valid, "Failure allocating timeline\n"); in test_stress_two_threads_shared_timeline()
Dsync_stress_merge.c43 int fence, tmpfence, merged, valid; in test_merge_stress_random_merge() local
52 valid = sw_sync_fence_is_valid(fence); in test_merge_stress_random_merge()
53 ASSERT(valid, "Failure creating fence\n"); in test_merge_stress_random_merge()
81 valid = sw_sync_fence_is_valid(merged); in test_merge_stress_random_merge()
82 ASSERT(valid, "Failure creating fence i\n"); in test_merge_stress_random_merge()
Dsync_stress_consumer.c66 int fence, valid, i; in mpsc_producer_thread() local
73 valid = sw_sync_fence_is_valid(fence); in mpsc_producer_thread()
74 ASSERT(valid, "Failure creating fence\n"); in mpsc_producer_thread()
108 int fence, merged, tmp, valid, it, i; in mpcs_consumer_thread() local
125 valid = sw_sync_fence_is_valid(fence); in mpcs_consumer_thread()
126 ASSERT(valid, "Failure merging fences\n"); in mpcs_consumer_thread()
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dtest_core_reloc_kernel.c20 int valid[10]; member
67 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel()
70 out->valid[1] = BPF_CORE_READ(task, in test_core_kernel()
72 out->valid[2] = BPF_CORE_READ(task, in test_core_kernel()
75 out->valid[3] = BPF_CORE_READ(task, in test_core_kernel()
78 out->valid[4] = BPF_CORE_READ(task, in test_core_kernel()
81 out->valid[5] = BPF_CORE_READ(task, in test_core_kernel()
85 out->valid[6] = BPF_CORE_READ(task, in test_core_kernel()
89 out->valid[7] = BPF_CORE_READ(task, in test_core_kernel()
93 out->valid[8] = BPF_CORE_READ(task, in test_core_kernel()
[all …]
/linux-6.6.21/drivers/net/dsa/mv88e6xxx/
Dglobal1_vtu.c93 bool *valid, u16 *vid) in mv88e6xxx_g1_vtu_vid_read() argument
109 if (valid) in mv88e6xxx_g1_vtu_vid_read()
110 *valid = !!(val & MV88E6XXX_G1_VTU_VID_VALID); in mv88e6xxx_g1_vtu_vid_read()
116 bool valid, u16 vid) in mv88e6xxx_g1_vtu_vid_write() argument
123 if (valid) in mv88e6xxx_g1_vtu_vid_write()
276 if (!entry->valid) { in mv88e6xxx_g1_vtu_getnext()
286 return mv88e6xxx_g1_vtu_vid_read(chip, &entry->valid, &entry->vid); in mv88e6xxx_g1_vtu_getnext()
299 if (entry->valid) { in mv88e6185_g1_vtu_getnext()
329 if (entry->valid) { in mv88e6352_g1_vtu_getnext()
356 if (entry->valid) { in mv88e6390_g1_vtu_getnext()
[all …]
/linux-6.6.21/fs/nfs/
Dinode.c359 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
411 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup()
412 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
458 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget()
460 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget()
483 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget()
500 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget()
501 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget()
502 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget()
529 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget()
[all …]
/linux-6.6.21/drivers/tty/
Dtty_audit.c19 size_t valid; member
56 WARN_ON(buf->valid != 0); in tty_audit_buf_free()
93 if (buf->valid == 0) in tty_audit_buf_push()
96 buf->valid = 0; in tty_audit_buf_push()
99 tty_audit_log("tty", buf->dev, buf->data, buf->valid); in tty_audit_buf_push()
100 buf->valid = 0; in tty_audit_buf_push()
238 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()
241 memcpy(buf->data + buf->valid, data, run); in tty_audit_add_data()
242 buf->valid += run; in tty_audit_add_data()
245 if (buf->valid == N_TTY_BUF_SIZE) in tty_audit_add_data()
/linux-6.6.21/scripts/kconfig/
Dstreamline_config.pl424 my $valid = "A-Za-z_0-9";
429 if (/(CONFIG_[$valid]*)=(m|y)/) {
450 while ($p =~ /[$valid]/) {
452 if ($p =~ /^[^$valid]*([$valid]+)/) {
455 $p =~ s/^[^$valid]*[$valid]+//;
491 while ($p =~ /[$valid]/) {
493 if ($p =~ /^[^$valid]*([$valid]+)/) {
496 $p =~ s/^[^$valid]*[$valid]+//;
/linux-6.6.21/fs/coda/
Dcoda_linux.c145 unsigned int valid; in coda_iattr_to_vattr() local
183 valid = iattr->ia_valid; in coda_iattr_to_vattr()
184 if ( valid & ATTR_MODE ) { in coda_iattr_to_vattr()
187 if ( valid & ATTR_UID ) { in coda_iattr_to_vattr()
190 if ( valid & ATTR_GID ) { in coda_iattr_to_vattr()
193 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
196 if ( valid & ATTR_ATIME ) { in coda_iattr_to_vattr()
199 if ( valid & ATTR_MTIME ) { in coda_iattr_to_vattr()
202 if ( valid & ATTR_CTIME ) { in coda_iattr_to_vattr()
/linux-6.6.21/arch/sparc/kernel/
Dpci_sun4v.h42 unsigned long *valid);
45 unsigned long valid);
63 unsigned long *valid);
66 unsigned long valid);
88 unsigned long *valid);
91 unsigned long valid);
/linux-6.6.21/drivers/net/ethernet/apm/xgene/
Dxgene_enet_cle.c92 buf[j++] = SET_VAL(CLE_BR_VALID, br->valid) | in xgene_cle_dn_to_hw()
210 .valid = 1,
221 .valid = 0,
246 .valid = 1,
258 .valid = 1,
269 .valid = 0,
294 .valid = 0,
306 .valid = 0,
318 .valid = 0,
330 .valid = 0,
[all …]
/linux-6.6.21/sound/pci/hda/
Dcs35l41_hda_property.c32 hw_cfg->gpio2.valid = true; in lenovo_legion_no_acpi()
33 hw_cfg->valid = true; in lenovo_legion_no_acpi()
40 hw_cfg->gpio1.valid = true; in lenovo_legion_no_acpi()
65 hw_cfg->gpio1.valid = true; in hp_vision_acpi_fix()
67 hw_cfg->gpio2.valid = true; in hp_vision_acpi_fix()
72 hw_cfg->valid = true; in hp_vision_acpi_fix()
/linux-6.6.21/sound/usb/
Dvalidate.c326 bool valid; in snd_usb_validate_audio_desc() local
328 valid = validate_desc(p, protocol, audio_validators); in snd_usb_validate_audio_desc()
329 if (!valid && snd_usb_skip_validation) { in snd_usb_validate_audio_desc()
332 valid = true; in snd_usb_validate_audio_desc()
334 return valid; in snd_usb_validate_audio_desc()
340 bool valid; in snd_usb_validate_midi_desc() local
342 valid = validate_desc(p, UAC_VERSION_1, midi_validators); in snd_usb_validate_midi_desc()
343 if (!valid && snd_usb_skip_validation) { in snd_usb_validate_midi_desc()
346 valid = true; in snd_usb_validate_midi_desc()
348 return valid; in snd_usb_validate_midi_desc()
/linux-6.6.21/net/netlabel/
Dnetlabel_addrlist.c52 if (iter->valid && (addr & iter->mask) == iter->addr) in netlbl_af4list_search()
77 if (iter->valid && iter->addr == addr && iter->mask == mask) in netlbl_af4list_search_exact()
102 if (iter->valid && in netlbl_af6list_search()
128 if (iter->valid && in netlbl_af6list_search_exact()
162 if (iter->valid && in netlbl_af4list_add()
200 if (iter->valid && in netlbl_af6list_add()
223 entry->valid = 0; in netlbl_af4list_remove_entry()
263 entry->valid = 0; in netlbl_af6list_remove_entry()
/linux-6.6.21/drivers/irqchip/
Dirq-versatile-fpga.c43 u32 valid; member
147 if (!(f->valid & BIT(hwirq))) in fpga_irqdomain_map()
161 u32 valid, struct device_node *node) in fpga_irq_init() argument
172 f->valid = valid; in fpga_irq_init()
179 f->domain = irq_domain_add_linear(node, fls(valid), in fpga_irq_init()
183 for (i = 0; i < fls(valid); i++) in fpga_irq_init()
184 if (valid & BIT(i)) { in fpga_irq_init()
/linux-6.6.21/arch/ia64/kernel/
Dmca_drv.h48 #define peidx_field_valid(p) (&(peidx_head(p)->valid))
51 #define peidx_cache_check_num(p) (peidx_head(p)->valid.num_cache_check)
52 #define peidx_tlb_check_num(p) (peidx_head(p)->valid.num_tlb_check)
53 #define peidx_bus_check_num(p) (peidx_head(p)->valid.num_bus_check)
54 #define peidx_reg_file_check_num(p) (peidx_head(p)->valid.num_reg_file_check)
55 #define peidx_ms_check_num(p) (peidx_head(p)->valid.num_ms_check)
79 u64 __temp = __info && __info->valid.check_info \
/linux-6.6.21/virt/kvm/
Dpfncache.c37 if (gpc->valid && !is_error_noslot_pfn(gpc->pfn) && in gfn_to_pfn_cache_invalidate_start()
39 gpc->valid = false; in gfn_to_pfn_cache_invalidate_start()
92 if (!gpc->valid) in kvm_gpc_check()
157 gpc->valid = false; in hva_to_pfn_retry()
217 WARN_ON_ONCE(gpc->valid); in hva_to_pfn_retry()
220 gpc->valid = true; in hva_to_pfn_retry()
295 if (!gpc->valid || old_uhva != gpc->uhva) { in __kvm_gpc_refresh()
315 gpc->valid = false; in __kvm_gpc_refresh()
362 if (KVM_BUG_ON(gpc->valid, kvm)) in kvm_gpc_activate()
396 gpc->valid = false; in kvm_gpc_deactivate()
/linux-6.6.21/drivers/acpi/x86/
Dapple.c32 unsigned long *valid = NULL; in acpi_extract_apple_properties() local
63 valid = bitmap_zalloc(numprops, GFP_KERNEL); in acpi_extract_apple_properties()
64 if (!valid) in acpi_extract_apple_properties()
78 __set_bit(i, valid); in acpi_extract_apple_properties()
86 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
106 for_each_set_bit(i, valid, numprops) { in acpi_extract_apple_properties()
147 bitmap_free(valid); in acpi_extract_apple_properties()

12345678910>>...63