Lines Matching refs:nc
556 struct net_conf *nc; in __req_mod() local
578 nc = rcu_dereference(connection->net_conf); in __req_mod()
579 p = nc->wire_protocol; in __req_mod()
691 nc = rcu_dereference(connection->net_conf); in __req_mod()
692 p = nc->max_epoch_size; in __req_mod()
978 struct net_conf *nc; in maybe_pull_ahead() local
983 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
984 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
1000 if (nc->cong_fill && in maybe_pull_ahead()
1001 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead()
1006 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
1691 struct net_conf *nc; in request_timer_fn() local
1698 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
1699 if (nc && device->state.conn >= C_WF_REPORT_PARAMS) { in request_timer_fn()
1700 ko_count = nc->ko_count; in request_timer_fn()
1701 timeout = nc->timeout; in request_timer_fn()