Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\workqueue.c Create Date:2022-07-28 09:27:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:hash value of the content of @attr

Proto:static unsigned int wqattrs_hash(const struct workqueue_attrs *attrs)

Type:unsigned int

Parameter:

TypeParameterName
const struct workqueue_attrs *attrs
3382  hash = 0
3384  hash = jhash_1word(@nice: nice level, hash)
3385  hash = jhash - hash an arbitrary key*@k: sequence of bytes as key*@length: the length of the key*@initval: the previous hash, or an arbitray value* The generic version, hashes an arbitrary sequence of bytes.
3387  Return hash
Caller
NameDescribe
get_unbound_poolget_unbound_pool - get a worker_pool with the specified attributes*@attrs: the attributes of the worker_pool to get* Obtain a worker_pool which has the same attributes as @attrs, bump the* reference count and return it