From f1b48dacfd73c928a6bfaf59af6ac6cebf92dad9 Mon Sep 17 00:00:00 2001 From: Thadeu Lima de Souza Cascardo Date: Sun, 16 May 2010 14:36:01 -0300 Subject: [PATCH] Added bitmaps. --- 03types/types | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) diff --git a/03types/types b/03types/types index f8290fe..3f823c3 100644 --- a/03types/types +++ b/03types/types @@ -111,6 +111,31 @@ Reference: # Bitmaps +# Declaration + +* include linux/types.h +* include linux/bitops.h +* DECLARE\\_BITMAP + +# API + +* All atomic, prefix \\_ to use non-atomic +* set\\_bit +* clear\\_bit +* change\\_bit +* test\\_and\\_set\\_bit +* test\\_and\\_clear\\_bit +* test\\_and\\_change\\_bit + +# Lookup + +* find\\_first\\_bit +* find\\_first\\_zero\\_bit +* find\\_last\\_bit +* find\\_next\\_bit +* find\\_next\\_zero\\_bit +* for\\_each\\_set\\_bit + # Trees and hashes # Other data types -- 2.20.1