Home
last modified time | relevance | path

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

/linux-6.6.21/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()
/linux-6.6.21/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
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_64_mmu_hv.c1757 hdr.n_valid = 0; in kvm_htab_read()
1776 hdr.n_valid < 0xffff && in kvm_htab_read()
1780 ++hdr.n_valid; in kvm_htab_read()
1801 if (hdr.n_valid || hdr.n_invalid) { in kvm_htab_read()
1866 if (nb + hdr.n_valid * HPTE_SIZE > count) in kvm_htab_write()
1875 i + hdr.n_valid + hdr.n_invalid > kvmppc_hpt_npte(&kvm->arch.hpt)) in kvm_htab_write()
1880 for (j = 0; j < hdr.n_valid; ++j) { in kvm_htab_write()
/linux-6.6.21/tools/arch/powerpc/include/uapi/asm/
Dkvm.h422 __u16 n_valid; member
/linux-6.6.21/arch/powerpc/include/uapi/asm/
Dkvm.h422 __u16 n_valid; member
/linux-6.6.21/Documentation/virt/kvm/
Dapi.rst3266 __u16 n_valid;
3271 header; first 'n_valid' valid entries with contents from the data