函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\dim.h Create Date:2022-07-27 08:11:34
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:dim_update_sample - set a sample's fields with given values*@event_ctr: number of events to set*@packets: number of packets to set*@bytes: number of bytes to set*@s: DIM sample

函数原型:static inline void dim_update_sample(u16 event_ctr, u64 packets, u64 bytes, struct dim_sample *s)

返回类型:void

参数:

类型参数名称
u16event_ctr
u64packets
u64bytes
struct dim_sample *s
253  time等于ktime_get()
254  pkt_ctr等于packets
255  byte_ctr等于bytes
256  event_ctr等于event_ctr
调用者
名称描述
net_dim
dim_update_sample_with_compsdim_update_sample_with_comps - set a sample's fields with given* values including the completion parameter*@event_ctr: number of events to set*@packets: number of packets to set*@bytes: number of bytes to set*@comps: number of completions to set*@s: DIM