Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/include/linux/
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,
Dassoc_array_priv.h76 struct assoc_array *array;
Dkey.h259 struct assoc_array keys;
/kernel/linux/linux-5.10/Documentation/core-api/
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,
Dindex.rst35 assoc_array
/kernel/linux/linux-5.10/lib/
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()
964 struct assoc_array_edit *assoc_array_insert(struct assoc_array *array, in assoc_array_insert()
1079 struct assoc_array_edit *assoc_array_delete(struct assoc_array *array, in assoc_array_delete()
1275 struct assoc_array_edit *assoc_array_clear(struct assoc_array *array, in assoc_array_clear()
1454 int assoc_array_gc(struct assoc_array *array, in assoc_array_gc()
DMakefile156 obj-$(CONFIG_ASSOCIATIVE_ARRAY) += assoc_array.o
DKconfig464 Documentation/core-api/assoc_array.rst