Lines Matching refs:acscw
2045 struct after_conn_state_chg_work *acscw =
2047 struct drbd_connection *connection = acscw->connection;
2048 enum drbd_conns oc = acscw->oc;
2049 union drbd_state ns_max = acscw->ns_max;
2053 broadcast_state_change(acscw->state_change);
2054 forget_state_change(acscw->state_change);
2055 kfree(acscw);
2293 struct after_conn_state_chg_work *acscw;
2350 acscw = kmalloc(sizeof(*acscw), GFP_ATOMIC);
2351 if (acscw) {
2352 acscw->oc = os.conn;
2353 acscw->ns_min = ns_min;
2354 acscw->ns_max = ns_max;
2355 acscw->flags = flags;
2356 acscw->w.cb = w_after_conn_state_ch;
2358 acscw->connection = connection;
2359 acscw->state_change = state_change;
2360 drbd_queue_work(&connection->sender_work, &acscw->w);
2362 drbd_err(connection, "Could not kmalloc an acscw\n");