Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:scache_acquire_cookie - Acquire a cookie to represent a cache object*@parent: The cookie that's to be the parent of this one*@def: A description of the cache object, including callback operations*@index_key: The index key for this cookie*@index_key_len:

Proto:static inline struct fscache_cookie *fscache_acquire_cookie(struct fscache_cookie *parent, const struct fscache_cookie_def *def, const void *index_key, size_t index_key_len, const void *aux_data, size_t aux_data_len, void *netfs_data, loff_t object_size, bool enable)

Type:struct fscache_cookie

Parameter:

TypeParameterName
struct fscache_cookie *parent
const struct fscache_cookie_def *def
const void *index_key
size_tindex_key_len
const void *aux_data
size_taux_data_len
void *netfs_data
loff_tobject_size
boolenable
333  If fscache_cookie_valid(parent) && fscache_cookie_enabled(parent) Then Return __fscache_acquire_cookie(parent, def, index_key, index_key_len, aux_data, aux_data_len, netfs_data, object_size, enable)
338  Else Return NULL