X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fkernel%2Fslides%2F.git;a=blobdiff_plain;f=03types%2Ftypes;h=3f823c36534fdd8ff30199b82735542cc6725027;hp=f8290fe7d6659ac24a4c7f8fec9a666c24ade49a;hb=f1b48dacfd73c928a6bfaf59af6ac6cebf92dad9;hpb=5353d3940308c5f3364a1690decd4ef8d8797b75 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