Function report |
Source Code:lib\objagg.c |
Create Date:2022-07-28 07:23:41 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bjagg_create - creates a new objagg instance*@ops: user-specific callbacks*@objagg_hints: hints, can be NULL*@priv: pointer to a private data passed to the ops* Note: all locking must be provided by the caller
Proto:struct objagg *objagg_create(const struct objagg_ops *ops, struct objagg_hints *objagg_hints, void *priv)
Type:struct objagg
Parameter:
Type | Parameter | Name |
---|---|---|
const struct objagg_ops * | ops | |
struct objagg_hints * | objagg_hints | |
void * | priv |
520 | If WARN_ON(!ops || !root_create || !root_destroy || !delta_check || !delta_create || !delta_destroy) Then Return ERR_PTR( - EINVAL) |
525 | objagg = 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). |
529 | If objagg_hints Then |
530 | hints = objagg_hints |
531 | refcount++ |
537 | key_offset = offsetof(structobjagg_obj, obj) |
538 | head_offset = offsetof(structobjagg_obj, ht_node) |
541 | If err Then Go to err_rhashtable_init |
547 | Return objagg |
549 | err_rhashtable_init : |
Name | Describe |
---|---|
test_delta | |
test_hints_case | |
test_nodelta |
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 |