Home
last modified time | relevance | path

Searched full:valid (Results 1 – 25 of 5113) sorted by relevance

12345678910>>...205

/linux/drivers/accel/habanalabs/include/gaudi/
H A 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/drivers/accel/habanalabs/include/gaudi2/
H A 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/tools/testing/selftests/damon/
H A Dsysfs.sh106 ensure_write_succ "$filter_dir/type" "anon" "valid input"
107 ensure_write_succ "$filter_dir/type" "memcg" "valid input"
108 ensure_write_succ "$filter_dir/type" "addr" "valid input"
109 ensure_write_succ "$filter_dir/type" "target" "valid input"
123 ensure_write_succ "$filters_dir/nr_filters" "1" "valid input"
126 ensure_write_succ "$filters_dir/nr_filters" "2" "valid input"
130 ensure_write_succ "$filters_dir/nr_filters" "0" "valid input"
169 ensure_write_succ "$goals_dir/nr_goals" "1" "valid input"
172 ensure_write_succ "$goals_dir/nr_goals" "2" "valid input"
176 ensure_write_succ "$goals_dir/nr_goals" "0" "valid inpu
[all...]
/linux/rust/kernel/
H A Dcpumask.rs25 /// A [`Cpumask`] instance always corresponds to a valid C `struct cpumask`.
27 /// The callers must ensure that the `struct cpumask` is valid for access and
28 /// remains valid for the lifetime of the returned reference.
40 /// // SAFETY: The `ptr` is valid for writing and remains valid for the lifetime of the
56 /// The caller must ensure that `ptr` is valid for writing and remains valid for the lifetime
61 // INVARIANT: The caller ensures that `ptr` is valid for writing and remains valid for the in as_mut_ref()
70 /// The caller must ensure that `ptr` is valid for reading and remains valid for the lifetime
75 // INVARIANT: The caller ensures that `ptr` is valid for reading and remains valid for the in as_ref()
93 // SAFETY: By the type invariant, `self.as_raw` is a valid argument to `__cpumask_set_cpu`. in set()
104 // SAFETY: By the type invariant, `self.as_raw` is a valid argument to in clear()
[all …]
H A Dcpufreq.rs61 /// Ensure CPU starts at a valid frequency from the driver's freq-table.
126 /// A [`PolicyData`] instance always corresponds to a valid C `struct cpufreq_policy_data`.
128 /// The callers must ensure that the `struct cpufreq_policy_data` is valid for access and remains
129 /// valid for the lifetime of the returned reference.
138 /// The caller must ensure that `ptr` is valid for writing and remains valid for the lifetime
144 // INVARIANT: The caller ensures that `ptr` is valid for writing and remains valid for the in from_raw_mut()
159 // SAFETY: By the type invariant, the pointer stored in `self` is valid. in generic_verify()
170 /// The index must correspond to a valid entry in the [`Table`] it is used for.
179 /// The caller must ensure that `index` correspond to a valid entry in the [`Table`] it is used
182 // INVARIANT: The caller ensures that `index` correspond to a valid entry in the [`Table`]. in new()
[all …]
H A Dpci.rs29 // SAFETY: A call to `unregister` for a given instance of `RegType` is guaranteed to be valid if
47 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in register()
54 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in unregister()
64 // SAFETY: The PCI bus only ever calls the probe callback with a valid pointer to a in probe_callback()
67 // INVARIANT: `pdev` is valid for the duration of `probe_callback()`. in probe_callback()
84 // SAFETY: The PCI bus only ever calls the remove callback with a valid pointer to a in remove_callback()
87 // INVARIANT: `pdev` is valid for the duration of `remove_callback()`. in remove_callback()
270 /// A [`Device`] instance represents a valid `struct pci_dev` created by the C portion of the
282 /// `Bar` always holds an `IoRaw` inststance that holds a valid pointer to the start of the I/O
301 // `pdev` is valid by the invariants of `Device`. in new()
[all …]
H A Dcpu.rs18 // SAFETY: `nr_cpu_ids` is a valid global provided by the kernel. in nr_cpu_ids()
39 /// // SAFETY: 0 is always a valid CPU number.
54 /// The caller must ensure that `id` is a valid CPU ID (i.e., `0 <= id < nr_cpu_ids()`).
60 // INVARIANT: The function safety guarantees `id` is a valid CPU id. in from_i32_unchecked()
64 /// Creates a new [`CpuId`] from the given `id`, checking that it is valid.
69 // INVARIANT: `id` has just been checked as a valid CPU ID. in from_i32()
78 /// The caller must ensure that `id` is a valid CPU ID (i.e., `0 <= id < nr_cpu_ids()`).
86 // INVARIANT: The function safety guarantees `id` is a valid CPU id. in from_u32_unchecked()
90 /// Creates a new [`CpuId`] from the given `id`, checking that it is valid.
95 // INVARIANT: `id` has just been checked as a valid CPU ID. in from_u32()
[all …]
H A Dplatform.rs27 // SAFETY: A call to `unregister` for a given instance of `RegType` is guaranteed to be valid if
56 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in register()
61 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in unregister()
68 // SAFETY: The platform bus only ever calls the probe callback with a valid pointer to a in probe_callback()
71 // INVARIANT: `pdev` is valid for the duration of `probe_callback()`. in probe_callback()
84 // SAFETY: The platform bus only ever calls the remove callback with a valid pointer to a in remove_callback()
87 // INVARIANT: `pdev` is valid for the duration of `probe_callback()`. in remove_callback()
218 /// A [`Device`] instance represents a valid `struct platform_device` created by the C portion of
233 // SAFETY: `self.as_raw()` returns a valid pointer to a `struct platform_device`. in resource_by_index()
242 // SAFETY: `resource` is a valid pointer to a `struct resource` as in resource_by_index()
[all …]
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/monaka/
H A Dpipeline.json5 "BriefDescription": "This event counts valid cycles of EAGA pipeline."
10 "BriefDescription": "This event counts valid cycles of EAGB pipeline."
15 "BriefDescription": "This event counts valid cycles of PRX pipeline."
20 "BriefDescription": "This event counts valid cycles of EXA pipeline."
25 "BriefDescription": "This event counts valid cycles of EXB pipeline."
30 "BriefDescription": "This event counts valid cycles of EXC pipeline."
35 "BriefDescription": "This event counts valid cycles of EXD pipeline."
40 "BriefDescription": "This event counts valid cycles of FLA pipeline."
45 "BriefDescription": "This event counts valid cycles of FLB pipeline."
50 "BriefDescription": "This event counts valid cycles of STEA pipeline."
[all …]
/linux/drivers/hid/
H A Dhid-uclogic-params.h59 * report is equal to "value". Only valid if "value" is not zero.
85 * Only valid, if "desc_ptr" is not NULL.
90 /* The list of subreports, only valid if "id" is not zero */
92 /* Type of in-range reporting, only valid if "id" is not zero */
97 * Only valid if "id" is not zero.
103 * Only valid if "id" is not zero.
124 * Only valid, if "desc_ptr" is not NULL.
138 * byte boundary. Zero if not present. Only valid if "id" is not zero.
146 * the latter is valid. Only valid if "id" is not zero.
151 * Zero if not present. If dev_id_byte is also valid and non-zero,
[all …]
/linux/arch/s390/include/asm/
H A Dscsw.h391 * valid, zero otherwise.
403 * valid, zero otherwise.
415 * valid, zero otherwise.
427 * valid, zero otherwise.
440 * valid, zero otherwise.
452 * valid, zero otherwise.
464 * valid, zero otherwise.
476 * valid, zero otherwise.
488 * valid, zero otherwise.
500 * valid, zero otherwise.
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-power10 Valid values: Represented as string
19 Valid values: Represented as string
28 Valid values: Represented as string
37 Valid values: "Battery", "UPS", "Mains", "USB", "Wireless"
60 Valid values: Represented in microamps. Negative values are
77 Valid values: Represented in microamps
100 Valid values: Represented in microamps. Negative values are
120 Valid values: Represented in 1/10 Degrees Celsius
144 Valid values: Represented in 1/10 Degrees Celsius
169 Valid values: Represented in 1/10 Degrees Celsius
[all …]
/linux/tools/perf/pmu-events/arch/arm64/fujitsu/a64fx/
H A Dpipeline.json9 "PublicDescription": "This event counts valid cycles of EAGA pipeline.",
12 "BriefDescription": "This event counts valid cycles of EAGA pipeline."
15 "PublicDescription": "This event counts valid cycles of EAGB pipeline.",
18 "BriefDescription": "This event counts valid cycles of EAGB pipeline."
21 "PublicDescription": "This event counts valid cycles of EXA pipeline.",
24 "BriefDescription": "This event counts valid cycles of EXA pipeline."
27 "PublicDescription": "This event counts valid cycles of EXB pipeline.",
30 "BriefDescription": "This event counts valid cycles of EXB pipeline."
33 "PublicDescription": "This event counts valid cycles of FLA pipeline.",
36 "BriefDescription": "This event counts valid cycles of FLA pipeline."
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen2/
H A Dother.json28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
82 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen3/
H A Dother.json22 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T…
28 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T…
34 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T…
40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T…
46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T…
58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T…
64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a T…
70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
[all …]
/linux/drivers/comedi/drivers/
H A Dni_routes.h47 * @n_route_sets: Number of route sets that are valid for this device.
48 * @routes: List of route sets that are valid for this device.
57 * struct ni_route_tables - Register values and valid routes for a device.
58 * @valid_routes: Pointer to a all valid route sets for a single device.
62 * Link to the valid src->dest routes and the register values used to assign
129 * cases given above; Otherwise, -1 if the specified route is not valid for
142 * without checking whether the route is valid for
148 * Return: -EINVAL if the specified route is not valid for this device family.
155 * is valid for the given NI comedi_device.
160 * Return: True if the route is valid, otherwise false.
[all …]
/linux/tools/testing/selftests/bpf/progs/
H A 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/drivers/net/wireless/ath/ath12k/
H A Drx_desc.h241 * Field only valid when for the received frame type the corresponding
245 * Field only valid when for the received frame type the corresponding
309 * Field only valid when AST_based_lookup_valid == 1.
332 * Field only valid when key_type is set to wep_varied_width.
340 * Field only valid when bssid_hit is set.
345 * Field only valid when mpdu_qos_control_valid is set
377 * When set, AST based lookup for this frame has found a valid
402 * When set, the field Mpdu_Frame_control_field has valid information
405 * When set, the field Mpdu_duration_field has valid information
408 * When set, the fields mac_addr_adx_..... have valid information
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/mvm/tests/
H A Dlinks.c253 bool valid; member
256 .desc = "HB + UHB, valid.",
259 .valid = true,
265 .valid = true,
272 .valid = false,
278 .valid = false,
286 .valid = false,
295 .valid = true,
304 .valid = false,
313 .valid = true,
[all …]
/linux/include/uapi/linux/
H A Ddpll.h14 * dpll selects one of its inputs to syntonize with it, valid values for
30 * valid values for DPLL_A_LOCK_STATUS attribute
31 * @DPLL_LOCK_STATUS_UNLOCKED: dpll was not yet locked to any valid input (or
33 * @DPLL_LOCK_STATUS_LOCKED: dpll is locked to a valid signal, but no holdover
36 * @DPLL_LOCK_STATUS_HOLDOVER: dpll is in holdover state - lost a valid lock or
55 * failure, this provides information of dpll device lock status error. Valid
108 * enum dpll_type - type of dpll, valid values for DPLL_A_TYPE attribute
122 * enum dpll_pin_type - defines possible types of a pin, valid values for
143 * enum dpll_pin_direction - defines possible direction of a pin, valid values
163 * enum dpll_pin_state - defines possible states of a pin, valid values for
[all …]
/linux/tools/testing/selftests/sync/
H 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()
/linux/fs/nfs/
H A Dinode.c366 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
418 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup()
419 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
465 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget()
467 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget()
490 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget()
508 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget()
509 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget()
510 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget()
538 if (fattr->valid & NFS_ATTR_FATTR_ATIME) in nfs_fhget()
[all …]
/linux/tools/perf/pmu-events/arch/x86/amdzen1/
H A Dother.json17 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
23 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
29 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
35 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
41 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
47 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
53 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to a t…
/linux/rust/kernel/device/
H A Dproperty.rs28 /// A `FwNode` instance represents a valid `struct fwnode_handle` created by the
32 /// `fwnode_handle_get` ensures that the allocation remains valid at least until
67 // valid `struct fwnode_handle`. in is_of_node()
81 // SAFETY: `self` is valid by its type invariant. in display_name()
87 // - `fwnode_get_name` returns null or a valid C string. in display_name()
107 // - `self.as_raw()` is valid because `self` is valid. in property_read_bool()
116 // - `self.as_raw` is valid because `self` is valid. in property_match_string()
203 // SAFETY: `self` and `name` are valid by their type invariants. in get_child_by_name()
234 // - `self.as_raw()` is valid by its type invariant. in children()
236 // getting the first child. Otherwise, `prev_ptr` is valid, as it in children()
[all …]
/linux/tools/testing/selftests/tc-testing/tc-tests/actions/
H A Dife.json4 "name": "Create valid ife encode action with mark and pass control",
31 "name": "Create valid ife encode action with mark and pipe control",
58 "name": "Create valid ife encode action with mark and continue control",
85 "name": "Create valid ife encode action with mark and drop control",
112 "name": "Create valid ife encode action with mark and reclassify control",
139 "name": "Create valid ife encode action with mark and jump control",
166 "name": "Create valid ife encode action with mark value at 32-bit maximum",
218 "name": "Create valid ife encode action with prio and pass control",
245 "name": "Create valid ife encode action with prio and pipe control",
272 "name": "Create valid ife encode action with prio and continue control",
[all …]

12345678910>>...205