[go: nahoru, domu]

Searched refs:get_ldev_if_state (Results 1 - 11 of 11) sorted by relevance

/drivers/block/drbd/
H A Ddrbd_proc.c335 if (proc_details >= 1 && get_ldev_if_state(device, D_FAILED)) {
H A Ddrbd_actlog.c167 else if (!get_ldev_if_state(device, D_ATTACHING)) {
169 drbd_err(device, "ASSERT FAILED: get_ldev_if_state() == 1 in _drbd_md_sync_page_io()\n");
1160 if (get_ldev_if_state(device, D_FAILED)) { /* Makes sure ->resync is there. */
1185 if (get_ldev_if_state(device, D_FAILED)) {
H A Ddrbd_debugfs.c712 if (get_ldev_if_state(device, D_FAILED)) {
727 if (get_ldev_if_state(device, D_FAILED)) {
769 if (!get_ldev_if_state(device, D_FAILED))
H A Ddrbd_bitmap.c783 if (!get_ldev_if_state(device, D_NEGOTIATING))
1078 if (!get_ldev_if_state(device, D_ATTACHING)) { /* put is in drbd_bm_aio_ctx_destroy() */
1079 drbd_err(device, "ASSERT FAILED: get_ldev_if_state() == 1 in bm_rw()\n");
H A Ddrbd_req.c183 if (get_ldev_if_state(device, D_FAILED)) {
1033 if (!get_ldev_if_state(device, D_UP_TO_DATE))
H A Ddrbd_main.c841 if (!get_ldev_if_state(device, D_NEGOTIATING))
880 if (get_ldev_if_state(device, D_NEGOTIATING)) {
931 if (get_ldev_if_state(device, D_NEGOTIATING)) {
2386 if (!get_ldev_if_state(device, D_UP_TO_DATE))
3122 if (!get_ldev_if_state(device, D_FAILED))
H A Ddrbd_int.h2106 #define get_ldev_if_state(_device, _min_state) \ macro
2109 #define get_ldev(_device) get_ldev_if_state(_device, D_INCONSISTENT)
H A Ddrbd_worker.c609 get_ldev_if_state(device,D_FAILED) would be sufficient, but
1068 if (get_ldev_if_state(device, D_FAILED)) {
1714 || !get_ldev_if_state(device, D_NEGOTIATING)) {
1869 /* we cannot assert local_cnt == 0 here, as get_ldev_if_state will
H A Ddrbd_receiver.c2544 if (!get_ldev_if_state(device, D_UP_TO_DATE)) {
4118 get_ldev_if_state(device, D_NEGOTIATING)) {
4229 if (get_ldev_if_state(device, D_NEGOTIATING)) {
5336 if (get_ldev_if_state(device, D_FAILED)) {
H A Ddrbd_nl.c418 if (get_ldev_if_state(device, D_CONSISTENT)) {
1677 if (!get_ldev_if_state(device, D_ATTACHING))
H A Ddrbd_state.c783 get_ldev_if_state(device, D_NEGOTIATING)) {

Completed in 75 milliseconds