/* -*- mode: c; c-basic-offset: 8; -*- * vim: noexpandtab sw=8 ts=8 sts=0: * * slotmap.h * * description here * * Copyright (C) 2002, 2004 Oracle. All rights reserved. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public * License as published by the Free Software Foundation; either * version 2 of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * General Public License for more details. * * You should have received a copy of the GNU General Public * License along with this program; if not, write to the * Free Software Foundation, Inc., 59 Temple Place - Suite 330, * Boston, MA 021110-1307, USA. */ #ifndef SLOTMAP_H #define SLOTMAP_H int ocfs2_init_slot_info(struct ocfs2_super *osb); void ocfs2_free_slot_info(struct ocfs2_super *osb); int ocfs2_find_slot(struct ocfs2_super *osb); void ocfs2_put_slot(struct ocfs2_super *osb); int ocfs2_refresh_slot_info(struct ocfs2_super *osb); int ocfs2_node_num_to_slot(struct ocfs2_super *osb, unsigned int node_num); int ocfs2_slot_to_node_num_locked(struct ocfs2_super *osb, int slot_num, unsigned int *node_num); int ocfs2_clear_slot(struct ocfs2_super *osb, int slot_num); #endif user</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=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>refs</a><a class='active' href='/cgit.cgi/linux/net-next.git/log/include/net/irda/irda.h'>log</a><a href='/cgit.cgi/linux/net-next.git/tree/include/net/irda/irda.h?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>tree</a><a href='/cgit.cgi/linux/net-next.git/commit/include/net/irda/irda.h?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>commit</a><a href='/cgit.cgi/linux/net-next.git/diff/include/net/irda/irda.h?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>diff</a></td><td class='form'><form class='right' method='get' action='/cgit.cgi/linux/net-next.git/log/include/net/irda/irda.h'> <input type='hidden' name='id' value='4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'/><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=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>root</a>/<a href='/cgit.cgi/linux/net-next.git/log/include?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>include</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>net</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net/irda?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>irda</a>/<a href='/cgit.cgi/linux/net-next.git/log/include/net/irda/irda.h?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4'>irda.h</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/include/net/irda/irda.h?id=4f23f206ddce85a92b1acdebe0f4e9ed01b1d3f4&showmsg=1'>Expand</a>)</th><th class='left'>Author</th><th class='left'>Files</th><th class='left'>Lines</th></tr>