Lines Matching full:pointer
13 * pointer with the same return value.
16 * error and pointer decisions.
23 * IS_ERR_VALUE - Detect an error pointer.
24 * @x: The pointer to check.
31 * ERR_PTR - Create an error pointer.
34 * Encodes @error into a pointer value. Users should consider the result
37 * Return: A pointer with @error encoded within its value.
44 /* Return the pointer in the percpu address space. */
47 /* Cast an error pointer to __iomem. */
51 * PTR_ERR - Extract the error code from an error pointer.
52 * @ptr: An error pointer.
60 /* Read an error pointer from the percpu address space. */
64 * IS_ERR - Detect an error pointer.
65 * @ptr: The pointer to check.
66 * Return: true if @ptr is an error pointer, false otherwise.
73 /* Read an error pointer from the percpu address space. */
77 * IS_ERR_OR_NULL - Detect an error pointer or a null pointer.
78 * @ptr: The pointer to check.
80 * Like IS_ERR(), but also returns true for a null pointer.
88 * ERR_CAST - Explicitly cast an error-valued pointer to another pointer type
89 * @ptr: The pointer to cast.
91 * Explicitly cast an error-valued pointer to another pointer type in such a
101 * PTR_ERR_OR_ZERO - Extract the error code from a pointer if it has one.
102 * @ptr: A potential error pointer.
115 * Return: The error code within @ptr if it is an error pointer; 0 otherwise.