Home
last modified time | relevance | path

Searched refs:n_valid (Results 1 – 4 of 4) sorted by relevance

/drivers/comedi/drivers/
Dni_routes.c197 unsigned int n_valid = ni_count_valid_routes(tables); in ni_get_valid_routes() local
200 if (n_pairs == 0 || n_valid == 0) in ni_get_valid_routes()
201 return n_valid; in ni_get_valid_routes()
206 n_valid = 0; in ni_get_valid_routes()
232 pair_data[2 * n_valid] = src; in ni_get_valid_routes()
233 pair_data[2 * n_valid + 1] = dest; in ni_get_valid_routes()
234 ++n_valid; in ni_get_valid_routes()
237 if (n_valid >= n_pairs) in ni_get_valid_routes()
238 return n_valid; in ni_get_valid_routes()
241 return n_valid; in ni_get_valid_routes()
Dadl_pci9118.c642 unsigned int n_valid; in pci9118_ai_get_dma() local
646 n_valid = pci9118_ai_samples_ready(dev, s, n_all); in pci9118_ai_get_dma()
647 more_dma = n_valid < comedi_nsamples_left(s, n_valid + 1); in pci9118_ai_get_dma()
/drivers/net/ethernet/sfc/
Dtc_encap_actions.c197 neigh->n_valid = n->nud_state & NUD_VALID; in efx_bind_neigh()
203 if (!neigh->n_valid) in efx_bind_neigh()
257 if (encap->neigh->n_valid) in efx_gen_tun_header_eth()
394 encap->n_valid = encap->neigh->n_valid; in efx_gen_encap_header()
423 encap->n_valid = false; in efx_gen_encap_header()
436 if (encap->n_valid) { in efx_tc_update_encap()
471 encap->n_valid = false; in efx_tc_update_encap()
483 if (!encap->n_valid) in efx_tc_update_encap()
522 bool n_valid, ipv6 = false; in efx_neigh_event() local
551 n_valid = (n->nud_state & NUD_VALID) && !n->dead; in efx_neigh_event()
[all …]
Dtc_encap_actions.h52 bool n_valid; member
76 bool n_valid; member