Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 1206) sorted by relevance

12345678910>>...49

/linux/drivers/soc/qcom/
H A Dllcc-qcom.c114 u32 priority; member
162 .priority = 1,
171 .priority = 3,
180 .priority = 1,
189 .priority = 1,
198 .priority = 1,
206 .priority = 1,
215 .priority = 1,
224 .priority = 1,
234 .priority = 1,
[all …]
/linux/arch/loongarch/kvm/
H A Dinterrupt.c26 static int kvm_irq_deliver(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_irq_deliver() argument
30 clear_bit(priority, &vcpu->arch.irq_pending); in kvm_irq_deliver()
31 if (priority < EXCCODE_INT_NUM) in kvm_irq_deliver()
32 irq = priority_to_irq[priority]; in kvm_irq_deliver()
34 switch (priority) { in kvm_irq_deliver()
53 static int kvm_irq_clear(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_irq_clear() argument
57 clear_bit(priority, &vcpu->arch.irq_clear); in kvm_irq_clear()
58 if (priority < EXCCODE_INT_NUM) in kvm_irq_clear()
59 irq = priority_to_irq[priority]; in kvm_irq_clear()
61 switch (priority) { in kvm_irq_clear()
[all …]
/linux/drivers/md/dm-vdo/
H A Dpriority-table.c29 unsigned int priority; member
58 unsigned int priority; in vdo_make_priority_table() local
68 for (priority = 0; priority <= max_priority; priority++) { in vdo_make_priority_table()
69 struct bucket *bucket = &table->buckets[priority]; in vdo_make_priority_table()
71 bucket->priority = priority; in vdo_make_priority_table()
112 unsigned int priority; in vdo_reset_priority_table() local
115 for (priority = 0; priority <= table->max_priority; priority++) in vdo_reset_priority_table()
116 list_del_init(&table->buckets[priority].queue); in vdo_reset_priority_table()
127 void vdo_priority_table_enqueue(struct priority_table *table, unsigned int priority, in vdo_priority_table_enqueue() argument
130 VDO_ASSERT_LOG_ONLY((priority <= table->max_priority), in vdo_priority_table_enqueue()
[all …]
H A Dlogger.c52 static void emit_log_message_to_kernel(int priority, const char *fmt, ...) in emit_log_message_to_kernel() argument
57 if (priority > vdo_get_log_level()) in emit_log_message_to_kernel()
64 switch (priority) { in emit_log_message_to_kernel()
110 static void emit_log_message(int priority, const char *module, const char *prefix, in emit_log_message() argument
122 emit_log_message_to_kernel(priority, "%s[%s]: %s%pV%pV\n", module, type, in emit_log_message()
130 emit_log_message_to_kernel(priority, "%s%u:%s: %s%pV%pV\n", module, in emit_log_message()
142 emit_log_message_to_kernel(priority, "%s: %s%pV%pV\n", current->comm, in emit_log_message()
148 emit_log_message_to_kernel(priority, "%s: %s: %s%pV%pV\n", module, current->comm, in emit_log_message()
161 void vdo_log_embedded_message(int priority, const char *module, const char *prefix, in vdo_log_embedded_message() argument
188 emit_log_message(priority, module, prefix, &vaf1, &vaf2); in vdo_log_embedded_message()
[all …]
H A Dlogger.h48 void vdo_log_embedded_message(int priority, const char *module, const char *prefix,
52 void vdo_log_backtrace(int priority);
56 #define vdo_log_strerror(priority, errnum, ...) \ argument
57 __vdo_log_strerror(priority, errnum, VDO_LOGGING_MODULE_NAME, __VA_ARGS__)
59 int __vdo_log_strerror(int priority, int errnum, const char *module,
63 int vdo_vlog_strerror(int priority, int errnum, const char *module, const char *format,
83 #define vdo_log_message(priority, ...) \ argument
84 __vdo_log_message(priority, VDO_LOGGING_MODULE_NAME, __VA_ARGS__)
86 void __vdo_log_message(int priority, const char *module, const char *format, ...)
H A Dvio.h79 enum vio_priority priority, void *parent,
82 enum vio_priority priority,
87 enum vio_priority priority, in create_metadata_vio() argument
91 return create_multi_block_metadata_vio(vdo, vio_type, priority, parent, 1, data, in create_metadata_vio()
109 enum vio_priority priority, struct vdo *vdo) in initialize_vio() argument
117 vio->priority = priority; in initialize_vio()
147 return ((vio->priority == VIO_PRIORITY_HIGH) ? in get_metadata_priority()
192 enum vio_type vio_type, enum vio_priority priority,
H A Dcompletion.c87 enum vdo_completion_priority priority) in vdo_launch_completion_with_priority() argument
92 vdo_enqueue_completion(completion, priority); in vdo_launch_completion_with_priority()
109 enum vdo_completion_priority priority) in vdo_enqueue_completion() argument
121 completion->priority = priority; in vdo_enqueue_completion()
/linux/net/mac80211/
H A Dwme.c36 switch (skb->priority) { in wme_downgrade_ac()
39 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac()
43 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac()
47 skb->priority = 2; /* BE -> BK */ in wme_downgrade_ac()
90 while (sdata->wmm_acm & BIT(skb->priority)) { in ieee80211_downgrade_queue()
91 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue()
94 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue()
109 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue()
110 skb->priority = ieee80211_fix_reserved_tid(skb->priority); in ieee80211_downgrade_queue()
113 return ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue()
[all …]
/linux/arch/mips/kvm/
H A Dinterrupt.c28 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/drivers/firewire/
H A Dpacket-serdes-test.c18 unsigned int priority, unsigned int src_id) in serialize_async_header_common() argument
24 async_header_set_priority(header, priority); in serialize_async_header_common()
31 unsigned int priority, unsigned int src_id, u64 offset) in serialize_async_header_request() argument
33 serialize_async_header_common(header, dst_id, tlabel, retry, tcode, priority, src_id); in serialize_async_header_request()
40 unsigned int priority, unsigned int src_id, in serialize_async_header_quadlet_request() argument
43 serialize_async_header_request(header, dst_id, tlabel, retry, tcode, priority, src_id, in serialize_async_header_quadlet_request()
50 unsigned int priority, unsigned int src_id, in serialize_async_header_block_request() argument
54 serialize_async_header_request(header, dst_id, tlabel, retry, tcode, priority, src_id, in serialize_async_header_block_request()
63 unsigned int priority, unsigned int src_id, in serialize_async_header_response() argument
66 serialize_async_header_common(header, dst_id, tlabel, retry, tcode, priority, src_id); in serialize_async_header_response()
[all …]
/linux/Documentation/userspace-api/media/v4l/
H A Dvidioc-g-priority.rst13 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/
H A Drt-mutex.rst5 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 …]
H A Drt-mutex-design.rst16 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/drivers/platform/x86/intel/
H A Dturbo_max_3.c93 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/
H A Damdgpu_sched.c36 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
83 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_context_priority_override()
106 if (!amdgpu_ctx_priority_is_valid(args->in.priority)) { in amdgpu_sched_ioctl()
107 WARN(1, "Invalid context priority %d\n", args->in.priority); in amdgpu_sched_ioctl()
115 args->in.priority); in amdgpu_sched_ioctl()
121 args->in.priority); in amdgpu_sched_ioctl()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dnetfilter_link_attach.c12 __s32 priority; member
23 { .pf = NFPROTO_IPV4, .priority = INT_MIN, .name = "invalid-priority-min", },
24 { .pf = NFPROTO_IPV4, .priority = INT_MAX, .name = "invalid-priority-max", },
27 { .pf = NFPROTO_INET, .priority = 1, .name = "invalid-inet-not-supported", },
32 .priority = -10000,
40 .priority = 10001,
62 ASSERT_EQ(info.netfilter.priority, nf_expected.priority, "info nf priority"); in verify_netfilter_link_info()
90 X(opts, priority, i); in test_netfilter_link_attach()
/linux/include/trace/events/
H A Dvmscan.h203 int priority),
206 priority),
217 __field(int, priority)
229 __entry->priority = priority;
232 TP_printk("%pS %p: nid: %d objects to shrink %ld gfp_flags %s cache items %ld delta %lld total_scan %ld priority %d",
241 __entry->priority)
398 struct reclaim_stat *stat, int priority, int file),
400 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file),
414 __field(int, priority)
[all...]
/linux/arch/powerpc/sysdev/xics/
H A Dics-opal.c101 int8_t priority; in ics_opal_set_affinity() local
108 rc = opal_get_xive(hw_irq, &oserver, &priority); in ics_opal_set_affinity()
126 rc = opal_set_xive(hw_irq, server, priority); in ics_opal_set_affinity()
156 int8_t priority; in ics_opal_check() local
162 rc = opal_get_xive(hw_irq, &server, &priority); in ics_opal_check()
173 int8_t priority; in ics_opal_mask_unknown() local
176 rc = opal_get_xive(vec, &server, &priority); in ics_opal_mask_unknown()
187 int8_t priority; in ics_opal_get_server() local
190 rc = opal_get_xive(vec, &server, &priority); in ics_opal_get_server()
/linux/drivers/gpu/drm/i915/gt/
H A Dintel_engine_heartbeat.c41 if (rq && rq->sched.attr.priority >= I915_PRIORITY_BARRIER && in next_heartbeat()
112 rq->sched.attr.priority); in show_heartbeat()
138 struct i915_sched_attr attr = { .priority = I915_PRIORITY_MIN }; in heartbeat()
185 rq->sched.attr.priority < I915_PRIORITY_BARRIER) { in heartbeat()
192 attr.priority = I915_PRIORITY_NORMAL; in heartbeat()
193 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
194 attr.priority = I915_PRIORITY_HEARTBEAT; in heartbeat()
195 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
196 attr.priority = I915_PRIORITY_BARRIER; in heartbeat()
277 struct i915_sched_attr attr = { .priority = I915_PRIORITY_BARRIER }; in __intel_engine_pulse()
[all …]
/linux/Documentation/virt/kvm/devices/
H A Dxics.rst47 * 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/
H A Dnet_prio.rst2 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/drivers/net/ethernet/sfc/siena/
H A Defx.h104 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument
107 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
122 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument
125 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
129 enum efx_filter_priority priority) in efx_filter_count_rx_used() argument
131 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
138 enum efx_filter_priority priority, in efx_filter_get_rx_ids() argument
141 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
/linux/Documentation/admin-guide/pm/
H A Dintel-speed-select.rst324 allows users to define per core priority. This defines a mechanism to distribute
331 service and hence an associated priority. The granularity is at core level not
338 and use a priority type. There is a default per platform priority type, which
347 Clos Enable: Specify priority type with [--priority|-p]
350 There are two types of priority types:
355 CLOS group. Where CLOS0 gets highest priority (throttled last).
362 When proportional priority is used, there is an additional parameter called
364 proportional priority is to provide each core with the requested min., then
366 weight. This proportional priority can be configured using "core-power config"
369 To enable with the platform default priority type, execute::
[all …]
/linux/Documentation/admin-guide/mm/
H A Dswap_numa.rst13 Swap device has priority and that decides the order of it to be used. To make
14 use of automatically binding, there is no need to manipulate priority settings
63 The current code uses a priority based list, swap_avail_list, to decide
65 priority, they are used round robin. This change here replaces the single
67 it sees its own priority based list of available swap devices. Swap
68 device's priority can be promoted on its matching node's swap_avail_list.
70 The current swap device's priority is set as: user can set a >=0 value,
71 or the system will pick one starting from -1 then downwards. The priority
74 the semantics for priority >=0 cases, the previous starting from -1 then
77 node, they will all be promoted to priority -1 on that node's plist and will
/linux/drivers/gpu/drm/i915/
H A Di915_scheduler.c54 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 …]

12345678910>>...49