Lines Matching refs:acscw
2049 struct after_conn_state_chg_work *acscw = in w_after_conn_state_ch() local
2051 struct drbd_connection *connection = acscw->connection; in w_after_conn_state_ch()
2052 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch()
2053 union drbd_state ns_max = acscw->ns_max; in w_after_conn_state_ch()
2057 broadcast_state_change(acscw->state_change); in w_after_conn_state_ch()
2058 forget_state_change(acscw->state_change); in w_after_conn_state_ch()
2059 kfree(acscw); in w_after_conn_state_ch()
2297 struct after_conn_state_chg_work *acscw; in _conn_request_state() local
2354 acscw = kmalloc(sizeof(*acscw), GFP_ATOMIC); in _conn_request_state()
2355 if (acscw) { in _conn_request_state()
2356 acscw->oc = os.conn; in _conn_request_state()
2357 acscw->ns_min = ns_min; in _conn_request_state()
2358 acscw->ns_max = ns_max; in _conn_request_state()
2359 acscw->flags = flags; in _conn_request_state()
2360 acscw->w.cb = w_after_conn_state_ch; in _conn_request_state()
2362 acscw->connection = connection; in _conn_request_state()
2363 acscw->state_change = state_change; in _conn_request_state()
2364 drbd_queue_work(&connection->sender_work, &acscw->w); in _conn_request_state()