Lines Matching defs:slot
65 /* This version is for the extended slot map */
88 * Post the slot information on disk into our slot_info struct.
109 * The slot data will have been refreshed when ocfs2_super_lock
147 /* post the our slot info stuff into it's destination bh and write it
207 * Calculate how many bytes are needed by the slot map. Returns
208 * an error if the slot map file is too small.
233 /* try to find global node in the slot info. Returns -ENOENT
275 int slot;
279 slot = __ocfs2_node_num_to_slot(si, node_num);
282 return slot;
451 int slot;
459 /* search for ourselves first and take the slot if it already
463 slot = __ocfs2_node_num_to_slot(si, osb->node_num);
464 if (slot < 0) {
465 /* if no slot yet, then just take 1st available
467 slot = __ocfs2_find_empty_slot(si, osb->preferred_slot);
468 if (slot < 0) {
476 "allocated to this node!\n", slot, osb->dev_str);
478 ocfs2_set_slot(si, slot, osb->node_num);
479 osb->slot_num = slot;
488 * if write block failed, invalidate slot to avoid overwrite
489 * slot during dismount in case another node rightly has mounted