Searched refs:max_priority (Results 1 – 8 of 8) sorted by relevance
/linux/drivers/md/dm-vdo/ |
H A D | priority-table.c | 40 unsigned int max_priority; member 54 int vdo_make_priority_table(unsigned int max_priority, struct priority_table **table_ptr) in vdo_make_priority_table() argument 60 if (max_priority > MAX_PRIORITY) in vdo_make_priority_table() 63 result = vdo_allocate_extended(struct priority_table, max_priority + 1, in vdo_make_priority_table() 68 for (priority = 0; priority <= max_priority; priority++) { in vdo_make_priority_table() 75 table->max_priority = max_priority; in vdo_make_priority_table() 115 for (priority = 0; priority <= table->max_priority; priority++) in vdo_reset_priority_table() 130 VDO_ASSERT_LOG_ONLY((priority <= table->max_priority), in vdo_priority_table_enqueue()
|
H A D | funnel-workqueue.c | 100 for (i = queue->common.type->max_priority; i >= 0; i--) { in poll_for_completion() 119 if (VDO_ASSERT(completion->priority <= queue->common.type->max_priority, in enqueue_work_queue_completion() 322 VDO_ASSERT_LOG_ONLY((type->max_priority <= VDO_WORK_Q_MAX_PRIORITY), in make_simple_work_queue() 323 "queue priority count %u within limit %u", type->max_priority, in make_simple_work_queue() 342 for (i = 0; i <= type->max_priority; i++) { in make_simple_work_queue()
|
H A D | priority-table.h | 31 int __must_check vdo_make_priority_table(unsigned int max_priority,
|
H A D | funnel-workqueue.h | 20 enum vdo_completion_priority max_priority; member
|
H A D | dedupe.c | 2175 .max_priority = UDS_Q_MAX_PRIORITY, in initialize_index()
|
/linux/drivers/gpu/drm/msm/ |
H A D | msm_submitqueue.c | 227 int default_prio, max_priority; in msm_submitqueue_init() local 232 max_priority = (priv->gpu->nr_rings * NR_SCHED_PRIORITIES) - 1; in msm_submitqueue_init() 239 default_prio = DIV_ROUND_UP(max_priority, 2); in msm_submitqueue_init()
|
/linux/net/sched/ |
H A D | sch_skbprio.c | 71 const unsigned int max_priority = SKBPRIO_MAX_PRIORITY - 1; in skbprio_enqueue() local 79 prio = min(skb->priority, max_priority); in skbprio_enqueue()
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_tcam.c | 39 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()
|