static inline struct crypto_async_request *crypto_get_backlog
时间: 2023-12-19 19:04:48 浏览: 96
(void)
{
return __crypto_get_backlog(current);
}
The function `crypto_get_backlog` is defined as a static inline function that returns a pointer to a `struct crypto_async_request` object. This function is used to retrieve the backlog of asynchronous requests that are waiting to be processed by the cryptographic subsystem.
The `__crypto_get_backlog` function is an internal function that takes a pointer to a `struct task_struct` object as its argument. It returns a pointer to the backlog of asynchronous requests associated with the task.
The `current` macro is used to obtain a pointer to the `task_struct` object that represents the currently executing process.
Therefore, the `crypto_get_backlog` function returns the backlog of asynchronous requests associated with the currently executing process.
阅读全文