Home
last modified time | relevance | path

Searched refs:assoc_array (Results 1 – 10 of 10) sorted by relevance

/linux/include/linux/
H A Dassoc_array.h22 struct assoc_array { struct
54 static inline void assoc_array_init(struct assoc_array *array) in assoc_array_init()
60 extern int assoc_array_iterate(const struct assoc_array *array,
64 extern void *assoc_array_find(const struct assoc_array *array,
67 extern void assoc_array_destroy(struct assoc_array *array,
69 extern struct assoc_array_edit *assoc_array_insert(struct assoc_array *array,
75 extern struct assoc_array_edit *assoc_array_delete(struct assoc_array *array,
78 extern struct assoc_array_edit *assoc_array_clear(struct assoc_array *array,
82 extern int assoc_array_gc(struct assoc_array *array,
H A Dassoc_array_priv.h76 struct assoc_array *array;
H A Dkey.h265 struct assoc_array keys;
/linux/Documentation/translations/zh_CN/core-api/
H A Dassoc_array.rst3 :Original: Documentation/core-api/assoc_array.rst
62 公用API可以在 ``<linux/assoc_array.h>`` 中找到。关联数组的根是以下结构::
64 struct assoc_array {
162 void assoc_array_init(struct assoc_array *array);
170 assoc_array_insert(struct assoc_array *array,
191 assoc_array_delete(struct assoc_array *array,
208 assoc_array_clear(struct assoc_array *array,
221 void assoc_array_destroy(struct assoc_array *array,
232 int assoc_array_gc(struct assoc_array *array,
258 int assoc_array_iterate(const struct assoc_array *array,
[all …]
H A Dindex.rst44 assoc_array
/linux/Documentation/core-api/
H A Dassoc_array.rst59 The public API can be found in ``<linux/assoc_array.h>``. The associative
62 struct assoc_array {
172 void assoc_array_init(struct assoc_array *array);
180 assoc_array_insert(struct assoc_array *array,
205 assoc_array_delete(struct assoc_array *array,
225 assoc_array_clear(struct assoc_array *array,
240 void assoc_array_destroy(struct assoc_array *array,
255 int assoc_array_gc(struct assoc_array *array,
287 int assoc_array_iterate(const struct assoc_array *array,
309 void *assoc_array_find(const struct assoc_array *array,
H A Dindex.rst39 assoc_array
/linux/lib/
H A Dassoc_array.c133 int assoc_array_iterate(const struct assoc_array *array, in assoc_array_iterate()
170 assoc_array_walk(const struct assoc_array *array, in assoc_array_walk()
304 void *assoc_array_find(const struct assoc_array *array, in assoc_array_find()
441 void assoc_array_destroy(struct assoc_array *array, in assoc_array_destroy()
963 struct assoc_array_edit *assoc_array_insert(struct assoc_array *array, in assoc_array_insert()
1078 struct assoc_array_edit *assoc_array_delete(struct assoc_array *array, in assoc_array_delete()
1274 struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, in assoc_array_clear()
1453 int assoc_array_gc(struct assoc_array *array, in assoc_array_gc()
H A DMakefile149 obj-$(CONFIG_ASSOCIATIVE_ARRAY) += assoc_array.o
H A DKconfig502 Documentation/core-api/assoc_array.rst