Searched refs:nsd (Results 1 – 2 of 2) sorted by relevance
801 struct i40e_hw_port_stats *nsd = &pf->stats; in i40e_update_link_xoff_rx() local809 xoff = nsd->link_xoff_rx; in i40e_update_link_xoff_rx()812 &osd->link_xoff_rx, &nsd->link_xoff_rx); in i40e_update_link_xoff_rx()815 if (!(nsd->link_xoff_rx - xoff)) in i40e_update_link_xoff_rx()829 struct i40e_hw_port_stats *nsd = &pf->stats; in i40e_update_prio_xoff_rx() local845 u64 prio_xoff = nsd->priority_xoff_rx[i]; in i40e_update_prio_xoff_rx()850 &nsd->priority_xoff_rx[i]); in i40e_update_prio_xoff_rx()853 if (!(nsd->priority_xoff_rx[i] - prio_xoff)) in i40e_update_prio_xoff_rx()971 struct i40e_hw_port_stats *nsd = &pf->stats; in i40e_update_pf_stats() local979 &osd->eth.rx_bytes, &nsd->eth.rx_bytes); in i40e_update_pf_stats()[all …]
629 struct ldlm_ns_hash_def *nsd; in ldlm_namespace_new() local643 nsd = &ldlm_ns_hash_defs[idx]; in ldlm_namespace_new()644 if (nsd->nsd_type == LDLM_NS_TYPE_UNKNOWN) { in ldlm_namespace_new()649 if (nsd->nsd_type == ns_type) in ldlm_namespace_new()658 nsd->nsd_all_bits, nsd->nsd_all_bits, in ldlm_namespace_new()659 nsd->nsd_bkt_bits, sizeof(*nsb), in ldlm_namespace_new()662 nsd->nsd_hops, in ldlm_namespace_new()