Home
last modified time | relevance | path

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

12345678910>>...54

/linux/drivers/misc/habanalabs/include/gaudi/
A Dgaudi_async_ids_map_extended.h19 int valid; member
113 { .fc_id = 89, .cpu_id = 61, .valid = 1,
116 { .fc_id = 91, .cpu_id = 63, .valid = 1,
283 { .fc_id = 257, .cpu_id = 120, .valid = 1,
510 { .fc_id = 483, .cpu_id = 332, .valid = 1,
515 { .fc_id = 487, .cpu_id = 336, .valid = 1,
520 { .fc_id = 491, .cpu_id = 340, .valid = 1,
525 { .fc_id = 495, .cpu_id = 344, .valid = 1,
530 { .fc_id = 499, .cpu_id = 348, .valid = 1,
679 { .fc_id = 647, .cpu_id = 496, .valid = 1,
[all …]
/linux/lib/crypto/
A Dcurve25519-selftest.c12 bool valid; member
28 .valid = true
43 .valid = true
55 .valid = true
67 .valid = true
82 .valid = true
88 .valid = false
112 .valid = true
127 .valid = true
143 .valid = true
[all …]
/linux/drivers/acpi/
A Dthermal.c117 u8 valid:1; member
268 int valid = 0; in acpi_thermal_trips_update() local
333 valid = tz->trips.passive.flags.valid; in acpi_thermal_trips_update()
394 if (valid != tz->trips.passive.flags.valid) in acpi_thermal_trips_update()
401 valid = tz->trips.active[i].flags.valid; in acpi_thermal_trips_update()
457 if (valid != tz->trips.active[i].flags.valid) in acpi_thermal_trips_update()
485 valid = tz->trips.critical.flags.valid | in acpi_thermal_get_trip_points()
486 tz->trips.hot.flags.valid | in acpi_thermal_get_trip_points()
490 valid |= tz->trips.active[i].flags.valid; in acpi_thermal_get_trip_points()
492 if (!valid) { in acpi_thermal_get_trip_points()
[all …]
/linux/tools/testing/selftests/bpf/progs/
A Dtest_core_reloc_kernel.c20 int valid[10]; member
52 out->valid[0] = (((uint64_t)pid << 32) | tgid) == pid_tgid; in test_core_kernel()
55 out->valid[1] = BPF_CORE_READ(task, in test_core_kernel()
57 out->valid[2] = BPF_CORE_READ(task, in test_core_kernel()
60 out->valid[3] = BPF_CORE_READ(task, in test_core_kernel()
63 out->valid[4] = BPF_CORE_READ(task, in test_core_kernel()
66 out->valid[5] = BPF_CORE_READ(task, in test_core_kernel()
70 out->valid[6] = BPF_CORE_READ(task, in test_core_kernel()
74 out->valid[7] = BPF_CORE_READ(task, in test_core_kernel()
78 out->valid[8] = BPF_CORE_READ(task, in test_core_kernel()
[all …]
/linux/tools/testing/selftests/sync/
A 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()
A 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()
A 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()
A 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()
A 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/fs/nfs/
A Dinode.c419 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
535 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget()
539 if (fattr->valid & NFS_ATTR_FATTR_MTIME) in nfs_fhget()
543 if (fattr->valid & NFS_ATTR_FATTR_CTIME) in nfs_fhget()
551 if (fattr->valid & NFS_ATTR_FATTR_SIZE) in nfs_fhget()
555 if (fattr->valid & NFS_ATTR_FATTR_NLINK) in nfs_fhget()
559 if (fattr->valid & NFS_ATTR_FATTR_OWNER) in nfs_fhget()
563 if (fattr->valid & NFS_ATTR_FATTR_GROUP) in nfs_fhget()
742 if (fattr->valid & NFS_ATTR_FATTR_CTIME) in nfs_setattr_update_inode()
782 if (fattr->valid) in nfs_setattr_update_inode()
[all …]
/linux/drivers/tty/
A 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/drivers/net/ipa/
A Dipa_table.c182 bool valid; in ipa_table_valid() local
184 valid = ipa_table_valid_one(ipa, IPA_MEM_V4_FILTER, false); in ipa_table_valid()
185 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_FILTER, false); in ipa_table_valid()
186 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_ROUTE, true); in ipa_table_valid()
187 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_ROUTE, true); in ipa_table_valid()
190 return valid; in ipa_table_valid()
192 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_FILTER_HASHED, in ipa_table_valid()
194 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_FILTER_HASHED, in ipa_table_valid()
196 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V4_ROUTE_HASHED, in ipa_table_valid()
198 valid = valid && ipa_table_valid_one(ipa, IPA_MEM_V6_ROUTE_HASHED, in ipa_table_valid()
[all …]
/linux/scripts/kconfig/
A 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/fs/coda/
A 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/drivers/net/ethernet/apm/xgene/
A Dxgene_enet_cle.c210 .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,
342 .valid = 0,
[all …]
/linux/drivers/gpu/drm/amd/display/dc/clk_mgr/dcn21/
A Drn_clk_mgr.c634 .valid = true,
642 .valid = true,
650 .valid = true,
658 .valid = true,
671 .valid = true,
679 .valid = true,
687 .valid = true,
695 .valid = true,
708 .valid = true,
716 .valid = true,
[all …]
/linux/arch/sparc/kernel/
A 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/drivers/usb/dwc2/
A Ddrd.c34 static int dwc2_ovr_avalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_avalid() argument
39 if ((valid && (gotgctl & GOTGCTL_ASESVLD)) || in dwc2_ovr_avalid()
40 (!valid && !(gotgctl & GOTGCTL_ASESVLD))) in dwc2_ovr_avalid()
44 if (valid) in dwc2_ovr_avalid()
53 static int dwc2_ovr_bvalid(struct dwc2_hsotg *hsotg, bool valid) in dwc2_ovr_bvalid() argument
58 if ((valid && (gotgctl & GOTGCTL_BSESVLD)) || in dwc2_ovr_bvalid()
59 (!valid && !(gotgctl & GOTGCTL_BSESVLD))) in dwc2_ovr_bvalid()
63 if (valid) in dwc2_ovr_bvalid()
/linux/sound/usb/
A 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/drivers/gpu/drm/amd/display/dc/core/
A Ddc_link_enc_cfg.c88 if ((assignment.valid == true) && (assignment.eng_id == eng_id)) { in get_stream_using_link_enc()
114 if (assignment.valid && assignment.stream == stream) { in remove_link_enc_assignment()
145 .valid = true, in add_link_enc_assignment()
247 state->res_ctx.link_enc_cfg_ctx.link_enc_assignments[i].valid = false; in clear_enc_assignments()
426 if ((assignment.valid == true) && (assignment.eng_id == eng_id)) { in link_enc_cfg_get_stream_using_link_enc()
488 if (assignment.valid) in link_enc_cfg_get_next_avail_link_enc()
552 if (assignment.valid) in link_enc_cfg_validate()
565 if (assignment.valid) { in link_enc_cfg_validate()
577 if (assignment_i.valid) { in link_enc_cfg_validate()
588 if (assignment_j.valid) { in link_enc_cfg_validate()
[all …]
/linux/drivers/irqchip/
A Dirq-versatile-fpga.c45 u32 valid; member
135 if (!(f->valid & BIT(hwirq))) in fpga_irqdomain_map()
150 int parent_irq, u32 valid, struct device_node *node) in fpga_irq_init() argument
165 f->valid = valid; in fpga_irq_init()
173 f->domain = irq_domain_add_simple(node, fls(valid), irq_start, in fpga_irq_init()
177 for (i = 0; i < fls(valid); i++) in fpga_irq_init()
178 if (valid & BIT(i)) { in fpga_irq_init()
/linux/net/netlabel/
A 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/drivers/acpi/x86/
A Dapple.c31 unsigned long *valid = NULL; in acpi_extract_apple_properties() local
62 valid = bitmap_zalloc(numprops, GFP_KERNEL); in acpi_extract_apple_properties()
63 if (!valid) in acpi_extract_apple_properties()
76 __set_bit(i, valid); in acpi_extract_apple_properties()
82 numvalid = bitmap_weight(valid, numprops); in acpi_extract_apple_properties()
102 for_each_set_bit(i, valid, numprops) { in acpi_extract_apple_properties()
137 bitmap_free(valid); in acpi_extract_apple_properties()
/linux/arch/ia64/kernel/
A 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/Documentation/devicetree/bindings/interrupt-controller/
A Darm,vic.yaml42 valid-mask:
44 A one cell big bit mask of valid interrupt sources. Each bit
48 defaults to all valid.
51 valid-wakeup-mask:
55 valid-mask property. A set bit means that this interrupt source
77 valid-mask = <0xffffff7f>;
78 valid-wakeup-mask = <0x0000ff7f>;

Completed in 49 milliseconds

12345678910>>...54