函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\cgroup\rdma.c Create Date:2022-07-27 12:17:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:print_rpool_values

函数原型:static void print_rpool_values(struct seq_file *sf, struct rdmacg_resource_pool *rpool)

返回类型:void

参数:

类型参数名称
struct seq_file *sf
struct rdmacg_resource_pool *rpool
499  sf_type等于private
501 i小于RDMACG_RESOURCE_MAX循环
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, '=')
504  如果sf_type恒等于RDMACG_RESOURCE_TYPE_MAX
505  如果rpoolvalue等于max
507  否则value等于S32_MAX
509  否则
510  如果rpoolvalue等于usage
512  否则value等于0
516  如果value恒等于S32_MAXseq_puts(sf, RDMACG_MAX_STR)
518  否则seq_printf(sf, "%d", value)
520  seq_putc(sf, ' ')
调用者
名称描述
rdmacg_resource_read