函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:fscache_cookie_enabled

函数原型:static inline bool fscache_cookie_enabled(struct fscache_cookie *cookie)

返回类型:bool

参数:

类型参数名称
struct fscache_cookie *cookie
176  返回:st_bit - Determine whether a bit is set*@nr: bit number to test*@addr: Address to start counting from
调用者
名称描述
fscache_acquire_cookiescache_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:
fscache_check_consistencyscache_check_consistency - Request validation of a cache's auxiliary data*@cookie: The cookie representing the cache object*@aux_data: The updated auxiliary data for the cookie (may be NULL)* Request an consistency check from fscache, which passes the
fscache_update_cookiescache_update_cookie - Request that a cache object be updated*@cookie: The cookie representing the cache object*@aux_data: The updated auxiliary data for the cookie (may be NULL)* Request an update of the index data for the cache object associated with the
fscache_attr_changedscache_attr_changed - Notify cache that an object's attributes changed*@cookie: The cookie representing the cache object* Send a notification to the cache indicating that an object's attributes have* changed
fscache_invalidatescache_invalidate - Notify cache that an object needs invalidation*@cookie: The cookie representing the cache object* Notify the cache that an object is needs to be invalidated and that it* should abort any retrievals or stores it is doing on the cache
fscache_read_or_alloc_pagescache_read_or_alloc_page - Read a page from the cache or allocate a block* in which to store it*@cookie: The cookie representing the cache object*@page: The netfs page to fill if possible*@end_io_func: The callback to invoke when and if the page is
fscache_read_or_alloc_pagesscache_read_or_alloc_pages - Read pages from the cache and/or allocate* blocks in which to store them*@cookie: The cookie representing the cache object*@mapping: The netfs inode mapping to which the pages will be attached*@pages: A list of potential netfs
fscache_alloc_pagescache_alloc_page - Allocate a block in which to store a page*@cookie: The cookie representing the cache object*@page: The netfs page to allocate a page for*@gfp: The conditions under which memory allocation should be made* Request Allocation a block in
fscache_write_pagescache_write_page - Request storage of a page in the cache*@cookie: The cookie representing the cache object*@page: The netfs page to store*@object_size: Updated size of object*@gfp: The conditions under which memory allocation should be made
fscache_disable_cookiescache_disable_cookie - Disable a cookie*@cookie: The cookie representing the cache object*@aux_data: The updated auxiliary data for the cookie (may be NULL)*@invalidate: Invalidate the backing object* Disable a cookie from accepting further alloc, read,
fscache_enable_cookiescache_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