Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:arch\x86\kernel\unwind_orc.c Create Date:2022-07-28 08:50:54
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:unwind_module_init

Proto:void unwind_module_init(struct module *mod, void *_orc_ip, size_t orc_ip_size, void *_orc, size_t orc_size)

Type:void

Parameter:

TypeParameterName
struct module *mod
void *_orc_ip
size_torc_ip_size
void *_orc
size_torc_size
236  orc_ip = _orc_ip
237  orc = _orc
238  num_entries = orc_ip_size / sizeof(int)
240  WARN_ON_ONCE(orc_ip_size % sizeof(int) != 0 || orc_size % size of orc != 0 || num_entries != orc_size / size of orc )
249  mutex_lock( & sort_mutex)
250  cur_orc_ip_table = orc_ip
251  cur_orc_table = orc
252  sort(orc_ip, num_entries, sizeof(int), orc_sort_cmp, orc_sort_swap)
253  mutex_unlock( & sort_mutex)
255  orc_unwind_ip = orc_ip
256  orc_unwind = orc
257  num_orcs = num_entries