Searched refs:writes_pending (Results 1 – 2 of 2) sorted by relevance
478 struct percpu_ref writes_pending; member
2508 percpu_ref_switch_to_atomic_sync(&mddev->writes_pending); in set_in_sync()2511 percpu_ref_is_zero(&mddev->writes_pending)) { in set_in_sync()2522 percpu_ref_switch_to_percpu(&mddev->writes_pending); in set_in_sync()5604 if (mddev->writes_pending.percpu_count_ptr) in mddev_init_writes_pending()5606 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()5610 percpu_ref_put(&mddev->writes_pending); in mddev_init_writes_pending()6309 percpu_ref_exit(&mddev->writes_pending); in md_stop()7889 percpu_ref_exit(&mddev->writes_pending); in md_free_disk()8580 percpu_ref_get(&mddev->writes_pending); in md_write_start()8605 percpu_ref_put(&mddev->writes_pending); in md_write_start()[all …]