#ifndef __CPUPOWER_BITMASK__ #define __CPUPOWER_BITMASK__ /* Taken over from libbitmask, a project initiated from sgi: * Url: http://oss.sgi.com/projects/cpusets/ * Unfortunately it's not very widespread, therefore relevant parts are * pasted here. */ struct bitmask { unsigned int size; unsigned long *maskp; }; struct bitmask *bitmask_alloc(unsigned int n); void bitmask_free(struct bitmask *bmp); struct bitmask *bitmask_setbit(struct bitmask *bmp, unsigned int i); struct bitmask *bitmask_setall(struct bitmask *bmp); struct bitmask *bitmask_clearall(struct bitmask *bmp); unsigned int bitmask_first(const struct bitmask *bmp); unsigned int bitmask_next(const struct bitmask *bmp, unsigned int i); unsigned int bitmask_last(const struct bitmask *bmp); int bitmask_isallclear(const struct bitmask *bmp); int bitmask_isbitset(const struct bitmask *bmp, unsigned int i); int bitmask_parselist(const char *buf, struct bitmask *bmp); int bitmask_displaylist(char *buf, int len, const struct bitmask *bmp); #endif /*__CPUPOWER_BITMASK__ */ ted='selected'>master</option> <option value='nds-private-remove'>nds-private-remove</option> <option value='packet-loop-back'>packet-loop-back</option> <option value='packet-rx-pump-back'>packet-rx-pump-back</option> </select> <input type='submit' value='switch'/></form></td></tr> <tr><td class='sub'>net-next plumbings</td><td class='sub right'>Tobias Klauser</td></tr></table> <table class='tabs'><tr><td> <a href='/cgit.cgi/linux/net-next.git/'>summary</a><a href='/cgit.cgi/linux/net-next.git/refs/?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/sound/pci/echoaudio/mia.c'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/sound/pci/echoaudio/mia.c?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/sound/pci/echoaudio/mia.c?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/sound/pci/echoaudio/mia.c?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/sound/pci/echoaudio/mia.c'> <input type='hidden' name='id' value='148141bb26cf942e6bc7249c55d9958dd62dd4f2'/><select name='qt'> <option value='grep'>log msg</option> <option value='author'>author</option> <option value='committer'>committer</option> <option value='range'>range</option> </select> <input class='txt' type='search' size='10' name='q' value=''/> <input type='submit' value='search'/> </form> </td></tr></table> <div class='path'>path: <a href='/cgit.cgi/linux/net-next.git/log/?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>sound</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>pci</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/echoaudio?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>echoaudio</a>/<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/echoaudio/mia.c?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2'>mia.c</a></div><div class='content'><table class='list nowrap'><tr class='nohover'><th class='left'>Age</th><th class='left'>Commit message (<a href='/cgit.cgi/linux/net-next.git/log/sound/pci/echoaudio/mia.c?id=148141bb26cf942e6bc7249c55d9958dd62dd4f2&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>