Searched refs:priority (Results 1 - 200 of 1470) sorted by relevance

12345678

/linux-4.4.14/arch/blackfin/mach-bf548/
H A DMakefile5 obj-y := ints-priority.o dma.o
H A Dints-priority.c15 /* Program the IAR0 Register with the configured priority */ program_IAR()
/linux-4.4.14/arch/blackfin/mach-bf518/
H A DMakefile5 obj-y := ints-priority.o dma.o
H A Dints-priority.c15 /* Program the IAR0 Register with the configured priority */ program_IAR()
/linux-4.4.14/arch/blackfin/mach-bf527/
H A DMakefile5 obj-y := ints-priority.o dma.o
H A Dints-priority.c15 /* Program the IAR0 Register with the configured priority */ program_IAR()
/linux-4.4.14/arch/blackfin/mach-bf533/
H A DMakefile5 obj-y := ints-priority.o dma.o
H A Dints-priority.c15 /* Program the IAR0 Register with the configured priority */ program_IAR()
/linux-4.4.14/arch/blackfin/mach-bf537/
H A DMakefile5 obj-y := ints-priority.o dma.o
/linux-4.4.14/arch/blackfin/mach-bf538/
H A DMakefile5 obj-y := ints-priority.o dma.o
H A Dints-priority.c16 /* Program the IAR0 Register with the configured priority */ program_IAR()
/linux-4.4.14/include/uapi/linux/netfilter/
H A Dxt_CLASSIFY.h7 __u32 priority; member in struct:xt_classify_target_info
/linux-4.4.14/arch/blackfin/mach-bf561/
H A DMakefile5 obj-y := ints-priority.o dma.o
H A Dints-priority.c15 /* Program the IAR0 Register with the configured priority */ program_IAR()
/linux-4.4.14/arch/blackfin/mach-bf609/
H A DMakefile5 obj-y := dma.o clock.o ints-priority.o
/linux-4.4.14/lib/
H A Dcpu-notifier-error-inject.c7 static int priority; variable
8 module_param(priority, int, 0);
9 MODULE_PARM_DESC(priority, "specify cpu notifier priority");
28 &cpu_notifier_err_inject, priority); err_inject_init()
H A Dmemory-notifier-error-inject.c7 static int priority; variable
8 module_param(priority, int, 0);
9 MODULE_PARM_DESC(priority, "specify memory notifier priority");
26 &memory_notifier_err_inject, priority); err_inject_init()
H A Dof-reconfig-notifier-error-inject.c7 static int priority; variable
8 module_param(priority, int, 0);
9 MODULE_PARM_DESC(priority, "specify OF reconfig notifier priority");
29 notifier_err_inject_dir, &reconfig_err_inject, priority); err_inject_init()
H A Dpm-notifier-error-inject.c7 static int priority; variable
8 module_param(priority, int, 0);
9 MODULE_PARM_DESC(priority, "specify PM notifier priority");
27 &pm_notifier_err_inject, priority); err_inject_init()
H A Dnotifier-error-inject.h24 int priority);
H A Dnotifier-error-inject.c50 struct notifier_err_inject *err_inject, int priority) notifier_err_inject_init()
58 err_inject->nb.priority = priority; notifier_err_inject_init()
49 notifier_err_inject_init(const char *name, struct dentry *parent, struct notifier_err_inject *err_inject, int priority) notifier_err_inject_init() argument
/linux-4.4.14/arch/mips/kvm/
H A Dinterrupt.c25 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, uint32_t priority) kvm_mips_queue_irq() argument
27 set_bit(priority, &vcpu->arch.pending_exceptions); kvm_mips_queue_irq()
30 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, uint32_t priority) kvm_mips_dequeue_irq() argument
32 clear_bit(priority, &vcpu->arch.pending_exceptions); kvm_mips_dequeue_irq()
115 /* Deliver the interrupt of the corresponding priority, if possible. */ kvm_mips_irq_deliver_cb()
116 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, kvm_mips_irq_deliver_cb() argument
125 switch (priority) { kvm_mips_irq_deliver_cb()
192 clear_bit(priority, &vcpu->arch.pending_exceptions); kvm_mips_irq_deliver_cb()
198 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority, kvm_mips_irq_clear_cb() argument
208 unsigned int priority; kvm_mips_deliver_interrupts() local
213 priority = __ffs(*pending_clr); kvm_mips_deliver_interrupts()
214 while (priority <= MIPS_EXC_MAX) { kvm_mips_deliver_interrupts()
215 if (kvm_mips_callbacks->irq_clear(vcpu, priority, cause)) { kvm_mips_deliver_interrupts()
220 priority = find_next_bit(pending_clr, kvm_mips_deliver_interrupts()
222 priority + 1); kvm_mips_deliver_interrupts()
225 priority = __ffs(*pending); kvm_mips_deliver_interrupts()
226 while (priority <= MIPS_EXC_MAX) { kvm_mips_deliver_interrupts()
227 if (kvm_mips_callbacks->irq_deliver(vcpu, priority, cause)) { kvm_mips_deliver_interrupts()
232 priority = find_next_bit(pending, kvm_mips_deliver_interrupts()
234 priority + 1); kvm_mips_deliver_interrupts()
H A Dinterrupt.h39 void kvm_mips_queue_irq(struct kvm_vcpu *vcpu, uint32_t priority);
40 void kvm_mips_dequeue_irq(struct kvm_vcpu *vcpu, uint32_t priority);
49 int kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority,
51 int kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority,
/linux-4.4.14/arch/blackfin/mach-common/
H A DMakefile7 interrupt.o arch_checks.o ints-priority.o
H A Dscb-init.c2 * arch/blackfin/mach-common/scb-init.c - reprogram system cross bar priority
46 pr_debug("scb priority at 0x%lx:\n", scb_data[i].scb_mi_arbr); init_scb()
H A Dinterrupt.S272 * __ipipe_call_irqtail: lowers the current priority level to EVT15
273 * before running a user-defined routine, then raises the priority
280 * priority domain after the pipeline delivered an interrupt,
288 * the core priority level enough so that Linux IRQ handlers may
289 * never delay interrupts handled by high priority domains; we defer
/linux-4.4.14/include/linux/sched/
H A Dprio.h10 * priority is 0..MAX_RT_PRIO-1, and SCHED_NORMAL/SCHED_BATCH
12 * values are inverted: lower p->prio value means higher priority.
15 * RT priority to be separate from the value exported to
17 * priority to a value higher than any user task. Note:
29 * to static priority [ MAX_RT_PRIO..MAX_PRIO-1 ],
36 * 'User priority' is the nice value converted to something we
/linux-4.4.14/net/mac80211/
H A Dwme.c38 switch (skb->priority) { wme_downgrade_ac()
41 skb->priority = 5; /* VO -> VI */ wme_downgrade_ac()
45 skb->priority = 3; /* VI -> BE */ wme_downgrade_ac()
49 skb->priority = 2; /* BE -> BK */ wme_downgrade_ac()
92 while (sdata->wmm_acm & BIT(skb->priority)) { ieee80211_downgrade_queue()
93 int ac = ieee802_1d_to_ac[skb->priority]; ieee80211_downgrade_queue()
96 skb->priority == ifmgd->tx_tspec[ac].up) ieee80211_downgrade_queue()
111 if (sta && sta->reserved_tid == skb->priority) ieee80211_downgrade_queue()
112 skb->priority = ieee80211_fix_reserved_tid(skb->priority); ieee80211_downgrade_queue()
115 return ieee802_1d_to_ac[skb->priority]; ieee80211_downgrade_queue()
130 skb->priority = 7; ieee80211_select_queue_80211()
131 return ieee802_1d_to_ac[skb->priority]; ieee80211_select_queue_80211()
134 skb->priority = 0; ieee80211_select_queue_80211()
135 return ieee802_1d_to_ac[skb->priority]; ieee80211_select_queue_80211()
139 skb->priority = *p & IEEE80211_QOS_CTL_TAG1D_MASK; ieee80211_select_queue_80211()
156 skb->priority = 0; /* required for correct WPA/11i MIC */ ieee80211_select_queue()
205 skb->priority = 0; /* required for correct WPA/11i MIC */ ieee80211_select_queue()
211 skb->priority = 7; ieee80211_select_queue()
218 skb->priority = cfg80211_classify8021d(skb, qos_map ? ieee80211_select_queue()
246 tid = skb->priority & IEEE80211_QOS_CTL_TAG1D_MASK; ieee80211_set_qos_hdr()
/linux-4.4.14/tools/power/cpupower/bench/
H A Dsystem.c106 * sets the process priority parameter
108 * @param priority priority value
111 * @retval -1 when setting the priority failed
114 int set_process_priority(int priority) set_process_priority() argument
118 dprintf("set scheduler priority to %i\n", priority); set_process_priority()
120 param.sched_priority = priority; set_process_priority()
124 fprintf(stderr, "warning: unable to set scheduler priority\n"); set_process_priority()
158 * sets up the cpu affinity and scheduler priority
174 printf("high priority condition requested\n"); prepare_system()
180 printf("low priority condition requested\n"); prepare_system()
186 printf("default priority condition requested\n"); prepare_system()
H A Dparse.c35 * converts priority string to priority
37 * @param str string that represents a scheduler priority
39 * @retval priority
40 * @retval SCHED_ERR when the priority doesn't exit
219 else if (strcmp("priority", opt) == 0) { prepare_config()
/linux-4.4.14/include/linux/
H A Dioprio.h21 * These are the io priority groups as implemented by CFQ. RT is the realtime
34 * 8 best effort priority levels are supported
45 * Fallback BE priority
50 * if process has set io priority explicitly, use that. if not, convert
51 * the cpu scheduler nice value to an io priority
H A Dplist.h2 * Descending-priority-sorted double-linked list
19 * This is a priority-sorted list of nodes; each node has a
20 * priority from INT_MIN (highest) to INT_MAX (lowest).
22 * Addition is O(K), removal is O(1), change of priority of a node is
23 * O(K) and K is the number of RT priority levels used in the system.
28 * - The tier 1 list is the prio_list, different priority nodes.
46 * The nodes on the prio_list list are sorted by priority to simplify
50 * The nodes on the node_list are ordered by priority and can contain
51 * entries which have the same priority. Those entries are ordered
55 * for the priority of the node and insert it before the node_list
57 * that priority, add it to the prio_list in the right position and
63 * entries of the same priority are on the list or not. If there
64 * is another entry of the same priority then this entry has to
66 * is removed is the only entry of this priority then a simple
69 * INT_MIN is the highest priority, 0 is the medium highest, INT_MAX
70 * is lowest priority.
110 * @__prio: initial node priority
132 * @prio: initial node priority
277 * plist_first - return the first node (and thus, highest priority)
289 * plist_last - return the last node (and thus, lowest priority)
H A Dif_eql.h29 long priority; member in struct:slave
H A Dif_vlan.h35 * @h_vlan_TCI: priority and VLAN ID
48 * @h_vlan_TCI: priority and VLAN ID
116 * struct vlan_priority_tci_mapping - vlan egress priority mappings
117 * @priority: skb priority
118 * @vlan_qos: vlan priority: (skb->priority << 13) & 0xE000
122 u32 priority; member in struct:vlan_priority_tci_mapping
132 * @nr_ingress_mappings: number of ingress priority mappings
133 * @ingress_priority_map: ingress priority mappings
134 * @nr_egress_mappings: number of egress priority mappings
135 * @egress_priority_map: hash of egress priority mappings
179 if (mp->priority == skprio) { vlan_dev_get_egress_qos_mask()
H A Dagpgart.h88 u32 priority; /* priority for paging out */ member in struct:agp_unbind
/linux-4.4.14/arch/mn10300/kernel/
H A Dprofile.c15 * - can't be used with gdbstub if running at IRQ priority 0
27 /* set IRQ priority at which to run */ profile_init()
43 printk(KERN_INFO "Profiling initiated on timer 11, priority 0, %uHz\n", profile_init()
H A Dmn10300-serial-low.S37 # - intended to run at interrupt priority 1 (not affected by local_irq_disable)
60 # - intended to run at interrupt priority 1 (not affected by local_irq_disable)
107 # - intended to run at interrupt priority 1 (not affected by local_irq_disable)
/linux-4.4.14/arch/sh/include/asm/
H A Dhw_irq.h14 unsigned char priority; /* The priority */ member in struct:ipr_data
/linux-4.4.14/drivers/net/wireless/orinoco/
H A Dmic.h19 u8 *da, u8 *sa, u8 priority,
H A Dmic.c47 u8 *da, u8 *sa, u8 priority, orinoco_mic()
62 hdr[ETH_ALEN * 2] = priority; orinoco_mic()
46 orinoco_mic(struct crypto_hash *tfm_michael, u8 *key, u8 *da, u8 *sa, u8 priority, u8 *data, size_t data_len, u8 *mic) orinoco_mic() argument
/linux-4.4.14/arch/blackfin/include/asm/
H A Dscb.h2 * arch/blackfin/mach-common/scb-init.c - reprogram system cross bar priority
/linux-4.4.14/arch/powerpc/sysdev/xics/
H A Dics-opal.c117 int8_t priority; ics_opal_set_affinity() local
124 rc = opal_get_xive(hw_irq, &oserver, &priority); ics_opal_set_affinity()
143 rc = opal_set_xive(hw_irq, server, priority); ics_opal_set_affinity()
184 int8_t priority; ics_opal_map() local
190 rc = opal_get_xive(hw_irq, &server, &priority); ics_opal_map()
204 int8_t priority; ics_opal_mask_unknown() local
207 rc = opal_get_xive(vec, &server, &priority); ics_opal_mask_unknown()
218 int8_t priority; ics_opal_get_server() local
221 rc = opal_get_xive(vec, &server, &priority); ics_opal_get_server()
/linux-4.4.14/arch/mips/cavium-octeon/executive/
H A Dcvmx-pko.c172 const uint64_t priority = 8; __cvmx_pko_chip_init() local
175 &priority); __cvmx_pko_chip_init()
329 * @priority: Array of priority levels for each queue. Values are
333 * on the fly while the pko is enabled. A priority of 9
334 * indicates that static priority should be used. If static
335 * priority is used all queues with static priority must be
337 * queues have higher priority than higher numbered queues.
342 const uint64_t priority[]) cvmx_pko_config_port()
370 * Validate the static queue priority setup and set cvmx_pko_config_port()
375 /* Find first queue of static priority */ cvmx_pko_config_port()
377 && priority[queue] == cvmx_pko_config_port()
380 /* Find last queue of static priority */ cvmx_pko_config_port()
383 && priority[queue] != CVMX_PKO_QUEUE_STATIC_PRIORITY cvmx_pko_config_port()
389 /* all queues are static priority */ cvmx_pko_config_port()
392 * Check to make sure all static priority cvmx_pko_config_port()
399 && priority[queue] == cvmx_pko_config_port()
402 "Static priority queues aren't " cvmx_pko_config_port()
411 "priority queues don't start at base " cvmx_pko_config_port()
417 cvmx_dprintf("Port %d: Static priority queue base: %d, " cvmx_pko_config_port()
455 * Convert the priority into an enable bit field. Try cvmx_pko_config_port()
459 switch ((int)priority[queue]) { cvmx_pko_config_port()
495 "priority %llu\n", cvmx_pko_config_port()
496 (unsigned long long)priority[queue]); cvmx_pko_config_port()
340 cvmx_pko_config_port(uint64_t port, uint64_t base_queue, uint64_t num_queues, const uint64_t priority[]) cvmx_pko_config_port() argument
/linux-4.4.14/net/dccp/
H A Dqpolicy.c37 * of tx_qlen elements, replace older packets lowest-priority-first.
44 if (best == NULL || skb->priority > best->priority) qpolicy_prio_best_skb()
54 if (worst == NULL || skb->priority < worst->priority) qpolicy_prio_worst_skb()
125 skb->priority = 0; dccp_qpolicy_pop()
/linux-4.4.14/arch/powerpc/kvm/
H A Dtrace_booke.h196 TP_PROTO(struct kvm_vcpu *vcpu, unsigned int priority),
197 TP_ARGS(vcpu, priority),
201 __field( __u32, priority )
207 __entry->priority = priority;
213 __print_symbolic(__entry->priority, kvm_trace_symbol_irqprio),
H A Dbook3s_rtas.c23 u32 irq, server, priority; kvm_rtas_set_xive() local
33 priority = be32_to_cpu(args->args[2]); kvm_rtas_set_xive()
35 rc = kvmppc_xics_set_xive(vcpu->kvm, irq, server, priority); kvm_rtas_set_xive()
44 u32 irq, server, priority; kvm_rtas_get_xive() local
54 server = priority = 0; kvm_rtas_get_xive()
55 rc = kvmppc_xics_get_xive(vcpu->kvm, irq, &server, &priority); kvm_rtas_get_xive()
62 args->rets[2] = cpu_to_be32(priority); kvm_rtas_get_xive()
H A Dmpic.c144 int priority; member in struct:irq_queue
148 uint32_t ivpr; /* IRQ vector/priority register */
181 int32_t ctpr; /* CPU current task priority */
296 int priority = -1; IRQ_check() local
304 irq, IVPR_PRIORITY(opp->src[irq].ivpr), priority); IRQ_check()
306 if (IVPR_PRIORITY(opp->src[irq].ivpr) > priority) { IRQ_check()
308 priority = IVPR_PRIORITY(opp->src[irq].ivpr); IRQ_check()
313 q->priority = priority; IRQ_check()
329 int priority; IRQ_local_pipe() local
342 /* On Freescale MPIC, critical interrupts ignore priority, IRQ_local_pipe()
365 priority = IVPR_PRIORITY(src->ivpr); IRQ_local_pipe()
367 /* Even if the interrupt doesn't have enough priority, IRQ_local_pipe()
377 if (active && priority <= dst->ctpr) { IRQ_local_pipe()
378 pr_debug("%s: IRQ %d priority %d too low for ctpr %d on CPU %d\n", IRQ_local_pipe()
379 __func__, n_IRQ, priority, dst->ctpr, n_CPU); IRQ_local_pipe()
385 priority <= dst->servicing.priority) { IRQ_local_pipe()
395 if (dst->raised.priority > dst->ctpr && IRQ_local_pipe()
396 dst->raised.priority > dst->servicing.priority) { IRQ_local_pipe()
399 dst->raised.priority, dst->ctpr, IRQ_local_pipe()
400 dst->servicing.priority, n_CPU); IRQ_local_pipe()
405 dst->servicing.priority, n_CPU); IRQ_local_pipe()
1058 __func__, idx, dst->ctpr, dst->raised.priority, openpic_cpu_write_internal()
1059 dst->servicing.priority); openpic_cpu_write_internal()
1061 if (dst->raised.priority <= dst->ctpr) { openpic_cpu_write_internal()
1065 } else if (dst->raised.priority > dst->servicing.priority) { openpic_cpu_write_internal()
1100 IVPR_PRIORITY(src->ivpr) > dst->servicing.priority)) { openpic_cpu_write_internal()
H A Dbook3s_xics.c125 state->priority); ics_check_resend()
140 u32 server, u32 priority, u32 saved_priority) write_xive()
149 state->priority = priority; write_xive()
152 if ((state->masked_pending || state->resend) && priority != MASKED) { write_xive()
163 int kvmppc_xics_set_xive(struct kvm *kvm, u32 irq, u32 server, u32 priority) kvmppc_xics_set_xive() argument
184 irq, server, priority, kvmppc_xics_set_xive()
187 if (write_xive(xics, ics, state, server, priority, priority)) kvmppc_xics_set_xive()
193 int kvmppc_xics_get_xive(struct kvm *kvm, u32 irq, u32 *server, u32 *priority) kvmppc_xics_get_xive() argument
212 *priority = state->priority; kvmppc_xics_get_xive()
261 write_xive(xics, ics, state, state->server, MASKED, state->priority); kvmppc_xics_int_off()
333 static bool icp_try_to_deliver(struct kvmppc_icp *icp, u32 irq, u8 priority, icp_try_to_deliver() argument
339 XICS_DBG("try deliver %#x(P:%#x) to server %#x\n", irq, priority, icp_try_to_deliver()
348 success = new_state.cppr > priority && icp_try_to_deliver()
349 new_state.mfrr > priority && icp_try_to_deliver()
350 new_state.pending_pri > priority; icp_try_to_deliver()
359 new_state.pending_pri = priority; icp_try_to_deliver()
439 if (state->priority == MASKED) { icp_deliver_irq()
461 if (icp_try_to_deliver(icp, new_irq, state->priority, &reject)) { icp_deliver_irq()
585 * pending priority kvmppc_h_xirr()
730 * The processor is raising its priority, this can result kvmppc_h_cppr()
959 irq->number, irq->server, irq->priority,
1022 ics->irq_state[i].priority = MASKED; kvmppc_xics_create_ics()
1171 prio = irqp->priority; xics_get_source()
1228 irqp->priority = prio; xics_set_source()
138 write_xive(struct kvmppc_xics *xics, struct kvmppc_ics *ics, struct ics_irq_state *state, u32 server, u32 priority, u32 saved_priority) write_xive() argument
H A Dbook3s.c245 unsigned int priority) kvmppc_book3s_irqprio_deliver()
251 switch (priority) { kvmppc_book3s_irqprio_deliver()
308 printk(KERN_ERR "KVM: Unknown interrupt: 0x%x\n", priority); kvmppc_book3s_irqprio_deliver()
325 static bool clear_irqprio(struct kvm_vcpu *vcpu, unsigned int priority) clear_irqprio() argument
327 switch (priority) { clear_irqprio()
343 unsigned int priority; kvmppc_core_prepare_to_enter() local
349 priority = __ffs(*pending); kvmppc_core_prepare_to_enter()
350 while (priority < BOOK3S_IRQPRIO_MAX) { kvmppc_core_prepare_to_enter()
351 if (kvmppc_book3s_irqprio_deliver(vcpu, priority) && kvmppc_core_prepare_to_enter()
352 clear_irqprio(vcpu, priority)) { kvmppc_core_prepare_to_enter()
353 clear_bit(priority, &vcpu->arch.pending_exceptions); kvmppc_core_prepare_to_enter()
357 priority = find_next_bit(pending, kvmppc_core_prepare_to_enter()
359 priority + 1); kvmppc_core_prepare_to_enter()
244 kvmppc_book3s_irqprio_deliver(struct kvm_vcpu *vcpu, unsigned int priority) kvmppc_book3s_irqprio_deliver() argument
/linux-4.4.14/net/ipv4/
H A Dtunnel4.c32 int priority = handler->priority; xfrm4_tunnel_register() local
40 if (t->priority > priority) xfrm4_tunnel_register()
42 if (t->priority == priority) xfrm4_tunnel_register()
H A Dxfrm4_protocol.c218 int priority = handler->priority; xfrm4_protocol_register() local
233 if (t->priority < priority) xfrm4_protocol_register()
235 if (t->priority == priority) xfrm4_protocol_register()
H A Dxfrm4_tunnel.c66 .priority = 3,
73 .priority = 2,
/linux-4.4.14/kernel/sched/
H A Dcpupri.c4 * CPU priority management
10 * This code tracks the priority of each CPU so that global migration
15 * going from the lowest priority to the highest. CPUs in the INVALID state
17 * a 2 dimensional bitmap (the first for priority class, the second for cpus
64 * priority configuration.
98 * priority. cpupri_find()
118 * priority level and continue on. cpupri_find()
131 * cpupri_set - update the cpu priority setting
134 * @newpri: The priority (INVALID-RT99) to assign to this CPU
157 * cpu being missed by the priority loop in cpupri_find. cpupri_set()
180 * one or the other when we raise the priority of cpupri_set()
182 * priority, as that will trigger an rt pull anyway. cpupri_set()
185 * the new priority vec. cpupri_set()
H A Dstop_task.c6 * The stop task is the highest priority task in the system, it preempts
96 BUG(); /* how!?, what priority? */ prio_changed_stop()
/linux-4.4.14/net/sched/
H A Dact_skbedit.c42 skb->priority = d->priority; tcf_skbedit()
67 u32 flags = 0, *priority = NULL, *mark = NULL; tcf_skbedit_init() local
83 priority = nla_data(tb[TCA_SKBEDIT_PRIORITY]); tcf_skbedit_init()
122 d->priority = *priority; tcf_skbedit_init()
153 nla_put(skb, TCA_SKBEDIT_PRIORITY, sizeof(d->priority), tcf_skbedit_dump()
154 &d->priority)) tcf_skbedit_dump()
H A Dsch_cbq.c77 struct cbq_class *next_alive; /* next class with backlog in this priority band */
80 unsigned char priority; /* class priority */ member in struct:cbq_class
81 unsigned char priority2; /* priority to be used after overlimit */
119 unsigned char cpriority; /* Effective priority */
207 * it allows us to combine link sharing and priority scheduling
212 * by logical priority, or a more specific classifier may be attached
223 u32 prio = skb->priority; cbq_classify()
228 * Step 1. If skb->priority points to one of our classes, use it. cbq_classify()
298 * of its priority band.
525 /* TC_CBQ_OVL_LOWPRIO: penalize class by lowering its priority band */
567 cl->cpriority = cl->priority; cbq_undelay_prio()
1041 if (cl->priority == prio) { cbq_normalize_quanta()
1222 cl->cpriority = cl->priority; cbq_reset()
1252 q->nclasses[cl->priority]--; cbq_rmprio()
1253 q->quanta[cl->priority] -= cl->weight; cbq_rmprio()
1254 cbq_normalize_quanta(q, cl->priority); cbq_rmprio()
1259 q->nclasses[cl->priority]++; cbq_addprio()
1260 q->quanta[cl->priority] += cl->weight; cbq_addprio()
1261 cbq_normalize_quanta(q, cl->priority); cbq_addprio()
1272 if (wrr->priority) { cbq_set_wrr()
1273 cl->priority = wrr->priority - 1; cbq_set_wrr()
1274 cl->cpriority = cl->priority; cbq_set_wrr()
1275 if (cl->priority >= cl->priority2) cbq_set_wrr()
1294 ovl->priority2 - 1 <= cl->priority) cbq_set_overlimit()
1375 q->link.priority = TC_CBQ_MAXPRIO - 1; cbq_init()
1454 opt.priority = cl->priority + 1; cbq_dump_wrr()
/linux-4.4.14/include/uapi/linux/
H A Ddcbnl.h41 * @prio_tc: priority assignment table mapping 8021Qp to traffic class
51 * 0 strict priority
136 * by RPs at this priority level on this Port
176 * @pg_bw: bandwidth percentage for each priority group
177 * @prio_pg: priority to PG mapping indexed by priority
214 * @priority: 3-bit unsigned integer indicating priority for IEEE
215 * 8-bit 802.1p user priority bitmap for CEE
233 __u8 priority; member in struct:dcb_app
263 * @DCB_CMD_PGTX_GCFG: request the priority group configuration for Tx
264 * @DCB_CMD_PGTX_SCFG: set the priority group configuration for Tx
265 * @DCB_CMD_PGRX_GCFG: request the priority group configuration for Rx
266 * @DCB_CMD_PGRX_SCFG: set the priority group configuration for Rx
267 * @DCB_CMD_PFC_GCFG: request the priority flow control configuration
268 * @DCB_CMD_PFC_SCFG: set the priority flow control configuration
343 * @DCB_ATTR_PFC_CFG: priority flow control configuration (NLA_NESTED)
345 * @DCB_ATTR_PG_CFG: priority group configuration (NLA_NESTED)
463 * enum dcbnl_pfc_attrs - DCB Priority Flow Control user priority nested attrs
475 * @DCB_PFC_UP_ATTR_ALL: apply to all priority flow control attrs (NLA_FLAG)
518 * @DCB_PG_ATTR_BW_ID_ALL: apply to all priority groups (NLA_FLAG)
556 * @DCB_TC_ATTR_PARAM_UP_MAPPING: (NLA_U8) Traffic class to user priority map
558 * user priority map of a TC.
559 * @DCB_TC_ATTR_PARAM_STRICT_PRIO: (NLA_U8) Strict priority setting
564 * not configured to use link strict priority,
566 * priority group this traffic class belongs to
590 * @DCB_CAP_ATTR_UP2TC: (NLA_U8) device supports user priority to
598 * @DCB_CAP_ATTR_GSP: (NLA_U8) device supports group strict priority
658 * priority groups
660 * support priority flow control
734 * @DCB_FEATCFG_ATTR_PG: (NLA_U8) configuration flags for priority groups
735 * @DCB_FEATCFG_ATTR_PFC: (NLA_U8) configuration flags for priority
H A Dif_eql.h45 long priority; member in struct:slave_config
50 long priority; member in struct:slaving_request
H A Dnfs_fs.h34 #define FLUSH_LOWPRI 8 /* low priority background flush */
35 #define FLUSH_HIGHPRI 16 /* high priority memory reclaim flush */
H A Dipv6.h111 * are glued to priority now, forming "class".
116 __u8 priority:4, member in struct:ipv6hdr
120 priority:4;
H A Dfib_rules.h40 FRA_PRIORITY, /* priority/preference */
H A Dagpgart.h108 __u32 priority; /* priority for paging out */ member in struct:_agp_unbind
H A Dbsg.h31 __u32 request_priority; /* [i] {SCSI: task priority} */
/linux-4.4.14/arch/blackfin/include/mach-common/
H A Dirq.h16 * Emulation EMU 0 (highest priority)
31 * System Call IVG15 15 (lowest priority)
/linux-4.4.14/arch/blackfin/kernel/
H A Dentry.S25 * code to starve high priority domains from interrupts while it
36 * priority domains. schedule_tail() will do local_irq_enable()
H A Dirqchip.c73 * is for syscalls), lower our priority to IRQ14 so that maybe_lower_to_irq14()
77 * running at IRQ14 priority, so we don't need this code. maybe_lower_to_irq14()
/linux-4.4.14/arch/powerpc/sysdev/qe_lib/
H A Dqe_ic.c350 /* default priority scheme is grouped. If spread mode is */ qe_ic_init()
365 /* choose destination signal for highest priority interrupt */ qe_ic_init()
401 int qe_ic_set_priority(unsigned int virq, unsigned int priority) qe_ic_set_priority() argument
407 if (priority > 8 || priority == 0) qe_ic_set_priority()
416 if (priority < 4) { qe_ic_set_priority()
417 temp &= ~(0x7 << (32 - priority * 3)); qe_ic_set_priority()
418 temp |= qe_ic_info[src].pri_code << (32 - priority * 3); qe_ic_set_priority()
420 temp &= ~(0x7 << (24 - priority * 3)); qe_ic_set_priority()
421 temp |= qe_ic_info[src].pri_code << (24 - priority * 3); qe_ic_set_priority()
429 /* Set a QE priority to use high irq, only priority 1~2 can use high irq */ qe_ic_set_high_priority()
430 int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high) qe_ic_set_high_priority() argument
436 if (priority > 2 || priority == 0) qe_ic_set_high_priority()
464 shift += (2 - priority) * 2; qe_ic_set_high_priority()
H A Dqe_ic.h40 /* Interrupt priority registers */
50 /* CICR priority modes */
99 code as appears at the group priority register */
100 u32 pri_reg; /* Group priority register offset */
/linux-4.4.14/arch/mips/txx9/generic/
H A Dirq_tx3927.c20 /* raise priority for timers, sio */ tx3927_irq_init()
H A Dirq_tx4938.c28 /* raise priority for errors, timers, SIO */ tx4938_irq_init()
/linux-4.4.14/drivers/mmc/core/
H A Dpwrseq_emmc.c87 * emergency_reboot(), priority 255 is the highest priority mmc_pwrseq_emmc_alloc()
91 pwrseq->reset_nb.priority = 255; mmc_pwrseq_emmc_alloc()
/linux-4.4.14/net/bridge/netfilter/
H A Debtable_filter.c78 .priority = NF_BR_PRI_FILTER_BRIDGED,
84 .priority = NF_BR_PRI_FILTER_BRIDGED,
90 .priority = NF_BR_PRI_FILTER_OTHER,
H A Debtable_nat.c78 .priority = NF_BR_PRI_NAT_DST_OTHER,
84 .priority = NF_BR_PRI_NAT_SRC,
90 .priority = NF_BR_PRI_NAT_DST_BRIDGED,
/linux-4.4.14/net/netfilter/
H A Dxt_CLASSIFY.c2 * This is a module which is used for setting the skb->priority field
36 skb->priority = clinfo->priority; classify_tg()
/linux-4.4.14/drivers/net/ethernet/sfc/
H A Defx.h93 * existing filter with equal priority
102 * 1. If the existing filters have lower priority, or @replace_equal
103 * is set and they have equal priority, replace them.
105 * 2. If the existing filters have higher priority, return -%EPERM.
111 * all be inserted with the same priority and @replace_equal = %false.
123 * @priority: Priority of filter, as passed to @efx_filter_insert_filter
130 enum efx_filter_priority priority, efx_filter_remove_id_safe()
133 return efx->type->filter_remove_safe(efx, priority, filter_id); efx_filter_remove_id_safe()
139 * @priority: Priority of filter, as passed to @efx_filter_insert_filter
148 enum efx_filter_priority priority, efx_filter_get_filter_safe()
151 return efx->type->filter_get_safe(efx, priority, filter_id, spec); efx_filter_get_filter_safe()
155 enum efx_filter_priority priority) efx_filter_count_rx_used()
157 return efx->type->filter_count_rx_used(efx, priority); efx_filter_count_rx_used()
164 enum efx_filter_priority priority, efx_filter_get_rx_ids()
167 return efx->type->filter_get_rx_ids(efx, priority, buf, size); efx_filter_get_rx_ids()
129 efx_filter_remove_id_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id) efx_filter_remove_id_safe() argument
147 efx_filter_get_filter_safe(struct efx_nic *efx, enum efx_filter_priority priority, u32 filter_id, struct efx_filter_spec *spec) efx_filter_get_filter_safe() argument
154 efx_filter_count_rx_used(struct efx_nic *efx, enum efx_filter_priority priority) efx_filter_count_rx_used() argument
163 efx_filter_get_rx_ids(struct efx_nic *efx, enum efx_filter_priority priority, u32 *buf, u32 size) efx_filter_get_rx_ids() argument
H A Dfilter.h60 * enum efx_filter_priority - priority of a hardware filter specification
86 * overriding an automatic filter (priority
104 * @priority: Priority of the filter, from &enum efx_filter_priority
127 * The @priority field is used by software to determine whether a new
128 * filter may replace an old one. The hardware priority of a filter
133 u32 priority:2; member in struct:efx_filter_spec
156 enum efx_filter_priority priority, efx_filter_init_rx()
161 spec->priority = priority; efx_filter_init_rx()
171 spec->priority = EFX_FILTER_PRI_REQUIRED; efx_filter_init_tx()
155 efx_filter_init_rx(struct efx_filter_spec *spec, enum efx_filter_priority priority, enum efx_filter_flags flags, unsigned rxq_id) efx_filter_init_rx() argument
/linux-4.4.14/drivers/pnp/
H A Dbase.h69 unsigned int flags; /* independent/dependent, set, priority */
110 int priority) pnp_new_dependent_set()
114 if (priority > PNP_RES_PRIORITY_FUNCTIONAL) { pnp_new_dependent_set()
115 dev_warn(&dev->dev, "invalid dependent option priority %d " pnp_new_dependent_set()
116 "clipped to %d", priority, pnp_new_dependent_set()
118 priority = PNP_RES_PRIORITY_INVALID; pnp_new_dependent_set()
124 ((priority & PNP_OPTION_PRIORITY_MASK) << pnp_new_dependent_set()
109 pnp_new_dependent_set(struct pnp_dev *dev, int priority) pnp_new_dependent_set() argument
/linux-4.4.14/include/uapi/linux/caif/
H A Dcaif_socket.h33 * @CAIF_PRIO_MIN: Min priority for a channel.
34 * @CAIF_PRIO_LOW: Low-priority channel.
35 * @CAIF_PRIO_NORMAL: Normal/default priority level.
36 * @CAIF_PRIO_HIGH: High priority level
37 * @CAIF_PRIO_MAX: Max priority for channel
41 * These priority levels are recommended, but the priority value
/linux-4.4.14/arch/x86/kvm/
H A Di8259.c121 * return the highest priority found in mask (highest = smallest
126 int priority; get_priority() local
129 priority = 0; get_priority()
130 while ((mask & (1 << ((priority + s->priority_add) & 7))) == 0) get_priority()
131 priority++; get_priority()
132 return priority; get_priority()
140 int mask, cur_priority, priority; pic_get_irq() local
143 priority = get_priority(s, mask); pic_get_irq()
144 if (priority == 8) pic_get_irq()
147 * compute current priority. If special fully nested mode on the pic_get_irq()
149 * for the priority computation. pic_get_irq()
155 if (priority < cur_priority) pic_get_irq()
157 * higher priority found: an irq should be generated pic_get_irq()
159 return (priority + s->priority_add) & 7; pic_get_irq()
313 int priority, cmd, irq; pic_ioport_write() local
341 priority = get_priority(s, s->isr); pic_ioport_write()
342 if (priority != 8) { pic_ioport_write()
343 irq = (priority + s->priority_add) & 7; pic_ioport_write()
/linux-4.4.14/drivers/net/ethernet/intel/i40e/
H A Di40e_dcb.c65 u8 priority; i40e_parse_ieee_etscfg_tlv() local
95 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> i40e_parse_ieee_etscfg_tlv()
97 etscfg->prioritytable[i * 2] = priority; i40e_parse_ieee_etscfg_tlv()
98 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> i40e_parse_ieee_etscfg_tlv()
100 etscfg->prioritytable[i * 2 + 1] = priority; i40e_parse_ieee_etscfg_tlv()
135 u8 priority; i40e_parse_ieee_etsrec_tlv() local
138 /* Move offset to priority table */ i40e_parse_ieee_etsrec_tlv()
150 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_1_MASK) >> i40e_parse_ieee_etsrec_tlv()
152 dcbcfg->etsrec.prioritytable[i*2] = priority; i40e_parse_ieee_etsrec_tlv()
153 priority = (u8)((buf[offset] & I40E_IEEE_ETS_PRIO_0_MASK) >> i40e_parse_ieee_etsrec_tlv()
155 dcbcfg->etsrec.prioritytable[i*2 + 1] = priority; i40e_parse_ieee_etsrec_tlv()
226 /* The App priority table starts 5 octets after TLV header */ i40e_parse_ieee_app_tlv()
241 dcbcfg->app[i].priority = (u8)((buf[offset] & i40e_parse_ieee_app_tlv()
307 u8 priority; i40e_parse_cee_pgcfg_tlv() local
325 priority = (u8)((buf[offset] & I40E_CEE_PGID_PRIO_1_MASK) >> i40e_parse_cee_pgcfg_tlv()
327 etscfg->prioritytable[i * 2] = priority; i40e_parse_cee_pgcfg_tlv()
328 priority = (u8)((buf[offset] & I40E_CEE_PGID_PRIO_0_MASK) >> i40e_parse_cee_pgcfg_tlv()
330 etscfg->prioritytable[i * 2 + 1] = priority; i40e_parse_cee_pgcfg_tlv()
399 dcbcfg->app[i].priority = up; i40e_parse_cee_app_tlv()
652 dcbcfg->app[0].priority = i40e_cee_to_dcb_v1_config()
659 dcbcfg->app[1].priority = i40e_cee_to_dcb_v1_config()
666 dcbcfg->app[2].priority = i40e_cee_to_dcb_v1_config()
733 dcbcfg->app[i].priority = i40e_cee_to_dcb_config()
749 dcbcfg->app[i].priority = i40e_cee_to_dcb_config()
765 dcbcfg->app[i].priority = i40e_cee_to_dcb_config()
H A Di40e_dcb_nl.c189 prio = dcbxcfg->app[i].priority; i40e_dcbnl_set_all()
196 sapp.priority = prio; i40e_dcbnl_set_all()
224 sapp.priority = app->priority; i40e_dcbnl_vsi_del_app()
245 app->protocolid, app->priority); i40e_dcbnl_del_app()
265 app->priority == cfg->app[i].priority) i40e_dcbnl_find_app()
/linux-4.4.14/include/linux/ceph/
H A Dmsgr.h129 __le16 priority; /* priority. higher value == higher priority */ member in struct:ceph_msg_header_old
147 __le16 priority; /* priority. higher value == higher priority */ member in struct:ceph_msg_header
/linux-4.4.14/net/ipv6/
H A Dtunnel6.c43 int priority = handler->priority; xfrm6_tunnel_register() local
51 if (t->priority > priority) xfrm6_tunnel_register()
53 if (t->priority == priority) xfrm6_tunnel_register()
H A Dxfrm6_protocol.c192 int priority = handler->priority; xfrm6_protocol_register() local
207 if (t->priority < priority) xfrm6_protocol_register()
209 if (t->priority == priority) xfrm6_protocol_register()
/linux-4.4.14/drivers/md/
H A Ddm-builtin.c35 * has a low priority and the system is sufficiently loaded with
36 * higher-priority processes that prevent the low-priority process from
/linux-4.4.14/arch/sh/kernel/cpu/irq/
H A Dipr.c37 /* Set the priority in IPR to 0 */ disable_ipr_irq()
46 /* Set priority in IPR back to original value */ enable_ipr_irq()
47 __raw_writew(__raw_readw(addr) | (p->priority << p->shift), addr); enable_ipr_irq()
H A Dintc-sh5.c9 * Per-interrupt selective. IRLM=0 (Fixed priority) is not
136 /* Set default: per-line enable/disable, priority driven ack/eoi */ plat_irq_setup()
154 /* If all the priorities are set to 'no priority', then plat_irq_setup()
190 * lower priority, too. plat_irq_setup()
/linux-4.4.14/arch/arm/include/asm/hardware/
H A Dentry-macro-iomd.S15 ldrb \irqstat, [\base, #IOMD_IRQREQB] @ get high priority first
24 ldreqb \irqstat, [\base, #IOMD_IRQREQA] @ get low priority
41 * Interrupt table (incorporates priority). Please note that we
/linux-4.4.14/drivers/power/reset/
H A Dgpio-restart.c81 gpio_restart->restart_handler.priority = 129; gpio_restart_probe()
86 ret = of_property_read_u32(pdev->dev.of_node, "priority", &property); gpio_restart_probe()
89 dev_err(&pdev->dev, "Invalid priority property: %u\n", gpio_restart_probe()
92 gpio_restart->restart_handler.priority = property; gpio_restart_probe()
H A Dhisi-reboot.c40 .priority = 128,
H A Dmsm-poweroff.c37 .priority = 128,
H A Drmobile-reset.c40 .priority = 192,
H A Dzx-reboot.c38 .priority = 128,
/linux-4.4.14/arch/x86/include/asm/
H A Dmsidef.h44 /* lowest priority */
H A Dirq_vectors.h38 * priority levels. (0x80 is the syscall vector)
43 * Reserve the lowest usable vector (and hence lowest priority) 0x20 for
104 * Local APIC timer IRQ vector is on a different priority level,
/linux-4.4.14/include/net/
H A Ddn_neigh.h16 __u8 priority; member in struct:dn_neigh
/linux-4.4.14/arch/powerpc/include/asm/
H A Dxics.h14 /* Want a priority other than 0. Various HW issues require this. */
18 * Mark IPIs as higher priority so we can take them inside interrupts
23 /* The least favored priority */
126 /* we only really want to set the priority when there's xics_set_base_cppr()
H A Dprocessor.h32 /* Default SMT priority is set to 3. Use 11- 13bits to save priority. */
77 /* Macros for adjusting thread priority (hardware multi-threading) */
78 #define HMT_very_low() asm volatile("or 31,31,31 # very low priority")
79 #define HMT_low() asm volatile("or 1,1,1 # low priority")
80 #define HMT_medium_low() asm volatile("or 6,6,6 # medium low priority")
81 #define HMT_medium() asm volatile("or 2,2,2 # medium priority")
82 #define HMT_medium_high() asm volatile("or 5,5,5 # medium high priority")
83 #define HMT_high() asm volatile("or 3,3,3 # high priority")
307 unsigned long ppr; /* used to save/restore SMT priority */
H A Dqe_ic.h78 int qe_ic_set_priority(unsigned int virq, unsigned int priority);
79 int qe_ic_set_high_priority(unsigned int virq, unsigned int priority, int high);
/linux-4.4.14/arch/s390/include/asm/
H A Disc.h10 * Reminder: 0 is highest priority, 7 lowest.
/linux-4.4.14/arch/sh/boards/mach-sdk7786/
H A Dirq.c34 /* Enable priority encoding for all IRLs */ sdk7786_init_irq()
/linux-4.4.14/net/ipv4/netfilter/
H A Diptable_nat.c73 .priority = NF_IP_PRI_NAT_DST,
80 .priority = NF_IP_PRI_NAT_SRC,
87 .priority = NF_IP_PRI_NAT_DST,
94 .priority = NF_IP_PRI_NAT_SRC,
H A Dnf_defrag_ipv4.c97 .priority = NF_IP_PRI_CONNTRACK_DEFRAG,
103 .priority = NF_IP_PRI_CONNTRACK_DEFRAG,
/linux-4.4.14/net/ipv6/netfilter/
H A Dip6table_nat.c75 .priority = NF_IP6_PRI_NAT_DST,
82 .priority = NF_IP6_PRI_NAT_SRC,
89 .priority = NF_IP6_PRI_NAT_DST,
96 .priority = NF_IP6_PRI_NAT_SRC,
H A Dnf_defrag_ipv6_hooks.c90 .priority = NF_IP6_PRI_CONNTRACK_DEFRAG,
96 .priority = NF_IP6_PRI_CONNTRACK_DEFRAG,
H A Dnf_conntrack_l3proto_ipv6.c192 .priority = NF_IP6_PRI_CONNTRACK,
198 .priority = NF_IP6_PRI_CONNTRACK,
204 .priority = NF_IP6_PRI_CONNTRACK_HELPER,
210 .priority = NF_IP6_PRI_LAST,
216 .priority = NF_IP6_PRI_CONNTRACK_HELPER,
222 .priority = NF_IP6_PRI_LAST-1,
H A Dip6table_mangle.c31 .priority = NF_IP6_PRI_MANGLE,
51 /* save source/dest address, mark, hoplimit, flowlabel, priority, */ ip6t_mangle_out()
/linux-4.4.14/drivers/staging/rtl8192e/
H A Drtllib_tx.c312 skb->priority, TX_DIR, true)) { rtllib_tx_query_agg_cap()
524 skb->priority, TX_DIR, true)) rtllib_query_seqnum()
535 switch (skb->priority) { wme_downgrade_ac()
538 skb->priority = 5; /* VO -> VI */ wme_downgrade_ac()
542 skb->priority = 3; /* VI -> BE */ wme_downgrade_ac()
546 skb->priority = 1; /* BE -> BK */ wme_downgrade_ac()
659 skb->priority = rtllib_classify(skb, IsAmsdu); rtllib_xmit_inter()
735 while (unlikely(ieee->wmm_acm & (0x01 << skb->priority))) { rtllib_xmit_inter()
736 netdev_info(ieee->dev, "skb->priority = %x\n", rtllib_xmit_inter()
737 skb->priority); rtllib_xmit_inter()
740 netdev_info(ieee->dev, "converted skb->priority = %x\n", rtllib_xmit_inter()
741 skb->priority); rtllib_xmit_inter()
743 qos_ctl |= skb->priority; rtllib_xmit_inter()
791 txb->queue_index = UP2AC(skb->priority); rtllib_xmit_inter()
800 skb_frag->priority = skb->priority; rtllib_xmit_inter()
801 tcb_desc->queue_index = UP2AC(skb->priority); rtllib_xmit_inter()
803 skb_frag->priority = WME_AC_BE; rtllib_xmit_inter()
871 if (ieee->seq_ctrl[UP2AC(skb->priority) + 1] == 0xFFF) rtllib_xmit_inter()
872 ieee->seq_ctrl[UP2AC(skb->priority) + 1] = 0; rtllib_xmit_inter()
874 ieee->seq_ctrl[UP2AC(skb->priority) + 1]++; rtllib_xmit_inter()
905 tcb_desc->priority = skb->priority; rtllib_xmit_inter()
/linux-4.4.14/drivers/net/ethernet/intel/ixgbe/
H A Dixgbe_dcb_82599.c40 * @prio_type: priority type indexed by traffic class
69 /* Configure traffic class credits and priority */ ixgbe_dcb_config_rx_arbiter_82599()
99 * @prio_type: priority type indexed by traffic class
118 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_desc_arbiter_82599()
150 * @prio_type: priority type indexed by traffic class
179 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_data_arbiter_82599()
206 * ixgbe_dcb_config_pfc_82599 - Configure priority flow control
209 * @prio_tc: priority to tc assignments indexed by priority
226 * X540 supports per TC Rx priority flow control. So ixgbe_dcb_config_pfc_82599()
350 * @prio_type: priority type indexed by traffic class
H A Dixgbe_dcb_nl.c284 static void ixgbe_dcbnl_set_pfc_cfg(struct net_device *netdev, int priority, ixgbe_dcbnl_set_pfc_cfg() argument
289 adapter->temp_dcb_cfg.tc_config[priority].dcb_pfc = setting; ixgbe_dcbnl_set_pfc_cfg()
290 if (adapter->temp_dcb_cfg.tc_config[priority].dcb_pfc != ixgbe_dcbnl_set_pfc_cfg()
291 adapter->dcb_cfg.tc_config[priority].dcb_pfc) ixgbe_dcbnl_set_pfc_cfg()
295 static void ixgbe_dcbnl_get_pfc_cfg(struct net_device *netdev, int priority, ixgbe_dcbnl_get_pfc_cfg() argument
300 *setting = adapter->dcb_cfg.tc_config[priority].dcb_pfc; ixgbe_dcbnl_get_pfc_cfg()
489 * ixgbe_dcbnl_getapp - retrieve the DCBX application user priority
494 * Returns : on success, returns a non-zero 802.1p user priority bitmap
495 * otherwise returns -EINVAL as the invalid user priority bitmap to indicate an
663 adapter->fcoe.up = app->priority; ixgbe_dcbnl_ieee_setapp()
673 adapter->default_up = app->priority; ixgbe_dcbnl_ieee_setapp()
680 app->priority, vf); ixgbe_dcbnl_ieee_setapp()
711 /* IF default priority is being removed clear VF default UP */ ixgbe_dcbnl_ieee_delapp()
713 app->protocol == 0 && adapter->default_up == app->priority) { ixgbe_dcbnl_ieee_delapp()
769 /* Drop into single TC mode strict priority as this ixgbe_dcbnl_setdcbx()
H A Dixgbe_dcb_82598.c64 /* Configure traffic class credits and priority */ ixgbe_dcb_config_rx_arbiter_82598()
118 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_desc_arbiter_82598()
161 /* Configure traffic class credits and priority */ ixgbe_dcb_config_tx_data_arbiter_82598()
185 * ixgbe_dcb_config_pfc_82598 - Config priority flow control
/linux-4.4.14/security/smack/
H A Dsmack_netfilter.c65 .priority = NF_IP_PRI_SELINUX_FIRST,
72 .priority = NF_IP6_PRI_SELINUX_FIRST,
/linux-4.4.14/include/linux/sunrpc/
H A Dsched.h85 unsigned char tk_priority : 2,/* Task priority */
108 signed char priority; member in struct:rpc_task_setup
183 struct list_head tasks[RPC_NR_PRIORITY]; /* task queue for each priority level */
185 unsigned char maxpriority; /* maximum priority (0 if queue is not a priority queue) */
186 unsigned char priority; /* current priority */ member in struct:rpc_wait_queue
224 int priority);
/linux-4.4.14/arch/powerpc/sysdev/
H A Dipic.h53 u8 prio; /* priority register offset from base */
57 u8 prio_mask; /* priority mask value */
/linux-4.4.14/arch/arm/mach-davinci/
H A Dcp_intc.c144 /* Set to normal mode, no nesting, no priority hold */ cp_intc_of_init()
157 * higher priority i.e. channel 0 has highest priority and channel 31 cp_intc_of_init()
158 * had the lowest priority. cp_intc_of_init()
176 * Default everything to channel 15 if priority not specified. cp_intc_of_init()
/linux-4.4.14/tools/testing/selftests/cpu-hotplug/
H A Dcpu-on-off-test.sh132 priority=0
147 echo "Usage $0 [ -a ] [ -e errno ] [ -p notifier-priority ]"
153 priority=$OPTARG
221 /sbin/modprobe -q cpu-notifier-error-inject priority=$priority
/linux-4.4.14/tools/testing/selftests/memory-hotplug/
H A Dmem-on-off-test.sh117 priority=0
126 echo "Usage $0 [ -e errno ] [ -p notifier-priority ] [ -r percent-of-memory-to-offline ]"
130 priority=$OPTARG
188 /sbin/modprobe -q memory-notifier-error-inject priority=$priority
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
H A Dbcdc.c56 * Used on data packets to convey priority across USB.
78 * @priority: 802.1d priority and USB flow control info (bit 4:7).
84 u8 priority; member in struct:brcmf_proto_bcdc_header
258 /* Push BDC header used to convey priority for buses that don't */ brcmf_proto_bcdc_hdrpush()
267 h->priority = (pktbuf->priority & BCDC_PRIORITY_MASK); brcmf_proto_bcdc_hdrpush()
283 /* Pop BCDC header used to convey priority for buses that don't */ brcmf_proto_bcdc_hdrpull()
311 pktbuf->priority = h->priority & BCDC_PRIORITY_MASK; brcmf_proto_bcdc_hdrpull()
/linux-4.4.14/drivers/gpu/drm/radeon/
H A Dradeon_cs.c38 * An item with priority "i" is added to bucket[i]. The lists are then
54 struct list_head *item, unsigned priority) radeon_cs_buckets_add()
59 * with the same priority, i.e. it must be stable. radeon_cs_buckets_add()
61 list_add_tail(item, &b->bucket[min(priority, RADEON_CS_MAX_PRIORITY)]); radeon_cs_buckets_add()
101 unsigned priority; radeon_cs_parser_relocs() local
114 * Also, the buffers used for write have a higher priority than radeon_cs_parser_relocs()
118 priority = (r->flags & RADEON_RELOC_PRIO_MASK) * 2 radeon_cs_parser_relocs()
137 priority = RADEON_CS_MAX_PRIORITY; radeon_cs_parser_relocs()
171 priority); radeon_cs_parser_relocs()
190 static int radeon_cs_get_ring(struct radeon_cs_parser *p, u32 ring, s32 priority) radeon_cs_get_ring() argument
192 p->priority = priority; radeon_cs_get_ring()
203 if (p->priority > 0) radeon_cs_get_ring()
212 if (p->priority > 0) radeon_cs_get_ring()
226 /* TODO: only use the low priority ring for now */ radeon_cs_get_ring()
257 s32 priority = 0; radeon_cs_parser_init() local
345 priority = (s32)p->chunks[i].kdata[2]; radeon_cs_parser_init()
357 if (radeon_cs_get_ring(p, ring, priority)) radeon_cs_parser_init()
53 radeon_cs_buckets_add(struct radeon_cs_buckets *b, struct list_head *item, unsigned priority) radeon_cs_buckets_add() argument
/linux-4.4.14/drivers/net/wireless/mwifiex/
H A Dsta_tx.c78 local_tx_pd->priority = (u8) skb->priority; mwifiex_process_sta_txpd()
88 if (local_tx_pd->priority < mwifiex_process_sta_txpd()
91 * Set the priority specific tx_control field, setting of 0 will mwifiex_process_sta_txpd()
96 priority]); mwifiex_process_sta_txpd()
133 * firmware for transmission, with highest priority setting.
175 local_tx_pd->priority = WMM_HIGHEST_PRIORITY; mwifiex_send_null_packet()
H A Dwmm.h37 * This table inverses the tos_to_tid operation to get a priority
39 * Use this to compare the priority of two different TIDs.
64 return skb->priority; mwifiex_get_tid()
H A Duap_txrx.c320 if (rx_pkt_type != PKT_TYPE_BAR && uap_rx_pd->priority < MAX_NUM_TID) { mwifiex_process_uap_rx_packet()
324 node->rx_seq[uap_rx_pd->priority] = mwifiex_process_uap_rx_packet()
330 (!mwifiex_11n_get_rx_reorder_tbl(priv, uap_rx_pd->priority, ta) && mwifiex_process_uap_rx_packet()
339 uap_rx_pd->priority, ta, pkt_type, mwifiex_process_uap_rx_packet()
401 txpd->priority = (u8)skb->priority; mwifiex_process_uap_txpd()
411 if (txpd->priority < ARRAY_SIZE(priv->wmm.user_pri_pkt_tx_ctrl)) mwifiex_process_uap_txpd()
413 * Set the priority specific tx_control field, setting of 0 will mwifiex_process_uap_txpd()
417 cpu_to_le32(priv->wmm.user_pri_pkt_tx_ctrl[txpd->priority]); mwifiex_process_uap_txpd()
H A D11n_aggr.c117 /* Original priority has been overwritten */ mwifiex_11n_form_amsdu_txpd()
118 local_tx_pd->priority = (u8) skb->priority; mwifiex_11n_form_amsdu_txpd()
203 skb_aggr->priority = skb_src->priority;
H A Dinit.c29 * This function adds a BSS priority table to the table list.
31 * The function allocates a new BSS priority table node and adds it to
32 * the end of BSS priority table list, kept in driver memory.
522 * - Add BSS priority tables to the adapter structure
581 * This function deletes the BSS priority tables.
583 * The function traverses through all the allocated BSS priority nodes
584 * in every BSS priority table and frees them.
592 spinlock_t *lock; /* bss priority lock */ mwifiex_delete_bss_prio_tbl()
599 "info: delete BSS priority table,\t" mwifiex_delete_bss_prio_tbl()
628 * up the TX and RX queues and frees the BSS priority tables.
644 * - Delete BSS priority tables
682 /* Clean up Tx/Rx queues and delete BSS priority table */ mwifiex_shutdown_drv()
H A Dsta_rx.c240 local_rx_pd->priority < MAX_NUM_TID) { mwifiex_process_sta_rx_packet()
243 sta_ptr->rx_seq[local_rx_pd->priority] = mwifiex_process_sta_rx_packet()
251 priv->rx_seq[local_rx_pd->priority] = seq_num; mwifiex_process_sta_rx_packet()
257 ret = mwifiex_11n_rx_reorder_pkt(priv, seq_num, local_rx_pd->priority, mwifiex_process_sta_rx_packet()
/linux-4.4.14/include/trace/events/
H A Dvmscan.h358 int priority, int reclaim_flags),
360 TP_ARGS(nid, zid, nr_scanned, nr_reclaimed, priority, reclaim_flags),
367 __field(int, priority)
376 __entry->priority = priority;
380 TP_printk("nid=%d zid=%d nr_scanned=%ld nr_reclaimed=%ld priority=%d flags=%s",
383 __entry->priority,
/linux-4.4.14/arch/arc/kernel/
H A Dintc-arcv2.c61 * Read the intc BCR to confirm that Linux default priority is avail arc_init_IRQ()
65 * IRQ_BCR[27..24] contains N-1 (for N priority levels) and prio level arc_init_IRQ()
87 /* set default priority */ arcv2_irq_enable()
H A Dintc-compact.c23 * -Optionally, setup the High priority Interrupts as Level 2 IRQs
29 /* setup any high priority Interrupts (Level2 in ARCompact jargon) */ arc_init_IRQ()
132 * e.g. suppose TIMER is high priority (Level 2) IRQ
134 * Here local_irq_enable( ) shd not re-enable lower priority interrupts
/linux-4.4.14/drivers/staging/rtl8712/
H A Drtl8712_xmit.c69 int priority = pattrib->priority; r8712_txframes_sta_ac_pending() local
72 switch (priority) { r8712_txframes_sta_ac_pending()
106 switch (pattrib->priority) { get_ff_hwaddr()
243 qsel = (unsigned int) pattrib->priority; r8712_do_queue_select()
245 qsel = (unsigned int) pattrib->priority; r8712_do_queue_select()
313 pxmitframe->attrib.priority); r8712_append_mpdu_unit()
533 * correct priority to fw update_txdesc()
534 * fw will check the correct priority for increasing the update_txdesc()
539 ptxdesc->txdw3 = cpu_to_le32((pattrib->priority << SEQ_SHT) & update_txdesc()
584 * correct priority to fw update_txdesc()
585 * fw will check the correct priority for increasing the seqnum update_txdesc()
590 ptxdesc->txdw3 = cpu_to_le32((pattrib->priority << SEQ_SHT) & update_txdesc()
602 qsel = (uint)(pattrib->priority & 0x0000001f); update_txdesc()
685 if (pxmitframe->attrib.priority <= 15) r8712_xmitframe_complete()
718 r8712_issue_addbareq_cmd(padapter, pattrib->priority); dump_xframe()
H A Drtl871x_xmit.h120 u8 priority; member in struct:pkt_attrib
180 struct tx_servq be_q; /* priority == 0,3 */
181 struct tx_servq bk_q; /* priority == 1,2*/
182 struct tx_servq vi_q; /*priority == 4,5*/
183 struct tx_servq vo_q; /*priority == 6,7*/
H A Dxmit_linux.c95 /* "When priority processing of data frames is supported, r8712_set_qos()
97 * priority." */ r8712_set_qos()
102 pattrib->priority = UserPriority; r8712_set_qos()
/linux-4.4.14/drivers/irqchip/
H A Dirq-atmel-aic-common.c83 int aic_common_set_priority(int priority, unsigned *val) aic_common_set_priority() argument
85 if (priority < AT91_AIC_IRQ_MIN_PRIORITY || aic_common_set_priority()
86 priority > AT91_AIC_IRQ_MAX_PRIORITY) aic_common_set_priority()
90 *val |= priority; aic_common_set_priority()
H A Dirq-atmel-aic-common.h22 int aic_common_set_priority(int priority, unsigned *val);
H A Dirq-gic-common.c81 * Set priority on all global interrupts. gic_dist_config()
115 * Set priority on PPI and SGI interrupts gic_cpu_config()
H A Dirq-renesas-h8300h.c83 /* All interrupt priority low */ h8300h_intc_of_init()
/linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_dcb.h42 * strict priority: valid values are 0..5; 0 is highest priority.
43 * There can't be two COSes with the same priority.
87 u32 priority; member in struct:bnx2x_admin_priority_app_table
H A Dbnx2x_dcb.c181 /* Choose the highest priority */ bnx2x_dcbx_get_ap_priority()
657 /* Choose the highest priority */ bnx2x_dcbx_dcbnl_app_up()
683 /* avoid invalid user-priority */ bnx2x_dcbnl_update_applist()
688 app.priority = delall ? 0 : up; bnx2x_dcbnl_update_applist()
904 (u8)(1 << table[i].priority); bnx2x_dcbx_admin_mib_updated_params()
1077 "pfc_fw_cfg->traffic_type_to_priority_cos[%d].priority %x\n", bnx2x_dcbx_print_cos_params()
1078 pri, pfc_fw_cfg->traffic_type_to_priority_cos[pri].priority); bnx2x_dcbx_print_cos_params()
1138 /* Only one priority than only one COS */ bnx2x_dcbx_ets_disabled_entry_data()
1219 /* single priority group */ bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1250 * and one priority goes to the second queue. bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1264 /* Only FCOE priority.*/ bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1274 /* priority group which is not BW limited (PG#15):*/ bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1312 /* Remove priority tested */ bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1320 BNX2X_ERR("Invalid value for pri_join_mask - could not find a priority\n"); bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1324 /* Both queues are strict priority, bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1325 * and that with the highest priority bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1326 * gets the highest strict priority in the arbiter. bnx2x_dcbx_2cos_limit_cee_single_pg_to_cos_params()
1444 /* Entries joined strict priority rules */ bnx2x_dcbx_join_pgs()
1499 * queue and one priority goes to the second queue. bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1503 * otherwise the last priority will get it bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1521 * If no priority is strict than last bnx2x_dcbx_2cos_limit_cee_three_pg_to_cos_params()
1844 /* Fill priority parameters */ bnx2x_dcbx_fw_struct()
1846 tt2cos[pri].priority = ttp[pri]; bnx2x_dcbx_fw_struct()
1847 pri_bit = 1 << tt2cos[pri].priority; bnx2x_dcbx_fw_struct()
1965 * prio_type ignored - priority levels within the same group are not bnx2x_dcbnl_set_pg_tccfg_tx()
1968 * priority traffic (on the port level). bnx2x_dcbnl_set_pg_tccfg_tx()
2017 * prio_type ignored - priority levels within the same group are not bnx2x_dcbnl_get_pg_tccfg_tx()
2020 * priority traffic (on the port level). bnx2x_dcbnl_get_pg_tccfg_tx()
2243 app_ent->priority = up; bnx2x_admin_app_set_ent()
2288 admin_priority_app_table[i].priority = up; bnx2x_set_admin_app_up()
2493 table[j].priority = bnx2x_dcbx_dcbnl_app_up(ent); bnx2x_peer_apptable()
/linux-4.4.14/include/net/tc_act/
H A Dtc_skbedit.h27 u32 priority; member in struct:tcf_skbedit
/linux-4.4.14/arch/mips/include/asm/ip32/
H A Dip32_ints.h17 * priority. This differs from irix.
/linux-4.4.14/arch/mips/include/asm/
H A Dtraps.h36 .priority = pri \
/linux-4.4.14/arch/ia64/include/asm/
H A Dhw_irq.h29 * 16 lowest priority, 255 highest priority
42 * Vectors 0x10-0x1f are used for low priority interrupts, e.g. CMCI.
59 /* Reserve the lower priority vector than device vectors for "move IRQ" IPI */
/linux-4.4.14/drivers/net/
H A Deql.c345 skb->priority = TC_PRIO_FILLER; eql_slave_xmit()
433 s->priority = srq.priority; eql_enslave()
434 s->priority_bps = srq.priority; eql_enslave()
435 s->priority_Bps = srq.priority / 8; eql_enslave()
500 sc.priority = slave->priority; eql_g_slave_cfg()
534 slave->priority = sc.priority; eql_s_slave_cfg()
535 slave->priority_bps = sc.priority; eql_s_slave_cfg()
536 slave->priority_Bps = sc.priority / 8; eql_s_slave_cfg()
/linux-4.4.14/crypto/
H A Dcrypto_user.c293 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; crypto_update_alg() local
302 if (priority && !strlen(p->cru_driver_name)) crypto_update_alg()
313 if (priority) crypto_update_alg()
314 alg->cra_priority = nla_get_u32(priority); crypto_update_alg()
394 struct nlattr *priority = attrs[CRYPTOCFGA_PRIORITY_VAL]; crypto_add_alg() local
405 if (priority && !exact) crypto_add_alg()
434 if (priority) crypto_add_alg()
435 alg->cra_priority = nla_get_u32(priority); crypto_add_alg()
/linux-4.4.14/arch/powerpc/platforms/cell/
H A Dinterrupt.h18 * 10 (0x80 | data) : IPI. data is the IPI number (obtained from the priority)
86 extern void iic_set_interrupt_routing(int cpu, int thread, int priority);
H A Dpervasive.c70 * go into low thread priority, medium priority will be cbe_power_save()
/linux-4.4.14/arch/m68k/include/asm/
H A Dm525xsim.h80 #define MCFINTC2_INTPRI1 (MCF_MBAR2 + 0x140) /* 0-7 priority */
81 #define MCFINTC2_INTPRI2 (MCF_MBAR2 + 0x144) /* 8-15 priority */
82 #define MCFINTC2_INTPRI3 (MCF_MBAR2 + 0x148) /* 16-23 priority */
83 #define MCFINTC2_INTPRI4 (MCF_MBAR2 + 0x14c) /* 24-31 priority */
84 #define MCFINTC2_INTPRI5 (MCF_MBAR2 + 0x150) /* 32-39 priority */
85 #define MCFINTC2_INTPRI6 (MCF_MBAR2 + 0x154) /* 40-47 priority */
86 #define MCFINTC2_INTPRI7 (MCF_MBAR2 + 0x158) /* 48-55 priority */
87 #define MCFINTC2_INTPRI8 (MCF_MBAR2 + 0x15c) /* 56-63 priority */
/linux-4.4.14/net/mpls/
H A Dmpls_gso.c65 .priority = 15,
73 .priority = 15,
/linux-4.4.14/drivers/target/
H A Dtarget_core_ua.c116 * Attach the highest priority Unit Attention to core_scsi3_ua_allocate()
235 * The highest priority Unit Attentions are placed at the head of the core_scsi3_ua_for_check_condition()
243 * highest priority UNIT_ATTENTION and ASC/ASCQ without core_scsi3_ua_for_check_condition()
253 * condition. Return the ASC/ASCQ of the highest priority UA core_scsi3_ua_for_check_condition()
307 * The highest priority Unit Attentions are placed at the head of the core_scsi3_ua_clear_for_request_sense()
308 * struct se_dev_entry->ua_list. The First (and hence highest priority) core_scsi3_ua_clear_for_request_sense()
/linux-4.4.14/drivers/hwtracing/coresight/
H A Dcoresight-funnel.c41 * @priority: port selection order.
48 unsigned long priority; member in struct:funnel_drvdata
62 writel_relaxed(drvdata->priority, drvdata->base + FUNNEL_PRICTL); funnel_enable_hw()
116 unsigned long val = drvdata->priority; priority_show()
133 drvdata->priority = val; priority_store()
136 static DEVICE_ATTR_RW(priority);
/linux-4.4.14/net/bridge/
H A Dbr_stp_if.c24 /* Port id is composed of priority and port number.
25 * NB: some bits of priority are dropped to
28 static inline port_id br_make_port_id(__u8 priority, __u16 port_no) br_make_port_id() argument
30 return ((u16)priority << BR_PORT_BITS) br_make_port_id()
46 p->port_id = br_make_port_id(p->priority, p->port_no); br_init_port()
312 p->priority = newprio; br_stp_set_port_priority()
/linux-4.4.14/arch/mips/pnx833x/common/
H A Dinterrupts.c109 unsigned long priority = PNX833X_PIC_INT_PRIORITY; pic_dispatch() local
124 PNX833X_PIC_INT_PRIORITY = priority; pic_dispatch()
144 /* Currently we do this by setting IRQ priority to 1. pnx833x_hard_enable_pic_irq()
145 If priority support is being implemented, 1 should be repalced pnx833x_hard_enable_pic_irq()
152 /* Disable IRQ by writing setting it's priority to 0 */ pnx833x_hard_disable_pic_irq()
271 /* Set PIC priority limiter register to 0 */ arch_init_irq()
/linux-4.4.14/net/tipc/
H A Dbearer.c217 u32 disc_domain, u32 priority, tipc_enable_bearer()
252 if ((priority > TIPC_MAX_LINK_PRI) && tipc_enable_bearer()
253 (priority != TIPC_MEDIA_LINK_PRI)) { tipc_enable_bearer()
254 pr_warn("Bearer <%s> rejected, illegal priority\n", name); tipc_enable_bearer()
265 if (priority == TIPC_MEDIA_LINK_PRI) tipc_enable_bearer()
266 priority = m_ptr->priority; tipc_enable_bearer()
282 if ((b_ptr->priority == priority) && tipc_enable_bearer()
284 if (priority-- == 0) { tipc_enable_bearer()
285 pr_warn("Bearer <%s> rejected, duplicate priority\n", tipc_enable_bearer()
289 pr_warn("Bearer <%s> priority adjustment required %u->%u\n", tipc_enable_bearer()
290 name, priority + 1, priority); tipc_enable_bearer()
318 b_ptr->priority = priority; tipc_enable_bearer()
330 pr_info("Enabled bearer <%s>, discovery domain %s, priority %u\n", tipc_enable_bearer()
332 tipc_addr_string_fill(addr_string, disc_domain), priority); tipc_enable_bearer()
603 .priority = 0,
661 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_PRIO, bearer->priority)) __tipc_nl_add_bearer()
896 b->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); tipc_nl_bearer_set()
927 if (nla_put_u32(msg->skb, TIPC_NLA_PROP_PRIO, media->priority)) __tipc_nl_add_media()
1064 m->priority = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); tipc_nl_media_set()
216 tipc_enable_bearer(struct net *net, const char *name, u32 disc_domain, u32 priority, struct nlattr *attr[]) tipc_enable_bearer() argument
H A Dbearer.h97 * @priority: default link (and bearer) priority
121 u32 priority; member in struct:tipc_media
138 * @priority: default link priority for bearer
159 u32 priority; member in struct:tipc_bearer
/linux-4.4.14/net/decnet/
H A Ddn_neigh.c409 dn->priority = msg->priority; dn_neigh_router_hello()
428 if (msg->priority > ((struct dn_neigh *)dn_db->router)->priority) dn_neigh_router_hello()
468 dn->priority = 0; dn_neigh_endnode_hello()
479 static char *dn_find_slot(char *base, int max, int priority) dn_find_slot() argument
489 base += 7; /* find next priority */ dn_find_slot()
495 return (*min < priority) ? (min - 6) : NULL; dn_find_slot()
518 s->rs = dn_find_slot(s->ptr, s->n, dn->priority); neigh_elist_cb()
527 *(s->rs) |= dn->priority; neigh_elist_cb()
/linux-4.4.14/kernel/locking/
H A Drtmutex.c258 * Calculate task priority from the waiter tree priority
261 * the waiter is not allowed to do priority boosting
281 * Called by sched_setscheduler() to get the priority which will be
295 * Adjust the priority of a task, after its pi_waiters got modified.
308 * Adjust task priority (undo boosting). Called from the exit path of
312 * allow the lock to be taken while or before we readjust the priority
362 * Adjust the priority chain. Also used for deadlock detection.
369 * things for a task that has just got its priority adjusted, and
375 * its priority to the mutex owner (can be NULL in the case
540 * If the waiter priority is the same as the task priority rt_mutex_adjust_prio_chain()
541 * then there is no further priority adjustment necessary. If rt_mutex_adjust_prio_chain()
676 * The waiter became the new top (highest priority) rt_mutex_adjust_prio_chain()
679 * and adjust the priority of the owner. rt_mutex_adjust_prio_chain()
690 * (highest priority) waiter and adjust the priority rt_mutex_adjust_prio_chain()
702 * Nothing changed. No need to do any priority rt_mutex_adjust_prio_chain()
803 * If waiter is not the highest priority waiter of try_to_take_rt_mutex()
827 * the top waiter priority (kernel view), try_to_take_rt_mutex()
859 * other waiters exist we have to insert the highest priority try_to_take_rt_mutex()
917 /* Get the top priority waiter on the lock */ task_blocks_on_rt_mutex()
988 * possible priority boost right now. We execute wakeup in the mark_wakeup_next_waiter()
999 * slow path making sure no task of lower priority than mark_wakeup_next_waiter()
1029 * Only update priority if the waiter was the highest priority remove_waiter()
1068 * Recheck the pi chain, in case we got a priority setting
1261 * Return whether the current task needs to undo a potential priority boosting.
1494 * Returns: true/false indicating whether priority adjustment is
/linux-4.4.14/drivers/staging/rtl8192u/ieee80211/
H A Dieee80211_tx.c334 if (!GetTs(ieee, (PTS_COMMON_INFO *)(&pTxTs), hdr->addr1, skb->priority, TX_DIR, true)) ieee80211_tx_query_agg_cap()
589 if (!GetTs(ieee, (PTS_COMMON_INFO *)(&pTS), dst, skb->priority, TX_DIR, true)) ieee80211_query_seqnum()
716 skb->priority = ieee80211_classify(skb, &ieee->current_network); ieee80211_xmit()
717 qos_ctl |= skb->priority; //set in the ieee80211_classify ieee80211_xmit()
760 txb->queue_index = UP2AC(skb->priority); ieee80211_xmit()
771 skb_frag->priority = skb->priority;//UP2AC(skb->priority); ieee80211_xmit()
772 tcb_desc->queue_index = UP2AC(skb->priority); ieee80211_xmit()
774 skb_frag->priority = WME_AC_BK; ieee80211_xmit()
808 frag_hdr->seq_ctl = cpu_to_le16(ieee->seq_ctrl[UP2AC(skb->priority)+1]<<4 | i); ieee80211_xmit()
837 if (ieee->seq_ctrl[UP2AC(skb->priority) + 1] == 0xFFF) ieee80211_xmit()
838 ieee->seq_ctrl[UP2AC(skb->priority) + 1] = 0; ieee80211_xmit()
840 ieee->seq_ctrl[UP2AC(skb->priority) + 1]++; ieee80211_xmit()
/linux-4.4.14/drivers/staging/rtl8723au/os_dep/
H A Dos_intfs.c279 /* skb->priority values from 256->263 are magic values to rtw_classify8021d()
280 * directly indicate a specific 802.1d priority. This is used rtw_classify8021d()
281 * to allow 802.1d priority to be passed directly in from VLAN rtw_classify8021d()
284 if (skb->priority >= 256 && skb->priority <= 263) rtw_classify8021d()
285 return skb->priority - 256; rtw_classify8021d()
303 skb->priority = rtw_classify8021d(skb); rtw_select_queue()
306 skb->priority = qos_acm23a(pmlmepriv->acm_mask, skb->priority); rtw_select_queue()
307 return rtw_1d_to_queue[skb->priority]; rtw_select_queue()
316 u32 priority; rtw_recv_select_queue23a() local
323 priority = dscp >> 5; rtw_recv_select_queue23a()
326 priority = 0; rtw_recv_select_queue23a()
328 return rtw_1d_to_queue[priority]; rtw_recv_select_queue23a()
/linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/
H A Dalloc.c220 int priority; member in struct:mlx4_zone_entry
245 int priority, mlx4_zone_add_one()
259 zone->priority = priority; mlx4_zone_add_one()
271 if (it->priority >= priority) mlx4_zone_add_one()
274 if (&it->prio_list == &zone_alloc->prios || it->priority > priority) mlx4_zone_add_one()
297 if (next->priority == entry->priority) __mlx4_zone_remove_one_entry()
357 if (unlikely(curr_node->priority == zone->priority)) __mlx4_alloc_from_zone()
382 if (unlikely(it->priority != curr_node->priority)) __mlx4_alloc_from_zone()
242 mlx4_zone_add_one(struct mlx4_zone_allocator *zone_alloc, struct mlx4_bitmap *bitmap, u32 flags, int priority, int offset, u32 *puid) mlx4_zone_add_one() argument
/linux-4.4.14/arch/m32r/include/asm/
H A Dm32102.h229 #define M32R_ICUCR_ILEVEL0 (0UL<<0) /* b29-b31: Interrupt priority level 0 */
230 #define M32R_ICUCR_ILEVEL1 (1UL<<0) /* b29-b31: Interrupt priority level 1 */
231 #define M32R_ICUCR_ILEVEL2 (2UL<<0) /* b29-b31: Interrupt priority level 2 */
232 #define M32R_ICUCR_ILEVEL3 (3UL<<0) /* b29-b31: Interrupt priority level 3 */
233 #define M32R_ICUCR_ILEVEL4 (4UL<<0) /* b29-b31: Interrupt priority level 4 */
234 #define M32R_ICUCR_ILEVEL5 (5UL<<0) /* b29-b31: Interrupt priority level 5 */
235 #define M32R_ICUCR_ILEVEL6 (6UL<<0) /* b29-b31: Interrupt priority level 6 */
H A Dm32r_mp_fpga.h265 #define M32R_ICUCR_ILEVEL0 (0UL<<0) /* b29-b31: Interrupt priority level 0 */
266 #define M32R_ICUCR_ILEVEL1 (1UL<<0) /* b29-b31: Interrupt priority level 1 */
267 #define M32R_ICUCR_ILEVEL2 (2UL<<0) /* b29-b31: Interrupt priority level 2 */
268 #define M32R_ICUCR_ILEVEL3 (3UL<<0) /* b29-b31: Interrupt priority level 3 */
269 #define M32R_ICUCR_ILEVEL4 (4UL<<0) /* b29-b31: Interrupt priority level 4 */
270 #define M32R_ICUCR_ILEVEL5 (5UL<<0) /* b29-b31: Interrupt priority level 5 */
271 #define M32R_ICUCR_ILEVEL6 (6UL<<0) /* b29-b31: Interrupt priority level 6 */
/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_guc_submission.c311 static uint16_t assign_doorbell(struct intel_guc *guc, uint32_t priority) assign_doorbell() argument
315 * normal priority contexts, the second half for high-priority ones. assign_doorbell()
317 * normal ones, so the test below means "is it high-priority?" assign_doorbell()
319 const bool hi_pri = (priority <= GUC_CTX_PRIORITY_HIGH); assign_doorbell()
333 DRM_DEBUG_DRIVER("assigned %s priority doorbell id 0x%x\n", assign_doorbell()
372 desc->priority = client->priority; guc_init_proc_desc()
397 desc.priority = client->priority; guc_init_ctx_desc()
730 * @priority: four levels priority _CRITICAL, _HIGH, _NORMAL and _LOW
732 * NORMAL priority. Priority of a client for scheduler can be HIGH,
739 uint32_t priority, guc_client_alloc()
752 client->priority = priority; guc_client_alloc()
785 client->doorbell_id = assign_doorbell(guc, client->priority); guc_client_alloc()
799 DRM_DEBUG_DRIVER("new priority %u client %p: ctx_index %u db_id %u\n", guc_client_alloc()
800 priority, client, client->ctx_index, client->doorbell_id); guc_client_alloc()
805 DRM_ERROR("FAILED to create priority %u GuC client!\n", priority); guc_client_alloc()
738 guc_client_alloc(struct drm_device *dev, uint32_t priority, struct intel_context *ctx) guc_client_alloc() argument
/linux-4.4.14/drivers/net/bonding/
H A Dbond_procfs.c139 seq_printf(seq, "System priority: %d\n", bond_info_show_master()
207 seq_printf(seq, " system priority: %d\n", bond_info_show_slave()
213 seq_printf(seq, " port priority: %d\n", bond_info_show_slave()
221 seq_printf(seq, " system priority: %d\n", bond_info_show_slave()
227 seq_printf(seq, " port priority: %d\n", bond_info_show_slave()
/linux-4.4.14/arch/c6x/platforms/
H A Dmegamod-pic.c168 * The MUX map is an array of up to 12 cells; one for each usable core priority
171 * withing the array. The first cell in the array corresponds to priority
172 * 4 and the last (12th) cell corresponds to priority 15. The allowed
265 * of the core priority interrupts (4 - 15). init_megamod_pic()
293 pr_debug("%s: setting mux %d to priority %d\n", init_megamod_pic()
H A Demif.c75 err = of_property_read_u32_array(node, "ti,emifa-burst-priority", &val, 1); c6x_emifa_init()
/linux-4.4.14/arch/mips/dec/
H A Dint-handler.S120 * We handle the IRQ according to _our_ priority (see setup.c),
147 * Find irq with highest priority
196 * Find irq with highest priority
217 * Dispatch low-priority interrupts. We reconsider all status
250 * Find irq with highest priority.
/linux-4.4.14/drivers/staging/rtl8188eu/core/
H A Drtw_xmit.c374 u8 qos_acm(u8 acm_mask, u8 priority) qos_acm() argument
376 u8 change_priority = priority; qos_acm()
378 switch (priority) { qos_acm()
398 DBG_88E("qos_acm(): invalid pattrib->priority: %d!!!\n", priority); qos_acm()
420 /* "When priority processing of data frames is supported, */ set_qos()
421 /* a STA's SME should send EAPOL-Key frames at the highest priority." */ set_qos()
425 pattrib->priority = user_prio; set_qos()
531 pattrib->priority = 0; update_attrib()
541 pattrib->priority = qos_acm(pmlmepriv->acm_mask, pattrib->priority); update_attrib()
637 u8 priority[4] = {0x0, 0x0, 0x0, 0x0}; xmitframe_addmic() local
688 priority[0] = (u8)pxmitframe->attrib.priority; xmitframe_addmic()
690 rtw_secmicappend(&micdata, &priority[0], 4); xmitframe_addmic()
850 if (pattrib->priority) rtw_make_wlanhdr()
851 SetPriority(qc, pattrib->priority); rtw_make_wlanhdr()
862 psta->sta_xmitpriv.txseq_tid[pattrib->priority]++; rtw_make_wlanhdr()
863 psta->sta_xmitpriv.txseq_tid[pattrib->priority] &= 0xFFF; rtw_make_wlanhdr()
865 pattrib->seqnum = psta->sta_xmitpriv.txseq_tid[pattrib->priority]; rtw_make_wlanhdr()
871 if (psta->htpriv.agg_enable_bitmap & BIT(pattrib->priority)) rtw_make_wlanhdr()
879 tx_seq = psta->BA_starting_seqctrl[pattrib->priority & 0x0f]; rtw_make_wlanhdr()
885 psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (tx_seq+1)&0xfff; rtw_make_wlanhdr()
889 psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (pattrib->seqnum+1)&0xfff; rtw_make_wlanhdr()
914 int priority = pattrib->priority; rtw_txframes_sta_ac_pending() local
918 switch (priority) { rtw_txframes_sta_ac_pending()
1620 ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); rtw_xmit_classifier()
1709 qsel = pattrib->priority; do_queue_select()
1710 RT_TRACE(_module_rtl871x_xmit_c_, _drv_info_, ("### do_queue_select priority=%d , qsel = %d\n", pattrib->priority , qsel)); do_queue_select()
1827 switch (pattrib->priority) { xmitframe_enqueue_for_sleeping_sta()
1889 ptxservq = rtw_get_sta_pending(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); dequeue_xmitframes_to_sleeping_queue()
1954 switch (pxmitframe->attrib.priority) { wakeup_sta_to_xmit()
2080 switch (pxmitframe->attrib.priority) { xmit_delivery_enabled_frames()
/linux-4.4.14/drivers/staging/rtl8723au/core/
H A Drtw_xmit.c361 u8 qos_acm23a(u8 acm_mask, u8 priority) qos_acm23a() argument
363 u8 change_priority = priority; qos_acm23a()
365 switch (priority) { qos_acm23a()
385 DBG_8723A("qos_acm23a(): invalid pattrib->priority: %d!!!\n", qos_acm23a()
386 priority); qos_acm23a()
405 /* "When priority processing of data frames is supported, */ set_qos()
407 priority." */ set_qos()
411 pattrib->priority = UserPriority; set_qos()
526 pattrib->priority = 0; update_attrib()
537 pattrib->priority = qos_acm23a(pmlmepriv->acm_mask, update_attrib()
538 pattrib->priority); update_attrib()
644 u8 priority[4]= {0x0, 0x0, 0x0, 0x0}; xmitframe_addmic() local
715 priority[0] = (u8)pxmitframe->attrib.priority; xmitframe_addmic()
717 rtw_secmicappend23a(&micdata, &priority[0], 4); xmitframe_addmic()
924 pattrib->priority & IEEE80211_QOS_CTL_TID_MASK); rtw_make_wlanhdr()
938 psta->sta_xmitpriv.txseq_tid[pattrib->priority]++; rtw_make_wlanhdr()
939 psta->sta_xmitpriv.txseq_tid[pattrib->priority] &= 0xFFF; rtw_make_wlanhdr()
940 pattrib->seqnum = psta->sta_xmitpriv.txseq_tid[pattrib->priority]; rtw_make_wlanhdr()
946 if (pattrib->priority >= 16) rtw_make_wlanhdr()
948 "pattrib->priority %i\n", rtw_make_wlanhdr()
949 __func__, pattrib->priority); rtw_make_wlanhdr()
951 BIT(pattrib->priority)) rtw_make_wlanhdr()
958 tx_seq = psta->BA_starting_seqctrl[pattrib->priority & 0x0f]; rtw_make_wlanhdr()
965 psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (tx_seq+1)&0xfff; rtw_make_wlanhdr()
969 psta->BA_starting_seqctrl[pattrib->priority & 0x0f] = (pattrib->seqnum+1)&0xfff; rtw_make_wlanhdr()
994 int priority = pattrib->priority; rtw_txframes_sta_ac_pending23a() local
1011 switch (priority) { rtw_txframes_sta_ac_pending23a()
1738 ptxservq = rtw_get_sta_pending23a(padapter, psta, pattrib->priority, rtw_xmit23a_classifier()
1895 pxmitframe->attrib.qsel = pxmitframe->attrib.priority; rtw_xmit23a()
1997 switch (pattrib->priority) { xmitframe_enqueue_for_sleeping_sta23a()
2072 ptxservq = rtw_get_sta_pending23a(padapter, psta, pattrib->priority, (u8 *)(&ac_index)); list_for_each_safe()
2140 switch (pxmitframe->attrib.priority) { list_for_each_safe()
2261 switch (pxmitframe->attrib.priority) { list_for_each_safe()
/linux-4.4.14/include/linux/soc/ti/
H A Dknav_dma.h49 /* Tx channel scheduling priority */
81 * @knav_dma_tx_priority: Tx channel scheduling priority
86 enum knav_dma_tx_priority priority; member in struct:knav_dma_tx_cfg
/linux-4.4.14/arch/powerpc/platforms/powernv/
H A Dopal-power.c124 .priority = 0,
131 .priority = 0,
138 .priority = 0,
/linux-4.4.14/arch/arm/mm/
H A Dproc-v7m.S94 @ Lower the priority of the SVC and PendSV exceptions
96 str r5, [r0, V7M_SCB_SHPR2] @ set SVC priority
98 str r5, [r0, V7M_SCB_SHPR3] @ set PendSV priority
/linux-4.4.14/sound/oss/
H A Dsound_timer.c271 .priority = 1, /* Priority */
312 if (t->priority <= tmr->priority) sound_timer_init()
/linux-4.4.14/drivers/staging/rtl8188eu/include/
H A Drtw_xmit.h133 u8 priority; member in struct:pkt_attrib
245 struct tx_servq be_q; /* priority == 0,3 */
246 struct tx_servq bk_q; /* priority == 1,2 */
247 struct tx_servq vi_q; /* priority == 4,5 */
248 struct tx_servq vo_q; /* priority == 6,7 */
371 u8 qos_acm(u8 acm_mask, u8 priority);
/linux-4.4.14/drivers/staging/rtl8723au/include/
H A Drtw_xmit.h132 u8 priority; member in struct:pkt_attrib
250 struct tx_servq be_q; /* priority == 0,3 */
251 struct tx_servq bk_q; /* priority == 1,2 */
252 struct tx_servq vi_q; /* priority == 4,5 */
253 struct tx_servq vo_q; /* priority == 6,7 */
378 u8 qos_acm23a(u8 acm_mask, u8 priority);
/linux-4.4.14/drivers/sh/intc/
H A Dcore.c43 * Default priority level
91 * 2. priority, single interrupt source intc_register_irq()
93 * 4. priority, multiple interrupt sources (groups) intc_register_irq()
122 * set priority level intc_register_irq()
130 /* add irq to d->prio list if priority is available */ intc_register_irq()
138 * only secondary priority should access registers, so intc_register_irq()
H A Duserimask.c47 * We use the default priority level as a cut off so that only store_intc_userimask()
/linux-4.4.14/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_mqd_manager_cik.c88 * Identifies the pipe relative priority when this queue is connected init_mqd()
89 * to the pipeline. The pipe priority is against the GFX pipe and HP3D. init_mqd()
90 * In KFD we are using a fixed pipe priority set to CS_MEDIUM. init_mqd()
337 * Identifies the pipe relative priority when this queue is connected init_mqd_hiq()
338 * to the pipeline. The pipe priority is against the GFX pipe and HP3D. init_mqd_hiq()
339 * In KFD we are using a fixed pipe priority set to CS_MEDIUM. init_mqd_hiq()
/linux-4.4.14/drivers/xen/events/
H A Devents_fifo.c284 unsigned priority, unsigned long *ready, consume_one_event()
292 head = q->head[priority]; consume_one_event()
300 head = control_block->head[priority]; consume_one_event()
311 * If the queue is empty, clear this priority from our local consume_one_event()
315 clear_bit(priority, ready); consume_one_event()
324 q->head[priority] = head; consume_one_event()
282 consume_one_event(unsigned cpu, struct evtchn_fifo_control_block *control_block, unsigned priority, unsigned long *ready, bool drop) consume_one_event() argument
/linux-4.4.14/drivers/scsi/fcoe/
H A Dfcoe.h74 * @priority: Priority for the FCoE packet (DCB)
85 u8 priority; member in struct:fcoe_interface
/linux-4.4.14/arch/unicore32/kernel/
H A Ddma.c50 /* try grabbing a DMA channel with the requested priority */ puv3_request_dma()
58 /* if requested prio group is full, try a hier priority */ puv3_request_dma()
/linux-4.4.14/arch/alpha/kernel/
H A Dirq_i8259.c65 /* Ack the interrupt making it the lowest priority. */ i8259a_mask_and_ack_irq()
128 * respond with the interrupt vector of the highest priority isa_device_interrupt()
/linux-4.4.14/mm/
H A Dmm_init.c175 .priority = IPC_CALLBACK_PRI, /* use lowest priority */
/linux-4.4.14/arch/sh/boards/mach-se/7206/
H A Dirq.c35 /* Set the priority in IPR to 0 */ disable_se7206_irq()
66 /* Set priority in IPR back to original value */ enable_se7206_irq()
/linux-4.4.14/arch/mips/lasat/
H A Dsetup.c113 .priority = INT_MAX
116 .priority = INT_MIN
/linux-4.4.14/arch/mn10300/include/asm/
H A Dirqflags.h24 * - level 5 - normal interrupt priority
63 * we make sure arch_irq_enable() doesn't cause priority inversion
/linux-4.4.14/arch/avr32/mach-at32ap/
H A Dintc.c119 * Initialize all interrupts to level 0 (lowest priority). The init_IRQ()
120 * priority level may be changed by calling init_IRQ()
/linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4_dcb.c80 /* zero priority implies remove */ cxgb4_dcb_cleanup_apps()
81 app.priority = 0; cxgb4_dcb_cleanup_apps()
91 app.priority = dcb->app_priority[i].user_prio_map; cxgb4_dcb_cleanup_apps()
354 app.priority = ffs(fwap->user_prio_map) - 1; cxgb4_dcb_handle_fw_update()
360 app.priority = fwap->user_prio_map; cxgb4_dcb_handle_fw_update()
367 app.selector, app.protocol, app.priority, -err); cxgb4_dcb_handle_fw_update()
610 static void cxgb4_getpfccfg(struct net_device *dev, int priority, u8 *pfccfg) cxgb4_getpfccfg() argument
616 priority >= CXGB4_MAX_PRIORITY) cxgb4_getpfccfg()
619 *pfccfg = (pi->dcb.pfcen >> (7 - priority)) & 1; cxgb4_getpfccfg()
625 static void cxgb4_setpfccfg(struct net_device *dev, int priority, u8 pfccfg) cxgb4_setpfccfg() argument
633 priority >= CXGB4_MAX_PRIORITY) cxgb4_setpfccfg()
644 pcmd.u.dcb.pfc.pfcen |= (1 << (7 - priority)); cxgb4_setpfccfg()
646 pcmd.u.dcb.pfc.pfcen &= (~(1 << (7 - priority))); cxgb4_setpfccfg()
885 .priority = app_prio, cxgb4_setapp()
1019 app->priority = ffs(prio) - 1; cxgb4_ieee_getapp()
1041 (1 << app->priority)); cxgb4_ieee_setapp()
1151 table[i].priority = cxgb4_getpeerapp_tbl()
/linux-4.4.14/net/dcb/
H A Ddcbnl.c40 * can work independently for each 802.1p priority.
71 /* DCB priority flow control to User Priority nested attributes */
84 /* DCB priority grouping nested attributes */
550 app.priority = up; dcbnl_setapp()
1285 itr->app.priority); dcbnl_cee_fill()
1766 (!prio || itr->app.priority == prio)) dcb_app_lookup()
1789 * dcb_getapp - retrieve the DCBX application user priority
1791 * On success returns a non-zero 802.1p user priority bitmap
1792 * otherwise returns 0 as the invalid user priority bitmap to
1802 prio = itr->app.priority; dcb_getapp()
1812 * Priority 0 is an invalid priority in CEE spec. This routine
1813 * removes applications from the app list if the priority is
1814 * set to zero. Priority is expected to be 8-bit 802.1p user priority bitmap
1830 if (new->priority) dcb_setapp()
1831 itr->app.priority = new->priority; dcb_setapp()
1839 if (new->priority) dcb_setapp()
1850 * dcb_ieee_getapp_mask - retrieve the IEEE DCB application priority
1853 * priority bitmap otherwise returns 0 to indicate the dcb_app was
1863 prio |= 1 << itr->app.priority; dcb_ieee_getapp_mask()
1890 if (dcb_app_lookup(new, dev->ifindex, new->priority)) { dcb_ieee_setapp()
1922 if ((itr = dcb_app_lookup(del, dev->ifindex, del->priority))) { dcb_ieee_delapp()
/linux-4.4.14/drivers/net/wireless/prism54/
H A Dislpci_eth.h57 __be32 priority; member in struct:avs_80211_1_header
/linux-4.4.14/drivers/net/fddi/skfp/h/
H A Dfddi.h54 #define FC_LLC_PRIOR 0x07 /* priority bits */
/linux-4.4.14/arch/c6x/include/asm/
H A Dirq.h28 * priority and IRQ 15 having the lowest.
/linux-4.4.14/fs/jffs2/
H A Dcompr_lzo.c83 .priority = JFFS2_LZO_PRIORITY,
/linux-4.4.14/net/sunrpc/
H A Dsched.c103 struct list_head *q = &queue->tasks[queue->priority]; rpc_rotate_queue_owner()
113 static void rpc_set_waitqueue_priority(struct rpc_wait_queue *queue, int priority) rpc_set_waitqueue_priority() argument
115 if (queue->priority != priority) { rpc_set_waitqueue_priority()
116 /* Fairness: rotate the list when changing priority */ rpc_set_waitqueue_priority()
118 queue->priority = priority; rpc_set_waitqueue_priority()
135 * Add new request to a priority queue.
147 if (queue_priority > queue->priority) __rpc_add_wait_queue_priority()
192 * Remove request from a priority queue.
390 rpc_action action, int priority) rpc_sleep_on_priority()
404 __rpc_sleep_on_priority(q, task, action, priority - RPC_PRIORITY_LOW); rpc_sleep_on_priority()
460 * Wake up the next task on a priority queue.
470 q = &queue->tasks[queue->priority]; __rpc_find_next_queued_priority()
496 } while (q != &queue->tasks[queue->priority]); __rpc_find_next_queued_priority()
906 task->tk_priority = task_setup_data->priority - RPC_PRIORITY_LOW; rpc_init_task()
389 rpc_sleep_on_priority(struct rpc_wait_queue *q, struct rpc_task *task, rpc_action action, int priority) rpc_sleep_on_priority() argument
/linux-4.4.14/sound/core/seq/oss/
H A Dseq_oss_writeq.h3 * write priority queue
/linux-4.4.14/include/scsi/fc/
H A Dfc_fcp.h52 __u8 fc_pri_ta; /* priority and task attribute */
64 __u8 fc_pri_ta; /* priority and task attribute */
82 #define FCP_PRI_SHIFT 3 /* priority field starts in bit 3 */
83 #define FCP_PRI_RESVD_MASK 0x80 /* reserved bits in priority field */
H A Dfc_fip.h28 #define FIP_DEF_PRI 128 /* default selection priority */
148 FIP_DT_PRI = 1, /* priority for forwarder selection */
168 * FIP_DT_PRI - priority descriptor.
173 __u8 fd_pri; /* FCF priority: higher is better */
/linux-4.4.14/include/uapi/asm-generic/
H A Dresource.h46 #define RLIMIT_RTPRIO 14 /* maximum realtime priority */
/linux-4.4.14/include/uapi/linux/android/
H A Dbinder.h176 __s32 priority; member in struct:binder_pri_desc
181 __s32 priority; member in struct:binder_pri_ptr_cookie
233 * int: priority
311 * int: priority
/linux-4.4.14/include/linux/platform_data/
H A Ddma-dw.h42 * @chan_priority: Set channel priority increasing from 0 to 7 or 7 to 0.
H A Ddma-imx.h57 int priority; member in struct:imx_dma_data
H A Domap_drm.h27 * one manager, with priority given to managers that are connected to

Completed in 6165 milliseconds

12345678