Lines Matching refs:ns_max
2041 union drbd_state ns_max; /* new, max state, over all devices */ member
2053 union drbd_state ns_max = acscw->ns_max; in w_after_conn_state_ch() local
2062 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch()
2065 if (oc == C_DISCONNECTING && ns_max.conn == C_STANDALONE) { in w_after_conn_state_ch()
2086 if (ns_max.susp_fen) { in w_after_conn_state_ch()
2088 if (ns_max.pdsk <= D_OUTDATED) { in w_after_conn_state_ch()
2206 union drbd_state ns, os, ns_max = { }; in conn_set_state() local
2242 ns_max.role = max_role(ns.role, ns_max.role); in conn_set_state()
2243 ns_max.peer = max_role(ns.peer, ns_max.peer); in conn_set_state()
2244 ns_max.conn = max_t(enum drbd_conns, ns.conn, ns_max.conn); in conn_set_state()
2245 ns_max.disk = max_t(enum drbd_disk_state, ns.disk, ns_max.disk); in conn_set_state()
2246 ns_max.pdsk = max_t(enum drbd_disk_state, ns.pdsk, ns_max.pdsk); in conn_set_state()
2257 ns_min = ns_max = (union drbd_state) { { in conn_set_state()
2266 ns_min.susp = ns_max.susp = connection->resource->susp; in conn_set_state()
2267 ns_min.susp_nod = ns_max.susp_nod = connection->resource->susp_nod; in conn_set_state()
2268 ns_min.susp_fen = ns_max.susp_fen = connection->resource->susp_fen; in conn_set_state()
2271 *pns_max = ns_max; in conn_set_state()
2299 union drbd_state ns_max, ns_min, os; in _conn_request_state() local
2350 conn_set_state(connection, mask, val, &ns_min, &ns_max, flags); in _conn_request_state()
2351 conn_pr_state_change(connection, os, ns_max, flags); in _conn_request_state()
2358 acscw->ns_max = ns_max; in _conn_request_state()