Home
last modified time | relevance | path

Searched refs:adminq_mask (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/google/gve/
Dgve_adminq.c183 priv->adminq_mask = (PAGE_SIZE / sizeof(union gve_adminq_command)) - 1; in gve_adminq_alloc()
321 cmd = &priv->adminq[i & priv->adminq_mask]; in gve_adminq_kick_and_wait()
345 if (((priv->adminq_prod_cnt + 1) & priv->adminq_mask) == in gve_adminq_issue_cmd()
346 (tail & priv->adminq_mask)) { in gve_adminq_issue_cmd()
356 if (((priv->adminq_prod_cnt + 1) & priv->adminq_mask) == in gve_adminq_issue_cmd()
357 (tail & priv->adminq_mask)) { in gve_adminq_issue_cmd()
364 cmd = &priv->adminq[priv->adminq_prod_cnt & priv->adminq_mask]; in gve_adminq_issue_cmd()
Dgve.h534 u32 adminq_mask; /* masks prod_cnt to adminq size */ member