Lines Matching refs:nc
566 struct net_conf *nc; in __req_mod() local
588 nc = rcu_dereference(connection->net_conf); in __req_mod()
589 p = nc->wire_protocol; in __req_mod()
701 nc = rcu_dereference(connection->net_conf); in __req_mod()
702 p = nc->max_epoch_size; in __req_mod()
987 struct net_conf *nc; in maybe_pull_ahead() local
992 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
993 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
1009 if (nc->cong_fill && in maybe_pull_ahead()
1010 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead()
1015 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
1706 struct net_conf *nc; in request_timer_fn() local
1713 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
1714 if (nc && device->state.conn >= C_WF_REPORT_PARAMS) { in request_timer_fn()
1715 ko_count = nc->ko_count; in request_timer_fn()
1716 timeout = nc->timeout; in request_timer_fn()