Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\fork.c Create Date:2022-07-28 08:58:12
Last Modify:2020-03-17 11:04:53 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:copy_io

Proto:static int copy_io(unsigned long clone_flags, struct task_struct *tsk)

Type:int

Parameter:

TypeParameterName
unsigned longclone_flags
struct task_struct *tsk
1479  ioc = io_context
1482  If Not ioc Then Return 0
1487  If clone_flags & Clone io context Then
1488  ioc_task_link(ioc)
1489  io_context = ioc
1490  Else if ioprio_valid(ioprio) Then
1491  new_ioc = get_task_io_context(tsk, GFP_KERNEL, NUMA_NO_NODE)
1492  If Value for the false possibility is greater at compile time(!new_ioc) Then Return -ENOMEM
1495  ioprio = ioprio
1496  put_io_context(new_ioc)
1499  Return 0
Caller
NameDescribe
copy_processCreate a new process