Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:lib\test_objagg.c Create Date:2022-07-28 06:35:25
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:test_delta

Proto:static int test_delta(void)

Type:int

Parameter:Nothing

809  struct world world = {}
814  objagg = 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
815  If IS_ERR(objagg) Then Return PTR_ERR(objagg)
818  When i < ARRAY_SIZE - get the number of elements in array @arr*@arr: array to be sized(action_items) cycle
819  err = test_delta_action_item( & world, objagg, & action_items[i], false)
821  If err Then Go to err_do_action_item
825  bjagg_destroy - destroys a new objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller.
826  Return 0
828  err_do_action_item :
829  When i >= 0 cycle test_delta_action_item( & world, objagg, & action_items[i], true)
832  bjagg_destroy - destroys a new objagg instance*@objagg: objagg instance* Note: all locking must be provided by the caller.
833  Return err
Caller
NameDescribe
test_objagg_init