Lines Matching refs:nc
583 struct net_conf *nc; in __req_mod() local
605 nc = rcu_dereference(connection->net_conf); in __req_mod()
606 p = nc->wire_protocol; in __req_mod()
718 nc = rcu_dereference(connection->net_conf); in __req_mod()
719 p = nc->max_epoch_size; in __req_mod()
1001 struct net_conf *nc; in maybe_pull_ahead() local
1006 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
1007 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
1023 if (nc->cong_fill && in maybe_pull_ahead()
1024 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead()
1029 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
1551 struct net_conf *nc; in request_timer_fn() local
1557 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
1558 if (nc && device->state.conn >= C_WF_REPORT_PARAMS) in request_timer_fn()
1559 ent = nc->timeout * HZ/10 * nc->ko_count; in request_timer_fn()