函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fscache.h Create Date:2022-07-27 07:37:19
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:scache_enable_cookie - Reenable a cookie*@cookie: The cookie representing the cache object*@aux_data: The updated auxiliary data for the cookie (may be NULL)*@object_size: Current size of object*@can_enable: A function to permit enablement once lock is

函数原型:static inline void fscache_enable_cookie(struct fscache_cookie *cookie, const void *aux_data, loff_t object_size, bool (*can_enable)(void *data), void *data)

返回类型:void

参数:

类型参数名称
struct fscache_cookie *cookie
const void *aux_data
loff_tobject_size
bool (*can_enable
void *data
838  如果fscache_cookie_valid(cookie)且非fscache_cookie_enabled(cookie)则__fscache_enable_cookie(cookie, aux_data, object_size, can_enable, data)