• Home
  • Raw
  • Download

Lines Matching refs:ns_max

1521 	union drbd_state ns_max; /* new, max state, over all mdevs */  member
1531 union drbd_state ns_max = acscw->ns_max; in w_after_conn_state_ch() local
1538 if (oc == C_STANDALONE && ns_max.conn == C_UNCONNECTED) in w_after_conn_state_ch()
1541 if (oc == C_DISCONNECTING && ns_max.conn == C_STANDALONE) { in w_after_conn_state_ch()
1556 if (ns_max.susp_fen) { in w_after_conn_state_ch()
1558 if (ns_max.pdsk <= D_OUTDATED) { in w_after_conn_state_ch()
1675 union drbd_state ns, os, ns_max = { }; in conn_set_state() local
1712 ns_max.role = max_role(ns.role, ns_max.role); in conn_set_state()
1713 ns_max.peer = max_role(ns.peer, ns_max.peer); in conn_set_state()
1714 ns_max.conn = max_t(enum drbd_conns, ns.conn, ns_max.conn); in conn_set_state()
1715 ns_max.disk = max_t(enum drbd_disk_state, ns.disk, ns_max.disk); in conn_set_state()
1716 ns_max.pdsk = max_t(enum drbd_disk_state, ns.pdsk, ns_max.pdsk); in conn_set_state()
1727 ns_min = ns_max = (union drbd_state) { { in conn_set_state()
1736 ns_min.susp = ns_max.susp = tconn->susp; in conn_set_state()
1737 ns_min.susp_nod = ns_max.susp_nod = tconn->susp_nod; in conn_set_state()
1738 ns_min.susp_fen = ns_max.susp_fen = tconn->susp_fen; in conn_set_state()
1741 *pns_max = ns_max; in conn_set_state()
1769 union drbd_state ns_max, ns_min, os; in _conn_request_state() local
1818 conn_set_state(tconn, mask, val, &ns_min, &ns_max, flags); in _conn_request_state()
1819 conn_pr_state_change(tconn, os, ns_max, flags); in _conn_request_state()
1825 acscw->ns_max = ns_max; in _conn_request_state()