Lines Matching refs:nc
562 struct net_conf *nc; in __req_mod() local
584 nc = rcu_dereference(connection->net_conf); in __req_mod()
585 p = nc->wire_protocol; in __req_mod()
697 nc = rcu_dereference(connection->net_conf); in __req_mod()
698 p = nc->max_epoch_size; in __req_mod()
983 struct net_conf *nc; in maybe_pull_ahead() local
988 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
989 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
1005 if (nc->cong_fill && in maybe_pull_ahead()
1006 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead()
1011 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
1697 struct net_conf *nc; in request_timer_fn() local
1704 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
1705 if (nc && device->state.conn >= C_WF_REPORT_PARAMS) { in request_timer_fn()
1706 ko_count = nc->ko_count; in request_timer_fn()
1707 timeout = nc->timeout; in request_timer_fn()