Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\boot\bitops.h Create Date:2022-07-28 07:26:16
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:Atomically set a bit in memory

Proto:static inline void set_bit(int nr, void *addr)

Type:void

Parameter:

TypeParameterName
intnr
void *addr
41  asm("btsl %1,%0":"+m"(*(u32*)addr):"Ir"(nr))
Caller
NameDescribe
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_cpuReturns -1 on error.* *cpu_level is set to the current CPU level; *req_level to the required* level. x86-64 is considered level 64 for this purpose.* *err_flags_ptr is set to the flags error array if there are flags missing.
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_stopstop a thread
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