Lines Matching defs:mddev

143 void add_mddev_mapping(mddev_t * mddev, kdev_t dev, void *data)  in add_mddev_mapping()
159 void del_mddev_mapping(mddev_t * mddev, kdev_t dev) in del_mddev_mapping()
177 mddev_t *mddev = kdev_to_mddev(bh->b_rdev); in md_make_request() local
189 mddev_t *mddev; in alloc_mddev() local
222 mdk_rdev_t * find_rdev_nr(mddev_t *mddev, int nr) in find_rdev_nr()
234 mdk_rdev_t * find_rdev(mddev_t * mddev, kdev_t dev) in find_rdev()
285 static unsigned int calc_dev_sboffset(kdev_t dev, mddev_t *mddev, in calc_dev_sboffset()
297 static unsigned int calc_dev_size(kdev_t dev, mddev_t *mddev, int persistent) in calc_dev_size()
311 static unsigned int zoned_raid_size(mddev_t *mddev) in zoned_raid_size()
341 int md_check_ordering(mddev_t *mddev) in md_check_ordering()
429 static int alloc_array_sb(mddev_t * mddev) in alloc_array_sb()
590 static mdk_rdev_t * match_dev_unit(mddev_t *mddev, kdev_t dev) in match_dev_unit()
617 static void bind_rdev_to_array(mdk_rdev_t * rdev, mddev_t * mddev) in bind_rdev_to_array()
714 static void export_array(mddev_t *mddev) in export_array()
736 static void free_mddev(mddev_t *mddev) in free_mddev()
823 mddev_t *mddev; in md_print_devices() local
963 static void set_this_disk(mddev_t *mddev, mdk_rdev_t *rdev) in set_this_disk()
990 static int sync_sbs(mddev_t * mddev) in sync_sbs()
1007 int md_update_sb(mddev_t * mddev) in md_update_sb()
1184 static int analyze_sbs(mddev_t * mddev) in analyze_sbs()
1544 static int device_size_calculation(mddev_t * mddev) in device_size_calculation()
1640 static int do_md_run(mddev_t * mddev) in do_md_run()
1779 static int restart_array(mddev_t *mddev) in restart_array()
1819 static int do_md_stop(mddev_t * mddev, int ro) in do_md_stop()
1915 static void autorun_array(mddev_t *mddev) in autorun_array()
1961 mddev_t *mddev; in autorun_devices() local
2143 static int get_array_info(mddev_t * mddev, void * arg) in get_array_info()
2181 static int get_disk_info(mddev_t * mddev, void * arg) in get_disk_info()
2210 static int add_new_disk(mddev_t * mddev, mdu_disk_info_t *info) in add_new_disk()
2305 static int hot_generate_error(mddev_t * mddev, kdev_t dev) in hot_generate_error()
2342 static int hot_remove_disk(mddev_t * mddev, kdev_t dev) in hot_remove_disk()
2396 static int hot_add_disk(mddev_t * mddev, kdev_t dev) in hot_add_disk()
2519 static int set_array_info(mddev_t * mddev, mdu_array_info_t *info) in set_array_info()
2560 static int set_disk_info(mddev_t * mddev, void * arg) in set_disk_info()
2566 static int clear_array(mddev_t * mddev) in clear_array()
2572 static int write_raid_info(mddev_t * mddev) in write_raid_info()
2578 static int protect_array(mddev_t * mddev) in protect_array()
2584 static int unprotect_array(mddev_t * mddev) in unprotect_array()
2590 static int set_disk_faulty(mddev_t *mddev, kdev_t dev) in set_disk_faulty()
2604 mddev_t *mddev = NULL; in md_ioctl() local
2907 mddev_t *mddev = kdev_to_mddev(inode->i_rdev); in md_open() local
2915 mddev_t *mddev = kdev_to_mddev(inode->i_rdev); in md_release() local
3060 int md_error(mddev_t *mddev, kdev_t rdev) in md_error()
3118 static void status_resync(struct seq_file *seq, mddev_t * mddev) in status_resync()
3180 mddev_t *mddev; in md_seq_start() local
3201 mddev_t *next_mddev, *mddev = v; in md_seq_next() local
3232 mddev_t *mddev = v; in md_seq_show() local
3350 mdp_disk_t *get_spare(mddev_t *mddev) in get_spare()
3389 static int is_mddev_idle(mddev_t *mddev) in is_mddev_idle()
3417 void md_done_sync(mddev_t *mddev, int blocks, int ok) in md_done_sync()
3433 int md_do_sync(mddev_t *mddev, mdp_disk_t *spare) in md_do_sync()
3602 mddev_t *mddev; in md_do_recovery() local
3692 mddev_t *mddev; in md_notify_reboot() local
3944 mddev_t*mddev; in md_setup_drive() local