Function report |
Source Code:include\rdma\ib_verbs.h |
Create Date:2022-07-28 07:14:26 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:dma_alloc_hw_stats_struct - Helper function to allocate dynamic struct* for drivers.*@names - Array of static const char **@num_counters - How many elements in array*@lifespan - How many milliseconds between updates
Proto:static inline struct rdma_hw_stats *rdma_alloc_hw_stats_struct(const char *const *names, int num_counters, unsigned long lifespan)
Type:struct rdma_hw_stats
Parameter:
Type | Parameter | Name |
---|---|---|
const char *const * | names | |
int | num_counters | |
unsigned long | lifespan |
577 | stats = kzalloc - allocate memory. The memory is set to zero.*@size: how many bytes of memory are required.*@flags: the type of memory to allocate (see kmalloc). |
579 | If Not stats Then Return NULL |
582 | num_counters = num_counters |
585 | Return stats |
Source code conversion tool public plug-in interface | X |
---|---|
Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |