Lines Matching refs:ns_max
2037 union drbd_state ns_max; /* new, max state, over all devices */ member
2049 union drbd_state ns_max = acscw->ns_max; in w_after_conn_state_ch() local
2058 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch()
2061 if (oc == C_DISCONNECTING && ns_max.conn == C_STANDALONE) { in w_after_conn_state_ch()
2082 if (ns_max.susp_fen) { in w_after_conn_state_ch()
2084 if (ns_max.pdsk <= D_OUTDATED) { in w_after_conn_state_ch()
2202 union drbd_state ns, os, ns_max = { }; in conn_set_state() local
2238 ns_max.role = max_role(ns.role, ns_max.role); in conn_set_state()
2239 ns_max.peer = max_role(ns.peer, ns_max.peer); in conn_set_state()
2240 ns_max.conn = max_t(enum drbd_conns, ns.conn, ns_max.conn); in conn_set_state()
2241 ns_max.disk = max_t(enum drbd_disk_state, ns.disk, ns_max.disk); in conn_set_state()
2242 ns_max.pdsk = max_t(enum drbd_disk_state, ns.pdsk, ns_max.pdsk); in conn_set_state()
2253 ns_min = ns_max = (union drbd_state) { { in conn_set_state()
2262 ns_min.susp = ns_max.susp = connection->resource->susp; in conn_set_state()
2263 ns_min.susp_nod = ns_max.susp_nod = connection->resource->susp_nod; in conn_set_state()
2264 ns_min.susp_fen = ns_max.susp_fen = connection->resource->susp_fen; in conn_set_state()
2267 *pns_max = ns_max; in conn_set_state()
2295 union drbd_state ns_max, ns_min, os; in _conn_request_state() local
2346 conn_set_state(connection, mask, val, &ns_min, &ns_max, flags); in _conn_request_state()
2347 conn_pr_state_change(connection, os, ns_max, flags); in _conn_request_state()
2354 acscw->ns_max = ns_max; in _conn_request_state()