Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\profile.c Create Date:2022-07-28 10:37:41
Last Modify:2020-03-17 15:11:09 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:prof_cpu_mask_proc_write

Proto:static ssize_t prof_cpu_mask_proc_write(struct file *file, const char __user *buffer, size_t count, loff_t *pos)

Type:ssize_t

Parameter:

TypeParameterName
struct file *file
const char __user *buffer
size_tcount
loff_t *pos
433  If Not alloc_cpumask_var( & new_value, GFP_KERNEL) Then Return -ENOMEM
436  err = pumask_parse_user - extract a cpumask from a user string*@buf: the buffer to extract from*@len: the length of the buffer*@dstp: the cpumask to set.* Returns -errno, or 0 for success.
437  If Not err Then
438  pumask_copy - *dstp = *srcp*@dstp: the result*@srcp: the input cpumask
439  err = count
441  free_cpumask_var(new_value)
442  Return err