| /Linux-v5.4/net/mac80211/ |
| 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() 89 while (sdata->wmm_acm & BIT(skb->priority)) { in ieee80211_downgrade_queue() 90 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() 93 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue() 108 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue() 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() [all …]
|
| /Linux-v5.4/arch/mips/kvm/ |
| D | interrupt.c | 24 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_queue_irq() argument 26 set_bit(priority, &vcpu->arch.pending_exceptions); in kvm_mips_queue_irq() 29 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_mips_dequeue_irq() argument 31 clear_bit(priority, &vcpu->arch.pending_exceptions); in kvm_mips_dequeue_irq() 115 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_deliver_cb() argument 124 switch (priority) { in kvm_mips_irq_deliver_cb() 192 clear_bit(priority, &vcpu->arch.pending_exceptions); in kvm_mips_irq_deliver_cb() 198 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority, in kvm_mips_irq_clear_cb() argument 208 unsigned int priority; in kvm_mips_deliver_interrupts() local 213 priority = __ffs(*pending_clr); in kvm_mips_deliver_interrupts() [all …]
|
| D | interrupt.h | 41 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, unsigned int priority); 42 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, unsigned int priority); 51 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, 53 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority,
|
| /Linux-v5.4/drivers/gpu/drm/amd/amdgpu/ |
| D | amdgpu_sched.c | 57 enum drm_sched_priority priority) in amdgpu_sched_process_priority_override() argument 75 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_process_priority_override() 84 enum drm_sched_priority priority) in amdgpu_sched_context_priority_override() argument 107 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_context_priority_override() 119 enum drm_sched_priority priority; in amdgpu_sched_ioctl() local 122 priority = amdgpu_to_sched_priority(args->in.priority); in amdgpu_sched_ioctl() 123 if (priority == DRM_SCHED_PRIORITY_INVALID) in amdgpu_sched_ioctl() 130 priority); in amdgpu_sched_ioctl() 136 priority); in amdgpu_sched_ioctl()
|
| D | amdgpu_ring.c | 165 enum drm_sched_priority priority) in amdgpu_ring_priority_put() argument 172 if (atomic_dec_return(&ring->num_jobs[priority]) > 0) in amdgpu_ring_priority_put() 176 if (priority == DRM_SCHED_PRIORITY_NORMAL) in amdgpu_ring_priority_put() 181 if (ring->priority > priority) in amdgpu_ring_priority_put() 185 for (i = priority; i >= DRM_SCHED_PRIORITY_MIN; i--) { in amdgpu_ring_priority_put() 188 ring->priority = i; in amdgpu_ring_priority_put() 207 enum drm_sched_priority priority) in amdgpu_ring_priority_get() argument 212 if (atomic_inc_return(&ring->num_jobs[priority]) <= 0) in amdgpu_ring_priority_get() 216 if (priority <= ring->priority) in amdgpu_ring_priority_get() 219 ring->priority = priority; in amdgpu_ring_priority_get() [all …]
|
| D | amdgpu_ctx.c | 56 enum drm_sched_priority priority) in amdgpu_ctx_priority_permit() argument 59 if (priority <= DRM_SCHED_PRIORITY_NORMAL) in amdgpu_ctx_priority_permit() 72 enum drm_sched_priority priority, in amdgpu_ctx_init() argument 80 if (priority < 0 || priority >= DRM_SCHED_PRIORITY_MAX) in amdgpu_ctx_init() 83 r = amdgpu_ctx_priority_permit(filp, priority); in amdgpu_ctx_init() 120 ctx->init_priority = priority; in amdgpu_ctx_init() 184 rqs[num_rqs++] = &rings[j]->sched.sched_rq[priority]; in amdgpu_ctx_init() 254 enum drm_sched_priority priority, in amdgpu_ctx_alloc() argument 274 r = amdgpu_ctx_init(adev, priority, filp, ctx); in amdgpu_ctx_alloc() 403 enum drm_sched_priority priority; in amdgpu_ctx_ioctl() local [all …]
|
| /Linux-v5.4/drivers/platform/x86/ |
| D | intel_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-v5.4/Documentation/media/uapi/v4l/ |
| D | vidioc-g-priority.rst | 19 VIDIOC_G_PRIORITY - VIDIOC_S_PRIORITY - Query or request the access priority associated with a file… 45 To query the current access priority applications call the 47 variable where the driver stores the current priority. 49 To request an access priority applications store the desired priority in 68 - Lowest priority, usually applications running in background, for 71 read from a device at this priority. 77 - Medium priority, usually applications started and interactively 80 controls. This is the default priority unless an application 84 - Highest priority. Only one file descriptor can have this priority, 97 The requested priority value is invalid. [all …]
|
| /Linux-v5.4/Documentation/locking/ |
| 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. 33 priority order. For same priorities FIFO order is chosen. For each 34 rtmutex, only the top priority waiter is enqueued into the owner's [all …]
|
| D | rt-mutex-design.rst | 16 The goal of this document is to help others understand the priority 24 Priority inversion is when a lower priority process executes while a higher 25 priority process wants to run. This happens for several reasons, and 26 most of the time it can't be helped. Anytime a high priority process wants 27 to use a resource that a lower priority process has (a mutex for example), 28 the high priority process must wait until the lower priority process is done 29 with the resource. This is a priority inversion. What we want to prevent 30 is something called unbounded priority inversion. That is when the high 31 priority process is prevented from running by a lower priority process for 34 The classic example of unbounded priority inversion is where you have three [all …]
|
| /Linux-v5.4/Documentation/virt/kvm/devices/ |
| D | xics.txt | 26 * Pending interrupt priority, 8 bits 27 Zero is the highest priority, 255 means no interrupt is pending. 29 * Pending IPI (inter-processor interrupt) priority, 8 bits 30 Zero is the highest priority, 255 means no IPI is pending. 35 * Current processor priority, 8 bits 36 Zero is the highest priority, meaning no interrupts can be 37 delivered, and 255 is the lowest priority. 50 This is the priority specified for this interrupt source, where 0 is 51 the highest priority and 255 is the lowest. An interrupt with a 52 priority of 255 will never be delivered. [all …]
|
| /Linux-v5.4/arch/powerpc/sysdev/xics/ |
| D | ics-opal.c | 113 int8_t priority; in ics_opal_set_affinity() local 120 rc = opal_get_xive(hw_irq, &oserver, &priority); in ics_opal_set_affinity() 139 rc = opal_set_xive(hw_irq, server, priority); in ics_opal_set_affinity() 182 int8_t priority; in ics_opal_map() local 188 rc = opal_get_xive(hw_irq, &server, &priority); in ics_opal_map() 202 int8_t priority; in ics_opal_mask_unknown() local 205 rc = opal_get_xive(vec, &server, &priority); in ics_opal_mask_unknown() 216 int8_t priority; in ics_opal_get_server() local 219 rc = opal_get_xive(vec, &server, &priority); in ics_opal_get_server()
|
| /Linux-v5.4/lib/ |
| 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() 171 prio->priority = test_parman_priority_gen(test_parman); in test_parman_prios_init() 173 prio->priority); in test_parman_prios_init() 329 if (item->prio->priority < last_priority) { in test_parman_check_array() [all …]
|
| D | memory-notifier-error-inject.c | 8 static int priority; variable 9 module_param(priority, int, 0); 10 MODULE_PARM_DESC(priority, "specify memory notifier priority"); 27 &memory_notifier_err_inject, priority); in err_inject_init()
|
| D | pm-notifier-error-inject.c | 8 static int priority; variable 9 module_param(priority, int, 0); 10 MODULE_PARM_DESC(priority, "specify PM notifier priority"); 28 &pm_notifier_err_inject, priority); in err_inject_init()
|
| D | of-reconfig-notifier-error-inject.c | 8 static int priority; variable 9 module_param(priority, int, 0); 10 MODULE_PARM_DESC(priority, "specify OF reconfig notifier priority"); 30 notifier_err_inject_dir, &reconfig_err_inject, priority); in err_inject_init()
|
| D | netdev-notifier-error-inject.c | 8 static int priority; variable 9 module_param(priority, int, 0); 10 MODULE_PARM_DESC(priority, "specify netdevice notifier priority"); 34 &netdev_notifier_err_inject, priority); in netdev_err_inject_init()
|
| /Linux-v5.4/include/trace/events/ |
| D | vmscan.h | 189 int priority), 192 priority), 203 __field(int, priority) 215 __entry->priority = priority; 227 __entry->priority) 339 struct reclaim_stat *stat, int priority, int file), 341 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file), 355 __field(int, priority) 371 __entry->priority = priority; 382 __entry->priority, [all …]
|
| /Linux-v5.4/arch/powerpc/kvm/ |
| D | book3s_xive_native.c | 393 u32 server, u8 priority, bool masked, in kvmppc_xive_native_update_source_config() argument 402 if (state->act_server == server && state->act_priority == priority && in kvmppc_xive_native_update_source_config() 407 priority, server, masked, state->act_server, in kvmppc_xive_native_update_source_config() 412 if (priority != MASKED && !masked) { in kvmppc_xive_native_update_source_config() 413 rc = kvmppc_xive_select_target(kvm, &server, priority); in kvmppc_xive_native_update_source_config() 417 state->act_priority = priority; in kvmppc_xive_native_update_source_config() 423 priority, eisn); in kvmppc_xive_native_update_source_config() 446 u8 priority; in kvmppc_xive_native_set_source_config() local 464 priority = (kvm_cfg & KVM_XIVE_SOURCE_PRIORITY_MASK) >> in kvmppc_xive_native_set_source_config() 473 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_set_source_config() [all …]
|
| /Linux-v5.4/Documentation/admin-guide/cgroup-v1/ |
| 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-v5.4/drivers/gpu/drm/i915/ |
| D | i915_scheduler.c | 58 GEM_BUG_ON(p->priority >= last_prio); in assert_priolists() 59 last_prio = p->priority; in assert_priolists() 96 if (prio > p->priority) { in i915_sched_lookup_priolist() 98 } else if (prio < p->priority) { in i915_sched_lookup_priolist() 127 p->priority = prio; in i915_sched_lookup_priolist() 177 return rq->sched.attr.priority | __NO_PREEMPTION; in rq_prio() 236 const int prio = attr->priority; in __i915_schedule() 244 if (prio <= READ_ONCE(node->attr.priority)) in __i915_schedule() 290 if (prio > READ_ONCE(p->signaler->attr.priority)) in __i915_schedule() 301 if (node->attr.priority == I915_PRIORITY_INVALID) { in __i915_schedule() [all …]
|
| /Linux-v5.4/Documentation/devicetree/bindings/interrupt-controller/ |
| D | ti,c64x+megamod-pic.txt | 18 Single cell specifying the core interrupt priority level (4-15) where 19 4 is highest priority and 15 is lowest priority. 37 One for each core interrupt priority level. In addition to the combined 50 The cells contain the core priority interrupt to which the 56 priority interrupts. The first cell corresponds to 57 core priority 4 and the last cell corresponds to 58 core priority 15. The value of each cell is the 70 be the core priority level, not the megamodule interrupt number. 101 mapped directly to core priority interrupt 8. The node using this interrupt
|
| /Linux-v5.4/drivers/net/ethernet/intel/i40e/ |
| D | i40e_dcb.c | 42 u8 priority; in i40e_parse_ieee_etscfg_tlv() local 72 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etscfg_tlv() 74 etscfg->prioritytable[i * 2] = priority; in i40e_parse_ieee_etscfg_tlv() 75 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etscfg_tlv() 77 etscfg->prioritytable[i * 2 + 1] = priority; in i40e_parse_ieee_etscfg_tlv() 112 u8 priority; in i40e_parse_ieee_etsrec_tlv() local 127 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> in i40e_parse_ieee_etsrec_tlv() 129 dcbcfg->etsrec.prioritytable[i*2] = priority; in i40e_parse_ieee_etsrec_tlv() 130 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> in i40e_parse_ieee_etsrec_tlv() 132 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; in i40e_parse_ieee_etsrec_tlv() [all …]
|
| /Linux-v5.4/drivers/staging/rtl8192u/ieee80211/ |
| D | rtl819x_TS.h | 19 u8 priority; member 25 u8 priority; member 34 u8 priority; member 48 u8 priority; member 60 u8 priority; member
|
| /Linux-v5.4/Documentation/vm/ |
| 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
|