Lines Matching refs:ns_max
2032 union drbd_state ns_max; /* new, max state, over all devices */ member
2044 union drbd_state ns_max = acscw->ns_max; in w_after_conn_state_ch() local
2053 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch()
2056 if (oc == C_DISCONNECTING && ns_max.conn == C_STANDALONE) { in w_after_conn_state_ch()
2077 if (ns_max.susp_fen) { in w_after_conn_state_ch()
2079 if (ns_max.pdsk <= D_OUTDATED) { in w_after_conn_state_ch()
2197 union drbd_state ns, os, ns_max = { }; in conn_set_state() local
2233 ns_max.role = max_role(ns.role, ns_max.role); in conn_set_state()
2234 ns_max.peer = max_role(ns.peer, ns_max.peer); in conn_set_state()
2235 ns_max.conn = max_t(enum drbd_conns, ns.conn, ns_max.conn); in conn_set_state()
2236 ns_max.disk = max_t(enum drbd_disk_state, ns.disk, ns_max.disk); in conn_set_state()
2237 ns_max.pdsk = max_t(enum drbd_disk_state, ns.pdsk, ns_max.pdsk); in conn_set_state()
2248 ns_min = ns_max = (union drbd_state) { { in conn_set_state()
2257 ns_min.susp = ns_max.susp = connection->resource->susp; in conn_set_state()
2258 ns_min.susp_nod = ns_max.susp_nod = connection->resource->susp_nod; in conn_set_state()
2259 ns_min.susp_fen = ns_max.susp_fen = connection->resource->susp_fen; in conn_set_state()
2262 *pns_max = ns_max; in conn_set_state()
2290 union drbd_state ns_max, ns_min, os; in _conn_request_state() local
2341 conn_set_state(connection, mask, val, &ns_min, &ns_max, flags); in _conn_request_state()
2342 conn_pr_state_change(connection, os, ns_max, flags); in _conn_request_state()
2349 acscw->ns_max = ns_max; in _conn_request_state()