Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\cpumask.h Create Date:2022-07-28 05:34:55
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name: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.

Proto:static inline int cpumask_parse_user(const char __user *buf, int len, struct cpumask *dstp)

Type:int

Parameter:

TypeParameterName
const char __user *buf
intlen
struct cpumask *dstp
639  Return bitmap_parse_user(buf, len, cpumask_bits - get the bits in a cpumask*@maskp: the struct cpumask ** You should only assume nr_cpu_ids bits of this mask are valid. This is* a macro so it's const-correct.(dstp), nr_cpumask_bits)
Caller
NameDescribe
prof_cpu_mask_proc_write
tracing_cpumask_write