Lines Matching refs:nc
571 struct net_conf *nc; in __req_mod() local
593 nc = rcu_dereference(connection->net_conf); in __req_mod()
594 p = nc->wire_protocol; in __req_mod()
706 nc = rcu_dereference(connection->net_conf); in __req_mod()
707 p = nc->max_epoch_size; in __req_mod()
993 struct net_conf *nc; in maybe_pull_ahead() local
998 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
999 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
1015 if (nc->cong_fill && in maybe_pull_ahead()
1016 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead()
1021 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
1711 struct net_conf *nc; in request_timer_fn() local
1718 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
1719 if (nc && device->state.conn >= C_WF_REPORT_PARAMS) { in request_timer_fn()
1720 ko_count = nc->ko_count; in request_timer_fn()
1721 timeout = nc->timeout; in request_timer_fn()