Home
last modified time | relevance | path

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

12345678910>>...176

/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.sh113 ensure_write_succ "$dests_dir/nr_dests" "1" "valid input"
116 ensure_write_succ "$dests_dir/nr_dests" "2" "valid input"
120 ensure_write_succ "$dests_dir/nr_dests" "0" "valid input"
133 ensure_write_succ "$filter_dir/type" "anon" "valid input"
134 ensure_write_succ "$filter_dir/type" "memcg" "valid input"
138 ensure_write_succ "$filter_dir/type" "addr" "valid input"
139 ensure_write_succ "$filter_dir/type" "target" "valid input"
164 ensure_write_succ "$filters_dir/nr_filters" "1" "valid input"
167 ensure_write_succ "$filters_dir/nr_filters" "2" "valid input"
171 ensure_write_succ "$filters_dir/nr_filters" "0" "valid inpu
[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/rust/kernel/
H A Dcpufreq.rs69 /// Ensure CPU starts at a valid frequency from the driver's freq-table.
134 /// A [`PolicyData`] instance always corresponds to a valid C `struct cpufreq_policy_data`.
136 /// The callers must ensure that the `struct cpufreq_policy_data` is valid for access and remains
137 /// valid for the lifetime of the returned reference.
146 /// The caller must ensure that `ptr` is valid for writing and remains valid for the lifetime in from_raw_mut()
152 // INVARIANT: The caller ensures that `ptr` is valid for writing and remains valid for the in as_raw()
167 // SAFETY: By the type invariant, the pointer stored in `self` is valid.
178 /// The index must correspond to a valid entr
[all...]
H A Dscatterlist.rs67 /// Callers must ensure that the `struct scatterlist` pointed to by `ptr` is valid for the
71 // SAFETY: The safety requirements of this function guarantee that `ptr` is a valid pointer in from_raw()
87 // SAFETY: `self.as_raw()` is a valid pointer to a `struct scatterlist`. in dma_address()
94 // SAFETY: `self.as_raw()` is a valid pointer to a `struct scatterlist`. in dma_len()
141 /// - the `struct sg_table` pointed to by `ptr` is valid for the entire lifetime of `'a`,
145 // SAFETY: The safety requirements of this function guarantee that `ptr` is a valid pointer in from_raw()
157 // SAFETY: `self.as_raw()` is a valid pointer to a `struct sg_table`. in iter()
161 // SAFETY: `self.as_raw()` is a valid pointer to a `struct sg_table`. in iter()
164 // SAFETY: `ptr` is guaranteed to be a valid pointer to a `struct scatterlist`. in iter()
180 /// - `sgt` is a valid pointe
[all...]
H A Dpci.rs82 // SAFETY: A call to `unregister` for a given instance of `DriverType` is guaranteed to be valid if in register()
98 // SAFETY: `pdrv` is guaranteed to be a valid `DriverType`.
105 // SAFETY: `pdrv` is guaranteed to be a valid `DriverType`. in probe_callback()
115 // SAFETY: The PCI bus only ever calls the probe callback with a valid pointer to a in probe_callback()
118 // INVARIANT: `pdev` is valid for the duration of `probe_callback()`. in probe_callback()
139 // SAFETY: The PCI bus only ever calls the remove callback with a valid pointer to a
142 // INVARIANT: `pdev` is valid for the duration of `remove_callback()`.
346 /// A [`Device`] instance represents a valid `struct pci_dev` created by the C portion of the in as_raw()
382 // SAFETY: `self.as_raw` is a valid pointer to a `struct pci_dev`. in device_id()
390 // SAFETY: By its type invariant `self.as_raw` is always a valid pointe in revision_id()
[all...]
H A Drbtree.rs170 /// valid, and pointing to a field of our internal representation of a node.
205 // - `self.root` is a valid pointer to a tree root. in iter()
206 // - `bindings::rb_first` produces a valid pointer to a node given `root` is valid. in iter()
208 // SAFETY: by the invariants, all pointers are valid. in iter()
220 // - `self.root` is a valid pointer to a tree root. in iter_mut()
221 // - `bindings::rb_first` produces a valid pointer to a node given `root` is valid. in iter_mut()
223 // SAFETY: by the invariants, all pointers are valid. in iter_mut()
248 // SAFETY: `self.root` is always a valid roo in cursor_front_mut()
[all...]
H A Dplatform.rs57 // SAFETY: A call to `unregister` for a given instance of `DriverType` is guaranteed to be valid if
84 // SAFETY: `pdrv` is guaranteed to be a valid `DriverType`. in register()
91 // SAFETY: `pdrv` is guaranteed to be a valid `DriverType`. in unregister()
98 // SAFETY: The platform bus only ever calls the probe callback with a valid pointer to a in probe_callback()
101 // INVARIANT: `pdev` is valid for the duration of `probe_callback()`. in probe_callback()
115 // SAFETY: The platform bus only ever calls the remove callback with a valid pointer to a in remove_callback()
118 // INVARIANT: `pdev` is valid for the duration of `remove_callback()`. in remove_callback()
258 /// A [`Device`] instance represents a valid `struct platform_device` created by the C portion of
273 // SAFETY: `self.as_raw()` returns a valid pointer to a `struct platform_device`. in resource_by_index()
282 // SAFETY: `resource` is a valid pointer to a `struct resource` as in resource_by_index()
[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/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/tools/perf/pmu-events/arch/x86/amdzen6/
H A Ddecode.json40 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to int…
46 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to loa…
52 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to sto…
58 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to tak…
64 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to flo…
70 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una…
76 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una…
82 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una…
88 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una…
94 …"BriefDescription": "Cycles where a dispatch group is valid but does not get dispatched due to una…
[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/rust/kernel/alloc/
H A Dallocator.rs92 /// - it accepts any pointer to a valid memory allocation allocated by this function. in call()
93 /// - memory allocated by this function remains valid until it is passed to this function. in call()
117 // `ptr` is NULL or valid. in call()
118 // - `ptr` is either NULL or valid by the safety requirements of this function. in call()
150 // - memory remains valid until it is explicitly freed, in realloc()
151 // - passing a pointer to a valid memory allocation is OK, in realloc()
191 /// // `ptr` is a valid pointer to a `Vmalloc` allocation. in to_page()
192 /// // `ptr` is valid for the entire lifetime of `page`. in to_page()
203 /// - `ptr` must be a valid pointer to a [`Vmalloc`] allocation. in to_page()
204 /// - `ptr` must remain valid fo in to_page()
[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 …]
H A Dget_func_args_test.c53 /* valid arguments */ in BPF_PROG()
66 /* not valid argument */ in BPF_PROG()
86 /* valid arguments */ in BPF_PROG()
93 /* not valid argument */ in BPF_PROG()
114 /* valid arguments */ in BPF_PROG()
121 /* not valid argument */ in BPF_PROG()
143 /* valid arguments */ in BPF_PROG()
150 /* not valid argument */ in BPF_PROG()
173 /* not valid argument */ in BPF_PROG()
190 /* valid argument in BPF_PROG()
[all...]
/linux/rust/kernel/drm/
H A Ddevice.rs220 // - `alloc_vtable` reference remains valid until no longer used,
221 // - `dev` is valid by its type invarants,
233 // SAFETY: `raw_drm` is a valid pointer to `Self`, given that `__drm_dev_alloc` was in inc_ref()
237 // SAFETY: `raw_drm` is a valid pointer to `Self`. in dec_ref()
241 // - `raw_data` is a valid pointer to uninitialized memory. in dec_ref()
244 // SAFETY: `__drm_dev_alloc()` was successful, hence `drm_dev` must be valid and the
252 // SAFETY: `raw_drm` is valid; no concurrent access before registration.
271 /// * `self.dev` is a valid instance of a `struct device`.
289 /// `ptr` must be a valid pointer to a `struct device` embedded in `Self`. in raw_get_work()
291 // SAFETY: By the safety requirements of this function `ptr` is a valid pointe in raw_get_work()
[all...]
/linux/drivers/net/wireless/ath/ath12k/wifi7/
H A Dhal_rx_desc.h266 * Field only valid when for the received frame type the corresponding
270 * Field only valid when for the received frame type the corresponding
334 * Field only valid when AST_based_lookup_valid == 1.
357 * Field only valid when key_type is set to wep_varied_width.
365 * Field only valid when bssid_hit is set.
370 * Field only valid when mpdu_qos_control_valid is set
402 * When set, AST based lookup for this frame has found a valid
427 * When set, the field Mpdu_Frame_control_field has valid information
430 * When set, the field Mpdu_duration_field has valid information
433 * When set, the fields mac_addr_adx_..... have valid information
[all …]
/linux/include/uapi/linux/
H A Ddpll.h15 * dpll selects one of its inputs to syntonize with it, valid values for
31 * valid values for DPLL_A_LOCK_STATUS attribute
32 * @DPLL_LOCK_STATUS_UNLOCKED: dpll was not yet locked to any valid input
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
124 * enum dpll_pin_type - defines possible types of a pin, valid values for
149 * enum dpll_pin_direction - defines possible direction of a pin, valid values
169 * enum dpll_pin_state - defines possible states of a pin, valid value
[all...]
/linux/rust/kernel/debugfs/
H A Dfile_ops.rs92 // SAFETY: The caller ensures that `inode` is a valid pointer. in writer_open()
98 // * The `data` pointer passed in the third argument is a valid `T` pointer that outlives
107 /// `seq` must point to a live `seq_file` whose private data is a valid pointer to a `T` which may in writer_act()
113 // SAFETY: By caller precondition, this pointer is valid pointer to a `T`, and in writer_act()
157 /// `file` must be a valid pointer to a `file` struct. in write()
158 /// The `private_data` of the file must contain a valid pointer to a `seq_file` whose in write()
160 /// `buf` must be a valid user-space buffer. in write()
203 /// `inode` must be a valid pointer to an `inode` struct. in write_only_open()
204 /// `file` must be a valid pointer to a `file` struct. in write_only_open()
209 // SAFETY: The caller ensures that `inode` and `file` are valid pointer in write_only_open()
[all...]
/linux/fs/nfs/
H A Dinode.c351 if ((fattr->valid & NFS_ATTR_FATTR_V4_SECURITY_LABEL) && inode->i_security) { in nfs_setsecurity()
403 if (!(fattr->valid & NFS_ATTR_FATTR_FILEID) || in nfs_ilookup()
404 !(fattr->valid & NFS_ATTR_FATTR_TYPE)) in nfs_ilookup()
450 else if ((fattr->valid & NFS_ATTR_FATTR_FILEID) == 0) in nfs_fhget()
452 if ((fattr->valid & NFS_ATTR_FATTR_TYPE) == 0) in nfs_fhget()
471 if ((fattr->valid & NFS_ATTR_FATTR_MODE) == 0 in nfs_fhget()
489 if (fattr->valid & NFS_ATTR_FATTR_MOUNTPOINT || in nfs_fhget()
490 fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) { in nfs_fhget()
491 if (fattr->valid & NFS_ATTR_FATTR_V4_REFERRAL) in nfs_fhget()
520 if (fattr->valid in nfs_fhget()
[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/rust/kernel/sync/
H A Dsrcu.rs39 /// This represents a valid `struct srcu_struct` initialized by the C SRCU API
40 /// and it remains pinned and valid until the pinned destructor runs.
53 // INVARIANT: On success, the C initializer creates a valid `srcu_struct` and in new()
56 // SAFETY: `ptr` points to valid uninitialised memory for a `srcu_struct`. in new()
70 // SAFETY: By the type invariants, `self` contains a valid `struct srcu_struct`. in read_lock()
84 // SAFETY: By the type invariants, `self` contains a valid `struct srcu_struct`. in synchronize()
96 // SAFETY: By the type invariants, `self` contains a valid `struct srcu_struct`. in synchronize_expedited()
107 … // SAFETY: By the type invariants, `self` contains a valid and pinned `struct srcu_struct` in drop()
124 // SAFETY: By the type invariants, `self` contains a valid and pinned in drop()
130 // SAFETY: By the type invariants, `self` contains a valid and pinned `struct srcu_struct`. in drop()
[all …]

12345678910>>...176