Home
last modified time | relevance | path

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

12345678910>>...47

/linux/drivers/soc/qcom/
H A Dllcc-qcom.c84 * @priority: Priority of the client used to select victim line for replacement
113 * @ovcap_prio: Once current scid is over-capacity, allocate other low priority
117 * lower-than victim priority-line threshold scid.
124 u32 priority;
189 .priority = 1,
198 .priority = 3,
207 .priority = 1,
216 .priority = 3,
225 .priority = 1,
234 .priority
125 u32 priority; global() member
[all...]
/linux/drivers/md/dm-vdo/
H A Dpriority-table.c6 #include "priority-table.h"
16 /* We use a single 64-bit search vector, so the maximum priority is 63 */
20 * All the entries with the same priority are queued in a circular list in a bucket for that
21 * priority. The table is essentially an array of buckets.
25 * The head of a queue of table entries, all having the same priority
28 /* The priority of all the entries in this bucket */
29 unsigned int priority; member
33 * A priority table is an array of buckets, indexed by priority. New entries are added to the end
34 * of the queue in the appropriate bucket. The dequeue operation finds the highest-priority
58 unsigned int priority; vdo_make_priority_table() local
112 unsigned int priority; vdo_reset_priority_table() local
127 vdo_priority_table_enqueue(struct priority_table * table,unsigned int priority,struct list_head * entry) vdo_priority_table_enqueue() argument
[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.h81 enum vio_priority priority, void *parent,
84 enum vio_priority priority,
89 enum vio_priority priority, in create_metadata_vio() argument
93 return create_multi_block_metadata_vio(vdo, vio_type, priority, parent, 1, data, in create_metadata_vio()
111 enum vio_priority priority, struct vdo *vdo) in initialize_vio() argument
119 vio->priority = priority; in initialize_vio()
151 return ((vio->priority == VIO_PRIORITY_HIGH) ? in get_metadata_priority()
199 enum vio_priority priority, void *context,
H A Dcompletion.c90 enum vdo_completion_priority priority) in vdo_launch_completion_with_priority() argument
95 vdo_enqueue_completion(completion, priority); in vdo_launch_completion_with_priority()
112 enum vdo_completion_priority priority) in vdo_enqueue_completion() argument
124 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/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/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()
113 args->in.priority); in amdgpu_sched_ioctl()
119 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/arch/powerpc/kvm/
H A Dbook3s_xive_native.c419 u32 server, u8 priority, bool masked, in kvmppc_xive_native_update_source_config() argument
428 if (state->act_server == server && state->act_priority == priority && in kvmppc_xive_native_update_source_config()
433 priority, server, masked, state->act_server, in kvmppc_xive_native_update_source_config()
438 if (priority != MASKED && !masked) { in kvmppc_xive_native_update_source_config()
439 rc = kvmppc_xive_select_target(kvm, &server, priority); in kvmppc_xive_native_update_source_config()
443 state->act_priority = priority; in kvmppc_xive_native_update_source_config()
449 priority, eisn); in kvmppc_xive_native_update_source_config()
472 u8 priority; in kvmppc_xive_native_set_source_config() local
490 priority = (kvm_cfg & KVM_XIVE_SOURCE_PRIORITY_MASK) >> in kvmppc_xive_native_set_source_config()
499 if (priority != xive_prio_from_guest(priority)) { in kvmppc_xive_native_set_source_config()
[all …]
H A Dbook3s_rtas.c21 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/lib/
H A Dtest_parman.c68 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 …]
H A Dmemory-notifier-error-inject.c8 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()
/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.c44 if (rq && rq->sched.attr.priority >= I915_PRIORITY_BARRIER && in next_heartbeat()
115 rq->sched.attr.priority); in show_heartbeat()
141 struct i915_sched_attr attr = { .priority = I915_PRIORITY_MIN }; in heartbeat()
190 rq->sched.attr.priority < I915_PRIORITY_BARRIER) { in heartbeat()
197 attr.priority = I915_PRIORITY_NORMAL; in heartbeat()
198 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
199 attr.priority = I915_PRIORITY_HEARTBEAT; in heartbeat()
200 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
201 attr.priority = I915_PRIORITY_BARRIER; in heartbeat()
290 struct i915_sched_attr attr = { .priority = I915_PRIORITY_BARRIER }; in __intel_engine_pulse()
[all …]
/linux/arch/mips/kvm/
H A Dinterrupt.c28 unsigned int priority; in kvm_mips_deliver_interrupts() local
30 for_each_set_bit(priority, pending_clr, MIPS_EXC_MAX + 1) in kvm_mips_deliver_interrupts()
31 kvm_mips_callbacks->irq_clear(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
33 for_each_set_bit(priority, pending, MIPS_EXC_MAX + 1) in kvm_mips_deliver_interrupts()
34 kvm_mips_callbacks->irq_deliver(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
/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 i
[all...]
/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 …]
/linux/tools/testing/selftests/net/netfilter/
H A Dnft_queue.sh98 type filter hook prerouting priority $prio; policy accept;
102 type filter hook input priority $prio; policy accept;
106 type filter hook forward priority $prio; policy accept;
111 type filter hook output priority $prio; policy accept;
117 type filter hook postrouting priority $prio; policy accept;
130 type filter hook prerouting priority $prio; policy accept;
134 type filter hook input priority $prio; policy accept;
138 type filter hook forward priority $prio; policy accept;
142 type filter hook output priority $prio; policy accept;
146 type filter hook postrouting priority $prio; policy accept;
[all …]

12345678910>>...47