Home
last modified time | relevance | path

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

12345678910>>...55

/linux-6.6.21/net/mac80211/
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-6.6.21/arch/mips/kvm/
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-6.6.21/Documentation/userspace-api/media/v4l/
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-6.6.21/drivers/platform/x86/intel/
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-6.6.21/Documentation/locking/
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 …]
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-6.6.21/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sched.c37 int32_t priority) in amdgpu_sched_process_priority_override() argument
58 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_process_priority_override()
68 int32_t priority) in amdgpu_sched_context_priority_override() argument
91 amdgpu_ctx_priority_override(ctx, priority); in amdgpu_sched_context_priority_override()
116 if (!amdgpu_ctx_priority_is_valid(args->in.priority)) { in amdgpu_sched_ioctl()
117 WARN(1, "Invalid context priority %d\n", args->in.priority); in amdgpu_sched_ioctl()
125 args->in.priority); in amdgpu_sched_ioctl()
131 args->in.priority); in amdgpu_sched_ioctl()
/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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", },
29 { .pf = NFPROTO_IPV4, .priority = -10000, .expect_success = true, .name = "attach ipv4", },
30 { .pf = NFPROTO_IPV6, .priority = 10001, .expect_success = true, .name = "attach ipv6", },
57 X(opts, priority, i); in test_netfilter_link_attach()
/linux-6.6.21/arch/powerpc/sysdev/xics/
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-6.6.21/drivers/gpu/drm/i915/gt/
Dintel_engine_heartbeat.c41 if (rq && rq->sched.attr.priority >= I915_PRIORITY_BARRIER && in next_heartbeat()
111 rq->sched.attr.priority); in show_heartbeat()
137 struct i915_sched_attr attr = { .priority = I915_PRIORITY_MIN }; in heartbeat()
184 rq->sched.attr.priority < I915_PRIORITY_BARRIER) { in heartbeat()
191 attr.priority = 0; in heartbeat()
192 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
193 attr.priority = I915_PRIORITY_HEARTBEAT; in heartbeat()
194 if (rq->sched.attr.priority >= attr.priority) in heartbeat()
195 attr.priority = I915_PRIORITY_BARRIER; in heartbeat()
276 struct i915_sched_attr attr = { .priority = I915_PRIORITY_BARRIER }; in __intel_engine_pulse()
[all …]
/linux-6.6.21/lib/
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 …]
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()
Dpm-notifier-error-inject.c8 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()
Dof-reconfig-notifier-error-inject.c8 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()
Dnetdev-notifier-error-inject.c8 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-6.6.21/include/trace/events/
Dvmscan.h203 int priority),
206 priority),
217 __field(int, priority)
229 __entry->priority = priority;
241 __entry->priority)
357 struct reclaim_stat *stat, int priority, int file),
359 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file),
373 __field(int, priority)
389 __entry->priority = priority;
400 __entry->priority,
[all …]
/linux-6.6.21/arch/powerpc/kvm/
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 …]
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
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-6.6.21/Documentation/admin-guide/cgroup-v1/
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-6.6.21/Documentation/virt/kvm/devices/
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-6.6.21/drivers/dma/fsl-dpaa2-qdma/
Ddpdmai.c20 u8 priority; member
294 u8 priority, const struct dpdmai_rx_queue_cfg *cfg) in dpdmai_set_rx_queue() argument
305 cmd_params->priority = cfg->dest_cfg.priority; in dpdmai_set_rx_queue()
306 cmd_params->queue = priority; in dpdmai_set_rx_queue()
328 u8 priority, struct dpdmai_rx_queue_attr *attr) in dpdmai_get_rx_queue() argument
339 cmd_params->queue = priority; in dpdmai_get_rx_queue()
348 attr->dest_cfg.priority = cmd_params->priority; in dpdmai_get_rx_queue()
369 u16 token, u8 priority, u32 *fqid) in dpdmai_get_tx_queue() argument
381 cmd_params->queue = priority; in dpdmai_get_tx_queue()
/linux-6.6.21/drivers/net/ethernet/sfc/
Defx.h120 enum efx_filter_priority priority, in efx_filter_remove_id_safe() argument
123 return efx->type->filter_remove_safe(efx, priority, filter_id); in efx_filter_remove_id_safe()
138 enum efx_filter_priority priority, in efx_filter_get_filter_safe() argument
141 return efx->type->filter_get_safe(efx, priority, filter_id, spec); in efx_filter_get_filter_safe()
145 enum efx_filter_priority priority) in efx_filter_count_rx_used() argument
147 return efx->type->filter_count_rx_used(efx, priority); in efx_filter_count_rx_used()
154 enum efx_filter_priority priority, in efx_filter_get_rx_ids() argument
157 return efx->type->filter_get_rx_ids(efx, priority, buf, size); in efx_filter_get_rx_ids()
/linux-6.6.21/Documentation/admin-guide/pm/
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-6.6.21/drivers/staging/rtl8192u/ieee80211/
Drtl819x_TS.h19 u8 priority; member
25 u8 priority; member
34 u8 priority; member
48 u8 priority; member
60 u8 priority; member
/linux-6.6.21/drivers/staging/rtl8192e/
Drtllib_tx.c293 skb->priority, TX_DIR, true)) { in rtllib_tx_query_agg_cap()
502 skb->priority, TX_DIR, true)) in rtllib_query_seqnum()
513 switch (skb->priority) { in wme_downgrade_ac()
516 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac()
520 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac()
524 skb->priority = 1; /* BE -> BK */ in wme_downgrade_ac()
634 skb->priority = rtllib_classify(skb, IsAmsdu); in rtllib_xmit_inter()
709 while (unlikely(ieee->wmm_acm & (0x01 << skb->priority))) { in rtllib_xmit_inter()
711 skb->priority); in rtllib_xmit_inter()
715 skb->priority); in rtllib_xmit_inter()
[all …]

12345678910>>...55