Searched refs:assoc_array (Results 1 – 10 of 10) sorted by relevance
/linux/include/linux/ |
H A D | assoc_array.h | 22 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 D | assoc_array_priv.h | 76 struct assoc_array *array;
|
H A D | key.h | 265 struct assoc_array keys;
|
/linux/Documentation/translations/zh_CN/core-api/ |
H A D | assoc_array.rst | 3 :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 D | index.rst | 44 assoc_array
|
/linux/Documentation/core-api/ |
H A D | assoc_array.rst | 59 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 D | index.rst | 39 assoc_array
|
/linux/lib/ |
H A D | assoc_array.c | 133 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 D | Makefile | 149 obj-$(CONFIG_ASSOCIATIVE_ARRAY) += assoc_array.o
|
H A D | Kconfig | 502 Documentation/core-api/assoc_array.rst
|