Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:print_rpool_values

Proto:static void print_rpool_values(struct seq_file *sf, struct rdmacg_resource_pool *rpool)

Type:void

Parameter:

TypeParameterName
struct seq_file *sf
struct rdmacg_resource_pool *rpool
499  sf_type = private
501  When i < RDMACG_RESOURCE_MAX cycle
502  seq_puts(sf, source table definition as to be seen by the user.* Need to add entries to it when more resources are* added/defined at IB verb/core layer.[i])
503  seq_putc(sf, '=')
505  If rpool Then value = max
507  Else value = S32_MAX
509  Else
510  If rpool Then value = usage
512  Else value = 0
516  If value == S32_MAX Then seq_puts(sf, RDMACG_MAX_STR)
518  Else seq_printf(sf, "%d", value)
520  seq_putc(sf, ' ')
Caller
NameDescribe
rdmacg_resource_read