Function report |
Source Code:include\linux\srcu.h |
Create Date:2022-07-28 05:35:56 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:srcu_read_lock_held - might we be in SRCU read-side critical section?*@ssp: The srcu_struct structure to check* If CONFIG_DEBUG_LOCK_ALLOC is selected, returns nonzero iff in an SRCU* read-side critical section
Proto:static inline int srcu_read_lock_held(const struct srcu_struct *ssp)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const struct srcu_struct * | ssp |
84 | If Not debug_lockdep_rcu_enabled() Then Return 1 |
86 | Return lock_is_held( & dep_map) |
Name | Describe |
---|---|
rcu_torture_one_read | Do one read-side critical section, returning false if there was* no data to read. Can be invoked both from process context and* from a timer handler. |
tomoyo_manager | moyo_manager - Check whether the current process is a policy manager.* Returns true if the current process is permitted to modify policy* via /sys/kernel/security/tomoyo/ interface.* Caller holds tomoyo_read_lock(). |
tomoyo_delete_domain | moyo_delete_domain - Delete a domain.*@domainname: The name of domain.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_check_profile | moyo_check_profile - Check all profiles currently assigned to domains are defined. |
tomoyo_update_policy | moyo_update_policy - Update an entry for exception policy.*@new_entry: Pointer to "struct tomoyo_acl_info".*@size: Size of @new_entry in bytes.*@param: Pointer to "struct tomoyo_acl_param".*@check_duplicate: Callback function to find duplicated entry. |
tomoyo_update_domain | moyo_update_domain - Update an entry for domain policy.*@new_entry: Pointer to "struct tomoyo_acl_info".*@size: Size of @new_entry in bytes.*@param: Pointer to "struct tomoyo_acl_param".*@check_duplicate: Callback function to find duplicated entry. |
tomoyo_check_acl | moyo_check_acl - Do permission check.*@r: Pointer to "struct tomoyo_request_info".*@check_entry: Callback function to check type specific parameters.* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_scan_transition | moyo_scan_transition - Try to find specific domain transition type.*@list: Pointer to "struct list_head".*@domainname: The name of current domain.*@program: The name of requested program.*@last_name: The last component of @domainname. |
tomoyo_find_next_domain | moyo_find_next_domain - Find a domain.*@bprm: Pointer to "struct linux_binprm".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_path_matches_group | moyo_path_matches_group - Check whether the given pathname matches members of the given pathname group |
tomoyo_number_matches_group | moyo_number_matches_group - Check whether the given number matches members of the given number group.*@min: Min number.*@max: Max number.*@group: Pointer to "struct tomoyo_number_group". |
tomoyo_address_matches_group | moyo_address_matches_group - Check whether the given address matches members of the given address group.*@is_ipv6: True if @address is an IPv6 address.*@address: An IPv4 or IPv6 address.*@group: Pointer to "struct tomoyo_address_group". |
tomoyo_find_domain | moyo_find_domain - Find a domain by the given name.*@domainname: The domainname to find.* Returns pointer to "struct tomoyo_domain_info" if found, NULL otherwise.* Caller holds tomoyo_read_lock(). |
tomoyo_domain_quota_is_ok | moyo_domain_quota_is_ok - Check for domain's quota.*@r: Pointer to "struct tomoyo_request_info".* Returns true if the domain is not exceeded quota, false otherwise.* Caller holds tomoyo_read_lock(). |
fsnotify_detach_mark | Mark mark as detached, remove it from group list |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |