Searched refs:mask_ids (Results 1 – 2 of 2) sorted by relevance
139 ring = &priv->mask_ids.mask_id_free_list; in nfp_release_mask_id()148 priv->mask_ids.last_used[mask_id] = ktime_get(); in nfp_release_mask_id()160 ring = &priv->mask_ids.mask_id_free_list; in nfp_mask_alloc()163 if (priv->mask_ids.init_unallocated > 0) { in nfp_mask_alloc()164 *mask_id = priv->mask_ids.init_unallocated; in nfp_mask_alloc()165 priv->mask_ids.init_unallocated--; in nfp_mask_alloc()176 reuse_timeout = ktime_add_ns(priv->mask_ids.last_used[*mask_id], in nfp_mask_alloc()502 priv->mask_ids.mask_id_free_list.buf = in nfp_flower_metadata_init()505 if (!priv->mask_ids.mask_id_free_list.buf) in nfp_flower_metadata_init()508 priv->mask_ids.init_unallocated = NFP_FLOWER_MASK_ENTRY_RS - 1; in nfp_flower_metadata_init()[all …]
175 struct nfp_fl_mask_id mask_ids; member