/Linux-v5.4/include/uapi/linux/ |
D | dcbnl.h | 42 * @prio_tc: priority assignment table mapping 8021Qp to traffic class 52 * 0 strict priority 137 * by RPs at this priority level on this Port 169 /* priority to buffer mapping */ 181 * struct cee_pg - CEE Priority-Group managed object 187 * @pg_bw: bandwidth percentage for each priority group 188 * @prio_pg: priority to PG mapping indexed by priority 226 * @priority: 3-bit unsigned integer indicating priority for IEEE 227 * 8-bit 802.1p user priority bitmap for CEE 246 __u8 priority; member [all …]
|
/Linux-v5.4/Documentation/locking/ |
D | rt-mutex-design.rst | 16 The goal of this document is to help others understand the priority 21 Unbounded Priority Inversion 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 [all …]
|
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 27 mutexes which protect shared resources. Priority inheritance is not a 30 an high priority thread, without losing determinism. 33 priority order. For same priorities FIFO order is chosen. For each [all …]
|
/Linux-v5.4/samples/bpf/ |
D | test_cgrp2_sock.sh | 96 check_sock "dev , mark 0, priority 0" "No programs attached" 97 check_sock6 "dev , mark 0, priority 0" "No programs attached" 105 check_sock "dev cgrp2_sock, mark 0, priority 0" "Device set" 106 check_sock6 "dev cgrp2_sock, mark 0, priority 0" "Device set" 114 check_sock "dev , mark 666, priority 0" "Mark set" 115 check_sock6 "dev , mark 666, priority 0" "Mark set" 117 # verify priority is set 121 cleanup_and_exit 1 "Failed to install program to set priority" 123 check_sock "dev , mark 0, priority 123" "Priority set" 124 check_sock6 "dev , mark 0, priority 123" "Priority set" [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() 114 /* Deliver the interrupt of the corresponding priority, if possible. */ 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 [all …]
|
/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/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. 49 * Priority, 8 bits 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 [all …]
|
/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/devicetree/bindings/interrupt-controller/ |
D | ti,c64x+megamod-pic.txt | 7 C64X+ core. Priority 0 and 1 are used for reset and NMI respectively. 8 Priority 2 and 3 are reserved. Priority 4-15 are used for interrupt 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. [all …]
|
/Linux-v5.4/tools/power/cpupower/bench/ |
D | system.c | 94 * sets the process priority parameter 96 * @param priority priority value 99 * @retval -1 when setting the priority failed 102 int set_process_priority(int priority) in set_process_priority() argument 106 dprintf("set scheduler priority to %i\n", priority); in set_process_priority() 108 param.sched_priority = priority; in set_process_priority() 112 fprintf(stderr, "warning: unable to set scheduler priority\n"); in set_process_priority() 146 * sets up the cpu affinity and scheduler priority 162 printf("high priority condition requested\n"); in prepare_system() 168 printf("low priority condition requested\n"); in prepare_system() [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/amd/amdgpu/ |
D | amdgpu_sched.c | 50 WARN(1, "Invalid context priority %d\n", amdgpu_priority); in amdgpu_to_sched_priority() 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 | 157 * amdgpu_ring_priority_put - restore a ring's priority 160 * @priority: target priority 162 * Release a request for executing at @priority 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() 175 /* no need to restore if the job is already at the lowest priority */ 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() 184 /* decay priority to the next level with a job available */ in amdgpu_ring_priority_put() 185 for (i = priority; i >= DRM_SCHED_PRIORITY_MIN; i--) { in amdgpu_ring_priority_put() [all …]
|
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_dcb_82599.c | 15 * @prio_type: priority type indexed by traffic class 16 * @prio_tc: priority to tc assignments indexed by priority 45 /* Configure traffic class credits and priority */ in ixgbe_dcb_config_rx_arbiter_82599() 75 * @prio_type: priority type indexed by traffic class 94 /* Configure traffic class credits and priority */ in ixgbe_dcb_config_tx_desc_arbiter_82599() 126 * @prio_type: priority type indexed by traffic class 127 * @prio_tc: priority to tc assignments indexed by priority 156 /* Configure traffic class credits and priority */ in ixgbe_dcb_config_tx_data_arbiter_82599() 183 * ixgbe_dcb_config_pfc_82599 - Configure priority flow control 186 * @prio_tc: priority to tc assignments indexed by priority [all …]
|
/Linux-v5.4/include/linux/ |
D | plist.h | 3 * Descending-priority-sorted double-linked list 18 * This is a priority-sorted list of nodes; each node has a 19 * priority from INT_MIN (highest) to INT_MAX (lowest). 21 * Addition is O(K), removal is O(1), change of priority of a node is 22 * O(K) and K is the number of RT priority levels used in the system. 27 * - The tier 1 list is the prio_list, different priority nodes. 45 * The nodes on the prio_list list are sorted by priority to simplify 49 * The nodes on the node_list are ordered by priority and can contain 50 * entries which have the same priority. Those entries are ordered 54 * for the priority of the node and insert it before the node_list [all …]
|
/Linux-v5.4/drivers/net/ethernet/sfc/falcon/ |
D | efx.h | 87 * existing filter with equal priority 96 * 1. If the existing filters have lower priority, or @replace_equal 97 * is set and they have equal priority, replace them. 99 * 2. If the existing filters have higher priority, return -%EPERM. 105 * all be inserted with the same priority and @replace_equal = %false. 117 * @priority: Priority of filter, as passed to @ef4_filter_insert_filter 124 enum ef4_filter_priority priority, in ef4_filter_remove_id_safe() argument 127 return efx->type->filter_remove_safe(efx, priority, filter_id); in ef4_filter_remove_id_safe() 133 * @priority: Priority of filter, as passed to @ef4_filter_insert_filter 142 enum ef4_filter_priority priority, in ef4_filter_get_filter_safe() argument [all …]
|
/Linux-v5.4/include/linux/sched/ |
D | prio.h | 10 * Priority of a process goes from 0..MAX_PRIO-1, valid RT 11 * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH 12 * tasks are in the range MAX_RT_PRIO..MAX_PRIO-1. Priority 13 * values are inverted: lower p->prio value means higher priority. 16 * RT priority to be separate from the value exported to 18 * priority to a value higher than any user task. Note: 30 * to static priority [ MAX_RT_PRIO..MAX_PRIO-1 ], 37 * 'User priority' is the nice value converted to something we
|
/Linux-v5.4/include/trace/events/ |
D | vmscan.h | 189 int priority), 192 priority), 203 __field(int, priority) 215 __entry->priority = priority; 218 … nid: %d objects to shrink %ld gfp_flags %s cache items %ld delta %lld total_scan %ld priority %d", 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; [all …]
|
/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() 83 /* buckets sorted from highest [in slot 0] to lowest priority */ in i915_sched_lookup_priolist() 90 /* most positive priority is scheduled first, equal priorities fifo */ 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() 110 /* Convert an allocation failure to a priority bump */ 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() 184 * not allow low priority tasks to preempt other low priority in need_preempt() [all …]
|
/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
|
/Linux-v5.4/lib/ |
D | parman.c | 2 * lib/parman.c - Manager for linear priority array areas 237 * with the same priority. Consider following example: 248 * In this example, there are 3 priority chunks. The order of the priorities 249 * matters, however the order of items within a single priority chunk does not 261 * The goal of parman is to maintain the priority ordering. The caller 298 * parman_prio_init - initializes a parman priority chunk 301 * @prority: desired priority of the chunk 305 * Before caller could add an item with certain priority, he has to 306 * initialize a priority chunk for it using this function. 309 unsigned long priority) in parman_prio_init() argument [all …]
|
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() 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() 173 prio->priority); in test_parman_prios_init() [all …]
|
/Linux-v5.4/drivers/net/ethernet/sfc/ |
D | efx.h | 90 * existing filter with equal priority 99 * 1. If the existing filters have lower priority, or @replace_equal 100 * is set and they have equal priority, replace them. 102 * 2. If the existing filters have higher priority, return -%EPERM. 108 * all be inserted with the same priority and @replace_equal = %false. 120 * @priority: Priority of filter, as passed to @efx_filter_insert_filter 127 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument 130 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe() 136 * @priority: Priority of filter, as passed to @efx_filter_insert_filter 145 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument [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() 101 /* Enable ITMT feature when a core with different priority is found */ 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/arch/mips/cavium-octeon/executive/ |
D | cvmx-pko.c | 172 const uint64_t priority = 8; in __cvmx_pko_chip_init() local 175 &priority); in __cvmx_pko_chip_init() 329 * @priority: Array of priority levels for each queue. Values are 333 * on the fly while the pko is enabled. A priority of 9 334 * indicates that static priority should be used. If static 335 * priority is used all queues with static priority must be 337 * queues have higher priority than higher numbered queues. 342 const uint64_t priority[]) in cvmx_pko_config_port() argument 370 * Validate the static queue priority setup and set in cvmx_pko_config_port() 375 /* Find first queue of static priority */ in cvmx_pko_config_port() [all …]
|