Home
last modified time | relevance | path

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

12345678910>>...25

/openbmc/linux/lib/
H 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 …]
H 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()
H 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 …]
/openbmc/linux/net/sched/
H 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
216 for (prio = 0; prio < SKBPRIO_MAX_PRIORITY; prio++) in skbprio_reset()
227 int prio; in skbprio_destroy() local
[all …]
H 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()
167 int prio; in prio_destroy() local
172 for (prio = 0; prio < q->bands; prio++) in prio_destroy()
173 qdisc_put(q->queues[prio]); in prio_destroy()
373 int prio; in prio_walk() local
[all …]
/openbmc/linux/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_dcbnl.c15 for (prio = 0; prio < NIX_PF_PFC_PRIO_MAX; prio++) { in otx2_check_pfc_config()
20 tx_queues, prio + 1); in otx2_check_pfc_config()
31 int prio, lvl, err; in otx2_pfc_txschq_config() local
34 for (prio = 0; prio < NIX_PF_PFC_PRIO_MAX; prio++) { in otx2_pfc_txschq_config()
108 int err, prio; in otx2_pfc_txschq_alloc() local
110 for (prio = 0; prio < NIX_PF_PFC_PRIO_MAX; prio++) { in otx2_pfc_txschq_alloc()
204 int err, prio; in otx2_pfc_txschq_update() local
207 for (prio = 0; prio < NIX_PF_PFC_PRIO_MAX; prio++) { in otx2_pfc_txschq_update()
245 __func__, prio); in otx2_pfc_txschq_update()
270 int prio, err; in otx2_pfc_txschq_stop() local
[all …]
/openbmc/linux/arch/powerpc/sysdev/
H A Dipic.c380 .prio = 0,
386 .prio = 0,
392 .prio = 0,
398 .prio = 0,
404 .prio = 0,
410 .prio = 0,
416 .prio = 0,
422 .prio = 0,
428 .prio = 0,
434 .prio = 0,
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H 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()
778 int port, prio; in ocelot_sb_occ_max_clear() local
783 for (prio = 0; prio < OCELOT_NUM_TC; prio++) { in ocelot_sb_occ_max_clear()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dfs_chains.c56 u32 prio; member
60 struct prio { struct
181 ft_attr.prio = chains->fs_base_prio + prio - 1; in mlx5_chains_create_table()
395 mlx5_chains_update_prio_prevs(struct prio *prio, in mlx5_chains_update_prio_prevs() argument
410 pos = prio; in mlx5_chains_update_prio_prevs()
429 pos = prio; in mlx5_chains_update_prio_prevs()
504 if (prio < p->key.prio || (prio == p->key.prio && in mlx5_chains_create_prio()
540 prio_s->key.prio = prio; in mlx5_chains_create_prio()
579 struct prio *prio) in mlx5_chains_destroy_prio() argument
623 key.prio = prio; in mlx5_chains_get_table()
[all …]
/openbmc/linux/net/sctp/
H A Dstream_sched_prio.c52 p->prio = prio; in sctp_sched_prio_new_head()
68 if (p->prio == prio) in sctp_sched_prio_get_head()
70 if (p->prio > prio) in sctp_sched_prio_get_head()
85 if (p->prio == prio) in sctp_sched_prio_get_head()
154 if (prio->prio > prio_head->prio) { in sctp_sched_prio_sched()
164 __u16 prio, gfp_t gfp) in sctp_sched_prio_set() argument
172 if (old && old->prio == prio) in sctp_sched_prio_set()
231 struct sctp_stream_priorities *prio; in sctp_sched_prio_dequeue() local
247 soute = prio->next; in sctp_sched_prio_dequeue()
268 prio = soute->prio_head; in sctp_sched_prio_dequeue_done()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/progs/
H A Dlsm_cgroup.c55 int prio = 123; in real_create() local
66 if (bpf_setsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in real_create()
70 prio = 0; in real_create()
71 if (bpf_getsockopt(sk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in real_create()
73 if (prio != 123) in real_create()
169 int prio = 234; in BPF_PROG() local
175 if (bpf_setsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in BPF_PROG()
179 prio = 0; in BPF_PROG()
180 if (bpf_getsockopt(newsk, SOL_SOCKET, SO_PRIORITY, &prio, sizeof(prio))) in BPF_PROG()
182 if (prio != 234) in BPF_PROG()
/openbmc/u-boot/env/
H A Denv.c123 __weak enum env_location env_get_location(enum env_operation op, int prio) in env_get_location() argument
125 if (prio >= ARRAY_SIZE(env_locations)) in env_get_location()
128 gd->env_load_prio = prio; in env_get_location()
130 return env_locations[prio]; in env_get_location()
148 enum env_location loc = env_get_location(op, prio); in env_driver_lookup()
181 int prio; in env_load() local
183 for (prio = 0; (drv = env_driver_lookup(ENVOP_LOAD, prio)); prio++) { in env_load()
205 best_prio = prio; in env_load()
261 int prio; in env_init() local
263 for (prio = 0; (drv = env_driver_lookup(ENVOP_INIT, prio)); prio++) { in env_init()
[all …]
/openbmc/qemu/hw/intc/
H A Darm_gicv3.c33 if (prio != cs->hppi.prio) { in irqbetter()
34 return prio < cs->hppi.prio; in irqbetter()
158 *prio = 0x80; in gicv3_get_priority()
160 *prio = 0x0; in gicv3_get_priority()
184 uint8_t prio; in gicv3_redist_update_noirqset() local
202 cs->hppi.prio = prio; in gicv3_redist_update_noirqset()
215 (cs->hpplpi.prio != 0xff)) { in gicv3_redist_update_noirqset()
218 cs->hppi.prio = cs->hpplpi.prio; in gicv3_redist_update_noirqset()
260 uint8_t prio; in gicv3_update_noirqset() local
293 cs->hppi.prio = prio; in gicv3_update_noirqset()
[all …]
/openbmc/linux/tools/testing/selftests/drivers/net/mlxsw/
H A Dqos_dscp_bridge.sh75 dcb app add dev $swp1 dscp-prio 10:0 11:1 12:2 13:3 14:4 15:5 16:6 17:7
76 dcb app add dev $swp2 dscp-prio 20:0 21:1 22:2 23:3 24:4 25:5 26:6 27:7
81 dcb app del dev $swp2 dscp-prio 20:0 21:1 22:2 23:3 24:4 25:5 26:6 27:7
127 local prio=$1; shift
132 local dscp_10=$(((prio + 10) << 2))
133 local dscp_20=$(((prio + 20) << 2))
152 if ((key == prio+10 || key == prio+20)); then
163 log_test "DSCP rewrite: $dscp_10-(prio $prio)-$dscp_20"
168 local prio
170 for prio in {0..7}; do
[all …]
H A Dqos_defprio.sh50 dcb app flush dev $swp1 default-prio
91 dcb app add dev $swp1 default-prio $prio_install
101 dcb app del dev $swp1 default-prio $prio_install
106 local prio
108 for prio in {0..7}; do
109 __test_defprio $prio $prio
112 dcb app add dev $swp1 default-prio 3
120 dcb app del dev $swp1 default-prio 3
H A Dqos_dscp_router.sh105 dcb app add dev $swp1 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
106 dcb app add dev $swp2 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
111 dcb app del dev $swp2 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
112 dcb app del dev $swp1 dscp-prio 0:0 1:1 2:2 3:3 4:4 5:5 6:6 7:7
159 local prio=$1; shift
165 local prio2=$($reprio $prio) # ICMP Request egress prio
168 local dscp=$((prio << 2)) # ICMP Request ingress DSCP
213 local prio
218 for prio in {0..7}; do
219 dscp_ping_test v$h1 192.0.2.1 192.0.2.18 $prio $reprio $h1 $h2
[all …]
/openbmc/linux/tools/testing/selftests/net/forwarding/
H A Dskbedit_priority.sh68 prio bands 8 priomap 7 6 5 4 3 2 1 0
118 local prio=$1; shift
124 flower action skbedit priority $prio
140 log_test "$locus skbedit priority $prio -> classid $classid"
147 local prio
149 for prio in {0..7}; do
151 $prio 10:$((8 - prio))
157 local prio
159 for prio in {0..7}; do
161 $prio 10:$((8 - prio))
/openbmc/linux/block/
H A Dmq-deadline.c449 enum dd_prio prio; in __dd_dispatch_request() local
568 enum dd_prio prio; in dd_dispatch_prio_aged_requests() local
578 for (prio = DD_BE_PRIO; prio <= DD_PRIO_MAX; prio++) { in dd_dispatch_prio_aged_requests()
601 enum dd_prio prio; in dd_dispatch_request() local
612 for (prio = 0; prio <= DD_PRIO_MAX; prio++) { in dd_dispatch_request()
679 enum dd_prio prio; in dd_exit_sched() local
681 for (prio = 0; prio <= DD_PRIO_MAX; prio++) { in dd_exit_sched()
709 enum dd_prio prio; in dd_init_sched() local
722 for (prio = 0; prio <= DD_PRIO_MAX; prio++) { in dd_init_sched()
817 enum dd_prio prio; in dd_insert_request() local
[all …]
/openbmc/linux/samples/bpf/
H A Dtest_cgrp2_sock.c69 BPF_MOV64_IMM(BPF_REG_3, prio), in prog_load()
90 if (prio) in prog_load()
112 if (prio) { in prog_load()
158 unsigned int prio = 0; in get_priority() local
159 socklen_t optlen = sizeof(prio); in get_priority()
166 return prio; in get_priority()
171 unsigned int mark, prio; in show_sockopts() local
185 prio = get_priority(sd); in show_sockopts()
210 __u32 idx = 0, mark = 0, prio = 0; in main() local
236 prio = strtoumax(optarg, NULL, 0); in main()
[all …]
/openbmc/linux/tools/testing/selftests/tc-testing/
H 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,
/openbmc/linux/arch/powerpc/sysdev/xive/
H A Dspapr.c211 unsigned long prio, in plpar_int_set_source_config() argument
258 *prio = retbuf[1]; in plpar_int_get_source_config()
454 prio, sw_irq); in xive_spapr_configure_irq()
471 *prio = h_prio; in xive_spapr_get_irq_config()
503 target, prio); in xive_spapr_configure_queue()
531 u8 prio) in xive_spapr_setup_queue() argument
545 u8 prio) in xive_spapr_cleanup_queue() argument
713 int prio, found; in xive_get_max_prio() local
738 for (prio = 0; prio < 8; prio++) { in xive_get_max_prio()
746 if (prio >= base && prio < base + range) in xive_get_max_prio()
[all …]
H A Dnative.c104 rc = opal_xive_set_irq_config(hw_irq, target, prio, sw_irq); in xive_native_configure_irq()
120 rc = opal_xive_get_irq_config(hw_irq, &vp, prio, &lirq); in xive_native_get_irq_config()
152 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue()
201 rc = opal_xive_set_queue_info(vp_id, prio, 0, 0, 0); in __xive_native_disable_queue()
212 __xive_native_disable_queue(vp_id, q, prio); in xive_native_disable_queue()
218 struct xive_q *q = &xc->queue[prio]; in xive_native_setup_queue()
226 q, prio, qpage, xive_queue_shift, false); in xive_native_setup_queue()
231 struct xive_q *q = &xc->queue[prio]; in xive_native_cleanup_queue()
781 int xive_native_get_queue_info(u32 vp_id, u32 prio, in xive_native_get_queue_info() argument
795 rc = opal_xive_get_queue_info(vp_id, prio, &qpage, &qsize, in xive_native_get_queue_info()
[all …]
/openbmc/linux/tools/testing/selftests/bpf/
H 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()
/openbmc/linux/drivers/net/ethernet/mellanox/mlxsw/
H 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()
538 int prio; in mlxsw_sp_dcbnl_ieee_setpfc() local
554 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) in mlxsw_sp_dcbnl_ieee_setpfc()
555 hdroom.prios.prio[prio].lossy = !(pfc->pfc_en & BIT(prio)); in mlxsw_sp_dcbnl_ieee_setpfc()
587 int prio; in mlxsw_sp_dcbnl_getbuffer() local
603 for (prio = 0; prio < IEEE_8021Q_MAX_PRIORITIES; prio++) in mlxsw_sp_dcbnl_getbuffer()
604 buf->prio2buffer[prio] = hdroom->prios.prio[prio].buf_idx; in mlxsw_sp_dcbnl_getbuffer()
624 for (prio = 0; prio < IEEE_8021Q_MAX_PRIORITIES; prio++) in mlxsw_sp_dcbnl_setbuffer()
[all …]
/openbmc/linux/samples/trace_events/
H A Dtrace_custom_sched.h49 __entry->prev_prio = prev->prio;
51 __entry->next_prio = next->prio;
67 __field( unsigned short, prio )
72 __entry->prio = p->prio;
75 TP_printk("pid=%d prio=%d", __entry->pid, __entry->prio)

12345678910>>...25