Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\fscache.h Create Date:2022-07-28 06:39:40
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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

Proto: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)

Type:void

Parameter:

TypeParameterName
struct fscache_cookie *cookie
const void *aux_data
loff_tobject_size
bool (*can_enable
void *data
838  If fscache_cookie_valid(cookie) && Not fscache_cookie_enabled(cookie) Then __fscache_enable_cookie(cookie, aux_data, object_size, can_enable, data)