* @brief Increment the reference count of a page * * This function atomically increases the reference count of the specified page. * It is used to track how many times the page is being referenced/used. * * @param[in,out] page Pointer to the page structure whose reference count will be incremented */
| 1037 | * @param[in,out] page Pointer to the page structure whose reference count will be incremented |
| 1038 | */ |
| 1039 | static void dfs_page_ref(struct dfs_page *page) |
| 1040 | { |
| 1041 | rt_atomic_add(&(page->ref_count), 1); |
| 1042 | } |
| 1043 | |
| 1044 | /** |
| 1045 | * @brief Release a page from page cache when reference count reaches zero |
no outgoing calls
no test coverage detected