Function report |
Source Code:kernel\trace\tracing_map.c |
Create Date:2022-07-28 12:07:21 |
Last Modify:2020-03-17 19:44:05 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:tracing_map_elt_alloc
Proto:static struct tracing_map_elt *tracing_map_elt_alloc(struct tracing_map *map)
Type:struct tracing_map_elt
Parameter:
Type | Parameter | Name |
---|---|---|
struct tracing_map * | map |
403 | err = 0 |
405 | elt = 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). |
411 | key = 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). |
412 | If Not key Then |
417 | fields = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
418 | If Not fields Then |
423 | vars = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
424 | If Not vars Then |
429 | var_set = kcalloc - allocate memory for an array. The memory is set to zero.*@n: number of elements.*@size: element size.*@flags: the type of memory to allocate (see kmalloc). |
430 | If Not var_set Then |
442 | Return elt |
443 | free : |
444 | tracing_map_elt_free(elt) |
Name | Describe |
---|---|
tracing_map_alloc_elts |
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 |