Lines Matching refs:acscw
2039 struct after_conn_state_chg_work *acscw = in w_after_conn_state_ch() local
2041 struct drbd_connection *connection = acscw->connection; in w_after_conn_state_ch()
2042 enum drbd_conns oc = acscw->oc; in w_after_conn_state_ch()
2043 union drbd_state ns_max = acscw->ns_max; in w_after_conn_state_ch()
2047 broadcast_state_change(acscw->state_change); in w_after_conn_state_ch()
2048 forget_state_change(acscw->state_change); in w_after_conn_state_ch()
2049 kfree(acscw); in w_after_conn_state_ch()
2288 struct after_conn_state_chg_work *acscw; in _conn_request_state() local
2345 acscw = kmalloc(sizeof(*acscw), GFP_ATOMIC); in _conn_request_state()
2346 if (acscw) { in _conn_request_state()
2347 acscw->oc = os.conn; in _conn_request_state()
2348 acscw->ns_min = ns_min; in _conn_request_state()
2349 acscw->ns_max = ns_max; in _conn_request_state()
2350 acscw->flags = flags; in _conn_request_state()
2351 acscw->w.cb = w_after_conn_state_ch; in _conn_request_state()
2353 acscw->connection = connection; in _conn_request_state()
2354 acscw->state_change = state_change; in _conn_request_state()
2355 drbd_queue_work(&connection->sender_work, &acscw->w); in _conn_request_state()