/kernel/linux/linux-6.6/samples/bpf/ |
H A D | test_cgrp2_sock.c | 30 static int prog_load(__u32 idx, __u32 mark, __u32 prio) in prog_load() argument 69 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() 162 rc = getsockopt(sd, SOL_SOCKET, SO_PRIORITY, &prio, &optlen); in get_priority() 166 return prio; in get_priority() 171 unsigned int mark, prio; in show_sockopts() local 185 prio in show_sockopts() 210 __u32 idx = 0, mark = 0, prio = 0; main() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_dcb.c | 72 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() 117 netdev_err(dev, "Failed to map prio %d to TC %d\n", i, in __mlxsw_sp_dcbnl_ieee_setets() 478 u8 prio) in mlxsw_sp_port_pfc_cnt_get() 486 MLXSW_REG_PPCNT_PRIO_CNT, prio); in mlxsw_sp_port_pfc_cnt_get() 477 mlxsw_sp_port_pfc_cnt_get(struct mlxsw_sp_port *mlxsw_sp_port, u8 prio) mlxsw_sp_port_pfc_cnt_get() argument 538 int prio; mlxsw_sp_dcbnl_ieee_setpfc() local 587 int prio; mlxsw_sp_dcbnl_getbuffer() local 614 int prio; mlxsw_sp_dcbnl_setbuffer() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_dcb.c | 72 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() 117 netdev_err(dev, "Failed to map prio %d to TC %d\n", i, in __mlxsw_sp_dcbnl_ieee_setets() 478 u8 prio) in mlxsw_sp_port_pfc_cnt_get() 486 MLXSW_REG_PPCNT_PRIO_CNT, prio); in mlxsw_sp_port_pfc_cnt_get() 477 mlxsw_sp_port_pfc_cnt_get(struct mlxsw_sp_port *mlxsw_sp_port, u8 prio) mlxsw_sp_port_pfc_cnt_get() argument 538 int prio; mlxsw_sp_dcbnl_ieee_setpfc() local 587 int prio; mlxsw_sp_dcbnl_getbuffer() local 614 int prio; mlxsw_sp_dcbnl_setbuffer() local [all...] |
/kernel/linux/linux-5.10/net/sched/ |
H A D | sch_prio.c | 100 int prio; in prio_peek() local 102 for (prio = 0; prio < q->bands; prio++) { in prio_peek() 103 struct Qdisc *qdisc = q->queues[prio]; in prio_peek() 114 int prio; in prio_dequeue() local 116 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue() 117 struct Qdisc *qdisc = q->queues[prio]; in prio_dequeue() 133 int prio; prio_reset() local 167 int prio; prio_destroy() local 373 int prio; prio_walk() local [all...] |
H A D | sch_htb.c | 100 u32 prio; /* these two are used only by leaves... */ member 272 * Make sure that class is not already on such list for given prio. 275 struct htb_class *cl, int prio) in htb_add_to_id_tree() 282 c = rb_entry(parent, struct htb_class, node[prio]); in htb_add_to_id_tree() 289 rb_link_node(&cl->node[prio], parent, p); in htb_add_to_id_tree() 290 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree() 348 int prio = ffz(~mask); in htb_add_class_to_row() local 349 mask &= ~(1 << prio); in htb_add_class_to_row() 350 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); in htb_add_class_to_row() 274 htb_add_to_id_tree(struct rb_root *root, struct htb_class *cl, int prio) htb_add_to_id_tree() argument 379 int prio = ffz(~mask); htb_remove_class_from_row() local 408 unsigned int prio = ffz(~m); htb_activate_prios() local 447 int prio = ffz(~m); htb_deactivate_prios() local 744 htb_id_find_next_upper(int prio, struct rb_node *n, u32 id) htb_id_find_next_upper() argument 769 htb_lookup_leaf(struct htb_prio *hprio, const int prio) htb_lookup_leaf() argument 826 htb_dequeue_tree(struct htb_sched *q, const int prio, const int level) htb_dequeue_tree() argument 934 int prio = ffz(m); htb_dequeue() local 1341 int prio; htb_change_class() local [all...] |
/kernel/linux/linux-6.6/net/sched/ |
H A D | sch_prio.c | 100 int prio; in prio_peek() local 102 for (prio = 0; prio < q->bands; prio++) { in prio_peek() 103 struct Qdisc *qdisc = q->queues[prio]; in prio_peek() 114 int prio; in prio_dequeue() local 116 for (prio = 0; prio < q->bands; prio++) { in prio_dequeue() 117 struct Qdisc *qdisc = q->queues[prio]; in prio_dequeue() 133 int prio; prio_reset() local 167 int prio; prio_destroy() local 373 int prio; prio_walk() local [all...] |
H A D | sch_htb.c | 100 u32 prio; /* these two are used only by leaves... */ member 282 * @prio: the give prio in class 285 * Make sure that class is not already on such list for given prio. 288 struct htb_class *cl, int prio) in htb_add_to_id_tree() 295 c = rb_entry(parent, struct htb_class, node[prio]); in htb_add_to_id_tree() 302 rb_link_node(&cl->node[prio], parent, p); in htb_add_to_id_tree() 303 rb_insert_color(&cl->node[prio], root); in htb_add_to_id_tree() 368 int prio = ffz(~mask); in htb_add_class_to_row() local 369 mask &= ~(1 << prio); in htb_add_class_to_row() 287 htb_add_to_id_tree(struct rb_root *root, struct htb_class *cl, int prio) htb_add_to_id_tree() argument 402 int prio = ffz(~mask); htb_remove_class_from_row() local 433 unsigned int prio = ffz(~m); htb_activate_prios() local 474 int prio = ffz(~m); htb_deactivate_prios() local 787 htb_id_find_next_upper(int prio, struct rb_node *n, u32 id) htb_id_find_next_upper() argument 814 htb_lookup_leaf(struct htb_prio *hprio, const int prio) htb_lookup_leaf() argument 871 htb_dequeue_tree(struct htb_sched *q, const int prio, const int level) htb_dequeue_tree() argument 979 int prio = ffz(m); htb_dequeue() local 1831 int prio; htb_change_class() local [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 28 parser.add_argument("-p", "--prio", 29 help="all filters have different prio", 65 prio = "prio 1" variable 66 if args.prio: 67 prio = "" variable 73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, 77 device, prio, handle, skip, src_mac, dst_mac, share_action)) 80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, 84 device, prio, handl [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/tc-testing/ |
H A D | tdc_batch.py | 28 parser.add_argument("-p", "--prio", 29 help="all filters have different prio", 65 prio = "prio 1" variable 66 if args.prio: 67 prio = "" variable 73 def format_add_filter(device, prio, handle, skip, src_mac, dst_mac, 77 device, prio, handle, skip, src_mac, dst_mac, share_action)) 80 def format_rep_filter(device, prio, handle, skip, src_mac, dst_mac, 84 device, prio, handl [all...] |
/kernel/linux/linux-5.10/arch/powerpc/sysdev/xive/ |
H A D | spapr.c | 197 unsigned long prio, in plpar_int_set_source_config() 203 pr_devel("H_INT_SET_SOURCE_CONFIG flags=%lx lisn=%lx target=%lx prio=%lx sw_irq=%lx\n", in plpar_int_set_source_config() 204 flags, lisn, target, prio, sw_irq); in plpar_int_set_source_config() 209 target, prio, sw_irq); in plpar_int_set_source_config() 213 pr_err("H_INT_SET_SOURCE_CONFIG lisn=%ld target=%lx prio=%lx failed %ld\n", in plpar_int_set_source_config() 214 lisn, target, prio, rc); in plpar_int_set_source_config() 224 unsigned long *prio, in plpar_int_get_source_config() 234 target, prio, sw_irq); in plpar_int_get_source_config() 244 *prio = retbuf[1]; in plpar_int_get_source_config() 247 pr_devel("H_INT_GET_SOURCE_CONFIG target=%lx prio in plpar_int_get_source_config() 194 plpar_int_set_source_config(unsigned long flags, unsigned long lisn, unsigned long target, unsigned long prio, unsigned long sw_irq) plpar_int_set_source_config() argument 221 plpar_int_get_source_config(unsigned long flags, unsigned long lisn, unsigned long *target, unsigned long *prio, unsigned long *sw_irq) plpar_int_get_source_config() argument 435 xive_spapr_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq) xive_spapr_configure_irq() argument 445 xive_spapr_get_irq_config(u32 hw_irq, u32 *target, u8 *prio, u32 *sw_irq) xive_spapr_get_irq_config() argument 464 xive_spapr_configure_queue(u32 target, struct xive_q *q, u8 prio, __be32 *qpage, u32 order) xive_spapr_configure_queue() argument 516 xive_spapr_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_spapr_setup_queue() argument 530 xive_spapr_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_spapr_cleanup_queue() argument 705 int prio, found; xive_get_max_prio() local [all...] |
H A D | native.c | 102 int xive_native_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq) in xive_native_configure_irq() argument 107 rc = opal_xive_set_irq_config(hw_irq, target, prio, sw_irq); in xive_native_configure_irq() 116 static int xive_native_get_irq_config(u32 hw_irq, u32 *target, u8 *prio, in xive_native_get_irq_config() argument 123 rc = opal_xive_get_irq_config(hw_irq, &vp, prio, &lirq); in xive_native_get_irq_config() 132 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio, in xive_native_configure_queue() argument 153 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue() 158 pr_err("Error %lld getting queue info prio %d\n", rc, prio); in xive_native_configure_queue() 175 rc = opal_xive_set_queue_info(vp_id, prio, qpage_phys, order, flags); in xive_native_configure_queue() 181 pr_err("Error %lld setting queue for prio in xive_native_configure_queue() 196 __xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) __xive_native_disable_queue() argument 211 xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) xive_native_disable_queue() argument 217 xive_native_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_native_setup_queue() argument 230 xive_native_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_native_cleanup_queue() argument 239 __xive_native_disable_queue(get_hard_smp_processor_id(cpu), q, prio); xive_native_cleanup_queue() local 757 xive_native_get_queue_info(u32 vp_id, u32 prio, u64 *out_qpage, u64 *out_qsize, u64 *out_qeoi_page, u32 *out_escalate_irq, u64 *out_qflags) xive_native_get_queue_info() argument 794 xive_native_get_queue_state(u32 vp_id, u32 prio, u32 *qtoggle, u32 *qindex) xive_native_get_queue_state() argument 817 xive_native_set_queue_state(u32 vp_id, u32 prio, u32 qtoggle, u32 qindex) xive_native_set_queue_state() argument [all...] |
/kernel/linux/linux-6.6/arch/powerpc/sysdev/xive/ |
H A D | spapr.c | 211 unsigned long prio, in plpar_int_set_source_config() 217 pr_debug("H_INT_SET_SOURCE_CONFIG flags=0x%lx lisn=0x%lx target=%ld prio=%ld sw_irq=%ld\n", in plpar_int_set_source_config() 218 flags, lisn, target, prio, sw_irq); in plpar_int_set_source_config() 223 target, prio, sw_irq); in plpar_int_set_source_config() 227 pr_err("H_INT_SET_SOURCE_CONFIG lisn=0x%lx target=%ld prio=%ld failed %ld\n", in plpar_int_set_source_config() 228 lisn, target, prio, rc); in plpar_int_set_source_config() 238 unsigned long *prio, in plpar_int_get_source_config() 248 target, prio, sw_irq); in plpar_int_get_source_config() 258 *prio = retbuf[1]; in plpar_int_get_source_config() 261 pr_debug("H_INT_GET_SOURCE_CONFIG target=%ld prio in plpar_int_get_source_config() 208 plpar_int_set_source_config(unsigned long flags, unsigned long lisn, unsigned long target, unsigned long prio, unsigned long sw_irq) plpar_int_set_source_config() argument 235 plpar_int_get_source_config(unsigned long flags, unsigned long lisn, unsigned long *target, unsigned long *prio, unsigned long *sw_irq) plpar_int_get_source_config() argument 449 xive_spapr_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq) xive_spapr_configure_irq() argument 459 xive_spapr_get_irq_config(u32 hw_irq, u32 *target, u8 *prio, u32 *sw_irq) xive_spapr_get_irq_config() argument 478 xive_spapr_configure_queue(u32 target, struct xive_q *q, u8 prio, __be32 *qpage, u32 order) xive_spapr_configure_queue() argument 530 xive_spapr_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_spapr_setup_queue() argument 544 xive_spapr_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_spapr_cleanup_queue() argument 713 int prio, found; xive_get_max_prio() local [all...] |
H A D | native.c | 99 int xive_native_configure_irq(u32 hw_irq, u32 target, u8 prio, u32 sw_irq) in xive_native_configure_irq() argument 104 rc = opal_xive_set_irq_config(hw_irq, target, prio, sw_irq); in xive_native_configure_irq() 113 static int xive_native_get_irq_config(u32 hw_irq, u32 *target, u8 *prio, in xive_native_get_irq_config() argument 120 rc = opal_xive_get_irq_config(hw_irq, &vp, prio, &lirq); in xive_native_get_irq_config() 131 int xive_native_configure_queue(u32 vp_id, struct xive_q *q, u8 prio, in xive_native_configure_queue() argument 152 rc = opal_xive_get_queue_info(vp_id, prio, NULL, NULL, in xive_native_configure_queue() 157 vp_err(vp_id, "Failed to get queue %d info : %lld\n", prio, rc); in xive_native_configure_queue() 174 rc = opal_xive_set_queue_info(vp_id, prio, qpage_phys, order, flags); in xive_native_configure_queue() 180 vp_err(vp_id, "Failed to set queue %d info: %lld\n", prio, rc); in xive_native_configure_queue() 195 static void __xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) in __xive_native_disable_queue() argument 210 xive_native_disable_queue(u32 vp_id, struct xive_q *q, u8 prio) xive_native_disable_queue() argument 216 xive_native_setup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_native_setup_queue() argument 229 xive_native_cleanup_queue(unsigned int cpu, struct xive_cpu *xc, u8 prio) xive_native_cleanup_queue() argument 238 __xive_native_disable_queue(get_hard_smp_processor_id(cpu), q, prio); xive_native_cleanup_queue() local 781 xive_native_get_queue_info(u32 vp_id, u32 prio, u64 *out_qpage, u64 *out_qsize, u64 *out_qeoi_page, u32 *out_escalate_irq, u64 *out_qflags) xive_native_get_queue_info() argument 817 xive_native_get_queue_state(u32 vp_id, u32 prio, u32 *qtoggle, u32 *qindex) xive_native_get_queue_state() argument 839 xive_native_set_queue_state(u32 vp_id, u32 prio, u32 qtoggle, u32 qindex) xive_native_set_queue_state() argument [all...] |
/kernel/linux/linux-5.10/lib/ |
H A D | test_parman.c | 73 struct test_parman_prio *prio; member 153 struct test_parman_prio *prio = &test_parman->prios[i]; in test_parman_priority_gen() local 155 if (prio->priority == 0) in test_parman_priority_gen() 157 if (prio->priority == priority) in test_parman_priority_gen() 168 struct test_parman_prio *prio = &test_parman->prios[i]; in test_parman_prios_init() local 170 /* Assign random uniqueue priority to each prio structure */ in test_parman_prios_init() 171 prio->priority = test_parman_priority_gen(test_parman); in test_parman_prios_init() 172 parman_prio_init(test_parman->parman, &prio->parman_prio, in test_parman_prios_init() 173 prio->priority); in test_parman_prios_init() 182 struct test_parman_prio *prio in test_parman_prios_fini() local [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | test_parman.c | 73 struct test_parman_prio *prio; member 153 struct test_parman_prio *prio = &test_parman->prios[i]; in test_parman_priority_gen() local 155 if (prio->priority == 0) in test_parman_priority_gen() 157 if (prio->priority == priority) in test_parman_priority_gen() 168 struct test_parman_prio *prio = &test_parman->prios[i]; in test_parman_prios_init() local 170 /* Assign random uniqueue priority to each prio structure */ in test_parman_prios_init() 171 prio->priority = test_parman_priority_gen(test_parman); in test_parman_prios_init() 172 parman_prio_init(test_parman->parman, &prio->parman_prio, in test_parman_prios_init() 173 prio->priority); in test_parman_prios_init() 182 struct test_parman_prio *prio in test_parman_prios_fini() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
H A D | i915_scheduler.c | 72 i915_sched_lookup_priolist(struct intel_engine_cs *engine, int prio) in i915_sched_lookup_priolist() argument 84 idx = I915_PRIORITY_COUNT - (prio & I915_PRIORITY_MASK) - 1; in i915_sched_lookup_priolist() 85 prio >>= I915_USER_PRIORITY_SHIFT; in i915_sched_lookup_priolist() 87 prio = I915_PRIORITY_NORMAL; in i915_sched_lookup_priolist() 96 if (prio > p->priority) { in i915_sched_lookup_priolist() 98 } else if (prio < p->priority) { in i915_sched_lookup_priolist() 106 if (prio == I915_PRIORITY_NORMAL) { in i915_sched_lookup_priolist() 112 prio = I915_PRIORITY_NORMAL; /* recurses just once */ in i915_sched_lookup_priolist() 127 p->priority = prio; in i915_sched_lookup_priolist() 180 static inline bool need_preempt(int prio, in argument 192 kick_submission(struct intel_engine_cs *engine, const struct i915_request *rq, int prio) kick_submission() argument 237 const int prio = max(attr->priority, node->attr.priority); __i915_schedule() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_xive.c | 137 u8 prio = 0xff; in xive_vm_scan_interrupts() local 149 prio = ffs(pending) - 1; in xive_vm_scan_interrupts() 152 if (prio >= xc->cppr || prio > 7) { in xive_vm_scan_interrupts() 154 prio = xc->mfrr; in xive_vm_scan_interrupts() 161 q = &xc->queues[prio]; in xive_vm_scan_interrupts() 186 * We also need to do that if prio is 0 and we had no in xive_vm_scan_interrupts() 194 if (hirq == XICS_IPI || (prio == 0 && !qpage)) { in xive_vm_scan_interrupts() 213 pending &= ~(1 << prio); in xive_vm_scan_interrupts() 230 * If the most favoured prio w in xive_vm_scan_interrupts() 374 u8 pending, prio; xive_vm_push_pending_to_hw() local 393 unsigned int prio; xive_vm_scan_for_rerouted_irqs() local 866 kvmppc_xive_attach_escalation(struct kvm_vcpu *vcpu, u8 prio, bool single_escalation) kvmppc_xive_attach_escalation() argument 936 xive_provision_queue(struct kvm_vcpu *vcpu, u8 prio) xive_provision_queue() argument 972 xive_check_provisioning(struct kvm *kvm, u8 prio) xive_check_provisioning() argument 1005 xive_inc_q_pending(struct kvm *kvm, u32 server, u8 prio) xive_inc_q_pending() argument 1025 xive_try_pick_queue(struct kvm_vcpu *vcpu, u8 prio) xive_try_pick_queue() argument 1045 kvmppc_xive_select_target(struct kvm *kvm, u32 *server, u8 prio) kvmppc_xive_select_target() argument 1143 xive_finish_unmask(struct kvmppc_xive *xive, struct kvmppc_xive_src_block *sb, struct kvmppc_xive_irq_state *state, u8 prio) xive_finish_unmask() argument 1183 xive_target_interrupt(struct kvm *kvm, struct kvmppc_xive_irq_state *state, u32 server, u8 prio) xive_target_interrupt() argument 1561 u8 prio; kvmppc_xive_set_mapped() local 1656 u8 prio; kvmppc_xive_clr_mapped() local 2188 u64 val, prio; xive_get_source() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | bpf_sockopt_helpers.h | 8 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()
|
/kernel/linux/linux-6.6/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | qos_dscp_router.sh | 105 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 166 local prio3=$($reprio $prio2) # ICMP Response egress prio 168 local dscp=$((prio << 2)) # ICMP Request ingress DSCP 206 log_test "DSCP rewrite: $dscp-(prio [all...] |
/kernel/linux/linux-6.6/samples/trace_events/ |
H A D | trace_custom_sched.h | 49 __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)
|
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 159 int prio; member 474 unsigned int prio) in find_prio() 479 if (iter_prio->prio == prio) in find_prio() 583 struct fs_prio *prio; in del_sw_flow_table() local 589 fs_get_obj(prio, ft->node.parent); in del_sw_flow_table() 590 prio->num_ft--; in del_sw_flow_table() 947 * If skip is true, skip the flow tables in the same prio_chains prio. 986 struct fs_prio *prio; in find_next_fwd_ft() local 990 fs_get_obj(prio, next_n in find_next_fwd_ft() 473 find_prio(struct mlx5_flow_namespace *ns, unsigned int prio) find_prio() argument 995 connect_fts_in_prio(struct mlx5_core_dev *dev, struct fs_prio *prio, struct mlx5_flow_table *ft) connect_fts_in_prio() argument 1032 connect_prev_fts(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, struct fs_prio *prio) connect_prev_fts() argument 1067 update_root_ft_create(struct mlx5_flow_table *ft, struct fs_prio *prio) update_root_ft_create() argument 1188 connect_flow_table(struct mlx5_core_dev *dev, struct mlx5_flow_table *ft, struct fs_prio *prio) connect_flow_table() argument 1215 list_add_flow_table(struct mlx5_flow_table *ft, struct fs_prio *prio) list_add_flow_table() argument 1335 mlx5_create_lag_demux_flow_table(struct mlx5_flow_namespace *ns, int prio, u32 level) mlx5_create_lag_demux_flow_table() argument 2276 struct fs_prio *prio; find_next_ft() local 2341 struct fs_prio *prio; disconnect_flow_table() local 2429 int prio = 0; mlx5_get_flow_namespace() local 2551 _fs_create_prio(struct mlx5_flow_namespace *ns, unsigned int prio, int num_levels, enum fs_node_type type) _fs_create_prio() argument 2572 fs_create_prio_chained(struct mlx5_flow_namespace *ns, unsigned int prio, int num_levels) fs_create_prio_chained() argument 2579 fs_create_prio(struct mlx5_flow_namespace *ns, unsigned int prio, int num_levels) fs_create_prio() argument 2593 fs_create_namespace(struct fs_prio *prio, int def_miss_act) fs_create_namespace() argument 2611 create_leaf_prios(struct mlx5_flow_namespace *ns, int prio, struct init_tree_node *prio_metadata) create_leaf_prios() argument 2641 init_root_tree_recursive(struct mlx5_flow_steering *steering, struct init_tree_node *init_node, struct fs_node *fs_parent_node, struct init_tree_node *init_parent_node, int prio) init_root_tree_recursive() argument 2752 struct fs_prio *prio; set_prio_attrs_in_ns() local 2762 set_prio_attrs_in_prio(struct fs_prio *prio, int acc_level) set_prio_attrs_in_prio() argument 2787 struct fs_prio *prio; set_prio_attrs() local 2870 struct fs_prio *prio; init_sniffer_tx_root_ns() local 2883 struct fs_prio *prio; init_sniffer_rx_root_ns() local 2897 struct fs_prio *prio; init_port_sel_root_ns() local 2976 int prio; create_fdb_sub_ns_prio_chain() local 3042 struct fs_prio *prio; create_fdb_bypass() local 3137 struct fs_prio *prio; init_egress_acl_root_ns() local 3150 struct fs_prio *prio; init_ingress_acl_root_ns() local [all...] |
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_xive_template.c | 119 u8 prio = 0xff; in GLUE() local 131 prio = ffs(pending) - 1; in GLUE() 134 if (prio >= xc->cppr || prio > 7) { in GLUE() 136 prio = xc->mfrr; in GLUE() 143 q = &xc->queues[prio]; in GLUE() 168 * We also need to do that if prio is 0 and we had no in GLUE() 176 if (hirq == XICS_IPI || (prio == 0 && !qpage)) { in GLUE() 197 pending &= ~(1 << prio); in GLUE() 215 * If the most favoured prio w in GLUE() 360 u8 pending, prio; GLUE() local 379 unsigned int prio; GLUE() local [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/ |
H A D | lsm_cgroup.c | 80 int err, fd, prio; in test_lsm_cgroup_functional() local 191 prio = 0; in test_lsm_cgroup_functional() 192 socklen = sizeof(prio); in test_lsm_cgroup_functional() 193 ASSERT_GE(getsockopt(fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional() 195 ASSERT_EQ(prio, 123, "sk_priority"); in test_lsm_cgroup_functional() 227 prio = 0; in test_lsm_cgroup_functional() 228 socklen = sizeof(prio); in test_lsm_cgroup_functional() 229 ASSERT_GE(getsockopt(accepted_fd, SOL_SOCKET, SO_PRIORITY, &prio, &socklen), 0, in test_lsm_cgroup_functional() 231 ASSERT_EQ(prio, 234, "sk_priority"); in test_lsm_cgroup_functional() 282 prio in test_lsm_cgroup_functional() [all...] |
/kernel/linux/linux-5.10/arch/c6x/kernel/ |
H A D | irq.c | 34 unsigned int prio = data->hwirq; in mask_core_irq() local 37 and_creg(IER, ~(1 << prio)); in mask_core_irq() 43 unsigned int prio = data->hwirq; in unmask_core_irq() local 46 or_creg(IER, 1 << prio); in unmask_core_irq() 58 asmlinkage void c6x_do_IRQ(unsigned int prio, struct pt_regs *regs) in c6x_do_IRQ() argument 64 generic_handle_irq(prio_to_virq[prio]); in c6x_do_IRQ()
|
/kernel/linux/linux-5.10/kernel/ |
H A D | tracepoint.c | 181 int prio) in func_add() 197 if (pos < 0 && old[nr_probes].prio < prio) in func_add() 219 if (pos < 0 && old[nr_probes].prio < prio) in func_add() 301 /* Set the prio to the next event. */ in func_remove() 303 old[i].prio = in func_remove() 304 old[i + 1].prio; in func_remove() 306 old[i].prio = -1; in func_remove() 345 struct tracepoint_func *func, int prio, in tracepoint_add_func() 180 func_add(struct tracepoint_func **funcs, struct tracepoint_func *tp_func, int prio) func_add() argument 344 tracepoint_add_func(struct tracepoint *tp, struct tracepoint_func *func, int prio, bool warn) tracepoint_add_func() argument 493 tracepoint_probe_register_prio_may_exist(struct tracepoint *tp, void *probe, void *data, int prio) tracepoint_probe_register_prio_may_exist() argument 522 tracepoint_probe_register_prio(struct tracepoint *tp, void *probe, void *data, int prio) tracepoint_probe_register_prio() argument [all...] |