Lines Matching refs:nc
553 struct net_conf *nc; in __req_mod() local
575 nc = rcu_dereference(connection->net_conf); in __req_mod()
576 p = nc->wire_protocol; in __req_mod()
688 nc = rcu_dereference(connection->net_conf); in __req_mod()
689 p = nc->max_epoch_size; in __req_mod()
975 struct net_conf *nc; in maybe_pull_ahead() local
980 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
981 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
997 if (nc->cong_fill && in maybe_pull_ahead()
998 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead()
1003 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
1692 struct net_conf *nc; in request_timer_fn() local
1699 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
1700 if (nc && device->state.conn >= C_WF_REPORT_PARAMS) { in request_timer_fn()
1701 ko_count = nc->ko_count; in request_timer_fn()
1702 timeout = nc->timeout; in request_timer_fn()