函数逻辑报告 |
Source Code:include\linux\refcount.h |
Create Date:2022-07-27 06:40:40 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| 首页 | 函数Tree |
| 注解内核,赢得工具 | 下载SCCT | English |
函数名称:_inc_not_zero - increment a refcount unless it is 0*@r: the refcount to increment* Similar to atomic_inc_not_zero(), but will saturate at REFCOUNT_SATURATED* and WARN.* Provides no memory ordering, it is assumed the caller has guaranteed the
函数原型:static inline __must_check bool refcount_inc_not_zero(refcount_t *r)
返回类型:bool
参数:
| 类型 | 参数 | 名称 |
|---|---|---|
| refcount_t * | r |
| 名称 | 描述 |
|---|---|
| get_pi_state | |
| btf_get_fd_by_id | |
| perf_event_ctx_lock_nested | Because of perf_event::ctx migration in sys_perf_event_open::move_group and* perf_pmu_migrate_context() we need some magic.* Those places that change perf_event::ctx will hold both* perf_event_ctx::mutex of the 'old' and 'new' ctx value. |
| perf_lock_task_context | Get the perf_event_context for a task and lock it.* This has to cope with with the fact that until it is locked,* the context could get moved to another task. |
| ring_buffer_get | |
| __perf_event_ctx_lock_double | Variation on perf_event_ctx_lock_nested(), except we take two context* mutexes. |
| perf_aux_output_begin | This is called before hardware starts writing to the AUX area to* obtain an output handle and make sure there's room in the buffer |
| mem_cgroup_id_get_online | |
| ipc_rcu_getref | |
| blk_mq_check_expired | |
| key_lookup | Find a key by its serial number. |
| find_keyring_by_name | Find a keyring with the specified name |
| fsnotify_get_mark_safe | Get mark reference when we found the mark via lockless traversal of object* list. Mark can be already removed from the list by now and on its way to be* destroyed once SRCU period ends.* Also pin the group so it doesn't disappear under us. |
| io_link_timeout_fn | |
| io_uring_cancel_files | |
| io_worker_get | |
| add_existing_master_key | |
| get_cached_acl | |
| kref_get_unless_zero | kref_get_unless_zero - Increment refcount for object unless it is zero |
| qdisc_refcount_inc_nz | Intended to be used by unlocked users, when concurrent qdisc release is* possible. |
| reqsk_alloc | |
| __ipv6_neigh_lookup | |
| txopt_get | |
| __ipv4_neigh_lookup | |
| inet_lookup | |
| ib_device_try_get | _device_try_get: Hold a registration lock* device: The device to lock* A device under an active registration lock cannot become unregistered. It* is only possible to obtain a registration lock on a device that is fully |
| get_rpccred | |
| sk_psock_get_checked | |
| sk_psock_get | |
| fib6_info_hold_safe |
| 源代码转换工具 开放的插件接口 | X |
|---|---|
| 支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |