| /linux/drivers/soc/qcom/ |
| H A D | llcc-qcom.c | 125 u32 priority; member 190 .priority = 1, 206 .priority = 2, 222 .priority = 1, 233 .priority = 4, 242 .priority = 1, 251 .priority = 5, 259 .priority = 1, 268 .priority = 1, 277 .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.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,
|
| H A D | completion.c | 90 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 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 (cpu_has_msgint && (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 …]
|
| H A D | rt-mutex-design.rst | 16 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 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/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/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/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/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/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/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 …]
|
| /linux/lib/ |
| H A D | memory-notifier-error-inject.c | 8 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()
|
| H A D | pm-notifier-error-inject.c | 8 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()
|
| H A D | of-reconfig-notifier-error-inject.c | 8 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()
|
| /linux/drivers/gpu/drm/i915/ |
| H A D | i915_scheduler.c | 54 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/arch/powerpc/kvm/ |
| H A D | book3s_rtas.c | 21 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/tools/testing/selftests/net/netfilter/ |
| H A D | nft_queue.sh | 97 type filter hook prerouting priority $prio; policy accept; 101 type filter hook input priority $prio; policy accept; 105 type filter hook forward priority $prio; policy accept; 110 type filter hook output priority $prio; policy accept; 116 type filter hook postrouting priority $prio; policy accept; 129 type filter hook prerouting priority $prio; policy accept; 133 type filter hook input priority $prio; policy accept; 137 type filter hook forward priority $prio; policy accept; 141 type filter hook output priority $prio; policy accept; 145 type filter hook postrouting priority [all...] |