Home
last modified time | relevance | path

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

12345678910>>...53

/linux-6.14.4/rust/kernel/
Dfaux.rs46 // SAFETY: The underlying `device` in `faux_device` is guaranteed by the C API to be in as_ref()
59 // SAFETY: The faux device API is thread-safe as guaranteed by the device core, as long as
60 // faux_device_destroy() is guaranteed to only be called once - which is guaranteed by our type not
64 // SAFETY: The faux device API is thread-safe as guaranteed by the device core, as long as
65 // faux_device_destroy() is guaranteed to only be called once - which is guaranteed by our type not
Dpci.rs26 // SAFETY: A call to `unregister` for a given instance of `RegType` is guaranteed to be valid if
44 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in register()
51 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in unregister()
64 // SAFETY: `dev` is guaranteed to be embedded in a valid `struct pci_dev` by the call in probe_callback()
92 // `probe_callback`, hence it's guaranteed that `ptr` points to a valid and initialized in remove_callback()
301 // `ioptr` is guaranteed to be the start of a valid I/O mapped memory region. in new()
326 // SAFETY: The safety requirements are guaranteed by the type invariant of `self.pdev`. in release()
384 // SAFETY: `self.as_raw` is guaranteed to be a pointer to a valid `struct pci_dev`. in enable_device_mem()
395 // SAFETY: `self.as_raw` is guaranteed to be a pointer to a valid `struct pci_dev`. in set_master()
406 // - `bar` is a valid bar number, as guaranteed by the above call to `Bar::index_is_valid`, in resource_len()
Dplatform.rs22 // SAFETY: A call to `unregister` for a given instance of `RegType` is guaranteed to be valid if
45 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in register()
50 // SAFETY: `pdrv` is guaranteed to be a valid `RegType`. in unregister()
59 // SAFETY: `dev` is guaranteed to be embedded in a valid `struct platform_device` by the in probe_callback()
82 // `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.14.4/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.14.4/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.14.4/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.14.4/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.14.4/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.14.4/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.14.4/rust/kernel/alloc/
Dkvec.rs263 // guaranteed to be part of the same allocated object. in spare_capacity_mut()
267 // SAFETY: The memory between `self.len` and `self.capacity` is guaranteed to be allocated in spare_capacity_mut()
290 // guaranteed to be part of the same allocated object. in push()
507 // - `self.len() + other.len() <= self.capacity()` is guaranteed by the preceding `reserve` in extend_from_slice()
528 // SAFETY: `self.as_mut_ptr` is guaranteed to be valid by the type invariant. in drop()
582 // SAFETY: The memory behind `self.as_ptr()` is guaranteed to contain `self.len` in deref()
594 // SAFETY: The memory behind `self.as_ptr()` is guaranteed to contain `self.len` in deref_mut()
760 // SAFETY: `len` is guaranteed to be smaller than `self.layout.len()`. in collect()
763 // SAFETY: `buf` points to the start of the backing buffer and `len` is guaranteed to be in collect()
782 // - `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()
160 // SAFETY: If not `None`, `ptr` is guaranteed to point to valid memory, which was previously in realloc()
184 // SAFETY: If not `None`, `ptr` is guaranteed to point to valid memory, which was previously in realloc()
/linux-6.14.4/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
Dcgroup.h170 * css which finished ->css_online() is guaranteed to be visible in the
193 * css which finished ->css_online() is guaranteed to be visible in the
223 * while inheriting. The state update to the parent is guaranteed to be
254 * css which finished ->css_online() is guaranteed to be visible in the
281 * Also, all are guaranteed to share the same source and destination csses.
443 * reference on and return it. This function is guaranteed to return a
618 * that the new kthreads are guaranteed to stay in the root until in cgroup_init_kthreadd()
Dblk-crypto-profile.h29 * The keyslot is guaranteed to not be in-use by any I/O.
47 * The keyslot is guaranteed to not be in-use by any I/O.
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.14.4/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
384 set_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options()
388 clear_bit(channel, drvdata->chs.guaranteed); in stm_generic_set_options()
421 stm_flags |= test_bit(channel, drvdata->chs.guaranteed) ? in stm_generic_packet()
783 bitmap_clear(drvdata->chs.guaranteed, 0, drvdata->numsp); in stm_init_default_data()
869 drvdata->chs.guaranteed = devm_bitmap_zalloc(dev, drvdata->numsp, in __stm_probe()
871 if (!drvdata->chs.guaranteed) in __stm_probe()
/linux-6.14.4/Documentation/devicetree/bindings/net/bluetooth/
Dmediatek,bluetooth.txt39 guaranteed.
42 design should be guaranteed.
/linux-6.14.4/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.14.4/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.14.4/drivers/staging/media/meson/vdec/
DTODO4 It is at the moment not guaranteed to work properly with a userspace
/linux-6.14.4/Documentation/admin-guide/
Dabi-stable.rst7 restrictions, and backward compatibility for them will be guaranteed
/linux-6.14.4/Documentation/firmware-guide/acpi/
Dacpi-lid.rst43 changed to "opened". Thus the "opened" notification is not guaranteed. But
44 it is guaranteed that the AML tables always notify "closed" when the lid

12345678910>>...53