函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:assoc_array_ptr_to_shortcut

函数原型:static inline struct assoc_array_shortcut *assoc_array_ptr_to_shortcut(const struct assoc_array_ptr *x)

返回类型:struct assoc_array_shortcut

参数:

类型参数名称
const struct assoc_array_ptr *x
151  返回:__assoc_array_ptr_to_meta(x)
调用者
名称描述
assoc_array_subtree_iterateIterate over an associative array. The caller must hold the RCU read lock* or better.
assoc_array_walkNavigate through the internal tree looking for the closest node to the key.
assoc_array_destroy_subtreeDestructively iterate over an associative array. The caller must prevent* other simultaneous accesses.
assoc_array_insert_into_terminal_nodeHandle insertion into a terminal node.
assoc_array_deleteassoc_array_delete - Script deletion of an object from an associative array*@array: The array to search.*@ops: The operations to use.*@index_key: The key to the object.* Precalculate and preallocate a script for the deletion of an object from an
assoc_array_rcu_cleanup
assoc_array_apply_editassoc_array_apply_edit - Apply an edit script to an associative array*@edit: The script to apply.* Apply an edit script to an associative array to effect an insertion,* deletion or clearance. As the edit script includes preallocated memory,
assoc_array_cancel_editassoc_array_cancel_edit - Discard an edit script
assoc_array_gcassoc_array_gc - Garbage collect an associative array
search_nested_keyringsSearch a tree of keyrings that point to other keyrings up to the maximum* depth.