| /linux/drivers/soc/qcom/ |
| H A D | llcc-qcom.c | 125 u32 priority; member 190 .priority = 1, 199 .priority = 3, 208 .priority = 1, 217 .priority = 3, 226 .priority = 1, 235 .priority = 1, 244 .priority = 1, 255 .priority = 1, 265 .priority = 1, [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | priority-table.c | 29 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 D | logger.c | 52 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 D | logger.h | 48 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 D | vio.h | 81 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,
|
| /linux/net/mac80211/ |
| H A D | wme.c | 36 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/loongarch/kvm/ |
| H A D | interrupt.c | 27 static int kvm_irq_deliver(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_irq_deliver() argument 31 clear_bit(priority, &vcpu->arch.irq_pending); in kvm_irq_deliver() 32 if (priority < EXCCODE_INT_NUM) in kvm_irq_deliver() 33 irq = priority_to_irq[priority]; in kvm_irq_deliver() 35 if (kvm_guest_has_msgint(&vcpu->arch) && (priority == INT_AVEC)) { in kvm_irq_deliver() 40 switch (priority) { in kvm_irq_deliver() 59 static int kvm_irq_clear(struct kvm_vcpu *vcpu, unsigned int priority) in kvm_irq_clear() argument 63 clear_bit(priority, &vcpu->arch.irq_clear); in kvm_irq_clear() 64 if (priority < EXCCODE_INT_NUM) in kvm_irq_clear() 65 irq = priority_to_irq[priority]; in kvm_irq_clear() [all …]
|
| /linux/drivers/firewire/ |
| H A D | packet-serdes-test.c | 18 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 D | vidioc-g-priority.rst | 13 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 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 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 …]
|
| /linux/drivers/platform/x86/intel/ |
| H A D | turbo_max_3.c | 94 int priority; in itmt_legacy_cpu_online() local 96 priority = get_oc_core_priority(cpu); in itmt_legacy_cpu_online() 97 if (priority < 0) in itmt_legacy_cpu_online() 100 sched_set_itmt_core_prio(priority, cpu); in itmt_legacy_cpu_online() 104 if (priority > max_highest_perf) in itmt_legacy_cpu_online() 105 max_highest_perf = priority; in itmt_legacy_cpu_online() 107 if (priority < min_highest_perf) in itmt_legacy_cpu_online() 108 min_highest_perf = priority; in itmt_legacy_cpu_online()
|
| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | amdgpu_sched.c | 36 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 D | netfilter_link_attach.c | 12 __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 D | book3s_xive_native.c | 419 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/lib/ |
| H A 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 …]
|
| /linux/arch/powerpc/sysdev/xics/ |
| H A D | ics-opal.c | 101 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 D | intel_engine_heartbeat.c | 44 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() 188 rq->sched.attr.priority < I915_PRIORITY_BARRIER) { in heartbeat() 195 attr.priority = I915_PRIORITY_NORMAL; in heartbeat() 196 if (rq->sched.attr.priority >= attr.priority) in heartbeat() 197 attr.priority = I915_PRIORITY_HEARTBEAT; in heartbeat() 198 if (rq->sched.attr.priority >= attr.priority) in heartbeat() 199 attr.priority = I915_PRIORITY_BARRIER; in heartbeat() 280 struct i915_sched_attr attr = { .priority = I915_PRIORITY_BARRIER }; in __intel_engine_pulse() [all …]
|
| /linux/arch/mips/kvm/ |
| H A D | interrupt.c | 28 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 D | xics.rst | 47 * 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 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/drivers/net/ethernet/sfc/siena/ |
| H A D | efx.h | 104 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/include/trace/events/ |
| H A D | vmscan.h | 213 int priority), 216 priority), 227 __field(int, priority) 239 __entry->priority = priority; 251 __entry->priority) 408 struct reclaim_stat *stat, int priority, int file), 410 TP_ARGS(nid, nr_scanned, nr_reclaimed, stat, priority, file), 424 __field(int, priority) 440 __entry->priority = priority; 451 __entry->priority, [all …]
|
| /linux/tools/testing/selftests/net/ |
| H A D | cmsg_so_priority.sh | 89 for priority in {0..7}; do 100 handle="${FILTER_COUNTER}${priority}" 102 create_filter $handle $priority ipv$i $proto $TGT 111 echo "prio $priority: expected 0, got $pkts" 115 ip netns exec $NS ./cmsg_sender -$i -Q $priority \ 124 echo "prio $priority -Q: expected 1, got $pkts" 128 ip netns exec $NS ./cmsg_sender -$i -P $priority \ 137 echo "prio $priority -P: expected 2, got $pkts"
|
| /linux/drivers/net/ethernet/sfc/ |
| H A D | efx.h | 120 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/Documentation/admin-guide/pm/ |
| H A D | intel-speed-select.rst | 324 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 …]
|