函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\sched.h Create Date:2022-07-27 06:58:32
Last Modify:2021-07-28 10:30:23 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:task_pid_nr

函数原型:static inline pid_t task_pid_nr(struct task_struct *tsk)

返回类型:pid_t

参数:

类型参数名称
struct task_struct *tsk
1325  返回:进程ID
调用者
名称描述
signal_fault
show_signal
do_sys_vm86
umip_printkmip_printk() - Print a rate-limited message*@regs: Register set with the context in which the warning is printed*@log_level: Kernel log level to print the message*@fmt: The text string to print* Print the text contained in @fmt
do_exit
call_usermodehelper_exec_asyncThis is the task which runs the usermode application
process_one_workprocess_one_work - process single work*@worker: self*@work: work to process* Process @work
pr_cont_work
show_pwq
show_workqueue_stateshow_workqueue_state - dump workqueue state* Called from a sysrq handler or try_to_freeze_tasks() and prints out* all busy workqueues and pools.
async_run_entry_fnpick the first pending entry and run it
async_synchronize_cookie_domainasync_synchronize_cookie_domain - synchronize asynchronous function calls within a certain domain with cookie checkpointing*@cookie: async_cookie_t to use as checkpoint*@domain: the domain to synchronize (%NULL for all registered domains)* This function
sched_show_task
print_task
print_cpu
lockdep_print_held_locks
print_lock_nested_lock_not_held
print_unlock_imbalance_bug
print_freed_lock_bug
print_held_locks_bug
rt_mutex_adjust_prio_chainAdjust the priority chain
printk_task
debug_rt_mutex_print_deadlock
spin_dump
rwlock_bug
check_syslog_permissions
printk_caller_id
check_rlimit
audit_filter
bpf_get_probe_write_proto
trace_initcall_start_cb
oom_reap_task_mmReaps the address space of the give task.* Returns true on success and false if none or part of the address space* has been reclaimed and the caller should retry later.
oom_reap_task
__oom_kill_process
print_error_description
print_address_stack_frame
check_qopheck_qop: Test if a queued operation sleeps on the semaphore semnum
submit_biosubmit_bio - submit a bio to the block device layer for I/O*@bio: The &struct bio which describes the I/O* submit_bio() is very similar in purpose to generic_make_request(), and* uses that function to do most of the work. Both are fairly rough
selinux_nlmsg_perm
tomoyo_print_headermoyo_print_header - Get header line of audit log.*@r: Pointer to "struct tomoyo_request_info".* Returns string representation.* This function uses kmalloc(), so caller must kfree() if this function* didn't return NULL.
report_load
integrity_audit_msg
block_dump___mark_inode_dirty
elf_map
format_corenamermat_corename will inspect the pattern parameter, and output a* name into corename, which must have space for at least* CORENAME_MAX_SIZE bytes plus one byte for the zero terminator.
drop_caches_sysctl_handler