Searched refs:NFP_FL_STATS_ELEM_RS (Results 1 – 2 of 2) sorted by relevance
47 priv->stats_ring_size * NFP_FL_STATS_ELEM_RS - in nfp_release_stats_entry()48 NFP_FL_STATS_ELEM_RS + 1)) in nfp_release_stats_entry()51 memcpy(&ring->buf[ring->head], &stats_context_id, NFP_FL_STATS_ELEM_RS); in nfp_release_stats_entry()52 ring->head = (ring->head + NFP_FL_STATS_ELEM_RS) % in nfp_release_stats_entry()53 (priv->stats_ring_size * NFP_FL_STATS_ELEM_RS); in nfp_release_stats_entry()88 memcpy(&temp_stats_id, &ring->buf[ring->tail], NFP_FL_STATS_ELEM_RS); in nfp_get_stats_entry()90 memcpy(&ring->buf[ring->tail], &freed_stats_id, NFP_FL_STATS_ELEM_RS); in nfp_get_stats_entry()91 ring->tail = (ring->tail + NFP_FL_STATS_ELEM_RS) % in nfp_get_stats_entry()92 (priv->stats_ring_size * NFP_FL_STATS_ELEM_RS); in nfp_get_stats_entry()539 vmalloc(array_size(NFP_FL_STATS_ELEM_RS, in nfp_flower_metadata_init()
27 #define NFP_FL_STATS_ELEM_RS sizeof_field(struct nfp_fl_stats_id, \ macro