函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\slab.h Create Date:2022-07-27 06:59:05
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:分配数组内存并置零

函数原型:static inline void *kcalloc(size_t n, size_t size, gfp_t flags)

返回类型:void

参数:

类型参数名称
size_tn
size_tsize
gfp_tflags
609  返回:分配数组内存
调用者
名称描述
list_sort_test
test_memcat_p_init
lc_createlc_create - prepares to track objects in an active set*@name: descriptive name only used in lc_seq_printf_stats and lc_seq_dump_details*@max_pending_changes: maximum changes to accumulate until a transaction is required*@e_count: number of elements
mpi_resize调整mpi数组空间
sg_splitsg_split - split a scatterlist into several scatterlists*@in: the input sg list*@in_mapped_nents: the result of a dma_map_sg(in,
objagg_tmp_graph_create
mce_threshold_create_devicereate dir/files for all valid threshold banks
mtrr_file_add
domain_setup_mon_state
dom_data_init
hpet_enablehpet_enable - Try to setup the HPET timer. Returns 1 on success.
amd_cache_northbridges
wq_numa_init
cpupri_initpupri_init - initialize the cpupri structure*@cp: The cpupri context* Return: -ENOMEM on memory allocation failure.
cpudl_initpudl_init - initialize the cpudl structure*@cp: the cpudl max-heap context
lock_torture_init
em_create_pd
alloc_node_to_cpumask
__irq_build_affinity_masks
irq_create_affinity_masksq_create_affinity_masks - Create affinity masks for multiqueue spreading*@nvecs: The total number of vectors*@affd: Description of the affinity requirements* Returns the irq_affinity_desc pointer or NULL if allocation failed.
rcu_torture_barrier_initInitialize RCU barrier testing.
rcu_torture_init
rcu_perf_init
rdmacg_resource_set_max
audit_init_entryInitialize an audit filterlist entry.
audit_register_class
add_linksCreate links to additional files (usually .c and .gcno files) which the* gcov tool expects to find in the same directory as the gcov data file.
new_nodeCreate a new node and associated debugfs entry. Needs to be called with* node_lock held.
add_infoAssociate a profiling data set with an existing node. Needs to be called* with node_lock held.
gcov_info_dupgcov_info_dup - duplicate profiling data set*@info: profiling data set to duplicate* Return newly allocated duplicate on success, %NULL on error.
kdb_defcmd2
__tracing_open
create_trace_option_files
tracing_map_array_alloc
tracing_map_elt_alloc
init_ftrace_syscalls
predicate_parseWithout going into a formal proof, this explains the method that is used in* parsing the logical expressions
alloc_synth_event
perf_event_query_prog_array
traceprobe_parse_probe_arg_bodyString length checking wrapper
bpf_prog_alloc_jited_linfo
bpf_prog_array_copy_to_user
check_btf_func
func_states_equalmpare two verifier states* all states stored in state_list are known to be valid, since* verifier reached 'bpf_exit' instruction through them* this function is called when verifier exploring different branches of* execution popped from the state stack
jit_subprogs
perf_event_allocAllocate and initialize an event structure
init_hw_breakpoint
__create_xol_area
__list_lru_init
__gup_longterm_locked__gup_longterm_locked() is a wrapper for __get_user_pages_locked which* allows us to process the FOLL_LONGTERM flag.
init_bio
aix_partition
init_digests
ordered_lsm_init
unpack_trans_tablepack_trans_table - unpack a profile transition table*@e: serialized data extent information (NOT NULL)*@profile: profile to add the accept table to (NOT NULL)* Returns: 1 if table successfully unpacked
unpack_xattrs
unpack_secmark
ima_init_digests
ima_init_arch_policy
alloc_pipe_info
pipe_set_sizeAllocate a new array of pipe buffers and copy the info over. Returns the* pipe size if successful, or return -ERROR on error.
iter_file_splice_writer_file_splice_write - splice data from a pipe to a file*@pipe: pipe info*@out: file to write to*@ppos: position in @out*@len: number of bytes to splice*@flags: splice modifier flags* Description:* Will either move or copy pages (determined by @flags
aio_setup_ring
io_sqe_alloc_file_tables
io_sqe_files_register
io_sqe_buffer_register
io_wq_create
ramfs_nommu_get_unmapped_area