Home
last modified time | relevance | path

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

12345678910>>...73

/linux-6.1.9/drivers/misc/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.1.9/drivers/misc/habanalabs/include/gaudi2/
Dgaudi2_async_ids_map_extended.h19 int valid; member
26 { .fc_id = 0, .cpu_id = 0, .valid = 0,
28 { .fc_id = 1, .cpu_id = 1, .valid = 0,
30 { .fc_id = 2, .cpu_id = 2, .valid = 0,
32 { .fc_id = 3, .cpu_id = 3, .valid = 0,
34 { .fc_id = 4, .cpu_id = 4, .valid = 0,
36 { .fc_id = 5, .cpu_id = 5, .valid = 0,
38 { .fc_id = 6, .cpu_id = 6, .valid = 0,
40 { .fc_id = 7, .cpu_id = 7, .valid = 0,
42 { .fc_id = 8, .cpu_id = 8, .valid = 0,
[all …]
/linux-6.1.9/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.1.9/drivers/acpi/
Dthermal.c117 u8 valid:1; member
268 int valid = 0; in acpi_thermal_trips_update() local
282 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
287 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
289 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update()
294 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update()
296 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
315 tz->trips.hot.flags.valid = 0; in acpi_thermal_trips_update()
320 tz->trips.hot.flags.valid = 1; in acpi_thermal_trips_update()
328 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.flags.valid) || in acpi_thermal_trips_update()
[all …]
/linux-6.1.9/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()
/linux-6.1.9/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.1.9/drivers/net/ipa/
Dipa_reg.c16 bool valid; in ipa_reg_valid() local
25 valid = version < IPA_VERSION_4_5; in ipa_reg_valid()
31 valid = version >= IPA_VERSION_3_5; in ipa_reg_valid()
37 valid = version >= IPA_VERSION_4_5; in ipa_reg_valid()
42 valid = version <= IPA_VERSION_3_1 || in ipa_reg_valid()
48 valid = version <= IPA_VERSION_3_1; in ipa_reg_valid()
52 valid = version != IPA_VERSION_4_2; in ipa_reg_valid()
57 valid = version >= IPA_VERSION_3_1; in ipa_reg_valid()
61 valid = true; /* Others should be defined for all versions */ in ipa_reg_valid()
67 return valid && ipa->regs->reg[reg_id]; in ipa_reg_valid()
Dipa_table.c180 bool valid; in ipa_table_valid() local
182 valid = ipa_table_valid_one(ipa, IPA_MEM_V4_FILTER, false); in ipa_table_valid()
183 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_FILTER, false); in ipa_table_valid()
184 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_ROUTE, true); in ipa_table_valid()
185 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_ROUTE, true); in ipa_table_valid()
188 return valid; in ipa_table_valid()
190 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_FILTER_HASHED, in ipa_table_valid()
192 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_FILTER_HASHED, in ipa_table_valid()
194 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_ROUTE_HASHED, in ipa_table_valid()
196 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_ROUTE_HASHED, in ipa_table_valid()
[all …]
/linux-6.1.9/drivers/net/dsa/mv88e6xxx/
Dglobal1_vtu.c92 bool *valid, u16 *vid) in mv88e6xxx_g1_vtu_vid_read() argument
108 if (valid) in mv88e6xxx_g1_vtu_vid_read()
109 *valid = !!(val & MV88E6XXX_G1_VTU_VID_VALID); in mv88e6xxx_g1_vtu_vid_read()
115 bool valid, u16 vid) in mv88e6xxx_g1_vtu_vid_write() argument
122 if (valid) in mv88e6xxx_g1_vtu_vid_write()
275 if (!entry->valid) { in mv88e6xxx_g1_vtu_getnext()
285 return mv88e6xxx_g1_vtu_vid_read(chip, &entry->valid, &entry->vid); in mv88e6xxx_g1_vtu_getnext()
298 if (entry->valid) { in mv88e6185_g1_vtu_getnext()
328 if (entry->valid) { in mv88e6352_g1_vtu_getnext()
355 if (entry->valid) { in mv88e6390_g1_vtu_getnext()
[all …]
/linux-6.1.9/fs/nfs/
Dinode.c358 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
410 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup()
411 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
457 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget()
459 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget()
482 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget()
499 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget()
500 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget()
501 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget()
528 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget()
[all …]
/linux-6.1.9/drivers/tty/
Dtty_audit.c19 size_t valid; member
45 buf->valid = 0; in tty_audit_buf_alloc()
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()
237 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()
240 memcpy(buf->data + buf->valid, data, run); in tty_audit_add_data()
241 buf->valid += run; in tty_audit_add_data()
[all …]
/linux-6.1.9/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.1.9/fs/coda/
Dcoda_linux.c144 unsigned int valid; in coda_iattr_to_vattr() local
182 valid = iattr->ia_valid; in coda_iattr_to_vattr()
183 if ( valid & ATTR_MODE ) { in coda_iattr_to_vattr()
186 if ( valid & ATTR_UID ) { in coda_iattr_to_vattr()
189 if ( valid & ATTR_GID ) { in coda_iattr_to_vattr()
192 if ( valid & ATTR_SIZE ) { in coda_iattr_to_vattr()
195 if ( valid & ATTR_ATIME ) { in coda_iattr_to_vattr()
198 if ( valid & ATTR_MTIME ) { in coda_iattr_to_vattr()
201 if ( valid & ATTR_CTIME ) { in coda_iattr_to_vattr()
/linux-6.1.9/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.1.9/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.1.9/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.1.9/drivers/gpu/drm/amd/display/dc/core/
Ddc_link_enc_cfg.c90 if ((assignment.valid == true) && (assignment.eng_id == eng_id)) { in get_stream_using_link_enc()
116 if (assignment.valid && assignment.stream == stream) { in remove_link_enc_assignment()
117 state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid = false; in remove_link_enc_assignment()
151 .valid = true, in add_link_enc_assignment()
240 if (assignment.valid == true && are_ep_ids_equal(&assignment.ep_id, &ep_id)) in get_link_enc_used_by_link()
252 state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid = false; in clear_enc_assignments()
302 ASSERT(state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid == false); in link_enc_cfg_link_encs_assign()
339 prev_state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[j].valid) { in link_enc_cfg_link_encs_assign()
394 if (assignment.valid) in link_enc_cfg_link_encs_assign()
405 if (assignment.valid) in link_enc_cfg_link_encs_assign()
[all …]
/linux-6.1.9/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.1.9/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.1.9/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()
77 __set_bit(i, valid); in acpi_extract_apple_properties()
83 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
103 for_each_set_bit(i, valid, numprops) { in acpi_extract_apple_properties()
138 bitmap_free(valid); in acpi_extract_apple_properties()
/linux-6.1.9/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 \

12345678910>>...73