Searched refs:writes_pending (Results 1 – 2 of 2) sorted by relevance
434 struct percpu_ref writes_pending; member
2353 percpu_ref_switch_to_atomic_sync(&mddev->writes_pending); in set_in_sync()2356 percpu_ref_is_zero(&mddev->writes_pending)) { in set_in_sync()2367 percpu_ref_switch_to_percpu(&mddev->writes_pending); in set_in_sync()5224 percpu_ref_exit(&mddev->writes_pending); in md_free()5256 if (mddev->writes_pending.percpu_count_ptr) in mddev_init_writes_pending()5258 if (percpu_ref_init(&mddev->writes_pending, no_op, 0, GFP_KERNEL) < 0) in mddev_init_writes_pending()5261 percpu_ref_put(&mddev->writes_pending); in mddev_init_writes_pending()8134 percpu_ref_get(&mddev->writes_pending); in md_write_start()8159 percpu_ref_put(&mddev->writes_pending); in md_write_start()8179 percpu_ref_get(&mddev->writes_pending); in md_write_inc()[all …]