Lines Matching refs:nc
584 struct net_conf *nc; in __req_mod() local
606 nc = rcu_dereference(connection->net_conf); in __req_mod()
607 p = nc->wire_protocol; in __req_mod()
719 nc = rcu_dereference(connection->net_conf); in __req_mod()
720 p = nc->max_epoch_size; in __req_mod()
1002 struct net_conf *nc; in maybe_pull_ahead() local
1007 nc = rcu_dereference(connection->net_conf); in maybe_pull_ahead()
1008 on_congestion = nc ? nc->on_congestion : OC_BLOCK; in maybe_pull_ahead()
1024 if (nc->cong_fill && in maybe_pull_ahead()
1025 atomic_read(&device->ap_in_flight) >= nc->cong_fill) { in maybe_pull_ahead()
1030 if (device->act_log->used >= nc->cong_extents) { in maybe_pull_ahead()
1521 struct net_conf *nc; in request_timer_fn() local
1527 nc = rcu_dereference(connection->net_conf); in request_timer_fn()
1528 if (nc && device->state.conn >= C_WF_REPORT_PARAMS) in request_timer_fn()
1529 ent = nc->timeout * HZ/10 * nc->ko_count; in request_timer_fn()