Home
last modified time | relevance | path

Searched refs:prio (Results 1 – 25 of 3070) sorted by relevance

12345678910>>...123

/linux/lib/
A Dparman.c115 struct parman_prio *prio) in parman_lsort_new_index_find() argument
118 if (!parman_prio_used(prio)) in parman_lsort_new_index_find()
133 struct parman_prio *prio) in parman_prio_shift_down() argument
138 if (!parman_prio_used(prio)) in parman_prio_shift_down()
148 struct parman_prio *prio) in parman_prio_shift_up() argument
153 if (!parman_prio_used(prio)) in parman_prio_shift_up()
163 struct parman_prio *prio, in parman_prio_item_remove() argument
182 struct parman_prio *prio, in parman_lsort_item_add() argument
197 if (prio2 == prio) in parman_lsort_item_add()
314 prio->priority = priority; in parman_prio_init()
[all …]
A Dplist.c88 if (node->prio < iter->prio) { in plist_add()
98 if (!prev || prev->prio != node->prio) in plist_add()
159 if (node->prio != iter->prio) in plist_requeue()
165 if (node->prio != iter->prio) { in plist_requeue()
198 if (node_pos->prio == prio_pos->prio) { in plist_test_check()
203 BUG_ON(prio_pos->prio > node_pos->prio); in plist_test_check()
217 BUG_ON(node->prio == plist_next(node)->prio); in plist_test_requeue()
235 test_node[i].prio = r % 99; in plist_test()
A Dtest_parman.c73 struct test_parman_prio *prio; member
155 if (prio->priority == 0) in test_parman_priority_gen()
157 if (prio->priority == priority) in test_parman_priority_gen()
173 prio->priority); in test_parman_prios_init()
184 parman_prio_fini(&prio->parman_prio); in test_parman_prios_fini()
198 item->prio = &test_parman->prios[prio_index]; in test_parman_items_init()
212 &item->prio->parman_prio, in test_parman_items_fini()
282 &item->prio->parman_prio, in test_parman_run()
291 &item->prio->parman_prio, in test_parman_run()
329 if (item->prio->priority < last_priority) { in test_parman_check_array()
[all …]
/linux/net/sched/
A Dsch_skbprio.c42 int prio; in calc_new_high_prio() local
44 for (prio = q->highest_prio - 1; prio >= q->lowest_prio; prio--) { in calc_new_high_prio()
55 int prio; in calc_new_low_prio() local
57 for (prio = q->lowest_prio + 1; prio <= q->highest_prio; prio++) { in calc_new_low_prio()
76 u16 prio, lp; in skbprio_enqueue() local
183 int prio; in skbprio_init() local
186 for (prio = 0; prio < SKBPRIO_MAX_PRIORITY; prio++) in skbprio_init()
214 int prio; in skbprio_reset() local
219 for (prio = 0; prio < SKBPRIO_MAX_PRIORITY; prio++) in skbprio_reset()
230 int prio; in skbprio_destroy() local
[all …]
A Dsch_prio.c100 int prio; in prio_peek() local
102 for (prio = 0; prio < q->bands; prio++) { in prio_peek()
114 int prio; in prio_dequeue() local
116 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue()
133 int prio; in prio_reset() local
136 for (prio = 0; prio < q->bands; prio++) in prio_reset()
169 int prio; in prio_destroy() local
174 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
175 qdisc_put(q->queues[prio]); in prio_destroy()
375 int prio; in prio_walk() local
[all …]
A Dsch_cbq.c211 u32 prio = skb->priority; in cbq_classify() local
294 int prio = cl->cpriority; in cbq_activate_class() local
298 q->active[prio] = cl; in cbq_activate_class()
494 int prio = ffz(~pmask); in cbq_undelay() local
497 pmask &= ~(1<<prio); in cbq_undelay()
501 q->pmask |= 1<<prio; in cbq_undelay()
732 q->active[prio] = cl; in cbq_dequeue_prio()
898 q->quanta[prio]; in cbq_normalize_quanta()
1029 int prio; in cbq_reset() local
1041 for (prio = 0; prio <= TC_CBQ_MAXPRIO; prio++) in cbq_reset()
[all …]
/linux/arch/powerpc/sysdev/
A Dipic.c379 .prio = 0,
385 .prio = 0,
391 .prio = 0,
397 .prio = 0,
403 .prio = 0,
409 .prio = 0,
415 .prio = 0,
421 .prio = 0,
427 .prio = 0,
433 .prio = 0,
[all …]
/linux/net/sctp/
A Dstream_sched_prio.c40 p->prio = prio; in sctp_sched_prio_new_head()
55 if (p->prio == prio) in sctp_sched_prio_get_head()
57 if (p->prio > prio) in sctp_sched_prio_get_head()
72 if (p->prio == prio) in sctp_sched_prio_get_head()
141 if (prio->prio > prio_head->prio) { in sctp_sched_prio_sched()
151 __u16 prio, gfp_t gfp) in sctp_sched_prio_set() argument
224 if (prio && list_empty(&prio->prio_sched)) in sctp_sched_prio_free()
228 list_del_init(&prio->prio_sched); in sctp_sched_prio_free()
229 kfree(prio); in sctp_sched_prio_free()
265 soute = prio->next; in sctp_sched_prio_dequeue()
[all …]
/linux/drivers/net/ethernet/mscc/
A Docelot_devlink.c255 int prio; in ocelot_disable_reservation_watermarks() local
257 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_disable_reservation_watermarks()
291 int prio; in ocelot_disable_tc_sharing_watermarks() local
293 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_disable_tc_sharing_watermarks()
304 int port, prio; in ocelot_get_buf_rsrv() local
310 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_get_buf_rsrv()
328 int port, prio; in ocelot_get_ref_rsrv() local
334 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_get_ref_rsrv()
747 int port, prio; in ocelot_sb_occ_max_clear() local
752 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_sb_occ_max_clear()
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
A Dfs_chains.c56 u32 prio; member
60 struct prio { struct
180 ft_attr.prio = prio - 1; in mlx5_chains_create_table()
393 mlx5_chains_update_prio_prevs(struct prio *prio, in mlx5_chains_update_prio_prevs() argument
408 pos = prio; in mlx5_chains_update_prio_prevs()
427 pos = prio; in mlx5_chains_update_prio_prevs()
502 if (prio < p->key.prio || (prio == p->key.prio && in mlx5_chains_create_prio()
538 prio_s->key.prio = prio; in mlx5_chains_create_prio()
577 struct prio *prio) in mlx5_chains_destroy_prio() argument
621 key.prio = prio; in mlx5_chains_get_table()
[all …]
/linux/block/
A Dmq-deadline.c371 enum dd_prio prio; in __dd_dispatch_request() local
486 enum dd_prio prio; in dd_dispatch_prio_aged_requests() local
496 for (prio = DD_BE_PRIO; prio <= DD_PRIO_MAX; prio++) { in dd_dispatch_prio_aged_requests()
519 enum dd_prio prio; in dd_dispatch_request() local
530 for (prio = 0; prio <= DD_PRIO_MAX; prio++) { in dd_dispatch_request()
583 enum dd_prio prio; in dd_exit_sched() local
585 for (prio = 0; prio <= DD_PRIO_MAX; prio++) { in dd_exit_sched()
613 enum dd_prio prio; in dd_init_sched() local
626 for (prio = 0; prio <= DD_PRIO_MAX; prio++) { in dd_init_sched()
718 enum dd_prio prio; in dd_insert_request() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_dcb.c72 int prio; in mlxsw_sp_port_headroom_ets_set() local
76 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_port_headroom_ets_set()
77 hdroom.prios.prio[prio].ets_buf_idx = ets->prio_tc[prio]; in mlxsw_sp_port_headroom_ets_set()
171 int prio; in mlxsw_sp_dcbnl_app_validate() local
551 int prio; in mlxsw_sp_dcbnl_ieee_setpfc() local
567 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_dcbnl_ieee_setpfc()
568 hdroom.prios.prio[prio].lossy = !(pfc->pfc_en & BIT(prio)); in mlxsw_sp_dcbnl_ieee_setpfc()
616 for (prio = 0; prio < IEEE_8021Q_MAX_PRIORITIES; prio++) in mlxsw_sp_dcbnl_getbuffer()
617 buf->prio2buffer[prio] = hdroom->prios.prio[prio].buf_idx; in mlxsw_sp_dcbnl_getbuffer()
637 for (prio = 0; prio < IEEE_8021Q_MAX_PRIORITIES; prio++) in mlxsw_sp_dcbnl_setbuffer()
[all …]
/linux/tools/testing/selftests/drivers/net/mlxsw/
A Dqos_defprio.sh37 local prio=$1; shift
38 local app="app=$prio,1,0"
42 APP[$prio]=$app
48 local prio=$1; shift
49 local app=${APP[$prio]}
53 unset APP[$prio]
59 local prio
142 local prio
144 for prio in {0..7}; do
145 __test_defprio $prio $prio
A Dqos_dscp_bridge.sh68 local prio
70 for prio in {0..7}; do
71 echo app=$prio,5,$((base + prio))
139 local prio=$1; shift
144 local dscp_10=$(((prio + 10) << 2))
145 local dscp_20=$(((prio + 20) << 2))
164 if ((key == prio+10 || key == prio+20)); then
175 log_test "DSCP rewrite: $dscp_10-(prio $prio)-$dscp_20"
180 local prio
182 for prio in {0..7}; do
[all …]
A Dqos_dscp_router.sh100 local prio
102 for prio in {0..7}; do
103 echo app=$prio,5,$((base + prio))
172 local prio=$1; shift
178 local prio2=$($reprio $prio) # ICMP Request egress prio
181 local dscp=$((prio << 2)) # ICMP Request ingress DSCP
226 local prio
231 for prio in {0..7}; do
232 dscp_ping_test v$h1 192.0.2.1 192.0.2.18 $prio $reprio $h1 $h2
/linux/tools/testing/selftests/net/forwarding/
A Dskbedit_priority.sh66 prio bands 8 priomap 7 6 5 4 3 2 1 0
116 local prio=$1; shift
122 flower action skbedit priority $prio
138 log_test "$locus skbedit priority $prio -> classid $classid"
145 local prio
147 for prio in {0..7}; do
149 $prio 10:$((8 - prio))
155 local prio
157 for prio in {0..7}; do
159 $prio 10:$((8 - prio))
/linux/samples/bpf/
A Dtest_cgrp2_sock.c69 BPF_MOV64_IMM(BPF_REG_3, prio), in prog_load()
86 if (prio) in prog_load()
108 if (prio) { in prog_load()
154 unsigned int prio = 0; in get_priority() local
155 socklen_t optlen = sizeof(prio); in get_priority()
162 return prio; in get_priority()
167 unsigned int mark, prio; in show_sockopts() local
181 prio = get_priority(sd); in show_sockopts()
206 __u32 idx = 0, mark = 0, prio = 0; in main() local
232 prio = strtoumax(optarg, NULL, 0); in main()
[all …]
/linux/arch/powerpc/sysdev/xive/
A Dspapr.c197 unsigned long prio, in plpar_int_set_source_config() argument
244 *prio = retbuf[1]; in plpar_int_get_source_config()
439 prio, sw_irq); in xive_spapr_configure_irq()
456 *prio = h_prio; in xive_spapr_get_irq_config()
488 target, prio); in xive_spapr_configure_queue()
516 u8 prio) in xive_spapr_setup_queue() argument
530 u8 prio) in xive_spapr_cleanup_queue() argument
695 int prio, found; in xive_get_max_prio() local
719 for (prio = 0; prio < 8; prio++) { in xive_get_max_prio()
727 if (prio >= base && prio < base + range) in xive_get_max_prio()
[all …]
A Dnative.c102 rc = opal_xive_set_irq_config(hw_irq, target, prio, sw_irq); in xive_native_configure_irq()
118 rc = opal_xive_get_irq_config(hw_irq, &vp, prio, &lirq); in xive_native_get_irq_config()
150 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue()
199 rc = opal_xive_set_queue_info(vp_id, prio, 0, 0, 0); in __xive_native_disable_queue()
210 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue()
216 struct xive_q *q = &xc->queue[prio]; in xive_native_setup_queue()
224 q, prio, qpage, xive_queue_shift, false); in xive_native_setup_queue()
229 struct xive_q *q = &xc->queue[prio]; in xive_native_cleanup_queue()
765 int xive_native_get_queue_info(u32 vp_id, u32 prio, in xive_native_get_queue_info() argument
779 rc = opal_xive_get_queue_info(vp_id, prio, &qpage, &qsize, in xive_native_get_queue_info()
[all …]
/linux/tools/testing/selftests/tc-testing/
A Dtdc_batch.py65 prio = "prio 1" variable
66 if args.prio:
67 prio = "" variable
73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, argument
77 device, prio, handle, skip, src_mac, dst_mac, share_action))
80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, argument
84 device, prio, handle, skip, src_mac, dst_mac, share_action))
87 def format_del_filter(device, prio, handle, skip, src_mac, dst_mac, argument
90 "flower".format(device, prio, handle))
106 cmd = formatter(device, prio, handle_start + index, skip, src_mac,
/linux/arch/powerpc/kvm/
A Dbook3s_xive_template.c114 u8 prio = 0xff; in GLUE() local
126 prio = ffs(pending) - 1; in GLUE()
129 if (prio >= xc->cppr || prio > 7) { in GLUE()
131 prio = xc->mfrr; in GLUE()
138 q = &xc->queues[prio]; in GLUE()
215 prio = xc->mfrr; in GLUE()
252 xc->cppr = prio; in GLUE()
355 u8 pending, prio; in GLUE() local
366 prio = ffs(pending) - 1; in GLUE()
374 unsigned int prio; in GLUE() local
[all …]
A Dbook3s_xive.c270 if (xc->esc_virq[prio]) in kvmppc_xive_attach_escalation()
294 pr_devel("Escalation %s irq %d (prio %d)\n", name, xc->esc_virq[prio], prio); in kvmppc_xive_attach_escalation()
326 xc->esc_virq[prio] = 0; in kvmppc_xive_attach_escalation()
415 q = &xc->queues[prio]; in xive_inc_q_pending()
430 q = &xc->queues[prio]; in xive_try_pick_queue()
539 u8 prio) in xive_finish_unmask() argument
578 u32 server, u8 prio) in xive_target_interrupt() argument
954 u8 prio; in kvmppc_xive_set_mapped() local
1049 u8 prio; in kvmppc_xive_clr_mapped() local
1582 u64 val, prio; in xive_get_source() local
[all …]
/linux/drivers/net/ethernet/mellanox/mlx5/core/
A Dfs_core.c149 int prio; member
422 if (iter_prio->prio == prio) in find_prio()
936 *prio) in update_root_ft_create()
1203 ft_attr.prio = prio; in mlx5_create_lag_demux_flow_table()
2214 int prio = 0; in mlx5_get_flow_namespace() local
2262 prio = type; in mlx5_get_flow_namespace()
2326 fs_prio->prio = prio; in _fs_create_prio()
2437 prio = 0; in init_root_tree_recursive()
2544 prio->num_levels = acc_level_ns - prio->start_level; in set_prio_attrs_in_prio()
2762 int prio; in create_fdb_sub_ns_prio_chain() local
[all …]
/linux/tools/testing/selftests/bpf/
A Dbpf_sockopt_helpers.h8 int prio; in get_set_sk_priority() local
15 if (bpf_getsockopt(ctx, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in get_set_sk_priority()
17 if (bpf_setsockopt(ctx, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in get_set_sk_priority()
/linux/drivers/gpu/drm/i915/
A Di915_scheduler.c70 prio = I915_PRIORITY_NORMAL; in i915_sched_lookup_priolist()
79 if (prio > p->priority) { in i915_sched_lookup_priolist()
81 } else if (prio < p->priority) { in i915_sched_lookup_priolist()
89 if (prio == I915_PRIORITY_NORMAL) { in i915_sched_lookup_priolist()
95 prio = I915_PRIORITY_NORMAL; /* recurses just once */ in i915_sched_lookup_priolist()
110 p->priority = prio; in i915_sched_lookup_priolist()
167 GEM_BUG_ON(prio == I915_PRIORITY_INVALID); in __i915_schedule()
212 if (prio > READ_ONCE(p->signaler->attr.priority)) in __i915_schedule()
258 sched_engine->bump_inflight_request_prio(from, prio); in __i915_schedule()
260 WRITE_ONCE(node->attr.priority, prio); in __i915_schedule()
[all …]

Completed in 93 milliseconds

12345678910>>...123