Lines Matching defs:mddev
27 struct mddev *mddev; /* pointing back to mddev. */ member
61 struct mddev *mddev; /* the md device which md_cluster_info belongs to */ member
150 struct mddev *mddev) in dlm_lock_sync_interruptible()
183 static struct dlm_lock_resource *lockres_init(struct mddev *mddev, in lockres_init()
268 static int read_resync_info(struct mddev *mddev, in read_resync_info()
288 struct mddev *mddev = thread->mddev; in recover_bitmaps() local
354 struct mddev *mddev = arg; in recover_prep() local
359 static void __recover_slot(struct mddev *mddev, int slot) in __recover_slot()
377 struct mddev *mddev = arg; in recover_slot() local
393 struct mddev *mddev = arg; in recover_done() local
432 static void remove_suspend_info(struct mddev *mddev, int slot) in remove_suspend_info()
443 static void process_suspend_info(struct mddev *mddev, in process_suspend_info()
504 static void process_add_new_disk(struct mddev *mddev, struct cluster_msg *cmsg) in process_add_new_disk()
526 static void process_metadata_update(struct mddev *mddev, struct cluster_msg *msg) in process_metadata_update()
545 static void process_remove_disk(struct mddev *mddev, struct cluster_msg *msg) in process_remove_disk()
562 static void process_readd_disk(struct mddev *mddev, struct cluster_msg *msg) in process_readd_disk()
576 static int process_recvd_msg(struct mddev *mddev, struct cluster_msg *msg) in process_recvd_msg()
691 struct mddev *mddev = cinfo->mddev; in lock_comm() local
801 static int gather_all_resync_info(struct mddev *mddev, int total_slots) in gather_all_resync_info()
860 static int join(struct mddev *mddev, int nodes) in join()
970 static void load_bitmaps(struct mddev *mddev, int total_slots) in load_bitmaps()
983 static void resync_bitmap(struct mddev *mddev) in resync_bitmap()
997 static int leave(struct mddev *mddev) in leave()
1036 static int slot_number(struct mddev *mddev) in slot_number()
1049 static int metadata_update_start(struct mddev *mddev) in metadata_update_start()
1078 static int metadata_update_finish(struct mddev *mddev) in metadata_update_finish()
1105 static void metadata_update_cancel(struct mddev *mddev) in metadata_update_cancel()
1112 static int update_bitmap_size(struct mddev *mddev, sector_t size) in update_bitmap_size()
1127 static int resize_bitmaps(struct mddev *mddev, sector_t newsize, sector_t oldsize) in resize_bitmaps()
1191 static int cluster_check_sync_size(struct mddev *mddev) in cluster_check_sync_size()
1258 static void update_size(struct mddev *mddev, sector_t old_dev_sectors) in update_size()
1323 static int resync_start(struct mddev *mddev) in resync_start()
1329 static void resync_info_get(struct mddev *mddev, sector_t *lo, sector_t *hi) in resync_info_get()
1339 static int resync_info_update(struct mddev *mddev, sector_t lo, sector_t hi) in resync_info_update()
1369 static int resync_finish(struct mddev *mddev) in resync_finish()
1386 static int area_resyncing(struct mddev *mddev, int direction, in area_resyncing()
1407 static int add_new_disk(struct mddev *mddev, struct md_rdev *rdev) in add_new_disk()
1454 static void add_new_disk_cancel(struct mddev *mddev) in add_new_disk_cancel()
1461 static int new_disk_ack(struct mddev *mddev, bool ack) in new_disk_ack()
1476 static int remove_disk(struct mddev *mddev, struct md_rdev *rdev) in remove_disk()
1485 static int lock_all_bitmaps(struct mddev *mddev) in lock_all_bitmaps()
1520 static void unlock_all_bitmaps(struct mddev *mddev) in unlock_all_bitmaps()
1542 struct mddev *mddev = rdev->mddev; in gather_bitmaps() local