函数逻辑报告 |
Source Code:arch\x86\boot\bitops.h |
Create Date:2022-07-27 08:25:23 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
首页 | 函数Tree |
注解内核,赢得工具 | 下载SCCT | English |
函数名称:设置内存位
函数原型:static inline void set_bit(int nr, void *addr)
返回类型:void
参数:
类型 | 参数 | 名称 |
---|---|---|
int | nr | |
void * | addr |
41 | asm("btsl %1,%0":"+m"(*(u32*)addr):"Ir"(nr)) |
名称 | 描述 |
---|---|
bitmap_remap | map_remap - Apply map defined by a pair of bitmaps to another bitmap*@dst: remapped result*@src: subset to be remapped*@old: defines domain of map*@new: defines range of map*@nbits: number of bits in each of these bitmaps* Let @old and @new define a |
bitmap_onto | map_onto - translate one bitmap relative to another*@dst: resulting translated bitmap*@orig: original untranslated bitmap*@relmap: bitmap relative to which translated*@bits: number of bits in each of these bitmaps* Set the n-th bit of @dst iff there |
bitmap_fold | map_fold - fold larger bitmap into smaller, modulo specified size*@dst: resulting smaller bitmap*@orig: original larger bitmap*@sz: specified size*@nbits: number of bits in each of these bitmaps |
kasan_bitops | |
test_rhltable | |
bitmap | |
irq_poll_disable | q_poll_disable - Disable iopoll on this @iop*@iop: The parent iopoll structure* Description:* Disable io polling and wait for any pending callbacks to have completed. |
check_cpu | CPU检查 |
clear_feature | |
mce_first_notifier | |
mce_disable_bank | |
cmci_discover | Enable CMCI (Corrected Machine Check Interrupt) for available MCE banks* on this CPU. Use the algorithm recommended in the SDM to discover shared* banks. |
generic_set_all | |
add_rmid_to_limbo | |
kgdb_nmi_handler | |
SYSCALL_DEFINE5 | |
kthread_create_on_cpu | kthread_create_on_cpu - Create a cpu bound kthread*@threadfn: the function to run until signal_pending(current).*@data: data ptr for @threadfn.*@cpu: The cpu on which the thread should be bound,*@namefmt: printf-style name for the thread |
kthread_park | kthread_park - park a thread created by kthread_create() |
kthread_stop | 结束线程的运行 |
memory_bm_set_bit | |
mem_bm_set_bit_check | |
irq_setup_forced_threading | 中断线程化 |
setup_irq_thread | |
irq_map_generic_chip | q_map_generic_chip - Map a generic chip for an irq domain |
irq_sim_fire | q_sim_fire - Enqueue an interrupt.*@sim: The interrupt simulator object.*@offset: Offset of the simulated interrupt which should be fired. |
irq_matrix_assign_system | q_matrix_assign_system - Assign system wide entry in the matrix*@m: Matrix pointer*@bit: Which bit to reserve*@replace: Replace an already allocated vector with a system* vector at the same bit position.* The BUG_ON()s below are on purpose |
irq_matrix_alloc_managed | q_matrix_alloc_managed - Allocate a managed interrupt in a CPU map*@m: Matrix pointer*@cpu: On which CPU the interrupt should be allocated |
tick_clock_notify | Async notification about clocksource changes |
tick_oneshot_notify | Async notification about clock event changes |
add_taint_module | |
init_cgroup_root | |
cgroup_create | The returned cgroup is fully initialized including its control mask, but* it isn't associated with its kernfs_node and doesn't have the control* mask applied. |
cgroup_write_notify_on_release | |
cgroup_clone_children_write | |
cgroup_propagate_frozen | Propagate the cgroup frozen state upwards by the cgroup tree. |
cgroup_update_frozen | Revisit the cgroup frozen state.* Checks if the cgroup is really frozen and perform all state transitions. |
cgroup_do_freeze | Freeze or unfreeze all tasks in the given cgroup. |
update_flag | pdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held. |
cpuset_css_alloc | puset_css_alloc - allocate a cpuset css* cgrp: control group that the new cpuset will be part of |
cpuset_css_online | |
cpuset_init | puset_init - initialize cpusets at system boot* Description: Initialize top_cpuset |
trace_filter_add_remove_task | race_filter_add_remove_task - Add or remove a task from a pid_list*@pid_list: The list to modify*@self: The current task for fork or NULL for exit*@task: The task to add or remove* If adding a task, if @self is defined, the task is only added if @self |
trace_pid_write | |
trace_event_enable_cmd_record | |
trace_event_enable_tgid_record | |
__ftrace_event_enable_disable | |
ftrace_event_pid_write | |
trace_event_trigger_enable_disable | |
update_cond_flag | pdate_cond_flag - Set or reset the TRIGGER_COND bit*@file: The trace_event_file associated with the event* If an event has triggers and any of those triggers has a filter or* a post_trigger, trigger invocation needs to be deferred until after* the current |
event_enable_trigger | |
prepare_uprobe | |
install_breakpoint | |
remove_breakpoint | |
uprobe_munmap | Called in context of a munmap of a vma. |
__create_xol_area | |
uprobe_dup_mmap | |
oom_reap_task | |
mark_oom_victim | mark_oom_victim - mark the given task as OOM victim*@tsk: task to mark* Has to be called with oom_lock held and never after* oom has been disabled already.* under task_lock or operate on the current). |
__oom_kill_process | |
shrink_node | |
bdi_register_va | |
pcpu_alloc_area | pcpu_alloc_area - allocates an area from a pcpu_chunk*@chunk: chunk of interest*@alloc_bits: size of request in allocation units*@align: alignment of area (max PAGE_SIZE)*@start: bit_off to start searching* This function takes in a @start offset to begin |
pcpu_alloc_first_chunk | pcpu_alloc_first_chunk - creates chunks that serve the first chunk*@tmp_addr: the start of the region served*@map_size: size of the region served* This is responsible for creating the chunks that serve the first chunk |
exit_mmap | Release all mmaps. |
steal_suitable_fallback | This function implements actual steal behaviour. If order is large enough,* we can steal whole pageblock. If not, we first move freepages in this* pageblock to our migratetype and determine how many already-allocated pages |
page_alloc_shuffle | Depending on the architecture, module parameter parsing may run* before, or after the cache detection |
frontswap_register_ops | Register operations for frontswap |
__frontswap_set | |
__ksm_enter | |
kasan_set_multi_shot | |
setup_transparent_hugepage | |
memcg_set_shrinker_bit | |
__release_z3fold_page | |
z3fold_alloc | z3fold_alloc() - allocates a region of a given size*@pool: z3fold pool from which to allocate*@size: size in bytes of the desired allocation*@gfp: gfp flags used if the pool needs to grow*@handle: handle of the new allocation* This function will attempt |
z3fold_map | z3fold_map() - maps the allocation associated with the given handle*@pool: pool in which the allocation resides*@handle: handle associated with the allocation to be mapped* Extracts the buddy number from handle and constructs the pointer to the |
z3fold_page_migrate | |
blk_mq_stop_hw_queue | This function is often used for pausing .queue_rq() by driver when* there isn't enough resource or some conditions aren't satisfied, and* BLK_STS_RESOURCE is usually returned.* We do not guarantee that dispatch can be drained or blocked |
blk_mq_sched_mark_restart_hctx | Mark a hardware queue as needing a restart. For shared queues, maintain* a count of how many hardware queues are marked for restart. |
blk_revalidate_zone_cb | Helper function to check the validity of zones of a zoned block device. |
key_gc_keytype | Reap keys of dead type.* We use three flags to make sure we see three complete cycles of the garbage* collector: the first to mark keys of that type as being dead, the second to* collect dead links and the third to clean up the dead keys. We have to be |
key_garbage_collector | Reaper for unused keys. |
__key_instantiate_and_link | Instantiate a key and link it into the target keyring atomically. Must be* called with the target keyring's semaphore writelocked. The target key's* semaphore need not be locked as instantiation is serialised by* key_construction_mutex. |
construct_alloc_key | Allocate a new key in under-construction state and attempt to link it in to* the requested keyring.* May return a key that's already under construction instead if there was a* race between two thread calling request_key(). |
tomoyo_write_domain | moyo_write_domain - Write domain policy.*@head: Pointer to "struct tomoyo_io_buffer".* Returns 0 on success, negative value otherwise.* Caller holds tomoyo_read_lock(). |
ima_rdwr_violation_check | ma_rdwr_violation_check* Only invalidate the PCR for measured files:* - Opening a file for write when already open for read,* results in a time of measure, time of use (ToMToU) error.* - Opening a file for read when already open for write, |
process_measurement | |
ima_post_create_tmpfile | ma_post_create_tmpfile - mark newly created tmpfile as new*@file : newly created tmpfile* No measuring, appraising or auditing of newly created tmpfiles is needed.* Skip calling process_measurement(), but indicate which newly, created |
xattr_verify | xattr_verify - verify xattr digest or signature* Verify whether the hash or signature matches the file contents.* Return 0 on success, error code otherwise. |
ima_inode_post_setattr | ma_inode_post_setattr - reflect file metadata changes*@dentry: pointer to the affected dentry* Changes to a dentry's metadata might result in needing to appraise.* This function is called from notify_change(), which expects the caller |
ima_reset_appraise_flags | |
ima_mok_init | Allocate the IMA blacklist keyring |
move_expired_inodes | Move expired (dirtied before work->older_than_this) dirty inodes from*@delaying_queue to @dispatch_queue. |
wb_do_writeback | Retrieve work items and do the writeback they describe |
end_bio_bh_io_sync | |
io_wq_manager | Manager thread. Tasked with creating new workers, if we need them. |
io_wq_cancel_all | |
io_wq_destroy | |
bm_entry_write | |
iomap_iop_set_range_uptodate | |
dquot_acquire | Read dquot from disk and alloc space for it |
do_set_dqblk | Generic routine for setting common part of quota structure |
v1_read_dqblk | |
qtree_read_dquot | |
get_cpuflags | |
i2c_mark_adapter_suspended | 2c_mark_adapter_suspended - Report suspended state of the adapter to the core*@adap: Adapter to mark as suspended* When using this helper to mark an adapter as suspended, the core will reject* further transfers to this adapter |
xprt_set_connected | |
set_buffer_uptodate | Emit the buffer bitops functions. Note that there are also functions* of the form "mark_buffer_foo()". These are higher-level functions which* do something in addition to setting a b_state bit. |
set_buffer_dirty | |
set_buffer_locked | |
set_buffer_req | |
set_buffer_mapped | |
set_buffer_new | |
set_buffer_async_read | |
set_buffer_async_write | |
set_buffer_delay | |
set_buffer_boundary | |
set_buffer_write_io_error | |
set_buffer_unwritten | |
set_buffer_meta | |
set_buffer_prio | |
set_buffer_defer_completion | |
sk_psock_set_state | |
set_page_young | |
set_page_idle | |
watchdog_set_nowayout | Use the following function to set the nowayout feature |
watchdog_stop_on_reboot | Use the following function to stop the watchdog on reboot |
watchdog_stop_on_unregister | Use the following function to stop the watchdog when unregistering it |
源代码转换工具 开放的插件接口 | X |
---|---|
支持:c/c++/esqlc/java Oracle/Informix/Mysql 插件可实现:逻辑报告 代码生成和批量转换代码 |