/Linux-v4.19/net/mac80211/ |
D | wme.c | 38 switch (skb->priority) { in wme_downgrade_ac() 41 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 45 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 49 skb->priority = 2; /* BE -> BK */ in wme_downgrade_ac() 92 while (sdata->wmm_acm & BIT(skb->priority)) { in ieee80211_downgrade_queue() 93 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() 96 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue() 111 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue() 112 skb->priority = ieee80211_fix_reserved_tid(skb->priority); in ieee80211_downgrade_queue() 115 return ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() [all …]
|
/Linux-v4.19/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-v4.19/Documentation/media/uapi/v4l/ |
D | vidioc-g-priority.rst | 12 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 61 - Lowest priority, usually applications running in background, for 64 read from a device at this priority. 70 - Medium priority, usually applications started and interactively 73 controls. This is the default priority unless an application 77 - Highest priority. Only one file descriptor can have this priority, 90 The requested priority value is invalid. [all …]
|
/Linux-v4.19/drivers/platform/x86/ |
D | intel_turbo_max_3.c | 101 int priority; in itmt_legacy_cpu_online() local 103 priority = get_oc_core_priority(cpu); in itmt_legacy_cpu_online() 104 if (priority < 0) in itmt_legacy_cpu_online() 107 sched_set_itmt_core_prio(priority, cpu); in itmt_legacy_cpu_online() 111 if (priority > max_highest_perf) in itmt_legacy_cpu_online() 112 max_highest_perf = priority; in itmt_legacy_cpu_online() 114 if (priority < min_highest_perf) in itmt_legacy_cpu_online() 115 min_highest_perf = priority; in itmt_legacy_cpu_online()
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_sched.c | 54 enum drm_sched_priority priority) in amdgpu_sched_process_priority_override() argument 68 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_process_priority_override() 80 enum drm_sched_priority priority; in amdgpu_sched_ioctl() local 83 priority = amdgpu_to_sched_priority(args->in.priority); in amdgpu_sched_ioctl() 84 if (args->in.flags || priority == DRM_SCHED_PRIORITY_INVALID) in amdgpu_sched_ioctl() 91 priority); in amdgpu_sched_ioctl()
|
D | amdgpu_ring.c | 167 enum drm_sched_priority priority) in amdgpu_ring_priority_put() argument 174 if (atomic_dec_return(&ring->num_jobs[priority]) > 0) in amdgpu_ring_priority_put() 178 if (priority == DRM_SCHED_PRIORITY_NORMAL) in amdgpu_ring_priority_put() 183 if (ring->priority > priority) in amdgpu_ring_priority_put() 187 for (i = priority; i >= DRM_SCHED_PRIORITY_MIN; i--) { in amdgpu_ring_priority_put() 190 ring->priority = i; in amdgpu_ring_priority_put() 209 enum drm_sched_priority priority) in amdgpu_ring_priority_get() argument 214 if (atomic_inc_return(&ring->num_jobs[priority]) <= 0) in amdgpu_ring_priority_get() 218 if (priority <= ring->priority) in amdgpu_ring_priority_get() 221 ring->priority = priority; in amdgpu_ring_priority_get() [all …]
|
D | amdgpu_ctx.c | 31 enum drm_sched_priority priority) in amdgpu_ctx_priority_permit() argument 34 if (priority <= DRM_SCHED_PRIORITY_NORMAL) in amdgpu_ctx_priority_permit() 47 enum drm_sched_priority priority, in amdgpu_ctx_init() argument 54 if (priority < 0 || priority >= DRM_SCHED_PRIORITY_MAX) in amdgpu_ctx_init() 57 r = amdgpu_ctx_priority_permit(filp, priority); in amdgpu_ctx_init() 80 ctx->init_priority = priority; in amdgpu_ctx_init() 88 rq = &ring->sched.sched_rq[priority]; in amdgpu_ctx_init() 138 enum drm_sched_priority priority, in amdgpu_ctx_alloc() argument 158 r = amdgpu_ctx_init(adev, priority, filp, ctx); in amdgpu_ctx_alloc() 274 enum drm_sched_priority priority; in amdgpu_ctx_ioctl() local [all …]
|
/Linux-v4.19/Documentation/locking/ |
D | rt-mutex.txt | 4 RT-mutexes with priority inheritance are used to support PI-futexes, 5 which enable pthread_mutex_t priority inheritance attributes 15 RT-mutexes extend the semantics of simple mutexes by the priority 18 A low priority owner of a rt-mutex inherits the priority of a higher 19 priority waiter until the rt-mutex is released. If the temporarily 20 boosted owner blocks on a rt-mutex itself it propagates the priority 22 priority boosting is immediately removed once the rt_mutex has been 29 an high priority thread, without losing determinism. 32 priority order. For same priorities FIFO order is chosen. For each 33 rtmutex, only the top priority waiter is enqueued into the owner's [all …]
|
D | rt-mutex-design.txt | 15 The goal of this document is to help others understand the priority 23 Priority inversion is when a lower priority process executes while a higher 24 priority process wants to run. This happens for several reasons, and 25 most of the time it can't be helped. Anytime a high priority process wants 26 to use a resource that a lower priority process has (a mutex for example), 27 the high priority process must wait until the lower priority process is done 28 with the resource. This is a priority inversion. What we want to prevent 29 is something called unbounded priority inversion. That is when the high 30 priority process is prevented from running by a lower priority process for 33 The classic example of unbounded priority inversion is where you have three [all …]
|
/Linux-v4.19/Documentation/virtual/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-v4.19/arch/powerpc/sysdev/xics/ |
D | ics-opal.c | 117 int8_t priority; in ics_opal_set_affinity() local 124 rc = opal_get_xive(hw_irq, &oserver, &priority); in ics_opal_set_affinity() 143 rc = opal_set_xive(hw_irq, server, priority); in ics_opal_set_affinity() 186 int8_t priority; in ics_opal_map() local 192 rc = opal_get_xive(hw_irq, &server, &priority); in ics_opal_map() 206 int8_t priority; in ics_opal_mask_unknown() local 209 rc = opal_get_xive(vec, &server, &priority); in ics_opal_mask_unknown() 220 int8_t priority; in ics_opal_get_server() local 223 rc = opal_get_xive(vec, &server, &priority); in ics_opal_get_server()
|
/Linux-v4.19/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 | 7 static int priority; variable 8 module_param(priority, int, 0); 9 MODULE_PARM_DESC(priority, "specify memory notifier priority"); 26 &memory_notifier_err_inject, priority); in err_inject_init()
|
D | pm-notifier-error-inject.c | 7 static int priority; variable 8 module_param(priority, int, 0); 9 MODULE_PARM_DESC(priority, "specify PM notifier priority"); 27 &pm_notifier_err_inject, priority); in err_inject_init()
|
D | of-reconfig-notifier-error-inject.c | 7 static int priority; variable 8 module_param(priority, int, 0); 9 MODULE_PARM_DESC(priority, "specify OF reconfig notifier priority"); 29 notifier_err_inject_dir, &reconfig_err_inject, priority); in err_inject_init()
|
D | netdev-notifier-error-inject.c | 7 static int priority; variable 8 module_param(priority, int, 0); 9 MODULE_PARM_DESC(priority, "specify netdevice notifier priority"); 33 &netdev_notifier_err_inject, priority); in netdev_err_inject_init()
|
/Linux-v4.19/include/trace/events/ |
D | vmscan.h | 200 int priority), 203 priority), 214 __field(int, priority) 226 __entry->priority = priority; 238 __entry->priority) 349 struct reclaim_stat *stat, int priority, int file), 351 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file), 364 __field(int, priority) 379 __entry->priority = priority; 389 __entry->nr_unmap_fail, __entry->priority, [all …]
|
/Linux-v4.19/Documentation/cgroup-v1/ |
D | net_prio.txt | 1 Network priority cgroup 4 The Network priority cgroup provides an interface to allow an administrator to 5 dynamically set the priority of network traffic generated by various 8 Nominally, an application would set the priority of its traffic via the 12 2) The priority of application traffic is often a site-specific administrative 16 the priority of egress traffic on a given interface. Network priority groups can 34 contains a list of tuples in the form <ifname priority>. Contents of this file 41 iscsi net_prio cgroup and egressing on interface eth0 to have the priority of 44 priority.
|
/Linux-v4.19/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-v4.19/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_tcam.c | 86 u32 *priority, bool fillup_priority) in mlxsw_sp_acl_tcam_priority_get() argument 91 *priority = 0; in mlxsw_sp_acl_tcam_priority_get() 99 if (rulei->priority > max_priority) in mlxsw_sp_acl_tcam_priority_get() 103 *priority = max_priority - rulei->priority; in mlxsw_sp_acl_tcam_priority_get() 168 unsigned int priority; /* Priority within the region and group */ member 184 .key_offset = offsetof(struct mlxsw_sp_acl_tcam_chunk, priority), 293 return chunk->priority; in mlxsw_sp_acl_tcam_region_prio() 304 return chunk->priority; in mlxsw_sp_acl_tcam_region_max_prio() 370 unsigned int priority, in mlxsw_sp_acl_tcam_group_region_find() argument 386 if (priority >= mlxsw_sp_acl_tcam_region_prio(region2)) in mlxsw_sp_acl_tcam_group_region_find() [all …]
|
/Linux-v4.19/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-v4.19/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-v4.19/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
|
/Linux-v4.19/drivers/staging/rtl8192e/ |
D | rtllib_tx.c | 312 skb->priority, TX_DIR, true)) { in rtllib_tx_query_agg_cap() 524 skb->priority, TX_DIR, true)) in rtllib_query_seqnum() 535 switch (skb->priority) { in wme_downgrade_ac() 538 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 542 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 546 skb->priority = 1; /* BE -> BK */ in wme_downgrade_ac() 658 skb->priority = rtllib_classify(skb, IsAmsdu); in rtllib_xmit_inter() 734 while (unlikely(ieee->wmm_acm & (0x01 << skb->priority))) { in rtllib_xmit_inter() 736 skb->priority); in rtllib_xmit_inter() 740 skb->priority); in rtllib_xmit_inter() [all …]
|