Home
last modified time | relevance | path

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

12345678910>>...68

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/
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 …]
/kernel/linux/linux-5.10/drivers/acpi/
Dthermal.c120 u8 valid:1; member
270 int valid = 0; in acpi_thermal_trips_update() local
285 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
291 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
293 tz->trips.critical.flags.valid = 1; in acpi_thermal_trips_update()
298 if (tz->trips.critical.flags.valid == 1) { in acpi_thermal_trips_update()
300 tz->trips.critical.flags.valid = 0; in acpi_thermal_trips_update()
320 tz->trips.hot.flags.valid = 0; in acpi_thermal_trips_update()
325 tz->trips.hot.flags.valid = 1; in acpi_thermal_trips_update()
333 if (((flag & ACPI_TRIPS_PASSIVE) && tz->trips.passive.flags.valid) || in acpi_thermal_trips_update()
[all …]
/kernel/linux/linux-5.10/fs/nfs/
Dinode.c362 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
419 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup()
420 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
448 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget()
450 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget()
473 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget()
488 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget()
489 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget()
490 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget()
518 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget()
[all …]
/kernel/linux/linux-5.10/drivers/ide/
Dide-io-std.c90 void ide_tf_load(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) in ide_tf_load() argument
102 if (valid & IDE_VALID_FEATURE) in ide_tf_load()
104 if (valid & IDE_VALID_NSECT) in ide_tf_load()
106 if (valid & IDE_VALID_LBAL) in ide_tf_load()
108 if (valid & IDE_VALID_LBAM) in ide_tf_load()
110 if (valid & IDE_VALID_LBAH) in ide_tf_load()
112 if (valid & IDE_VALID_DEVICE) in ide_tf_load()
117 void ide_tf_read(ide_drive_t *drive, struct ide_taskfile *tf, u8 valid) in ide_tf_read() argument
129 if (valid & IDE_VALID_ERROR) in ide_tf_read()
131 if (valid & IDE_VALID_NSECT) in ide_tf_read()
[all …]
Dide-taskfile.c37 tp_ops->tf_read(drive, &cmd->tf, cmd->valid.in.tf); in ide_tf_readback()
42 tp_ops->tf_read(drive, &cmd->hob, cmd->valid.in.hob); in ide_tf_readback()
69 cmd.valid.out.tf = IDE_VALID_OUT_TF | IDE_VALID_DEVICE; in taskfile_lib_get_identify()
70 cmd.valid.in.tf = IDE_VALID_IN_TF | IDE_VALID_DEVICE; in taskfile_lib_get_identify()
111 if (cmd->valid.out.tf & IDE_VALID_DEVICE) { in do_rw_taskfile()
120 tp_ops->tf_load(drive, &cmd->hob, cmd->valid.out.hob); in do_rw_taskfile()
121 tp_ops->tf_load(drive, &cmd->tf, cmd->valid.out.tf); in do_rw_taskfile()
520 cmd.valid.out.tf = IDE_VALID_DEVICE; in ide_taskfile_ioctl()
521 cmd.valid.in.tf = IDE_VALID_DEVICE | IDE_VALID_IN_TF; in ide_taskfile_ioctl()
526 cmd.valid.in.hob = IDE_VALID_IN_HOB; in ide_taskfile_ioctl()
[all …]
/kernel/linux/linux-5.10/drivers/tty/
Dtty_audit.c18 size_t valid; member
44 buf->valid = 0; in tty_audit_buf_alloc()
55 WARN_ON(buf->valid != 0); in tty_audit_buf_free()
92 if (buf->valid == 0) in tty_audit_buf_push()
95 buf->valid = 0; in tty_audit_buf_push()
98 tty_audit_log("tty", buf->dev, buf->data, buf->valid); in tty_audit_buf_push()
99 buf->valid = 0; in tty_audit_buf_push()
236 run = N_TTY_BUF_SIZE - buf->valid; in tty_audit_add_data()
239 memcpy(buf->data + buf->valid, data, run); in tty_audit_add_data()
240 buf->valid += run; in tty_audit_add_data()
[all …]
/kernel/linux/linux-5.10/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]+//;
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ipa/
Dipa_table.c198 bool valid = true; in ipa_table_valid() local
200 valid = valid && ipa_table_valid_one(ipa, false, false, false); in ipa_table_valid()
201 valid = valid && ipa_table_valid_one(ipa, false, false, true); in ipa_table_valid()
202 valid = valid && ipa_table_valid_one(ipa, false, true, false); in ipa_table_valid()
203 valid = valid && ipa_table_valid_one(ipa, false, true, true); in ipa_table_valid()
204 valid = valid && ipa_table_valid_one(ipa, true, false, false); in ipa_table_valid()
205 valid = valid && ipa_table_valid_one(ipa, true, false, true); in ipa_table_valid()
206 valid = valid && ipa_table_valid_one(ipa, true, true, false); in ipa_table_valid()
207 valid = valid && ipa_table_valid_one(ipa, true, true, true); in ipa_table_valid()
209 return valid; in ipa_table_valid()
/kernel/linux/linux-5.10/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);
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/drivers/usb/dwc2/
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/irqchip/
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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/acpi/x86/
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()
/kernel/linux/linux-5.10/Documentation/devicetree/bindings/interrupt-controller/
Darm,vic.txt21 - valid-mask : A one cell big bit mask of valid interrupt sources. Each bit
24 clear means otherwise. If unspecified, defaults to all valid.
25 - valid-wakeup-mask : A one cell big bit mask of interrupt sources that can be
27 valid-mask property. A set bit means that this interrupt source can be
39 valid-mask = <0xffffff7f>;
40 valid-wakeup-mask = <0x0000ff7f>;
/kernel/linux/linux-5.10/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>>...68