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 - extract a cpumask from a string*@buf: the buffer to extract from*@dstp: the cpumask to set.* Returns -errno, or 0 for success.

Proto:static inline int cpumask_parse(const char *buf, struct cpumask *dstp)

Type:int

Parameter:

TypeParameterName
const char *buf
struct cpumask *dstp
666  len = strchrnul(buf, '\n') - buf
668  Return bitmap_parse(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
rdtgroup_cpus_write