Searched refs:writes_pending (Results 1 – 2 of 2) sorted by relevance
477 struct percpu_ref writes_pending; member
2554 percpu_ref_switch_to_atomic_sync(&mddev->writes_pending); in set_in_sync()2557 percpu_ref_is_zero(&mddev->writes_pending)) { in set_in_sync()2568 percpu_ref_switch_to_percpu(&mddev->writes_pending); in set_in_sync()5593 if (mddev->writes_pending.percpu_count_ptr) in mddev_init_writes_pending()5595 if (percpu_ref_init(&mddev->writes_pending, no_op, in mddev_init_writes_pending()5599 percpu_ref_put(&mddev->writes_pending); in mddev_init_writes_pending()7839 percpu_ref_exit(&mddev->writes_pending); in md_free_disk()8520 percpu_ref_get(&mddev->writes_pending); in md_write_start()8545 percpu_ref_put(&mddev->writes_pending); in md_write_start()8565 percpu_ref_get(&mddev->writes_pending); in md_write_inc()[all …]