Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\kyber-iosched.c Create Date:2022-07-28 17:52:29
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:kyber_dispatch_cur_domain

Proto:static struct request *kyber_dispatch_cur_domain(struct kyber_queue_data *kqd, struct kyber_hctx_data *khd, struct blk_mq_hw_ctx *hctx)

Type:struct request

Parameter:

TypeParameterName
struct kyber_queue_data *kqd
struct kyber_hctx_data *khd
struct blk_mq_hw_ctx *hctx
758  rqs = rqs[cur_domain]
768  rq = list_first_entry_or_null - get the first element from a list*@ptr: the list head to take the element from.*@type: the type of the struct this is embedded in.*@member: the name of the list_head within the struct.(rqs, structrequest, queuelist)
769  If rq Then
770  nr = kyber_get_domain_token(kqd, khd, hctx)
771  If nr >= 0 Then
772  batching++
775  Return rq
776  Else
780  Else if sbitmap_any_bit_set( & kcq_map[cur_domain]) Then
781  nr = kyber_get_domain_token(kqd, khd, hctx)
782  If nr >= 0 Then
785  batching++
788  Return rq
789  Else
796  Return NULL
Caller
NameDescribe
kyber_dispatch_request