Lines Matching refs:slot

35 	int slot;  member
84 __le32 slot; member
235 int slot, ret; in recover_bitmaps() local
240 slot = fls64((u64)cinfo->recovery_map) - 1; in recover_bitmaps()
245 if (slot == s->slot) { in recover_bitmaps()
251 snprintf(str, 64, "bitmap%04d", slot); in recover_bitmaps()
264 ret = bitmap_copy_from_slot(mddev, slot, &lo, &hi, true); in recover_bitmaps()
266 pr_err("md-cluster: Could not copy data from bitmap %d\n", slot); in recover_bitmaps()
279 clear_bit(slot, &cinfo->recovery_map); in recover_bitmaps()
290 static void __recover_slot(struct mddev *mddev, int slot) in __recover_slot() argument
294 set_bit(slot, &cinfo->recovery_map); in __recover_slot()
306 static void recover_slot(void *arg, struct dlm_slot *slot) in recover_slot() argument
313 slot->nodeid, slot->slot, in recover_slot()
317 __recover_slot(mddev, slot->slot - 1); in recover_slot()
359 static void __remove_suspend_info(struct md_cluster_info *cinfo, int slot) in __remove_suspend_info() argument
364 if (slot == s->slot) { in __remove_suspend_info()
371 static void remove_suspend_info(struct mddev *mddev, int slot) in remove_suspend_info() argument
375 __remove_suspend_info(cinfo, slot); in remove_suspend_info()
382 int slot, sector_t lo, sector_t hi) in process_suspend_info() argument
388 remove_suspend_info(mddev, slot); in process_suspend_info()
396 s->slot = slot; in process_suspend_info()
403 __remove_suspend_info(cinfo, slot); in process_suspend_info()
464 if (WARN(mddev->cluster_info->slot_number - 1 == le32_to_cpu(msg->slot), in process_recvd_msg()
465 "node %d received it's own msg\n", le32_to_cpu(msg->slot))) in process_recvd_msg()
472 process_suspend_info(mddev, le32_to_cpu(msg->slot), in process_recvd_msg()
486 __recover_slot(mddev, le32_to_cpu(msg->slot)); in process_recvd_msg()
490 __func__, __LINE__, msg->slot); in process_recvd_msg()
575 int slot = cinfo->slot_number - 1; in __sendmsg() local
577 cmsg->slot = cpu_to_le32(slot); in __sendmsg()
663 s->slot = i; in gather_all_resync_info()