Lines Matching +full:0 +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.
45 * PTR_ERR - Extract the error code from an error pointer.
46 * @ptr: An error pointer.
55 * IS_ERR - Detect an error pointer.
56 * @ptr: The pointer to check.
57 * Return: true if @ptr is an error pointer, false otherwise.
65 * IS_ERR_OR_NULL - Detect an error pointer or a null pointer.
66 * @ptr: The pointer to check.
68 * Like IS_ERR(), but also returns true for a null pointer.
76 * ERR_CAST - Explicitly cast an error-valued pointer to another pointer type
77 * @ptr: The pointer to cast.
79 * Explicitly cast an error-valued pointer to another pointer type in such a
89 * PTR_ERR_OR_ZERO - Extract the error code from a pointer if it has one.
90 * @ptr: A potential error pointer.
101 * return 0;
103 * Return: The error code within @ptr if it is an error pointer; 0 otherwise.
110 return 0; in PTR_ERR_OR_ZERO()