Home
last modified time | relevance | path

Searched refs:max_priority (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/util/
H A Dmain-loop.c246 static int max_priority;
259 g_main_context_prepare(context, &max_priority); in glib_pollfds_fill()
268 n = g_main_context_query(context, max_priority, &timeout, pfds, in glib_pollfds_fill()
286 if (g_main_context_check(context, max_priority, pfds, glib_n_poll_fds)) { in glib_pollfds_poll()
499 g_main_context_prepare(context, &max_priority);
500 n_poll_fds = g_main_context_query(context, max_priority, &poll_timeout,
537 if (g_main_context_check(context, max_priority, poll_fds, n_poll_fds)) {
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_submitqueue.c220 int default_prio, max_priority; in msm_submitqueue_init() local
225 max_priority = (priv->gpu->nr_rings * NR_SCHED_PRIORITIES) - 1; in msm_submitqueue_init()
232 default_prio = DIV_ROUND_UP(max_priority, 2); in msm_submitqueue_init()
/openbmc/linux/net/sched/
H A Dsch_skbprio.c71 const unsigned int max_priority = SKBPRIO_MAX_PRIORITY - 1; in skbprio_enqueue() local
79 prio = min(skb->priority, max_priority); in skbprio_enqueue()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_acl_tcam.c39 u64 max_priority; in mlxsw_sp_acl_tcam_priority_get() local
50 max_priority = MLXSW_CORE_RES_GET(mlxsw_sp->core, KVD_SIZE) - 1; in mlxsw_sp_acl_tcam_priority_get()
51 if (rulei->priority >= max_priority) in mlxsw_sp_acl_tcam_priority_get()
55 *priority = max_priority - rulei->priority; in mlxsw_sp_acl_tcam_priority_get()