Home
last modified time | relevance | path

Searched full:guaranteed (Results 1 – 25 of 1321) sorted by relevance

12345678910>>...53

/linux-6.15/rust/kernel/
Dfaux.rs55 // SAFETY: The underlying `device` in `faux_device` is guaranteed by the C API to be in as_ref()
69 // SAFETY: The faux device API is thread-safe as guaranteed by the device core, as long as
70 // faux_device_destroy() is guaranteed to only be called once - which is guaranteed by our type not
74 // SAFETY: The faux device API is thread-safe as guaranteed by the device core, as long as
75 // faux_device_destroy() is guaranteed to only be called once - which is guaranteed by our type not
Dpci.rs30 // SAFETY: A call to `unregister` for a given instance of `RegType` is guaranteed to be valid if
48 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in register()
55 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in unregister()
95 // `probe_callback`, hence it's guaranteed that `ptr` points to a valid and initialized in remove_callback()
307 // `ioptr` is guaranteed to be the start of a valid I/O mapped memory region. in new()
336 // SAFETY: The safety requirements are guaranteed by the type invariant of `self.pdev`. in release()
387 // - `bar` is a valid bar number, as guaranteed by the above call to `Bar::index_is_valid`, in resource_len()
414 // SAFETY: `self.as_raw` is guaranteed to be a pointer to a valid `struct pci_dev`. in enable_device_mem()
420 // SAFETY: `self.as_raw` is guaranteed to be a pointer to a valid `struct pci_dev`. in set_master()
Dplatform.rs26 // SAFETY: A call to `unregister` for a given instance of `RegType` is guaranteed to be valid if
49 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in register()
54 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in unregister()
86 // `probe_callback`, hence it's guaranteed that `ptr` points to a valid and initialized in remove_callback()
Drevocable.rs94 /// Returns a guard that gives access to the object otherwise; the object is guaranteed to
112 /// Returns a shared reference to the object otherwise; the object is guaranteed to
216 // guaranteed to remain valid. in deref()
/linux-6.15/include/uapi/linux/
Dcoresight-stm.h12 * The CoreSight STM supports guaranteed and invariant timing
13 * transactions. Guaranteed transactions are guaranteed to be
16 * timing transactions are not guaranteed to be traced, they
/linux-6.15/lib/
Diomap_copy.c16 * time. Order of access is not guaranteed, nor is a memory barrier
39 * time. Order of access is not guaranteed, nor is a memory barrier
60 * time. Order of access is not guaranteed, nor is a memory barrier
/linux-6.15/mm/
Dmempool.c6 * for guaranteed, deadlock-free memory allocations during
212 * First pre-allocate the guaranteed number of buffers. in mempool_init_node()
232 * @min_nr: the minimum number of elements guaranteed to be
254 * @min_nr: the minimum number of elements guaranteed to be
262 * this function creates and allocates a guaranteed size, preallocated
294 * @new_min_nr: the new minimum number of elements guaranteed to be
298 * it cannot be guaranteed that the pool will be grown to the new
522 * For correctness, we need a test which is guaranteed to trigger in mempool_free()
529 * min_nr is guaranteed to see curr_nr < min_nr unless curr_nr gets in mempool_free()
/linux-6.15/tools/memory-model/litmus-tests/
DMP+porevlocks.litmus9 * given lock), a CPU is not only guaranteed to see the accesses that other
10 * CPUs made while previously holding that lock, it is also guaranteed to
DMP+polocks.litmus9 * given lock), a CPU is not only guaranteed to see the accesses that other
10 * CPUs made while previously holding that lock, it is also guaranteed
/linux-6.15/kernel/time/
Dsleep_timeout.c42 * %TASK_UNINTERRUPTIBLE - at least @timeout jiffies are guaranteed to
50 * The current task state is guaranteed to be %TASK_RUNNING when this
58 * jiffies will be returned. In all cases the return value is guaranteed
245 * %TASK_UNINTERRUPTIBLE - at least @timeout time is guaranteed to
253 * The current task state is guaranteed to be TASK_RUNNING when this
/linux-6.15/kernel/locking/
Dpercpu-rwsem.c58 * writer is guaranteed to see the reader's increment. in __percpu_down_read_trylock()
61 * the writer looks are guaranteed to see the sem->block value, which in __percpu_down_read_trylock()
62 * in turn means that they are guaranteed to immediately decrement in __percpu_down_read_trylock()
247 * If they don't see our store of sem->block, then we are guaranteed to in percpu_down_write()
/linux-6.15/rust/kernel/alloc/
Dkvec.rs266 // guaranteed to be part of the same allocated object. in spare_capacity_mut()
270 // SAFETY: The memory between `self.len` and `self.capacity` is guaranteed to be allocated in spare_capacity_mut()
293 // guaranteed to be part of the same allocated object. in push()
510 // - `self.len() + other.len() <= self.capacity()` is guaranteed by the preceding `reserve` in extend_from_slice()
531 // SAFETY: `self.as_mut_ptr` is guaranteed to be valid by the type invariant. in drop()
585 // SAFETY: The memory behind `self.as_ptr()` is guaranteed to contain `self.len` in deref()
597 // SAFETY: The memory behind `self.as_ptr()` is guaranteed to contain `self.len` in deref_mut()
763 // SAFETY: `len` is guaranteed to be smaller than `self.layout.len()`. in collect()
766 // SAFETY: `buf` points to the start of the backing buffer and `len` is guaranteed to be in collect()
785 // - `ptr` is guaranteed to point to the start of the backing buffer. in collect()
[all …]
Dallocator.rs51 // Note that `layout.size()` (after padding) is guaranteed to be a multiple of `layout.align()` in aligned_size()
161 // SAFETY: If not `None`, `ptr` is guaranteed to point to valid memory, which was previously in realloc()
185 // SAFETY: If not `None`, `ptr` is guaranteed to point to valid memory, which was previously in realloc()
/linux-6.15/include/linux/
Dmbcache.h24 * guaranteed to be hashed while e_refcnt > 0.
29 * While refcount > 0, the entry is guaranteed to stay in the hash and
Drefcount.h199 * Provides no memory ordering, it is assumed the caller has guaranteed the
265 * guaranteed the object memory to be stable (RCU, etc.). It does provide a
301 * Provides no memory ordering, it is assumed the caller has guaranteed the
327 * Provides no memory ordering, it is assumed the caller has guaranteed the
354 * guaranteed the object memory to be stable (RCU, etc.). It does provide a
Dcgroup.h171 * css which finished ->css_online() is guaranteed to be visible in the
194 * css which finished ->css_online() is guaranteed to be visible in the
224 * while inheriting. The state update to the parent is guaranteed to be
255 * css which finished ->css_online() is guaranteed to be visible in the
282 * Also, all are guaranteed to share the same source and destination csses.
444 * reference on and return it. This function is guaranteed to return a
619 * that the new kthreads are guaranteed to stay in the root until in cgroup_init_kthreadd()
Dleds.h325 * led_blink_set_nosleep - set blinking, guaranteed to not sleep
330 * This function makes the LED blink and is guaranteed to not sleep. Otherwise
350 * This function is guaranteed not to sleep.
362 * hardware doesn't. This function is guaranteed not to sleep.
388 * guaranteed not to sleep.
/linux-6.15/drivers/hwtracing/coresight/
Dcoresight-stm.c14 * Guaranteed timing and support for various packet type coming from the
105 * @guaraneed: is the channel delivery guaranteed.
110 unsigned long *guaranteed; member
395 set_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options()
399 clear_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options()
432 stm_flags |= test_bit(channel, drvdata->chs.guaranteed) ? in stm_generic_packet()
794 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data()
880 drvdata->chs.guaranteed = devm_bitmap_zalloc(dev, drvdata->numsp, in __stm_probe()
882 if (!drvdata->chs.guaranteed) in __stm_probe()
/linux-6.15/Documentation/devicetree/bindings/net/bluetooth/
Dmediatek,bluetooth.txt39 guaranteed.
42 design should be guaranteed.
/linux-6.15/drivers/platform/surface/aggregator/
Dssh_request_layer.c287 * guaranteed that requests cannot be re-submitted), or the in ssh_rtl_tx_try_process_one()
530 * request, we are guaranteed that the completion callback will run on in ssh_rtl_complete()
532 * received. Similarly, this function is guaranteed to run on the in ssh_rtl_complete()
533 * receiver thread. Thus we are guaranteed that if the packet has been in ssh_rtl_complete()
594 * submission process is guaranteed to have entered the critical in ssh_rtl_cancel_nonpending()
597 * guaranteed that, due to the "locked" check in ssh_rtl_submit(), the in ssh_rtl_cancel_nonpending()
599 * from the queue, where we are now guaranteed that the packet is or has in ssh_rtl_cancel_nonpending()
602 * Note that if the cmpxchg() fails, we are guaranteed that ptl has in ssh_rtl_cancel_nonpending()
664 * Now that we have locked the packet, we have guaranteed that it can't in ssh_rtl_cancel_pending()
794 * request. Note that, at this point, the request is guaranteed to have in ssh_rtl_packet_callback()
[all …]
/linux-6.15/rust/kernel/time/hrtimer/
Dpin_mut.rs61 // - The return value of `get_unchecked_mut` is guaranteed not to be null. in start()
96 // `PinMutHrTimerHandle` associated with this timer is guaranteed to in run()
Dtbox.rs73 // - `Box::into_raw` is guaranteed to return a valid pointer. in start()
110 // `BoxHrTimerHandle` associated with this timer is guaranteed to in run()
/linux-6.15/tools/memory-model/Documentation/
Dcontrol-dependencies.txt19 This is not guaranteed to provide any ordering because some types of CPUs
32 (usually) guaranteed for load-store control dependencies, as in the
104 guaranteed only when the stores differ, for example:
Dordering.txt87 as cmpxchg() are only guaranteed to provide ordering when they succeed.
307 Note that release ordering is guaranteed only against the
310 as cmpxchg_release() are only guaranteed to provide ordering
344 Note that acquire ordering is guaranteed only against the
347 such as atomic_cmpxchg_acquire() are only guaranteed to provide
/linux-6.15/drivers/staging/media/meson/vdec/
DTODO4 It is at the moment not guaranteed to work properly with a userspace

12345678910>>...53