函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\asm-generic\bitops\instrumented-atomic.h Create Date:2022-07-27 06:38:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:set_bit - Atomically set a bit in memory*@nr: the bit to set*@addr: the address to start counting from* This is a relaxed atomic operation (no implied memory barriers).* Note that @nr may be almost arbitrarily large; this function is not

函数原型:static inline void set_bit(long nr, volatile unsigned long *addr)

返回类型:void

参数:

类型参数名称
longnr
volatile unsigned long *addr
28  kasan_check_write(addr + BIT_WORD(nr), sizeof(long))
29  arch_set_bit(nr, addr)
调用者
名称描述
vsscanfvsscanf - Unformat a buffer into a list of arguments*@buf: input buffer*@fmt: format of buffer*@args: arguments
get_cpuflags
idt_setup_from_table
add_taintadd_taint: add a taint flag if not already set.*@flag: one of the TAINT_* constants.*@lockdep_ok: whether lock debugging is still OK.* If something bad has gone wrong, you'll want @lockdebug_ok = false, but for
__oom_reap_task_mm
blk_queue_flag_setlk_queue_flag_set - atomically set a queue flag*@flag: flag to be set*@q: request queue
key_schedule_gc_linksSchedule a dead links collection run.
wb_io_lists_populated
set_bit_le
assign_bitassign_bit - Assign value to a bit in memory*@nr: the bit to set*@addr: the address to start counting from*@value: the value to assign
cpumask_set_cpu设置CPU信息
set_ti_thread_flaglag set/clear/test wrappers* - pass TIF_xxxx constants to these functions
__node_set
SetPageWaiters
SetPageError
SetPageReferenced
SetPageDirty
SetPageLRU
SetPageActive
SetPageWorkingset
SetPageChecked
SetPagePinnedXen
SetPageSavePinned
SetPageForeign
SetPageXenRemapped
SetPageReserved
SetPageSwapBacked
SetPagePrivatePrivate page markings that may be used by the filesystem that owns the page* for its own purposes.* - PG_private and PG_private_2 cause releasepage() and co to be invoked
SetPagePrivate2
SetPageOwnerPriv1
SetPageMappedToDisk
SetPageReclaimPG_readahead is only used for reads; PG_reclaim is only for writes
SetPageReadahead
SetPageUnevictable
SetPageMlocked
SetPageHWPoison
SetPageUptodate
SetPageDoubleMap
mapping_set_errormapping_set_error - record a writeback error in the address_space*@mapping - the mapping in which an error should be set*@error - the error to set in the mapping* When writeback fails in some way, we must record that error so that
mapping_set_unevictable
mapping_set_exiting
mapping_set_no_writeback_tags
task_set_no_new_privs
task_set_spread_page
task_set_spread_slab
task_set_spec_ssb_disable
task_set_spec_ssb_noexec
task_set_spec_ssb_force_disable
task_set_spec_ib_disable
task_set_spec_ib_force_disable
netif_tx_napi_add_tx_napi_add - initialize a NAPI context*@dev: network device*@napi: NAPI context*@poll: polling function*@weight: default weight* This variant of netif_napi_add() should be used from drivers using NAPI* to exclusively poll a TX queue.
netif_tx_stop_queue
netif_tx_lock抢网络设备发送锁
neigh_var_set
sk_set_bitNote:* We use sk->sk_wq_raw, from contexts knowing this* pointer is not NULL and cannot disappear/change.
tty_port_set_cts_flow
tty_port_set_active
tty_port_set_check_carrier
tty_port_set_suspended
tty_port_set_initialized
tty_port_set_kopened
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
fscache_object_lookup_error对象遇到错误
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.
sbitmap_set_bitHelpers equivalent to the operations in asm/bitops.h and linux/bitmap.h
sbitmap_deferred_clear_bitThis one is special, since it doesn't actually clear the bit, rather it* sets the corresponding bit in the ->cleared mask instead. Paired with* the caller doing sbitmap_deferred_clear() if a given index is full, which