Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:scache_use_cookie - Request usage of cookie attached to an object*@object: Object description* Request usage of the cookie attached to an object. NULL is returned if the* relinquishment had reduced the cookie usage count to 0.

Proto:static inline bool fscache_use_cookie(struct fscache_object *object)

Type:bool

Parameter:

TypeParameterName
struct fscache_object *object
498  cookie = netfs's file/index object
499  Return atomic_inc_not_zero - increment unless the number is zero*@v: pointer of type atomic_t* Atomically increments @v by 1, if @v is non-zero.* Returns true if the increment was done. != 0