Home
last modified time | relevance | path

Searched full:lifetime (Results 1 – 25 of 439) sorted by relevance

12345678910>>...18

/linux/rust/syn/
H A Dlifetime.rs10 /// A Rust lifetime: `'a`.
12 /// Lifetime names must conform to the following rules:
20 pub struct Lifetime { struct
25 impl Lifetime { implementation
28 /// Panics if the lifetime does not conform to the bulleted rules above.
34 /// # use syn::Lifetime;
36 /// # fn f() -> Lifetime {
37 /// Lifetime::new("'a", Span::call_site())
43 "lifetime name must start with apostrophe as in \"'a\", got {:?}", in new()
49 panic!("lifetime name must not be empty"); in new()
[all …]
H A Dgenerics.rs6 use crate::lifetime::Lifetime;
37 /// A generic type parameter, lifetime, or const generic: `T: Into<String>`,
47 /// A lifetime parameter: `'a: 'b + 'c + 'd`.
48 Lifetime(LifetimeParam),
59 /// A lifetime definition: `'a: 'b + 'c + 'd`.
63 pub lifetime: Lifetime,
65 pub bounds: Punctuated<Lifetime, Token![+]>,
109 /// Iterator over the lifetime parameters in `self.params`.
116 /// Iterator over the lifetime parameters in `self.params`.
193 if let GenericParam::Lifetime(lifetime) = self.0.next()? { in next()
[all …]
H A Dty.rs7 use crate::lifetime::Lifetime;
36 /// a lifetime.
65 /// trait or a lifetime.
131 /// a lifetime.
198 pub lifetime: Option<Lifetime>,
215 /// trait or a lifetime.
282 use crate::lifetime::Lifetime;
390 if content.peek(Lifetime) { in ambig_ty()
469 other @ (TypeParamBound::Lifetime(_) in ambig_ty()
549 || input.peek(Lifetime) in ambig_ty()
[all …]
H A Dpath.rs8 use crate::lifetime::Lifetime;
178 /// A lifetime argument.
179 Lifetime(Lifetime),
295 use crate::lifetime::Lifetime;
320 if input.peek(Lifetime) && !input.peek2(Token![+]) { in parse()
321 return Ok(GenericArgument::Lifetime(input.parse()?)); in parse()
782 GenericArgument::Lifetime(lt) => lt.to_tokens(tokens), in to_tokens()
818 GenericArgument::Lifetime(_) => { in print_angle_bracketed_generic_arguments()
842 GenericArgument::Lifetime(_) => {} in print_angle_bracketed_generic_arguments()
H A Dlookahead.rs29 /// use syn::{ConstParam, Ident, Lifetime, LifetimeParam, Result, Token, TypeParam};
39 /// // error: expected one of: identifier, lifetime, `const`
45 /// Lifetime(LifetimeParam),
54 /// } else if lookahead.peek(Lifetime) {
55 /// input.parse().map(GenericParam::Lifetime)
103 /// - `input.peek(Lifetime)`
H A Dbuffer.rs10 use crate::Lifetime;
221 /// If the cursor is pointing at a `Lifetime`, returns it along with a
223 pub fn lifetime(mut self) -> Option<(Lifetime, Cursor<'a>)> { in lifetime() argument
229 let lifetime = Lifetime { in lifetime() localVariable
233 Some((lifetime, rest)) in lifetime()
/linux/Documentation/ABI/stable/
H A Dsysfs-bus-firewire7 Read-only. Mutable during the node device's lifetime.
26 Read-only. Mutable during the node device's lifetime.
60 Read-only. Immutable during the unit device's lifetime.
78 Read-only. Mutable during the node device's lifetime.
79 Immutable during the unit device's lifetime.
126 Read-only attribute, immutable during the target's lifetime.
/linux/rust/kernel/
H A Dcpufreq.rs128 /// valid for the lifetime of the returned reference.
137 /// The caller must ensure that `ptr` is valid for writing and remains valid for the lifetime
144 // lifetime of the returned reference. in from_raw_mut()
202 /// remains valid for the lifetime of the returned reference.
231 /// The caller must ensure that `ptr` is valid for reading and remains valid for the lifetime
238 // lifetime of the returned reference. in from_raw()
395 /// for the lifetime of the returned reference.
422 /// The caller must ensure that `ptr` is valid for reading and remains valid for the lifetime
429 // lifetime of the returned reference. in from_raw()
437 /// The caller must ensure that `ptr` is valid for writing and remains valid for the lifetime
[all …]
H A Dscatterlist.rs68 /// lifetime `'a`.
121 /// - [`SGTable<Borrowed>`} (or simply [`SGTable`]): Represents a table whose lifetime is managed
123 /// external lifetime.
142 /// - the `struct sg_table` pointed to by `ptr` is valid for the entire lifetime of `'a`,
156 /// Returns an [`SGTableIter`] bound to the lifetime of `self`. in iter()
181 /// - `sgt` is a valid pointer to a `struct sg_table` for the entire lifetime of the
199 /// - `sgt` must be a valid pointer to a `struct sg_table` for the entire lifetime of the
201 /// - The caller must guarantee that `sgt` remains DMA mapped for the entire lifetime of
217 // valid for the entire lifetime of this object instance. in new()
259 /// - The pages pointed to by `pages` must remain valid for the entire lifetime o
[all...]
/linux/net/key/
H A Daf_key.c766 struct sadb_lifetime *lifetime; in __pfkey_xfrm_state2msg() local
785 /* base, SA, (lifetime (HSC),) address(SD), (address(P),) in __pfkey_xfrm_state2msg()
882 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
883 lifetime->sadb_lifetime_len = in __pfkey_xfrm_state2msg()
885 lifetime->sadb_lifetime_exttype = SADB_EXT_LIFETIME_HARD; in __pfkey_xfrm_state2msg()
886 lifetime->sadb_lifetime_allocations = _X2KEY(x->lft.hard_packet_limit); in __pfkey_xfrm_state2msg()
887 lifetime->sadb_lifetime_bytes = _X2KEY(x->lft.hard_byte_limit); in __pfkey_xfrm_state2msg()
888 lifetime->sadb_lifetime_addtime = x->lft.hard_add_expires_seconds; in __pfkey_xfrm_state2msg()
889 lifetime->sadb_lifetime_usetime = x->lft.hard_use_expires_seconds; in __pfkey_xfrm_state2msg()
893 lifetime = skb_put(skb, sizeof(struct sadb_lifetime)); in __pfkey_xfrm_state2msg()
[all …]
/linux/net/rxrpc/
H A Drxgk_kdf.c211 unsigned long lifetime; in rxgk_generate_transport_key() local
249 if (key->lifetime) { in rxgk_generate_transport_key()
250 lifetime = min_t(u64, key->lifetime, INT_MAX / HZ); in rxgk_generate_transport_key()
251 lifetime *= HZ; in rxgk_generate_transport_key()
253 lifetime = MAX_JIFFY_OFFSET; in rxgk_generate_transport_key()
255 gk->expiry = jiffies + lifetime; in rxgk_generate_transport_key()
/linux/Documentation/bpf/
H A Dgraph_ds_impl.rst101 program has ownership of the pointee's (object pointed to by ``n``) lifetime.
163 * This reference controls the lifetime of the pointee
179 * No explicit control of lifetime, but can infer valid lifetime based on
202 the tree has control of the pointee's lifetime. Similarly, any ref to a node
/linux/drivers/gpu/drm/bridge/
H A Dpanel.c331 /* TODO remove this after reworking panel_bridge lifetime */ in drm_panel_bridge_remove()
370 * @dev: device to tie the bridge lifetime to
390 * @dev: device to tie the bridge lifetime to
437 * @drm: DRM device to tie the bridge lifetime to
485 * @dev: device to tie the bridge lifetime to
519 * @drm: device to tie the bridge lifetime to
/linux/net/mac80211/
H A Dmesh_hwmp.c105 u32 lifetime, u32 metric, u32 preq_id, in mesh_path_sel_frame_tx() argument
175 put_unaligned_le32(lifetime, pos); /* interval for RANN */ in mesh_path_sel_frame_tx()
590 u32 orig_sn, target_sn, lifetime, target_metric = 0; in hwmp_preq_frame_process() local
662 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
669 lifetime, target_metric, 0, in hwmp_preq_frame_process()
681 lifetime = PREQ_IE_LIFETIME(preq_elem); in hwmp_preq_frame_process()
700 target_sn, da, hopcount, ttl, lifetime, in hwmp_preq_frame_process()
728 u32 target_sn, orig_sn, lifetime; in hwmp_prep_frame_process() local
761 lifetime = PREP_IE_LIFETIME(prep_elem); in hwmp_prep_frame_process()
769 ttl, lifetime, metric, 0, sdata); in hwmp_prep_frame_process()
[all …]
/linux/include/drm/
H A Ddrm_mode_config.h465 * lifetime of a device and hence doesn't need any locks.
472 * invariant over the lifetime of a device and hence doesn't need any
481 * This is invariant over the lifetime of a device and hence doesn't
489 * over the lifetime of a device and hence doesn't need any locks.
507 * This is invariant over the lifetime of a device and hence doesn't
516 * invariant over the lifetime of a device and hence doesn't need any
524 * Number of CRTCs on this device linked with &drm_crtc.head. This is invariant over the lifetime
532 * over the lifetime of a device and hence doesn't need any locks.
540 * invariant over the lifetime of a device and hence doesn't need any
549 * invariant over the lifetime of a device and hence doesn't need any
/linux/include/linux/
H A Dmbcache.h33 /* Key in hash - stable during lifetime of the entry */
36 /* User provided value - stable during lifetime of the entry */
H A Duprobes.h75 /* The state of hybrid-lifetime uprobe inside struct return_instance */
84 * Hybrid lifetime uprobe. Represents a uprobe instance that could be either
95 * *leased* pointer is the key to achieving race-free atomic lifetime state
105 * non-NULL uprobe pointer) shouldn't be used, because lifetime of
H A Ddevm-helpers.h36 * @dev: Device which lifetime work is bound to
61 * @dev: Device which lifetime work is bound to
/linux/rust/kernel/debugfs/
H A Dentry.rs98 // `dentry` (because `parent` is a valid reference to an `Entry`). The lifetime `'a` in dir()
118 // * `data` is a valid pointer to `T` for lifetime `'a`. in file()
119 // * The returned `Entry` has lifetime `'a`, so it cannot outlive `parent` or `data`. in file()
/linux/rust/macros/
H A Dzeroable.rs
/linux/kernel/configs/
H A Dhardening.config63 # Initialize all heap variables to zero on free to reduce stale data lifetime.
69 # Wipe kernel stack after syscall completion to reduce stale data lifetime.
/linux/fs/xfs/
H A Dxfs_mru_cache.c12 * supplies an element lifetime in milliseconds and a group count, as well as a
21 * initialises an MRU Cache with a lifetime of ten seconds and a group count of
38 * (t + t/g) seconds, where t is the inactive element lifetime and g is the
116 * has been advanced sufficiently to be within the immediate element lifetime.
186 * up-to-date, otherwise the new element could be given a shorter lifetime in
311 * with the address of the pointer, a lifetime value in milliseconds, a group
/linux/Documentation/admin-guide/blockdev/drbd/
H A Ddata-structure-v9.rst41 devices and connections; their lifetime is determined by the lifetime of the
/linux/Documentation/filesystems/nfs/
H A Dpnfs.rst36 the lifetime of each lseg referencing them.
51 level cache. Its reference is held over the lifetime of the deviceid
/linux/rust/pin-init/internal/src/
H A Dzeroable.rs

12345678910>>...18