From: Thadeu Lima de Souza Cascardo Date: Sun, 16 May 2010 17:36:01 +0000 (-0300) Subject: Added bitmaps. X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fkernel%2Fslides%2F.git;a=commitdiff_plain;h=f1b48dacfd73c928a6bfaf59af6ac6cebf92dad9 Added bitmaps. --- 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