/linux/net/mac80211/ |
A D | wme.c | 35 switch (skb->priority) { in wme_downgrade_ac() 38 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 42 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 46 skb->priority = 2; /* BE -> BK */ in wme_downgrade_ac() 109 skb->priority = ieee80211_fix_reserved_tid(skb->priority); in ieee80211_downgrade_queue() 112 return ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() 129 skb->priority = 7; in ieee80211_select_queue_80211() 130 return ieee802_1d_to_ac[skb->priority]; in ieee80211_select_queue_80211() 133 skb->priority = 0; in ieee80211_select_queue_80211() 134 return ieee802_1d_to_ac[skb->priority]; in ieee80211_select_queue_80211() [all …]
|
/linux/arch/mips/kvm/ |
A D | interrupt.c | 28 unsigned int priority; in kvm_mips_deliver_interrupts() local 33 priority = __ffs(*pending_clr); in kvm_mips_deliver_interrupts() 34 while (priority <= MIPS_EXC_MAX) { in kvm_mips_deliver_interrupts() 35 kvm_mips_callbacks->irq_clear(vcpu, priority, cause); in kvm_mips_deliver_interrupts() 37 priority = find_next_bit(pending_clr, in kvm_mips_deliver_interrupts() 39 priority + 1); in kvm_mips_deliver_interrupts() 42 priority = __ffs(*pending); in kvm_mips_deliver_interrupts() 43 while (priority <= MIPS_EXC_MAX) { in kvm_mips_deliver_interrupts() 44 kvm_mips_callbacks->irq_deliver(vcpu, priority, cause); in kvm_mips_deliver_interrupts() 46 priority = find_next_bit(pending, in kvm_mips_deliver_interrupts() [all …]
|
/linux/Documentation/userspace-api/media/v4l/ |
A D | vidioc-g-priority.rst | 13 VIDIOC_G_PRIORITY - VIDIOC_S_PRIORITY - Query or request the access priority associated with a file… 38 To query the current access priority applications call the 40 variable where the driver stores the current priority. 42 To request an access priority applications store the desired priority in 60 - Lowest priority, usually applications running in background, for 63 read from a device at this priority. 69 - Medium priority, usually applications started and interactively 72 controls. This is the default priority unless an application 76 - Highest priority. Only one file descriptor can have this priority, 88 The requested priority value is invalid. [all …]
|
/linux/Documentation/locking/ |
A D | rt-mutex.rst | 5 RT-mutexes with priority inheritance are used to support PI-futexes, 6 which enable pthread_mutex_t priority inheritance attributes 16 RT-mutexes extend the semantics of simple mutexes by the priority 19 A low priority owner of a rt-mutex inherits the priority of a higher 20 priority waiter until the rt-mutex is released. If the temporarily 21 boosted owner blocks on a rt-mutex itself it propagates the priority 23 priority boosting is immediately removed once the rt_mutex has been 30 an high priority thread, without losing determinism. 35 priority waiters tree. This tree too queues in priority order. Whenever 37 got a signal), the priority of the owner task is readjusted. The [all …]
|
A D | rt-mutex-design.rst | 16 The goal of this document is to help others understand the priority 28 the high priority process must wait until the lower priority process is done 31 priority process is prevented from running by a lower priority process for 215 inherited a priority, it will always be the priority of the task that is 363 to implement the actual change in priority. 367 higher the priority. A "prio" of 5 is of higher priority than a 371 or decrease the priority of the task. In the case that a higher priority 373 would increase/boost the task's priority. But if a higher priority task 378 to the normal priority of the given task. 475 current priority. [all …]
|
/linux/drivers/platform/x86/intel/ |
A D | turbo_max_3.c | 93 int priority; in itmt_legacy_cpu_online() local 95 priority = get_oc_core_priority(cpu); in itmt_legacy_cpu_online() 96 if (priority < 0) in itmt_legacy_cpu_online() 99 sched_set_itmt_core_prio(priority, cpu); in itmt_legacy_cpu_online() 103 if (priority > max_highest_perf) in itmt_legacy_cpu_online() 104 max_highest_perf = priority; in itmt_legacy_cpu_online() 106 if (priority < min_highest_perf) in itmt_legacy_cpu_online() 107 min_highest_perf = priority; in itmt_legacy_cpu_online()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
A D | amdgpu_sched.c | 37 int32_t priority) in amdgpu_sched_process_priority_override() argument 55 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_process_priority_override() 64 int32_t priority) in amdgpu_sched_context_priority_override() argument 87 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_context_priority_override() 112 if (!amdgpu_ctx_priority_is_valid(args->in.priority)) { in amdgpu_sched_ioctl() 113 WARN(1, "Invalid context priority %d\n", args->in.priority); in amdgpu_sched_ioctl() 121 args->in.priority); in amdgpu_sched_ioctl() 127 args->in.priority); in amdgpu_sched_ioctl()
|
/linux/arch/powerpc/kvm/ |
A D | book3s_xive_native.c | 473 u8 priority; in kvmppc_xive_native_set_source_config() local 500 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_set_source_config() 502 priority, server); in kvmppc_xive_native_set_source_config() 568 u8 priority; in kvmppc_xive_native_set_queue_config() local 596 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_set_queue_config() 598 priority, server); in kvmppc_xive_native_set_queue_config() 601 q = &xc->queues[priority]; in kvmppc_xive_native_set_queue_config() 717 u8 priority; in kvmppc_xive_native_get_queue_config() local 741 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_get_queue_config() 743 priority, server); in kvmppc_xive_native_get_queue_config() [all …]
|
A D | book3s_rtas.c | 21 u32 irq, server, priority; in kvm_rtas_set_xive() local 31 priority = be32_to_cpu(args->args[2]); in kvm_rtas_set_xive() 34 rc = kvmppc_xive_set_xive(vcpu->kvm, irq, server, priority); in kvm_rtas_set_xive() 36 rc = kvmppc_xics_set_xive(vcpu->kvm, irq, server, priority); in kvm_rtas_set_xive() 45 u32 irq, server, priority; in kvm_rtas_get_xive() local 55 server = priority = 0; in kvm_rtas_get_xive() 57 rc = kvmppc_xive_get_xive(vcpu->kvm, irq, &server, &priority); in kvm_rtas_get_xive() 59 rc = kvmppc_xics_get_xive(vcpu->kvm, irq, &server, &priority); in kvm_rtas_get_xive() 66 args->rets[2] = cpu_to_be32(priority); in kvm_rtas_get_xive()
|
/linux/include/trace/events/ |
A D | vmscan.h | 203 int priority), 206 priority), 217 __field(int, priority) 229 __entry->priority = priority; 241 __entry->priority) 373 __field(int, priority) 389 __entry->priority = priority; 400 __entry->priority, 418 __field(int, priority) 428 __entry->priority = priority; [all …]
|
/linux/lib/ |
A D | test_parman.c | 68 unsigned long priority; member 144 unsigned long priority; in test_parman_priority_gen() local 148 priority = test_parman_rnd_get(test_parman); in test_parman_priority_gen() 149 if (priority == 0) in test_parman_priority_gen() 155 if (prio->priority == 0) in test_parman_priority_gen() 157 if (prio->priority == priority) in test_parman_priority_gen() 160 return priority; in test_parman_priority_gen() 173 prio->priority); in test_parman_prios_init() 329 if (item->prio->priority < last_priority) { in test_parman_check_array() 331 item->prio->priority, last_priority); in test_parman_check_array() [all …]
|
/linux/arch/powerpc/sysdev/xics/ |
A D | ics-opal.c | 102 int8_t priority; in ics_opal_set_affinity() local 109 rc = opal_get_xive(hw_irq, &oserver, &priority); in ics_opal_set_affinity() 128 rc = opal_set_xive(hw_irq, server, priority); in ics_opal_set_affinity() 158 int8_t priority; in ics_opal_check() local 164 rc = opal_get_xive(hw_irq, &server, &priority); in ics_opal_check() 175 int8_t priority; in ics_opal_mask_unknown() local 178 rc = opal_get_xive(vec, &server, &priority); in ics_opal_mask_unknown() 189 int8_t priority; in ics_opal_get_server() local 192 rc = opal_get_xive(vec, &server, &priority); in ics_opal_get_server()
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_engine_heartbeat.c | 83 rq->sched.attr.priority); in show_heartbeat() 109 struct i915_sched_attr attr = { .priority = I915_PRIORITY_MIN }; in heartbeat() 156 rq->sched.attr.priority < I915_PRIORITY_BARRIER) { in heartbeat() 163 attr.priority = 0; in heartbeat() 164 if (rq->sched.attr.priority >= attr.priority) in heartbeat() 165 attr.priority = I915_PRIORITY_HEARTBEAT; in heartbeat() 166 if (rq->sched.attr.priority >= attr.priority) in heartbeat() 167 attr.priority = I915_PRIORITY_BARRIER; in heartbeat() 248 struct i915_sched_attr attr = { .priority = I915_PRIORITY_BARRIER }; in __intel_engine_pulse() 263 GEM_BUG_ON(rq->sched.attr.priority < I915_PRIORITY_BARRIER); in __intel_engine_pulse() [all …]
|
/linux/drivers/dma/fsl-dpaa2-qdma/ |
A D | dpdmai.c | 20 u8 priority; member 294 u8 priority, const struct dpdmai_rx_queue_cfg *cfg) in dpdmai_set_rx_queue() argument 305 cmd_params->priority = cfg->dest_cfg.priority; in dpdmai_set_rx_queue() 306 cmd_params->queue = priority; in dpdmai_set_rx_queue() 328 u8 priority, struct dpdmai_rx_queue_attr *attr) in dpdmai_get_rx_queue() argument 339 cmd_params->queue = priority; in dpdmai_get_rx_queue() 348 attr->dest_cfg.priority = cmd_params->priority; in dpdmai_get_rx_queue() 369 u16 token, u8 priority, u32 *fqid) in dpdmai_get_tx_queue() argument 381 cmd_params->queue = priority; in dpdmai_get_tx_queue()
|
/linux/Documentation/virt/kvm/devices/ |
A D | xics.rst | 47 * Pending interrupt priority, 8 bits 48 Zero is the highest priority, 255 means no interrupt is pending. 50 * Pending IPI (inter-processor interrupt) priority, 8 bits 51 Zero is the highest priority, 255 means no IPI is pending. 56 * Current processor priority, 8 bits 57 Zero is the highest priority, meaning no interrupts can be 58 delivered, and 255 is the lowest priority. 73 This is the priority specified for this interrupt source, where 0 is 74 the highest priority and 255 is the lowest. An interrupt with a 75 priority of 255 will never be delivered. [all …]
|
/linux/Documentation/admin-guide/cgroup-v1/ |
A D | net_prio.rst | 2 Network priority cgroup 5 The Network priority cgroup provides an interface to allow an administrator to 6 dynamically set the priority of network traffic generated by various 9 Nominally, an application would set the priority of its traffic via the 13 2) The priority of application traffic is often a site-specific administrative 17 the priority of egress traffic on a given interface. Network priority groups can 36 It contains a list of tuples in the form <ifname priority>. Contents of this 43 iscsi net_prio cgroup and egressing on interface eth0 to have the priority of 46 priority.
|
/linux/Documentation/admin-guide/pm/ |
A D | intel-speed-select.rst | 316 and use a priority type. There is a default per platform priority type, which 325 Clos Enable: Specify priority type with [--priority|-p] 378 priority-type:proportional 386 priority-type:proportional 444 clos-proportional-priority:0 454 clos-proportional-priority:0 623 via high-priority-cpu-list/high-priority-cpu-mask. But if this Intel(R) SST-BF 661 - Note the high priority CPU list 853 two high priority cores. If only two high priority cores are set, then max. 858 rest as low priority. One side effect is that once enabled, the low priority [all …]
|
/linux/drivers/net/ethernet/sfc/ |
A D | efx.h | 122 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument 125 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe() 140 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument 143 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe() 147 enum efx_filter_priority priority) in efx_filter_count_rx_used() argument 149 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used() 156 enum efx_filter_priority priority, in efx_filter_get_rx_ids() argument 159 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
|
/linux/drivers/staging/rtl8192e/ |
A D | rtllib_tx.c | 508 skb->priority, TX_DIR, true)) in rtllib_query_seqnum() 519 switch (skb->priority) { in wme_downgrade_ac() 522 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 526 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 530 skb->priority = 1; /* BE -> BK */ in wme_downgrade_ac() 720 skb->priority); in rtllib_xmit_inter() 724 skb->priority); in rtllib_xmit_inter() 727 qos_ctl |= skb->priority; in rtllib_xmit_inter() 785 skb_frag->priority = skb->priority; in rtllib_xmit_inter() 788 skb_frag->priority = WME_AC_BE; in rtllib_xmit_inter() [all …]
|
/linux/tools/testing/selftests/netfilter/ |
A D | nft_queue.sh | 105 type filter hook input priority $prio; policy accept; 109 type filter hook forward priority $prio; policy accept; 114 type filter hook output priority $prio; policy accept; 136 type filter hook input priority $prio; policy accept; 140 type filter hook forward priority $prio; policy accept; 144 type filter hook output priority $prio; policy accept; 189 type filter hook forward priority 0; policy accept; 305 type filter hook output priority 0; policy accept; 309 type filter hook postrouting priority 0; policy accept; 354 type filter hook output priority 0; policy accept; [all …]
|
/linux/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_acl_tcam.c | 100 *priority = 0; in mlxsw_sp_acl_tcam_priority_get() 113 *priority = max_priority - rulei->priority; in mlxsw_sp_acl_tcam_priority_get() 408 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_prio() 420 return vchunk->priority; in mlxsw_sp_acl_tcam_vregion_max_prio() 465 priority) in mlxsw_sp_acl_tcam_group_region_attach() 520 priority, NULL); in mlxsw_sp_acl_tcam_vgroup_vregion_attach() 561 if (priority >= in mlxsw_sp_acl_tcam_vgroup_vregion_find() 848 priority); in mlxsw_sp_acl_tcam_vregion_create() 1020 vchunk->priority = priority; in mlxsw_sp_acl_tcam_vchunk_create() 1025 priority, elusage); in mlxsw_sp_acl_tcam_vchunk_create() [all …]
|
/linux/tools/testing/selftests/bpf/prog_tests/ |
A D | tc_bpf.c | 12 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_p, .priority = 1); \ 14 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hp, .handle = 1, .priority = 1); \ 16 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_pf, .priority = 1, .prog_fd = __fd); \ 17 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpf, .handle = 1, .priority = 1, .prog_fd = __fd); \ 18 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpi, .handle = 1, .priority = 1, .prog_id = 42); \ 19 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_hpr, .handle = 1, .priority = 1, \ 23 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts_prio_max, .handle = 1, .priority = UINT16_MAX + 1); 27 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd); in test_tc_bpf_basic() 41 !ASSERT_EQ(opts.priority, 1, "priority set") || in test_tc_bpf_basic() 57 !ASSERT_EQ(opts.priority, 1, "priority set") || in test_tc_bpf_basic() [all …]
|
/linux/Documentation/admin-guide/mm/ |
A D | swap_numa.rst | 15 Swap device has priority and that decides the order of it to be used. To make 16 use of automatically binding, there is no need to manipulate priority settings 65 The current code uses a priority based list, swap_avail_list, to decide 67 priority, they are used round robin. This change here replaces the single 69 it sees its own priority based list of available swap devices. Swap 70 device's priority can be promoted on its matching node's swap_avail_list. 72 The current swap device's priority is set as: user can set a >=0 value, 73 or the system will pick one starting from -1 then downwards. The priority 76 the semantics for priority >=0 cases, the previous starting from -1 then 79 node, they will all be promoted to priority -1 on that node's plist and will
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_scheduler.c | 54 GEM_BUG_ON(p->priority > last_prio); in assert_priolists() 55 last_prio = p->priority; in assert_priolists() 79 if (prio > p->priority) { in i915_sched_lookup_priolist() 81 } else if (prio < p->priority) { in i915_sched_lookup_priolist() 110 p->priority = prio; in i915_sched_lookup_priolist() 158 const int prio = max(attr->priority, node->attr.priority); in __i915_schedule() 212 if (prio > READ_ONCE(p->signaler->attr.priority)) in __i915_schedule() 223 if (node->attr.priority == I915_PRIORITY_INVALID) { in __i915_schedule() 250 if (prio <= node->attr.priority || node_signaled(node)) in __i915_schedule() 260 WRITE_ONCE(node->attr.priority, prio); in __i915_schedule() [all …]
|
/linux/include/net/tc_act/ |
A D | tc_skbedit.h | 16 u32 priority; member 88 u32 priority; in tcf_skbedit_priority() local 91 priority = rcu_dereference(to_skbedit(a)->params)->priority; in tcf_skbedit_priority() 94 return priority; in tcf_skbedit_priority()
|