Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:cmp

Proto:static int __init cmp(void *priv, struct list_head *a, struct list_head *b)

Type:int

Parameter:

TypeParameterName
void *priv
struct list_head *a
struct list_head *b
63  ela = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(a, structdebug_el, list)
64  elb = container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(b, structdebug_el, list)
66  check(ela, elb)
67  Return value - value
Caller
NameDescribe
list_sort_test