函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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
注解内核,赢得工具下载SCCTEnglish

函数名称:设置内存位

函数原型:static inline void set_bit(int nr, void *addr)

返回类型:void

参数:

类型参数名称
intnr
void *addr
41  asm("btsl %1,%0":"+m"(*(u32*)addr):"Ir"(nr))
调用者
名称描述
bitmap_remapmap_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_ontomap_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_foldmap_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_disableq_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_cpuCPU检查
clear_feature
mce_first_notifier
mce_disable_bank
cmci_discoverEnable 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_cpukthread_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_parkkthread_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_chipq_map_generic_chip - Map a generic chip for an irq domain
irq_sim_fireq_sim_fire - Enqueue an interrupt.*@sim: The interrupt simulator object.*@offset: Offset of the simulated interrupt which should be fired.
irq_matrix_assign_systemq_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_managedq_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_notifyAsync notification about clocksource changes
tick_oneshot_notifyAsync notification about clock event changes
add_taint_module
init_cgroup_root
cgroup_createThe 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_frozenPropagate the cgroup frozen state upwards by the cgroup tree.
cgroup_update_frozenRevisit the cgroup frozen state.* Checks if the cgroup is really frozen and perform all state transitions.
cgroup_do_freezeFreeze or unfreeze all tasks in the given cgroup.
update_flagpdate_flag - read a 0 or a 1 in a file and update associated flag* Call with cpuset_mutex held.
cpuset_css_allocpuset_css_alloc - allocate a cpuset css* cgrp: control group that the new cpuset will be part of
cpuset_css_online
cpuset_initpuset_init - initialize cpusets at system boot* Description: Initialize top_cpuset
trace_filter_add_remove_taskrace_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_flagpdate_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_munmapCalled in context of a munmap of a vma.
__create_xol_area
uprobe_dup_mmap
oom_reap_task
mark_oom_victimmark_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_areapcpu_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_chunkpcpu_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_mmapRelease all mmaps.
steal_suitable_fallbackThis 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_shuffleDepending on the architecture, module parameter parsing may run* before, or after the cache detection
frontswap_register_opsRegister operations for frontswap
__frontswap_set
__ksm_enter
kasan_set_multi_shot
setup_transparent_hugepage
memcg_set_shrinker_bit
__release_z3fold_page
z3fold_allocz3fold_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_mapz3fold_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_queueThis 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_hctxMark 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_cbHelper function to check the validity of zones of a zoned block device.
key_gc_keytypeReap 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_collectorReaper for unused keys.
__key_instantiate_and_linkInstantiate 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_keyAllocate 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_domainmoyo_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_checkma_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_tmpfilema_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_verifyxattr_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_setattrma_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_initAllocate the IMA blacklist keyring
move_expired_inodesMove expired (dirtied before work->older_than_this) dirty inodes from*@delaying_queue to @dispatch_queue.
wb_do_writebackRetrieve work items and do the writeback they describe
end_bio_bh_io_sync
io_wq_managerManager 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_acquireRead dquot from disk and alloc space for it
do_set_dqblkGeneric routine for setting common part of quota structure
v1_read_dqblk
qtree_read_dquot
get_cpuflags
i2c_mark_adapter_suspended2c_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_uptodateEmit 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_nowayoutUse the following function to set the nowayout feature
watchdog_stop_on_rebootUse the following function to stop the watchdog on reboot
watchdog_stop_on_unregisterUse the following function to stop the watchdog when unregistering it