/linux-4.1.27/include/linux/sched/ |
H A D | deadline.h | 6 * the fact that any of them has higher prio than RT and 12 static inline int dl_prio(int prio) dl_prio() argument 14 if (unlikely(prio < MAX_DL_PRIO)) dl_prio() 21 return dl_prio(p->prio); dl_task()
|
H A D | rt.h | 4 #include <linux/sched/prio.h> 6 static inline int rt_prio(int prio) rt_prio() argument 8 if (unlikely(prio < MAX_RT_PRIO)) rt_prio() 15 return rt_prio(p->prio); rt_task() 20 extern void rt_mutex_setprio(struct task_struct *p, int prio);
|
H A D | prio.h | 12 * values are inverted: lower p->prio value means higher priority. 33 #define PRIO_TO_NICE(prio) ((prio) - DEFAULT_PRIO) 55 static inline long rlimit_to_nice(long prio) rlimit_to_nice() argument 57 return (MAX_NICE - prio + 1); rlimit_to_nice()
|
/linux-4.1.27/net/sched/ |
H A D | sch_prio.c | 99 int prio; prio_peek() local 101 for (prio = 0; prio < q->bands; prio++) { prio_peek() 102 struct Qdisc *qdisc = q->queues[prio]; prio_peek() 113 int prio; prio_dequeue() local 115 for (prio = 0; prio < q->bands; prio++) { prio_dequeue() 116 struct Qdisc *qdisc = q->queues[prio]; prio_dequeue() 131 int prio; prio_drop() local 135 for (prio = q->bands-1; prio >= 0; prio--) { prio_drop() 136 qdisc = q->queues[prio]; prio_drop() 149 int prio; prio_reset() local 152 for (prio = 0; prio < q->bands; prio++) prio_reset() 153 qdisc_reset(q->queues[prio]); prio_reset() 160 int prio; prio_destroy() local 164 for (prio = 0; prio < q->bands; prio++) prio_destroy() 165 qdisc_destroy(q->queues[prio]); prio_destroy() 337 int prio; prio_walk() local 342 for (prio = 0; prio < q->bands; prio++) { prio_walk() 347 if (arg->fn(sch, prio + 1, arg) < 0) { prio_walk() 381 .id = "prio",
|
H A D | sch_htb.c | 103 u32 prio; /* these two are used only by leaves... */ member in struct:htb_class 267 * Make sure that class is not already on such list for given prio. 270 struct htb_class *cl, int prio) htb_add_to_id_tree() 277 c = rb_entry(parent, struct htb_class, node[prio]); htb_add_to_id_tree() 284 rb_link_node(&cl->node[prio], parent, p); htb_add_to_id_tree() 285 rb_insert_color(&cl->node[prio], root); htb_add_to_id_tree() 343 int prio = ffz(~mask); htb_add_class_to_row() local 344 mask &= ~(1 << prio); htb_add_class_to_row() 345 htb_add_to_id_tree(&q->hlevel[cl->level].hprio[prio].row, cl, prio); htb_add_class_to_row() 374 int prio = ffz(~mask); htb_remove_class_from_row() local 375 struct htb_prio *hprio = &hlevel->hprio[prio]; htb_remove_class_from_row() 377 mask &= ~(1 << prio); htb_remove_class_from_row() 378 if (hprio->ptr == cl->node + prio) htb_remove_class_from_row() 381 htb_safe_rb_erase(cl->node + prio, &hprio->row); htb_remove_class_from_row() 383 m |= 1 << prio; htb_remove_class_from_row() 403 int prio = ffz(~m); htb_activate_prios() local 404 m &= ~(1 << prio); htb_activate_prios() 406 if (p->un.inner.clprio[prio].feed.rb_node) htb_activate_prios() 410 mask &= ~(1 << prio); htb_activate_prios() 412 htb_add_to_id_tree(&p->un.inner.clprio[prio].feed, cl, prio); htb_activate_prios() 439 int prio = ffz(~m); htb_deactivate_prios() local 440 m &= ~(1 << prio); htb_deactivate_prios() 442 if (p->un.inner.clprio[prio].ptr == cl->node + prio) { htb_deactivate_prios() 447 p->un.inner.clprio[prio].last_ptr_id = cl->common.classid; htb_deactivate_prios() 448 p->un.inner.clprio[prio].ptr = NULL; htb_deactivate_prios() 451 htb_safe_rb_erase(cl->node + prio, htb_deactivate_prios() 452 &p->un.inner.clprio[prio].feed); htb_deactivate_prios() 454 if (!p->un.inner.clprio[prio].feed.rb_node) htb_deactivate_prios() 455 mask |= 1 << prio; htb_deactivate_prios() 542 * for the prio. It can be called on already active leaf safely. 550 cl->prio_activity = 1 << cl->prio; htb_activate() 553 q->drops + cl->prio); htb_activate() 727 /* Returns class->node+prio from id-tree where classe's id is >= id. NULL 730 static struct rb_node *htb_id_find_next_upper(int prio, struct rb_node *n, htb_id_find_next_upper() argument 736 rb_entry(n, struct htb_class, node[prio]); htb_id_find_next_upper() 755 static struct htb_class *htb_lookup_leaf(struct htb_prio *hprio, const int prio) htb_lookup_leaf() argument 775 htb_id_find_next_upper(prio, sp->root, *sp->pid); htb_lookup_leaf() 796 cl = rb_entry(*sp->pptr, struct htb_class, node[prio]); htb_lookup_leaf() 799 clp = &cl->un.inner.clprio[prio]; htb_lookup_leaf() 810 * you are sure that there is active class at prio/level 812 static struct sk_buff *htb_dequeue_tree(struct htb_sched *q, const int prio, htb_dequeue_tree() argument 818 struct htb_prio *hprio = &hlevel->hprio[prio]; htb_dequeue_tree() 821 start = cl = htb_lookup_leaf(hprio, prio); htb_dequeue_tree() 838 if ((q->row_mask[level] & (1 << prio)) == 0) htb_dequeue_tree() 841 next = htb_lookup_leaf(hprio, prio); htb_dequeue_tree() 854 htb_next_rb_node(level ? &cl->parent->un.inner.clprio[prio].ptr: htb_dequeue_tree() 855 &q->hlevel[0].hprio[prio].ptr); htb_dequeue_tree() 856 cl = htb_lookup_leaf(hprio, prio); htb_dequeue_tree() 865 htb_next_rb_node(level ? &cl->parent->un.inner.clprio[prio].ptr : htb_dequeue_tree() 866 &q->hlevel[0].hprio[prio].ptr); htb_dequeue_tree() 886 /* try to dequeue direct packets as high prio (!) to minimize cpu work */ htb_dequeue() 920 int prio = ffz(m); htb_dequeue() local 922 m |= 1 << prio; htb_dequeue() 923 skb = htb_dequeue_tree(q, prio, level); htb_dequeue() 944 /* try to drop from each class (by prio) until one succeed */ htb_drop() 948 int prio; htb_drop() local 950 for (prio = TC_HTB_NUMPRIO - 1; prio >= 0; prio--) { htb_drop() 952 list_for_each(p, q->drops + prio) { htb_drop() 1119 opt.prio = cl->prio; htb_dump_class() 1374 int prio; htb_change_class() local 1421 for (prio = 0; prio < TC_HTB_NUMPRIO; prio++) htb_change_class() 1422 RB_CLEAR_NODE(&cl->node[prio]); htb_change_class() 1509 if ((cl->prio = hopt->prio) >= TC_HTB_NUMPRIO) htb_change_class() 1510 cl->prio = TC_HTB_NUMPRIO - 1; htb_change_class() 269 htb_add_to_id_tree(struct rb_root *root, struct htb_class *cl, int prio) htb_add_to_id_tree() argument
|
H A D | sch_gred.c | 41 u8 prio; /* the prio of this vq */ member in struct:gred_sched_data 106 if (table->tab[n] && table->tab[n]->prio == q->prio) gred_wred_mode_check() 184 if (t->tab[i] && t->tab[i]->prio < q->prio && gred_enqueue() 384 struct tc_gred_qopt *ctl, int prio, gred_change_vq() 399 q->prio = prio; gred_change_vq() 424 int err, prio = GRED_DEF_PRIO; gred_change() local 453 if (ctl->prio == 0) { gred_change() 457 def_prio = table->tab[table->def]->prio; gred_change() 459 printk(KERN_DEBUG "GRED: DP %u does not have a prio " gred_change() 462 prio = def_prio; gred_change() 464 prio = ctl->prio; gred_change() 470 err = gred_change_vq(sch, ctl->DP, ctl, prio, stab, max_P, &prealloc); gred_change() 557 opt.prio = q->prio; gred_dump() 383 gred_change_vq(struct Qdisc *sch, int dp, struct tc_gred_qopt *ctl, int prio, u8 *stab, u32 max_P, struct gred_sched_data **prealloc) gred_change_vq() argument
|
H A D | sch_cbq.c | 223 u32 prio = skb->priority; cbq_classify() local 230 if (TC_H_MAJ(prio ^ sch->handle) == 0 && cbq_classify() 231 (cl = cbq_class_lookup(q, prio)) != NULL) cbq_classify() 287 if (TC_H_MAJ(prio) == 0 && cbq_classify() 288 !(cl = head->defaults[prio & TC_PRIO_MAX]) && cbq_classify() 304 int prio = cl->cpriority; cbq_activate_class() local 307 cl_tail = q->active[prio]; cbq_activate_class() 308 q->active[prio] = cl; cbq_activate_class() 315 q->activemask |= (1<<prio); cbq_activate_class() 328 int prio = this->cpriority; cbq_deactivate_class() local 330 struct cbq_class *cl_prev = q->active[prio]; cbq_deactivate_class() 338 if (cl == q->active[prio]) { cbq_deactivate_class() 339 q->active[prio] = cl_prev; cbq_deactivate_class() 340 if (cl == q->active[prio]) { cbq_deactivate_class() 341 q->active[prio] = NULL; cbq_deactivate_class() 342 q->activemask &= ~(1<<prio); cbq_deactivate_class() 348 } while ((cl_prev = cl) != q->active[prio]); cbq_deactivate_class() 552 static psched_tdiff_t cbq_undelay_prio(struct cbq_sched_data *q, int prio, cbq_undelay_prio() argument 556 struct cbq_class *cl_prev = q->active[prio]; cbq_undelay_prio() 571 if (cl == q->active[prio]) { cbq_undelay_prio() 572 q->active[prio] = cl_prev; cbq_undelay_prio() 573 if (cl == q->active[prio]) { cbq_undelay_prio() 574 q->active[prio] = NULL; cbq_undelay_prio() 582 } while ((cl_prev = cl) != q->active[prio]); cbq_undelay_prio() 602 int prio = ffz(~pmask); cbq_undelay() local 605 pmask &= ~(1<<prio); cbq_undelay() 607 tmp = cbq_undelay_prio(q, prio, now); cbq_undelay() 609 q->pmask |= 1<<prio; cbq_undelay() 822 cbq_dequeue_prio(struct Qdisc *sch, int prio) cbq_dequeue_prio() argument 829 cl_tail = cl_prev = q->active[prio]; cbq_dequeue_prio() 876 q->active[prio] = cl; cbq_dequeue_prio() 883 if (cl->q->q.qlen == 0 || prio != cl->cpriority) { cbq_dequeue_prio() 898 q->active[prio] = NULL; cbq_dequeue_prio() 899 q->activemask &= ~(1<<prio); cbq_dequeue_prio() 905 q->active[prio] = cl_tail; cbq_dequeue_prio() 919 q->active[prio] = cl_prev; cbq_dequeue_prio() 933 int prio = ffz(~activemask); cbq_dequeue_1() local 934 activemask &= ~(1<<prio); cbq_dequeue_1() 935 skb = cbq_dequeue_prio(sch, prio); cbq_dequeue_1() 1028 static void cbq_normalize_quanta(struct cbq_sched_data *q, int prio) cbq_normalize_quanta() argument 1033 if (q->quanta[prio] == 0) cbq_normalize_quanta() 1041 if (cl->priority == prio) { cbq_normalize_quanta() 1042 cl->quantum = (cl->weight*cl->allot*q->nclasses[prio])/ cbq_normalize_quanta() 1043 q->quanta[prio]; cbq_normalize_quanta() 1173 int prio; cbq_drop() local 1176 for (prio = TC_CBQ_MAXPRIO; prio >= 0; prio--) { cbq_drop() 1177 cl_head = q->active[prio]; cbq_drop() 1199 int prio; cbq_reset() local 1211 for (prio = 0; prio <= TC_CBQ_MAXPRIO; prio++) cbq_reset() 1212 q->active[prio] = NULL; cbq_reset()
|
H A D | cls_api.c | 107 /* Select new prio value from the range, managed by kernel. */ 114 first = tp->prio - 1; tcf_auto_prio() 127 u32 prio; tc_ctl_tfilter() local 153 prio = TC_H_MAJ(t->tcm_info); tc_ctl_tfilter() 154 nprio = prio; tc_ctl_tfilter() 158 if (prio == 0) { tc_ctl_tfilter() 163 prio = TC_H_MAKE(0x80000000U, 0U); tc_ctl_tfilter() 208 if (tp->prio >= prio) { tc_ctl_tfilter() 209 if (tp->prio == prio) { tc_ctl_tfilter() 267 tp->prio = nprio ? : tc_ctl_tfilter() 370 tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); tcf_fill_node() 471 TC_H_MAJ(tcm->tcm_info) != tp->prio) tc_dump_tfilter()
|
H A D | sch_generic.c | 451 generic prio+fifo combination. 530 int prio; pfifo_fast_reset() local 533 for (prio = 0; prio < PFIFO_FAST_BANDS; prio++) pfifo_fast_reset() 534 __qdisc_reset_queue(qdisc, band2list(priv, prio)); pfifo_fast_reset() 556 int prio; pfifo_fast_init() local 559 for (prio = 0; prio < PFIFO_FAST_BANDS; prio++) pfifo_fast_init() 560 __skb_queue_head_init(band2list(priv, prio)); pfifo_fast_init()
|
H A D | cls_u32.c | 77 u32 prio; member in struct:tc_u_hnode 334 root_ht->prio = tp->prio; u32_init() 794 ht->prio = tp->prio; u32_change() 910 if (ht->prio != tp->prio) u32_walk()
|
H A D | sch_fq.c | 29 * - Use a special fifo for high prio packets 90 struct fq_flow internal; /* for non classified or high prio packets */
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | ipic.c | 39 .prio = IPIC_SIPRR_C, 46 .prio = IPIC_SIPRR_C, 53 .prio = IPIC_SIPRR_C, 60 .prio = IPIC_SIPRR_C, 67 .prio = IPIC_SIPRR_C, 74 .prio = IPIC_SIPRR_C, 81 .prio = IPIC_SIPRR_C, 88 .prio = IPIC_SIPRR_C, 95 .prio = IPIC_SIPRR_D, 102 .prio = IPIC_SIPRR_D, 109 .prio = IPIC_SIPRR_D, 116 .prio = IPIC_SIPRR_D, 123 .prio = IPIC_SIPRR_D, 130 .prio = IPIC_SIPRR_D, 137 .prio = IPIC_SIPRR_D, 144 .prio = IPIC_SIPRR_D, 152 .prio = IPIC_SMPRR_A, 160 .prio = IPIC_SMPRR_A, 168 .prio = IPIC_SMPRR_A, 176 .prio = IPIC_SMPRR_B, 184 .prio = IPIC_SMPRR_B, 192 .prio = IPIC_SMPRR_B, 200 .prio = IPIC_SMPRR_B, 207 .prio = IPIC_SIPRR_A, 214 .prio = IPIC_SIPRR_A, 221 .prio = IPIC_SIPRR_A, 228 .prio = IPIC_SIPRR_A, 235 .prio = IPIC_SIPRR_A, 242 .prio = IPIC_SIPRR_A, 249 .prio = IPIC_SIPRR_A, 256 .prio = IPIC_SIPRR_A, 263 .prio = IPIC_SIPRR_B, 270 .prio = IPIC_SIPRR_B, 277 .prio = IPIC_SIPRR_B, 284 .prio = IPIC_SIPRR_B, 291 .prio = IPIC_SIPRR_B, 298 .prio = IPIC_SIPRR_B, 305 .prio = IPIC_SIPRR_B, 312 .prio = IPIC_SIPRR_B, 319 .prio = IPIC_SMPRR_A, 326 .prio = IPIC_SMPRR_A, 333 .prio = IPIC_SMPRR_A, 340 .prio = IPIC_SMPRR_A, 347 .prio = IPIC_SMPRR_A, 354 .prio = IPIC_SMPRR_B, 361 .prio = IPIC_SMPRR_B, 368 .prio = IPIC_SMPRR_B, 375 .prio = IPIC_SMPRR_B, 382 .prio = 0, 388 .prio = 0, 394 .prio = 0, 400 .prio = 0, 406 .prio = 0, 412 .prio = 0, 418 .prio = 0, 424 .prio = 0, 430 .prio = 0, 436 .prio = 0, 442 .prio = 0, 448 .prio = 0, 454 .prio = 0, 460 .prio = 0, 466 .prio = 0, 472 .prio = 0, 478 .prio = 0, 484 .prio = 0, 490 .prio = 0, 496 .prio = 0, 502 .prio = 0, 781 if (ipic_info[src].prio == 0) ipic_set_priority() 784 temp = ipic_read(ipic->regs, ipic_info[src].prio); ipic_set_priority() 794 ipic_write(ipic->regs, ipic_info[src].prio, temp); ipic_set_priority()
|
H A D | ehv_pic.c | 74 unsigned int config, prio, cpu_dest; ehv_pic_set_affinity() local 79 ev_int_get_config(src, &config, &prio, &cpu_dest); ehv_pic_set_affinity() 80 ev_int_set_config(src, config, prio, cpuid); ehv_pic_set_affinity() 114 unsigned int vecpri, vold, vnew, prio, cpu_dest; ehv_pic_set_irq_type() local 125 ev_int_get_config(src, &vold, &prio, &cpu_dest); ehv_pic_set_irq_type() 136 prio = 8; ehv_pic_set_irq_type() 138 ev_int_set_config(src, vecpri, prio, cpu_dest); ehv_pic_set_irq_type()
|
H A D | ipic.h | 53 u8 prio; /* priority register offset from base */ member in struct:ipic_info
|
H A D | mpic.c | 1747 void mpic_cpu_set_priority(int prio) mpic_cpu_set_priority() argument 1751 prio &= MPIC_CPU_TASKPRI_MASK; mpic_cpu_set_priority() 1752 mpic_cpu_write(MPIC_INFO(CPU_CURRENT_TASK_PRI), prio); mpic_cpu_set_priority() local
|
/linux-4.1.27/lib/ |
H A D | plist.c | 89 if (node->prio < iter->prio) { plist_add() 99 if (!prev || prev->prio != node->prio) plist_add() 137 * plist_requeue - Requeue @node at end of same-prio entries. 160 if (node->prio != iter->prio) plist_requeue() 166 if (node->prio != iter->prio) { plist_for_each_continue() 198 if (node_pos->prio == prio_pos->prio) { plist_test_check() 203 BUG_ON(prio_pos->prio > node_pos->prio); plist_test_check() 217 BUG_ON(node->prio == plist_next(node)->prio); plist_test_requeue() 235 test_node[i].prio = r % 99; plist_test()
|
/linux-4.1.27/include/trace/events/ |
H A D | sched.h | 65 __field( int, prio ) 73 __entry->prio = p->prio; 78 TP_printk("comm=%s pid=%d prio=%d success=%d target_cpu=%03d", 79 __entry->comm, __entry->pid, __entry->prio, 137 __entry->prev_prio = prev->prio; 141 __entry->next_prio = next->prio; 167 __field( int, prio ) 175 __entry->prio = p->prio; 180 TP_printk("comm=%s pid=%d prio=%d orig_cpu=%d dest_cpu=%d", 181 __entry->comm, __entry->pid, __entry->prio, 194 __field( int, prio ) 200 __entry->prio = p->prio; 203 TP_printk("comm=%s pid=%d prio=%d", 204 __entry->comm, __entry->pid, __entry->prio) 241 __field( int, prio ) 247 __entry->prio = current->prio; 250 TP_printk("comm=%s pid=%d prio=%d", 251 __entry->comm, __entry->pid, __entry->prio) 421 __entry->oldprio = tsk->prio;
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | dma.c | 27 puv3_dma_prio prio; member in struct:dma_channel 35 int puv3_request_dma(char *name, puv3_dma_prio prio, puv3_request_dma() argument 52 if ((dma_channels[i].prio == prio) && puv3_request_dma() 58 /* if requested prio group is full, try a hier priority */ puv3_request_dma() 59 } while (!found && prio--); puv3_request_dma() 163 dma_channels[i].prio = min((i & 0x7) >> 1, DMA_PRIO_LOW); puv3_init_dma()
|
/linux-4.1.27/block/ |
H A D | ioprio.c | 8 * those. The prio argument is a composite of prio class and prio data, where 10 * classes have 8 distinct prio levels, with 0 being the highest prio and 7 13 * IOW, setting BE scheduling class with prio 2 is done ala: 15 * unsigned int prio = (IOPRIO_CLASS_BE << IOPRIO_CLASS_SHIFT) | 2; 17 * ioprio_set(PRIO_PROCESS, pid, prio); 75 /* fall through, rt has prio field too */ SYSCALL_DEFINE3()
|
H A D | cfq-iosched.c | 108 /* prio tree member */ 110 /* prio tree root we belong to, if any */ 137 /* io prio of this group */ 269 * create the array for each prio class but at run time it is used 921 unsigned short prio) cfq_prio_slice() 925 WARN_ON(prio >= IOPRIO_BE_NR); cfq_prio_slice() 927 return base_slice + (base_slice/CFQ_SLICE_SCALE * (4 - prio)); cfq_prio_slice() 2233 * expire it later. Right now just remove it from prio tree cfq_del_rq_rb() 3463 printk(KERN_ERR "cfq: bad prio %x\n", ioprio_class); cfq_init_prio_data() 3466 * no prio set, inherit CPU scheduling settings cfq_init_prio_data() 3487 * keep track of original prio settings in case we have to temporarily cfq_init_prio_data() 3750 * Don't idle for async or idle io prio class cfq_update_idle_window() 920 cfq_prio_slice(struct cfq_data *cfqd, bool sync, unsigned short prio) cfq_prio_slice() argument
|
/linux-4.1.27/drivers/media/v4l2-core/ |
H A D | v4l2-fh.c | 43 * prio ioctls here. v4l2_fh_init() 47 fh->prio = V4L2_PRIORITY_UNSET; v4l2_fh_init() 59 v4l2_prio_open(fh->vdev->prio, &fh->prio); v4l2_fh_add() 87 v4l2_prio_close(fh->vdev->prio, fh->prio); v4l2_fh_del()
|
H A D | v4l2-dev.c | 236 static inline bool prio_is_valid(enum v4l2_priority prio) prio_is_valid() argument 238 return prio == V4L2_PRIORITY_BACKGROUND || prio_is_valid() 239 prio == V4L2_PRIORITY_INTERACTIVE || prio_is_valid() 240 prio == V4L2_PRIORITY_RECORD; prio_is_valid() 804 /* If the prio state pointer is NULL, then use the v4l2_device __video_register_device() 805 prio state. */ __video_register_device() 806 if (vdev->prio == NULL) __video_register_device() 807 vdev->prio = &vdev->v4l2_dev->prio; __video_register_device()
|
H A D | v4l2-device.c | 40 v4l2_prio_init(&v4l2_dev->prio); v4l2_device_register()
|
H A D | v4l2-ioctl.c | 1052 *p = v4l2_prio_max(vfd->prio); v4l_g_priority() 1067 return v4l2_prio_change(vfd->prio, &vfh->prio, *p); v4l_s_priority() 2362 ret = v4l2_prio_check(vfd->prio, vfh->prio); __video_do_ioctl() 2386 vfh ? v4l2_prio_check(vfd->prio, vfh->prio) >= 0 : 0, __video_do_ioctl()
|
/linux-4.1.27/arch/c6x/kernel/ |
H A D | irq.c | 38 unsigned int prio = data->hwirq; mask_core_irq() local 41 and_creg(IER, ~(1 << prio)); mask_core_irq() 47 unsigned int prio = data->hwirq; unmask_core_irq() local 50 or_creg(IER, 1 << prio); unmask_core_irq() 62 asmlinkage void c6x_do_IRQ(unsigned int prio, struct pt_regs *regs) c6x_do_IRQ() argument 68 generic_handle_irq(prio_to_virq[prio]); c6x_do_IRQ()
|
/linux-4.1.27/net/bridge/ |
H A D | br_stp_bpdu.c | 90 buf[5] = bpdu->root.prio[0]; br_send_config_bpdu() 91 buf[6] = bpdu->root.prio[1]; br_send_config_bpdu() 102 buf[17] = bpdu->bridge_id.prio[0]; br_send_config_bpdu() 103 buf[18] = bpdu->bridge_id.prio[1]; br_send_config_bpdu() 195 bpdu.root.prio[0] = buf[2]; br_stp_rcv() 196 bpdu.root.prio[1] = buf[3]; br_stp_rcv() 208 bpdu.bridge_id.prio[0] = buf[14]; br_stp_rcv() 209 bpdu.bridge_id.prio[1] = buf[15]; br_stp_rcv()
|
H A D | br_stp_if.c | 261 p->designated_bridge.prio[0] = (newprio >> 8) & 0xFF; br_stp_set_bridge_priority() 262 p->designated_bridge.prio[1] = newprio & 0xFF; br_stp_set_bridge_priority() 267 br->bridge_id.prio[0] = (newprio >> 8) & 0xFF; br_stp_set_bridge_priority() 268 br->bridge_id.prio[1] = newprio & 0xFF; br_stp_set_bridge_priority() 316 id->prio[0], id->prio[1], br_show_bridge_id()
|
H A D | br_stp_timer.c | 60 id->prio[0], id->prio[1], &id->addr); br_message_age_timer_expired()
|
H A D | br_device.c | 389 br->bridge_id.prio[0] = 0x80; br_dev_setup() 390 br->bridge_id.prio[1] = 0x00; br_dev_setup()
|
H A D | br_netlink.c | 820 u16 priority = (br->bridge_id.prio[0] << 8) | br->bridge_id.prio[1]; br_fill_info()
|
H A D | br_sysfs_br.c | 188 (br->bridge_id.prio[0] << 8) | br->bridge_id.prio[1]); priority_show()
|
/linux-4.1.27/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_vlan.h | 14 __u8 prio; /* VLAN User Priority {0-7} */ member in struct:ebt_vlan_info
|
/linux-4.1.27/net/core/ |
H A D | netprio_cgroup.c | 103 * @prio: prio to set 105 * Set netprio to @prio on @css-@dev pair. Should be called under rtnl 106 * lock and may fail under memory pressure for non-zero @prio. 109 struct net_device *dev, u32 prio) netprio_set_prio() 117 if (!prio && (!map || map->priomap_len <= id)) netprio_set_prio() 125 map->priomap[id] = prio; netprio_set_prio() 156 u32 prio = netprio_prio(parent_css, dev); cgrp_css_online() local 158 ret = netprio_set_prio(css, dev, prio); cgrp_css_online() 193 u32 prio; write_priomap() local 196 if (sscanf(buf, "%"__stringify(IFNAMSIZ)"s %u", devname, &prio) != 2) write_priomap() 205 ret = netprio_set_prio(of_css(of), dev, prio); write_priomap() 108 netprio_set_prio(struct cgroup_subsys_state *css, struct net_device *dev, u32 prio) netprio_set_prio() argument
|
/linux-4.1.27/net/bridge/netfilter/ |
H A D | ebt_vlan.c | 44 unsigned char prio; /* user_priority, given from frame TCI */ ebt_vlan_mt() local 71 prio = (TCI >> 13) & 0x7; ebt_vlan_mt() 79 EXIT_ON_MISMATCH(prio, EBT_VLAN_PRIO); ebt_vlan_mt() 131 * So we just drop the prio flag. */ ebt_vlan_mt_check() 138 if ((unsigned char) info->prio > 7) { ebt_vlan_mt_check() 139 pr_debug("prio %d is out of range (0-7)\n", ebt_vlan_mt_check() 140 info->prio); ebt_vlan_mt_check()
|
/linux-4.1.27/arch/powerpc/kvm/ |
H A D | e500_emulate.c | 36 int prio = -1; dbell2prio() local 40 prio = BOOKE_IRQPRIO_DBELL; dbell2prio() 43 prio = BOOKE_IRQPRIO_DBELL_CRIT; dbell2prio() 49 return prio; dbell2prio() 55 int prio = dbell2prio(param); kvmppc_e500_emul_msgclr() local 57 if (prio < 0) kvmppc_e500_emul_msgclr() 60 clear_bit(prio, &vcpu->arch.pending_exceptions); kvmppc_e500_emul_msgclr() 67 int prio = dbell2prio(rb); kvmppc_e500_emul_msgsnd() local 72 if (prio < 0) kvmppc_e500_emul_msgsnd() 78 set_bit(prio, &cvcpu->arch.pending_exceptions); kvmppc_e500_emul_msgsnd()
|
H A D | book3s.c | 134 unsigned int prio; kvmppc_book3s_vec2irqprio() local 137 case 0x100: prio = BOOK3S_IRQPRIO_SYSTEM_RESET; break; kvmppc_book3s_vec2irqprio() 138 case 0x200: prio = BOOK3S_IRQPRIO_MACHINE_CHECK; break; kvmppc_book3s_vec2irqprio() 139 case 0x300: prio = BOOK3S_IRQPRIO_DATA_STORAGE; break; kvmppc_book3s_vec2irqprio() 140 case 0x380: prio = BOOK3S_IRQPRIO_DATA_SEGMENT; break; kvmppc_book3s_vec2irqprio() 141 case 0x400: prio = BOOK3S_IRQPRIO_INST_STORAGE; break; kvmppc_book3s_vec2irqprio() 142 case 0x480: prio = BOOK3S_IRQPRIO_INST_SEGMENT; break; kvmppc_book3s_vec2irqprio() 143 case 0x500: prio = BOOK3S_IRQPRIO_EXTERNAL; break; kvmppc_book3s_vec2irqprio() 144 case 0x501: prio = BOOK3S_IRQPRIO_EXTERNAL_LEVEL; break; kvmppc_book3s_vec2irqprio() 145 case 0x600: prio = BOOK3S_IRQPRIO_ALIGNMENT; break; kvmppc_book3s_vec2irqprio() 146 case 0x700: prio = BOOK3S_IRQPRIO_PROGRAM; break; kvmppc_book3s_vec2irqprio() 147 case 0x800: prio = BOOK3S_IRQPRIO_FP_UNAVAIL; break; kvmppc_book3s_vec2irqprio() 148 case 0x900: prio = BOOK3S_IRQPRIO_DECREMENTER; break; kvmppc_book3s_vec2irqprio() 149 case 0xc00: prio = BOOK3S_IRQPRIO_SYSCALL; break; kvmppc_book3s_vec2irqprio() 150 case 0xd00: prio = BOOK3S_IRQPRIO_DEBUG; break; kvmppc_book3s_vec2irqprio() 151 case 0xf20: prio = BOOK3S_IRQPRIO_ALTIVEC; break; kvmppc_book3s_vec2irqprio() 152 case 0xf40: prio = BOOK3S_IRQPRIO_VSX; break; kvmppc_book3s_vec2irqprio() 153 case 0xf60: prio = BOOK3S_IRQPRIO_FAC_UNAVAIL; break; kvmppc_book3s_vec2irqprio() 154 default: prio = BOOK3S_IRQPRIO_MAX; break; kvmppc_book3s_vec2irqprio() 157 return prio; kvmppc_book3s_vec2irqprio()
|
H A D | book3s_xics.c | 124 XICS_DBG("resend %#x prio %#x\n", state->number, ics_check_resend() 183 XICS_DBG("set_xive %#x server %#x prio %#x MP:%d RS:%d\n", kvmppc_xics_set_xive() 648 * prio(pending_interrupt) < mfrr && kvmppc_h_ipi() 649 * prio(pending_interrupt) < cppr kvmppc_h_ipi() 958 seq_printf(m, "irq 0x%06x: server %#x prio %#x save prio %#x asserted %d resend %d masked pending %d\n", 1158 u64 val, prio; xics_get_source() local 1171 prio = irqp->priority; xics_get_source() 1172 if (prio == MASKED) { xics_get_source() 1174 prio = irqp->saved_priority; xics_get_source() 1176 val |= prio << KVM_XICS_PRIORITY_SHIFT; xics_get_source() 1199 u8 prio; xics_set_source() local 1217 prio = val >> KVM_XICS_PRIORITY_SHIFT; xics_set_source() 1218 if (prio != MASKED && xics_set_source() 1225 irqp->saved_priority = prio; xics_set_source() 1227 prio = MASKED; xics_set_source() 1228 irqp->priority = prio; xics_set_source()
|
H A D | trace_booke.h | 211 TP_printk("vcpu=%x prio=%s pending=%lx",
|
H A D | book3s_hv_rm_xics.c | 466 * prio(pending_interrupt) < mfrr && kvmppc_rm_h_ipi() 467 * prio(pending_interrupt) < cppr kvmppc_rm_h_ipi()
|
H A D | booke.c | 315 unsigned int prio = BOOKE_IRQPRIO_EXTERNAL; kvmppc_core_queue_external() local 318 prio = BOOKE_IRQPRIO_EXTERNAL_LEVEL; kvmppc_core_queue_external() 320 kvmppc_booke_queue_irqprio(vcpu, prio); kvmppc_core_queue_external()
|
/linux-4.1.27/kernel/sched/ |
H A D | cpupri.c | 36 /* Convert between a 140 based task->prio, and our 102 based cpupri */ convert_prio() 37 static int convert_prio(int prio) convert_prio() argument 41 if (prio == CPUPRI_INVALID) convert_prio() 43 else if (prio == MAX_PRIO) convert_prio() 45 else if (prio >= MAX_RT_PRIO) convert_prio() 48 cpupri = MAX_RT_PRIO - prio + 1; convert_prio() 72 int task_pri = convert_prio(p->prio); cpupri_find() 93 * memory barriers, that can only happen when the highest prio cpupri_find() 178 * of the new prio is seen before we decrement the cpupri_set() 179 * old prio. This makes sure that the loop sees cpupri_set()
|
H A D | rt.c | 263 /* Try to pull RT tasks here if we lower this rq's prio */ need_pull_rt_task() 264 return rq->rt.highest_prio.curr > prev->prio; need_pull_rt_task() 365 plist_node_init(&p->pushable_tasks, p->prio); enqueue_pushable_task() 368 /* Update the highest prio pushable task */ enqueue_pushable_task() 369 if (p->prio < rq->rt.highest_prio.next) enqueue_pushable_task() 370 rq->rt.highest_prio.next = p->prio; enqueue_pushable_task() 377 /* Update the new highest prio pushable task */ dequeue_pushable_task() 381 rq->rt.highest_prio.next = p->prio; dequeue_pushable_task() 491 if (rt_rq->highest_prio.curr < curr->prio) sched_rt_rq_enqueue() 523 return p->prio != p->normal_prio; rt_se_boosted() 886 return rt_task_of(rt_se)->prio; rt_se_prio() 1011 inc_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) inc_rt_prio_smp() argument 1022 if (rq->online && prio < prev_prio) inc_rt_prio_smp() 1023 cpupri_set(&rq->rd->cpupri, rq->cpu, prio); inc_rt_prio_smp() 1027 dec_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) dec_rt_prio_smp() argument 1045 void inc_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) {} inc_rt_prio_smp() argument 1047 void dec_rt_prio_smp(struct rt_rq *rt_rq, int prio, int prev_prio) {} dec_rt_prio_smp() argument 1053 inc_rt_prio(struct rt_rq *rt_rq, int prio) inc_rt_prio() argument 1057 if (prio < prev_prio) inc_rt_prio() 1058 rt_rq->highest_prio.curr = prio; inc_rt_prio() 1060 inc_rt_prio_smp(rt_rq, prio, prev_prio); inc_rt_prio() 1064 dec_rt_prio(struct rt_rq *rt_rq, int prio) dec_rt_prio() argument 1070 WARN_ON(prio < prev_prio); dec_rt_prio() 1076 if (prio == prev_prio) { dec_rt_prio() 1086 dec_rt_prio_smp(rt_rq, prio, prev_prio); dec_rt_prio() 1091 static inline void inc_rt_prio(struct rt_rq *rt_rq, int prio) {} dec_rt_prio() argument 1092 static inline void dec_rt_prio(struct rt_rq *rt_rq, int prio) {} dec_rt_prio() argument 1144 int prio = rt_se_prio(rt_se); inc_rt_tasks() local 1146 WARN_ON(!rt_prio(prio)); inc_rt_tasks() 1149 inc_rt_prio(rt_rq, prio); inc_rt_tasks() 1204 * Because the prio of an upper entry depends on the lower 1336 * and the lower prio task should be moved to another CPU. select_task_rq_rt() 1337 * Even though this will probably make the lower prio task select_task_rq_rt() 1342 * For equal prio tasks, we just let the scheduler sort it out. select_task_rq_rt() 1352 curr->prio <= p->prio)) { select_task_rq_rt() 1360 p->prio < cpu_rq(target)->rt.highest_prio.curr) select_task_rq_rt() 1403 if (p->prio < rq->curr->prio) { check_preempt_curr_rt() 1421 if (p->prio == rq->curr->prio && !test_tsk_need_resched(rq->curr)) check_preempt_curr_rt() 1637 if (lowest_rq->rt.highest_prio.curr <= task->prio) { find_lock_lowest_rq() 1647 /* if the prio of this runqueue changed, try again */ find_lock_lowest_rq() 1668 if (lowest_rq->rt.highest_prio.curr > task->prio) find_lock_lowest_rq() 1728 if (unlikely(next_task->prio < rq->curr->prio)) { push_rt_task() 2007 if (p && (p->prio < this_rq->rt.highest_prio.curr)) { pull_rt_task() 2019 if (p->prio < src_rq->curr->prio) pull_rt_task() 2029 * case there's an even higher prio task pull_rt_task() 2058 rq->curr->prio <= p->prio)) task_woken_rt() 2177 if (check_resched && p->prio < rq->curr->prio) switched_to_rt() 2198 if (oldprio < p->prio) prio_changed_rt() 2206 if (p->prio > rq->rt.highest_prio.curr && rq->curr == p) prio_changed_rt() 2209 /* For UP simply resched on drop of prio */ prio_changed_rt() 2210 if (oldprio < p->prio) prio_changed_rt() 2219 if (p->prio < rq->curr->prio) prio_changed_rt()
|
H A D | debug.c | 132 p->prio); print_task() 158 " task PID tree-key switches prio" print_rq() 650 P(prio); proc_sched_show_task()
|
H A D | core.c | 789 int prio = p->static_prio - MAX_RT_PRIO; set_load_weight() local 801 load->weight = scale_load(prio_to_weight[prio]); set_load_weight() 802 load->inv_weight = prio_to_wmult[prio]; set_load_weight() 920 * __normal_prio - return the priority that is based on the static prio 936 int prio; normal_prio() local 939 prio = MAX_DL_PRIO-1; normal_prio() 941 prio = MAX_RT_PRIO-1 - p->rt_priority; normal_prio() 943 prio = __normal_prio(p); normal_prio() 944 return prio; normal_prio() 962 if (!rt_prio(p->prio)) effective_prio() 964 return p->prio; effective_prio() 990 } else if (oldprio != p->prio || dl_task(p)) check_class_changed() 1908 p->prio = current->normal_prio; sched_fork() 1921 p->prio = p->normal_prio = __normal_prio(p); sched_fork() 1931 if (dl_prio(p->prio)) { sched_fork() 1934 } else if (rt_prio(p->prio)) { sched_fork() 2661 * Pick up the highest-prio task: 2990 * @prio: prio value (kernel-internal form) 2998 void rt_mutex_setprio(struct task_struct *p, int prio) rt_mutex_setprio() argument 3004 BUG_ON(prio > MAX_PRIO); rt_mutex_setprio() 3026 trace_sched_pi_setprio(p, prio); rt_mutex_setprio() 3027 oldprio = p->prio; rt_mutex_setprio() 3045 if (dl_prio(prio)) { rt_mutex_setprio() 3055 } else if (rt_prio(prio)) { rt_mutex_setprio() 3058 if (oldprio < prio) rt_mutex_setprio() 3069 p->prio = prio; rt_mutex_setprio() 3111 old_prio = p->prio; set_user_nice() 3112 p->prio = effective_prio(p); set_user_nice() 3113 delta = p->prio - old_prio; set_user_nice() 3188 return p->prio - MAX_RT_PRIO; task_prio() 3319 p->prio = rt_mutex_get_effective_prio(p, normal_prio(p)); __setscheduler() 3321 p->prio = normal_prio(p); __setscheduler() 3323 if (dl_prio(p->prio)) __setscheduler() 3325 else if (rt_prio(p->prio)) __setscheduler() 3600 oldprio = p->prio; __sched_setscheduler() 3633 enqueue_task(rq, p, oldprio <= p->prio ? ENQUEUE_HEAD : 0); __sched_setscheduler() 4991 .prio = MAX_PRIO + 1, 7353 int old_prio = p->prio; normalize_task()
|
H A D | deadline.c | 731 if (next && dl_prio(next->prio)) next_deadline() 797 int prio = dl_task_of(dl_se)->prio; inc_dl_tasks() local 800 WARN_ON(!dl_prio(prio)); inc_dl_tasks() 811 int prio = dl_task_of(dl_se)->prio; dec_dl_tasks() local 813 WARN_ON(!dl_prio(prio)); dec_dl_tasks() 1754 * or lowering its prio, so... prio_changed_dl()
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | sys_ia64.c | 70 long prio; ia64_getpriority() local 72 prio = sys_getpriority(which, who); ia64_getpriority() 73 if (prio >= 0) { ia64_getpriority() 75 prio = 20 - prio; ia64_getpriority() 77 return prio; ia64_getpriority()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | tracepoint.h | 97 __field(u8, prio) 104 __entry->prio = *((u8 *)data + 1); 110 TP_printk("bcdc: prio=%d siglen=%d", __entry->prio, __entry->siglen)
|
H A D | flowring.h | 61 u8 prio, u8 ifidx); 63 u8 prio, u8 ifidx);
|
H A D | flowring.c | 68 u8 prio, u8 ifidx) brcmf_flowring_lookup() 78 fifo = brcmf_flowring_prio2fifo[prio]; brcmf_flowring_lookup() 110 u8 prio, u8 ifidx) brcmf_flowring_create() 121 fifo = brcmf_flowring_prio2fifo[prio]; brcmf_flowring_create() 67 brcmf_flowring_lookup(struct brcmf_flowring *flow, u8 da[ETH_ALEN], u8 prio, u8 ifidx) brcmf_flowring_lookup() argument 109 brcmf_flowring_create(struct brcmf_flowring *flow, u8 da[ETH_ALEN], u8 prio, u8 ifidx) brcmf_flowring_create() argument
|
H A D | sdio.c | 262 #define HMB_DATA_FC 4 /* per prio flowcontrol update flag */ 318 static uint prio2prec(u32 prio) prio2prec() argument 320 return (prio == PRIO_8021D_NONE || prio == PRIO_8021D_BE) ? prio2prec() 321 (prio^2) : prio; prio2prec() 443 u8 flowcontrol; /* per prio flow control bitmask */ 2073 /* Fill in packet len and prio, deliver upward */ brcmf_sdio_readframes()
|
/linux-4.1.27/include/linux/ |
H A D | vmpressure.h | 31 extern void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio); 46 int prio) {} 45 vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio) vmpressure_prio() argument
|
H A D | plist.h | 40 * | |10| |21| |21| |21| |40| (prio) 86 int prio; member in struct:plist_node 114 .prio = (__prio), \ 132 * @prio: initial node priority 134 static inline void plist_node_init(struct plist_node *node, int prio) plist_node_init() argument 136 node->prio = prio; plist_node_init()
|
H A D | ioprio.h | 8 * Gives us 8 prio classes with 13-bits of data for each class
|
H A D | sh_intc.h | 136 int intc_set_priority(unsigned int irq, unsigned int prio);
|
H A D | init_task.h | 195 .prio = MAX_PRIO-20, \
|
H A D | bio.h | 54 #define bio_set_prio(bio, prio) do { \ 55 WARN_ON(prio >= (1 << IOPRIO_BITS)); \ 57 (bio)->bi_rw |= ((unsigned long) (prio) << BIO_PRIO_SHIFT); \
|
H A D | tracepoint.h | 429 * __entry->prev_prio = prev->prio; 432 * __entry->next_prio = next->prio;
|
H A D | pm_qos.h | 167 return dev->power.qos->resume_latency_req->data.pnode.prio; dev_pm_qos_requested_resume_latency()
|
H A D | buffer_head.h | 131 BUFFER_FNS(Prio, prio)
|
/linux-4.1.27/arch/arm/plat-pxa/ |
H A D | dma.c | 33 pxa_dma_prio prio; member in struct:dma_channel 144 seq_printf(s, "\tPriority : %s\n", str_prio[dma_channels[chan].prio]); dbg_show_chan_state() 275 int pxa_request_dma (char *name, pxa_dma_prio prio, pxa_request_dma() argument 291 if ((dma_channels[i].prio == prio) && pxa_request_dma() 297 /* if requested prio group is full, try a hier priority */ pxa_request_dma() 298 } while (!found && prio--); pxa_request_dma() 371 dma_channels[i].prio = min((i & 0xf) >> 2, DMA_PRIO_LOW); pxa_init_dma()
|
/linux-4.1.27/drivers/sh/intc/ |
H A D | chip.c | 129 int intc_set_priority(unsigned int irq, unsigned int prio) intc_set_priority() argument 135 if (!intc_get_prio_level(irq) || prio <= 1) intc_set_priority() 138 ihp = intc_find_irq(d->prio, d->nr_prio, irq); intc_set_priority() 140 if (prio >= (1 << _INTC_WIDTH(ihp->handle))) intc_set_priority() 143 intc_set_prio_level(irq, prio); intc_set_priority()
|
H A D | core.c | 130 /* add irq to d->prio list if priority is available */ intc_register_irq() 132 hp = d->prio + d->nr_prio; intc_register_irq() 256 d->prio = kzalloc(hw->nr_vectors * sizeof(*d->prio), register_intc_controller() 258 if (!d->prio) register_intc_controller() 267 sort(d->prio, hw->nr_prio_regs, sizeof(*d->prio), register_intc_controller() 386 kfree(d->prio); register_intc_controller()
|
H A D | internals.h | 64 struct intc_handle_int *prio; member in struct:intc_desc_int
|
/linux-4.1.27/tools/testing/selftests/mqueue/ |
H A D | mq_perf_tests.c | 373 void const_prio(int *prio) const_prio() argument 378 void inc_prio(int *prio) inc_prio() argument 380 if (++*prio == mq_prio_max) inc_prio() 381 *prio = 0; inc_prio() 384 void dec_prio(int *prio) dec_prio() argument 386 if (--*prio < 0) dec_prio() 387 *prio = mq_prio_max - 1; dec_prio() 390 void random_prio(int *prio) random_prio() argument 392 *prio = random() % mq_prio_max; random_prio() 396 {"\n\tTest #2a: Time send/recv message, queue full, constant prio\n", 398 {"\n\tTest #2b: Time send/recv message, queue full, increasing prio\n", 400 {"\n\tTest #2c: Time send/recv message, queue full, decreasing prio\n", 402 {"\n\tTest #2d: Time send/recv message, queue full, random prio\n", 411 * 1a) with constant prio 413 * 2a) with constant prio 414 * 2b) with increasing prio 415 * 2c) with decreasing prio 416 * 2d) with random prio
|
/linux-4.1.27/tools/perf/scripts/python/ |
H A D | sched-migration.py | 349 def migrate(self, headers, pid, prio, orig_cpu, dest_cpu): 397 common_callchain, comm, pid, prio): 402 common_callchain, comm, pid, prio): 407 common_callchain, comm, pid, prio): 412 common_callchain, comm, pid, prio, orig_cpu, 416 parser.migrate(headers, pid, prio, orig_cpu, dest_cpu) 430 common_callchain, comm, pid, prio, success, 438 common_callchain, comm, pid, prio, success, 446 common_callchain, comm, pid, prio):
|
/linux-4.1.27/arch/powerpc/platforms/cell/spufs/ |
H A D | sched.c | 86 #define SCALE_PRIO(x, prio) \ 87 max(x * (MAX_PRIO - prio) / (MAX_USER_PRIO / 2), MIN_SPU_TIMESLICE) 99 if (ctx->prio < NORMAL_PRIO) spu_set_timeslice() 100 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE * 4, ctx->prio); spu_set_timeslice() 102 ctx->time_slice = SCALE_PRIO(DEF_SPU_TIMESLICE, ctx->prio); spu_set_timeslice() 127 * policy so we have to look at ->prio in this case. __spu_update_sched_info() 129 if (rt_prio(current->prio)) __spu_update_sched_info() 130 ctx->prio = current->prio; __spu_update_sched_info() 132 ctx->prio = current->static_prio; __spu_update_sched_info() 509 list_add_tail(&ctx->rq, &spu_prio->runq[ctx->prio]); __spu_add_to_rq() 510 set_bit(ctx->prio, spu_prio->bitmap); __spu_add_to_rq() 525 int prio = ctx->prio; __spu_del_from_rq() local 532 if (list_empty(&spu_prio->runq[prio])) __spu_del_from_rq() 533 clear_bit(prio, spu_prio->bitmap); __spu_del_from_rq() 655 if (tmp && tmp->prio > ctx->prio && find_victim() 657 (!victim || tmp->prio > victim->prio)) { find_victim() 683 if (!spu || victim->prio <= ctx->prio) { find_victim() 808 if (!spu && rt_prio(ctx->prio)) spu_activate() 837 static struct spu_context *grab_runnable_context(int prio, int node) grab_runnable_context() argument 843 best = find_first_bit(spu_prio->bitmap, prio); grab_runnable_context() 844 while (best < prio) { grab_runnable_context() 941 new = grab_runnable_context(ctx->prio + 1, spu->node); spusched_tick()
|
H A D | spufs.h | 128 int prio; member in struct:spu_context
|
/linux-4.1.27/arch/unicore32/include/mach/ |
H A D | dma.h | 31 puv3_dma_prio prio,
|
/linux-4.1.27/tools/power/cpupower/bench/ |
H A D | main.c | 38 {"prio", 1, 0, 'p'}, 61 printf(" -p, --prio=<priority>\t\t\tscheduler priority, HIGH, LOW or DEFAULT\n"); usage() 123 config->prio = string_to_prio(optarg); main() 124 dprintf("user prio -> %s\n", optarg); main()
|
H A D | parse.h | 39 } prio; member in struct:config
|
H A D | parse.c | 136 config->prio = SCHED_HIGH; prepare_default_config() 221 config->prio = string_to_prio(val); prepare_config()
|
H A D | system.c | 171 switch (config->prio) { prepare_system()
|
/linux-4.1.27/net/ipv6/ |
H A D | ip6_udp_tunnel.c | 69 __u8 prio, __u8 ttl, __be16 src_port, udp_tunnel6_xmit_skb() 94 ip6_flow_hdr(ip6h, prio, htonl(0)); udp_tunnel6_xmit_skb() 65 udp_tunnel6_xmit_skb(struct dst_entry *dst, struct sock *sk, struct sk_buff *skb, struct net_device *dev, struct in6_addr *saddr, struct in6_addr *daddr, __u8 prio, __u8 ttl, __be16 src_port, __be16 dst_port, bool nocheck) udp_tunnel6_xmit_skb() argument
|
H A D | ip6_gre.c | 242 int prio = 0; __ip6gre_bucket() local 245 prio |= 1; __ip6gre_bucket() 247 prio |= 2; __ip6gre_bucket() 251 return &ign->tunnels[prio][h]; __ip6gre_bucket() 1294 int prio; ip6gre_destroy_tunnels() local 1301 for (prio = 0; prio < 4; prio++) { for_each_netdev_safe() 1306 t = rtnl_dereference(ign->tunnels[prio][h]); for_each_netdev_safe()
|
H A D | sit.c | 132 int prio = 0; __ipip6_bucket() local 135 prio |= 2; __ipip6_bucket() 139 prio |= 1; __ipip6_bucket() 142 return &sitn->tunnels[prio][h]; __ipip6_bucket() 1770 int prio; sit_destroy_tunnels() local 1776 for (prio = 1; prio < 4; prio++) { for_each_netdev_safe() 1781 t = rtnl_dereference(sitn->tunnels[prio][h]); for_each_netdev_safe()
|
H A D | ip6_vti.c | 145 int prio = 0; vti6_tnl_bucket() local 148 prio = 1; vti6_tnl_bucket() 151 return &ip6n->tnls[prio][h]; vti6_tnl_bucket()
|
H A D | ip6_tunnel.c | 228 int prio = 0; ip6_tnl_bucket() local 231 prio = 1; ip6_tnl_bucket() 234 return &ip6n->tnls[prio][h]; ip6_tnl_bucket()
|
/linux-4.1.27/mm/ |
H A D | vmpressure.c | 60 * prio == DEF_PRIORITY (12): reclaimer starts with that value 61 * prio <= DEF_PRIORITY - 2 : kswapd becomes somewhat overwhelmed 62 * prio == 0 : close to OOM, kernel scans every page in an lru 68 * scans 'lru_size >> prio' pages, so it is actually 12.5%, or one 256 * @prio: reclaimer's priority 263 void vmpressure_prio(gfp_t gfp, struct mem_cgroup *memcg, int prio) vmpressure_prio() argument 266 * We only use prio for accounting critical level. For more info vmpressure_prio() 269 if (prio > vmpressure_level_critical_prio) vmpressure_prio() 273 * OK, the prio is below the threshold, updating vmpressure vmpressure_prio()
|
H A D | swapfile.c | 1743 static void _enable_swap_info(struct swap_info_struct *p, int prio, _enable_swap_info() argument 1747 if (prio >= 0) _enable_swap_info() 1748 p->prio = prio; _enable_swap_info() 1750 p->prio = --least_priority; _enable_swap_info() 1752 * the plist prio is negated because plist ordering is _enable_swap_info() 1755 p->list.prio = -p->prio; _enable_swap_info() 1756 p->avail_list.prio = -p->prio; _enable_swap_info() 1780 static void enable_swap_info(struct swap_info_struct *p, int prio, enable_swap_info() argument 1788 _enable_swap_info(p, prio, swap_map, cluster_info); enable_swap_info() 1797 _enable_swap_info(p, p->prio, p->swap_map, p->cluster_info); reinsert_swap_info() 1855 if (p->prio < 0) { SYSCALL_DEFINE1() 1859 si->prio++; SYSCALL_DEFINE1() 1860 si->list.prio--; SYSCALL_DEFINE1() 1861 si->avail_list.prio--; SYSCALL_DEFINE1() 2042 si->prio); swap_show() 2352 int prio; SYSCALL_DEFINE2() local 2506 prio = -1; 2508 prio = 2510 enable_swap_info(p, prio, swap_map, cluster_info, frontswap_map); 2514 p->pages<<(PAGE_SHIFT-10), name->name, p->prio,
|
/linux-4.1.27/drivers/net/dsa/ |
H A D | mv88e6123_61_65.c | 168 * priority fields (IP prio has precedence), and set STP state mv88e6123_61_65_setup_port() 226 /* Tag Remap: use an identity 802.1p prio -> switch prio mv88e6123_61_65_setup_port() 231 /* Tag Remap 2: use an identity 802.1p prio -> switch prio mv88e6123_61_65_setup_port()
|
H A D | mv88e6131.c | 149 * IP priority fields (IP prio has precedence), and set STP mv88e6131_setup_port() 210 /* Tag Remap: use an identity 802.1p prio -> switch prio mv88e6131_setup_port() 215 /* Tag Remap 2: use an identity 802.1p prio -> switch prio mv88e6131_setup_port()
|
H A D | mv88e6171.c | 156 * priority fields (IP prio has precedence), and set STP state mv88e6171_setup_port() 214 /* Tag Remap: use an identity 802.1p prio -> switch prio mv88e6171_setup_port() 219 /* Tag Remap 2: use an identity 802.1p prio -> switch prio mv88e6171_setup_port()
|
H A D | mv88e6352.c | 160 * priority fields (IP prio has precedence), and set STP state mv88e6352_setup_port() 218 /* Tag Remap: use an identity 802.1p prio -> switch prio mv88e6352_setup_port() 223 /* Tag Remap 2: use an identity 802.1p prio -> switch prio mv88e6352_setup_port()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_dcb_nl.c | 174 u8 prio, tc_map; i40e_dcbnl_set_all() local 189 prio = dcbxcfg->app[i].priority; i40e_dcbnl_set_all() 190 tc_map = (1 << dcbxcfg->etscfg.prioritytable[prio]); i40e_dcbnl_set_all() 196 sapp.priority = prio; i40e_dcbnl_set_all() 243 dev_info(&pf->pdev->dev, "%s: Failed deleting app for VSI seid=%d err=%d sel=%d proto=0x%x prio=%d\n", i40e_dcbnl_del_app()
|
/linux-4.1.27/kernel/trace/ |
H A D | ring_buffer_benchmark.c | 50 MODULE_PARM_DESC(producer_nice, "nice prio for producer"); 53 MODULE_PARM_DESC(consumer_nice, "nice prio for consumer"); 56 MODULE_PARM_DESC(producer_fifo, "fifo prio for producer"); 59 MODULE_PARM_DESC(consumer_fifo, "fifo prio for consumer"); 439 * Run them as low-prio background tasks by default: ring_buffer_benchmark_init()
|
H A D | trace_sched_wakeup.c | 383 entry->prev_prio = prev->prio; tracing_sched_switch_trace() 386 entry->next_prio = next->prio; tracing_sched_switch_trace() 411 entry->prev_prio = curr->prio; tracing_sched_wakeup_trace() 414 entry->next_prio = wakee->prio; tracing_sched_wakeup_trace() 541 (!dl_task(p) && (p->prio >= wakeup_prio || p->prio >= current->prio))) probe_wakeup() 554 (!dl_task(p) && p->prio >= wakeup_prio)) probe_wakeup() 562 wakeup_prio = p->prio; probe_wakeup()
|
H A D | trace_entries.h | 113 * Context switch trace entry - which task (and prio) we switched from/to:
|
/linux-4.1.27/arch/blackfin/kernel/ |
H A D | ipipe.c | 169 int prio = __ipipe_get_irq_priority(irq); __ipipe_enable_irqdesc() local 173 atomic_inc_return(&__ipipe_irq_lvdepth[prio]) == 1) __ipipe_enable_irqdesc() 174 __set_bit(prio, &__ipipe_irq_lvmask); __ipipe_enable_irqdesc() 180 int prio = __ipipe_get_irq_priority(irq); __ipipe_disable_irqdesc() local 183 atomic_dec_and_test(&__ipipe_irq_lvdepth[prio])) __ipipe_disable_irqdesc() 184 __clear_bit(prio, &__ipipe_irq_lvmask); __ipipe_disable_irqdesc()
|
/linux-4.1.27/net/dcb/ |
H A D | dcbnl.c | 569 u8 prio, pgid, tc_pct, up_map; __dcbnl_pg_getcfg() local 613 prio = DCB_ATTR_VALUE_UNDEFINED; __dcbnl_pg_getcfg() 620 i - DCB_PG_ATTR_TC_0, &prio, __dcbnl_pg_getcfg() 625 i - DCB_PG_ATTR_TC_0, &prio, __dcbnl_pg_getcfg() 646 DCB_TC_ATTR_PARAM_STRICT_PRIO, prio); __dcbnl_pg_getcfg() 785 u8 prio; __dcbnl_pg_setcfg() local 812 prio = DCB_ATTR_VALUE_UNDEFINED; __dcbnl_pg_setcfg() 817 prio = __dcbnl_pg_setcfg() 835 prio, pgid, tc_pct, up_map); __dcbnl_pg_setcfg() 840 prio, pgid, tc_pct, up_map); __dcbnl_pg_setcfg() 1172 u8 pgid, up_map, prio, tc_pct; dcbnl_cee_pg_fill() local 1187 prio = DCB_ATTR_VALUE_UNDEFINED; dcbnl_cee_pg_fill() 1193 &prio, &pgid, &tc_pct, &up_map); dcbnl_cee_pg_fill() 1196 &prio, &pgid, &tc_pct, &up_map); dcbnl_cee_pg_fill() 1200 nla_put_u8(skb, DCB_TC_ATTR_PARAM_STRICT_PRIO, prio) || dcbnl_cee_pg_fill() 1761 int ifindex, int prio) dcb_app_lookup() 1769 (!prio || itr->app.priority == prio)) dcb_app_lookup() 1801 u8 prio = 0; dcb_getapp() local 1805 prio = itr->app.priority; dcb_getapp() 1808 return prio; dcb_getapp() 1862 u8 prio = 0; dcb_ieee_getapp_mask() local 1866 prio |= 1 << itr->app.priority; dcb_ieee_getapp_mask() 1869 return prio; dcb_ieee_getapp_mask() 1760 dcb_app_lookup(const struct dcb_app *app, int ifindex, int prio) dcb_app_lookup() argument
|
/linux-4.1.27/drivers/md/bcache/ |
H A D | extents.c | 139 printk(" prio %i", bch_bkey_dump() 140 PTR_BUCKET(b->c, k, j)->prio); bch_bkey_dump() 183 g->prio != BTREE_PRIO || btree_ptr_bad_expensive() 197 "inconsistent btree pointer %s: bucket %zi pin %i prio %i gen %i last_gc %i mark %llu", btree_ptr_bad_expensive() 199 g->prio, g->gen, g->last_gc, GC_MARK(g)); btree_ptr_bad_expensive() 516 if (g->prio == BTREE_PRIO) bch_extent_bad_expensive() 527 "inconsistent extent pointer %s:\nbucket %zu pin %i prio %i gen %i last_gc %i mark %llu", bch_extent_bad_expensive() 529 g->prio, g->gen, g->last_gc, GC_MARK(g)); bch_extent_bad_expensive()
|
H A D | alloc.c | 107 if (b->prio && for_each_cache() 108 b->prio != BTREE_PRIO && for_each_cache() 110 b->prio--; for_each_cache() 111 c->min_prio = min(c->min_prio, b->prio); for_each_cache() 148 b->prio = INITIAL_PRIO; __bch_invalidate_one_bucket() 165 * prio is worth 1/8th of what INITIAL_PRIO is worth. 172 (b->prio - ca->set->min_prio + min_prio) * GC_SECTORS_USED(b); \ 437 b->prio = BTREE_PRIO; bch_bucket_alloc() 441 b->prio = INITIAL_PRIO; bch_bucket_alloc() 472 /* sort by free space/prio of oldest data in caches */ __bch_bucket_alloc_set()
|
H A D | super.c | 521 closure_put(&ca->prio); prio_endio() 526 struct closure *cl = &ca->prio; prio_io() 540 closure_bio_submit(bio, &ca->prio, ca); prio_io() 571 d->prio = cpu_to_le16(b->prio); bch_prio_write() 637 b->prio = le16_to_cpu(d->prio); prio_read()
|
H A D | bcache.h | 196 uint16_t prio; member in struct:bucket 406 struct closure prio; member in struct:cache 414 * allocated for the next prio write.
|
H A D | btree.c | 1237 b->prio = BTREE_PRIO; bch_initial_mark_key() 1238 else if (!level && b->prio == BTREE_PRIO) bch_initial_mark_key() 1239 b->prio = INITIAL_PRIO; bch_initial_mark_key() 1859 * We need to put some unused buckets directly on the prio freelist in bch_initial_gc_finish() 2254 BUG_ON(PTR_BUCKET(b->c, &b->key, i)->prio != BTREE_PRIO); bch_btree_set_root()
|
H A D | sysfs.c | 786 p[i] = ca->buckets[i].prio;
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
H A D | bnx2x_dcb.c | 330 /* find cos for nw prio and extend it with unmapped */ bnx2x_dcbx_map_nw() 697 u8 prio, cos; bnx2x_dcbx_update_tc_mapping() local 699 for (prio = 0; prio < BNX2X_MAX_PRIORITY; prio++) { bnx2x_dcbx_update_tc_mapping() 701 & (1 << prio)) { bnx2x_dcbx_update_tc_mapping() 702 bp->prio_to_cos[prio] = cos; bnx2x_dcbx_update_tc_mapping() 704 "tx_mapping %d --> %d\n", prio, cos); bnx2x_dcbx_update_tc_mapping() 1946 static void bnx2x_dcbnl_set_pg_tccfg_tx(struct net_device *netdev, int prio, bnx2x_dcbnl_set_pg_tccfg_tx() argument 1952 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, pgid); bnx2x_dcbnl_set_pg_tccfg_tx() 1953 if (!bnx2x_dcbnl_set_valid(bp) || prio >= DCBX_MAX_NUM_PRI_PG_ENTRIES) bnx2x_dcbnl_set_pg_tccfg_tx() 1969 bp->dcbx_config_params.admin_configuration_ets_pg[prio] = pgid; bnx2x_dcbnl_set_pg_tccfg_tx() 1986 static void bnx2x_dcbnl_set_pg_tccfg_rx(struct net_device *netdev, int prio, bnx2x_dcbnl_set_pg_tccfg_rx() argument 2001 static void bnx2x_dcbnl_get_pg_tccfg_tx(struct net_device *netdev, int prio, bnx2x_dcbnl_get_pg_tccfg_tx() argument 2006 DP(BNX2X_MSG_DCB, "prio = %d\n", prio); bnx2x_dcbnl_get_pg_tccfg_tx() 2022 if (!bp->dcb_state || prio >= DCBX_MAX_NUM_PRI_PG_ENTRIES) bnx2x_dcbnl_get_pg_tccfg_tx() 2025 *pgid = DCBX_PRI_PG_GET(bp->dcbx_local_feat.ets.pri_pg_tbl, prio); bnx2x_dcbnl_get_pg_tccfg_tx() 2042 static void bnx2x_dcbnl_get_pg_tccfg_rx(struct net_device *netdev, int prio, bnx2x_dcbnl_get_pg_tccfg_rx() argument 2061 static void bnx2x_dcbnl_set_pfc_cfg(struct net_device *netdev, int prio, bnx2x_dcbnl_set_pfc_cfg() argument 2065 DP(BNX2X_MSG_DCB, "prio[%d] = %d\n", prio, setting); bnx2x_dcbnl_set_pfc_cfg() 2067 if (!bnx2x_dcbnl_set_valid(bp) || prio >= MAX_PFC_PRIORITIES) bnx2x_dcbnl_set_pfc_cfg() 2071 bp->dcbx_config_params.admin_pfc_bitmap |= (1 << prio); bnx2x_dcbnl_set_pfc_cfg() 2074 bp->dcbx_config_params.admin_pfc_bitmap &= ~(1 << prio); bnx2x_dcbnl_set_pfc_cfg() 2078 static void bnx2x_dcbnl_get_pfc_cfg(struct net_device *netdev, int prio, bnx2x_dcbnl_get_pfc_cfg() argument 2082 DP(BNX2X_MSG_DCB, "prio = %d\n", prio); bnx2x_dcbnl_get_pfc_cfg() 2086 if (!bp->dcb_state || prio >= MAX_PFC_PRIORITIES) bnx2x_dcbnl_get_pfc_cfg() 2089 *setting = (bp->dcbx_local_feat.pfc.pri_en_bitmap >> prio) & 0x1; bnx2x_dcbnl_get_pfc_cfg() 2308 DP(BNX2X_MSG_DCB, "app_type %d, app_id %x, prio bitmap %d\n", bnx2x_dcbnl_set_app_up()
|
H A D | bnx2x_cmn.c | 4174 int cos, prio, count, offset; bnx2x_setup_tc() local 4200 for (prio = 0; prio < BNX2X_MAX_PRIORITY; prio++) { bnx2x_setup_tc() 4201 netdev_set_prio_tc_map(dev, prio, bp->prio_to_cos[prio]); bnx2x_setup_tc() 4204 prio, bp->prio_to_cos[prio]); bnx2x_setup_tc() 4212 for (prio = 1; prio < 16; prio++) { bnx2x_setup_tc() 4213 netdev_set_prio_tc_map(dev, prio, 1); bnx2x_setup_tc() 4214 DP(BNX2X_MSG_SP, "mapping priority %d to tc %d\n", prio, 1); bnx2x_setup_tc()
|
/linux-4.1.27/kernel/locking/ |
H A D | rtmutex.c | 151 if (left->prio < right->prio) rt_mutex_waiter_less() 160 if (dl_prio(left->prio)) rt_mutex_waiter_less() 255 return min(task_top_pi_waiter(task)->prio, rt_mutex_getprio() 276 if (task_top_pi_waiter(task)->task->prio <= newprio) rt_mutex_get_effective_prio() 277 return task_top_pi_waiter(task)->task->prio; rt_mutex_get_effective_prio() 288 int prio = rt_mutex_getprio(task); __rt_mutex_adjust_prio() local 290 if (task->prio != prio || dl_prio(prio)) __rt_mutex_adjust_prio() 291 rt_mutex_setprio(task, prio); __rt_mutex_adjust_prio() 533 if (waiter->prio == task->prio) { rt_mutex_adjust_prio_chain() 629 waiter->prio = task->prio; rt_mutex_adjust_prio_chain() 813 * If @task->prio is greater than or equal to try_to_take_rt_mutex() 817 if (task->prio >= rt_mutex_top_waiter(lock)->prio) try_to_take_rt_mutex() 902 waiter->prio = task->prio; task_blocks_on_rt_mutex() 1074 if (!waiter || (waiter->prio == task->prio && rt_mutex_adjust_pi() 1075 !dl_prio(task->prio))) { rt_mutex_adjust_pi()
|
H A D | rtmutex-debug.c | 36 printk("%16s:%5d [%p, %3d]", p->comm, task_pid_nr(p), p, p->prio); printk_task()
|
H A D | rtmutex_common.h | 57 int prio; member in struct:rt_mutex_waiter
|
H A D | rtmutex-tester.c | 42 RTTEST_SCHEDRT, /* 2 Sched fifo, data = prio */ 355 (MAX_RT_PRIO - 1) - tsk->prio, sysfs_test_status()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_dcb.c | 793 qlcnic_dcb_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, qlcnic_dcb_get_pg_tc_cfg_tx() argument 802 *prio = *pgid = *bw_per = *up_tc_map = 0; qlcnic_dcb_get_pg_tc_cfg_tx() 816 *prio = tc_cfg->prio_type; qlcnic_dcb_get_pg_tc_cfg_tx() 854 static void qlcnic_dcb_get_pfc_cfg(struct net_device *netdev, int prio, qlcnic_dcb_get_pfc_cfg() argument 859 u8 val = QLC_DCB_GET_MAP(prio); qlcnic_dcb_get_pfc_cfg() 875 if ((val & tc_cfg->up_tc_map) && (tc_cfg->prio_cfg[prio].valid)) qlcnic_dcb_get_pfc_cfg() 876 *setting = tc_cfg->prio_cfg[prio].pfc_type; qlcnic_dcb_get_pfc_cfg() 1003 qlcnic_dcb_get_pg_tc_cfg_rx(struct net_device *netdev, int prio, u8 *prio_type, qlcnic_dcb_get_pg_tc_cfg_rx() argument 1103 u8 i, setting, prio; qlcnic_dcb_cee_peer_get_pfc() local 1114 prio = qlcnic_dcb_prio_count(tc->up_tc_map); qlcnic_dcb_cee_peer_get_pfc() 1117 qlcnic_dcb_get_pfc_cfg(netdev, prio, &setting); qlcnic_dcb_cee_peer_get_pfc()
|
/linux-4.1.27/drivers/s390/cio/ |
H A D | orb.h | 52 u32 prio:8; member in struct:tm_orb
|
/linux-4.1.27/include/uapi/asm-generic/ |
H A D | resource.h | 44 #define RLIMIT_NICE 13 /* max nice prio allowed to raise to
|
/linux-4.1.27/arch/c6x/include/asm/ |
H A D | irq.h | 49 extern asmlinkage void c6x_do_IRQ(unsigned int prio, struct pt_regs *regs);
|
/linux-4.1.27/tools/perf/scripts/perl/ |
H A D | wakeup-latency.pl | 55 $comm, $pid, $prio, $success, $target_cpu) = @_;
|
/linux-4.1.27/tools/perf/tests/ |
H A D | evsel-tp-sched.c | 75 if (perf_evsel__test_field(evsel, "prio", 4, true)) test__perf_evsel__tp_sched_test()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_dcb_nl.c | 193 u8 prio, u8 bwg_id, u8 bw_pct, ixgbe_dcbnl_set_pg_tc_cfg_tx() 198 if (prio != DCB_ATTR_VALUE_UNDEFINED) ixgbe_dcbnl_set_pg_tc_cfg_tx() 199 adapter->temp_dcb_cfg.tc_config[tc].path[0].prio_type = prio; ixgbe_dcbnl_set_pg_tc_cfg_tx() 219 u8 prio, u8 bwg_id, u8 bw_pct, ixgbe_dcbnl_set_pg_tc_cfg_rx() 224 if (prio != DCB_ATTR_VALUE_UNDEFINED) ixgbe_dcbnl_set_pg_tc_cfg_rx() 225 adapter->temp_dcb_cfg.tc_config[tc].path[1].prio_type = prio; ixgbe_dcbnl_set_pg_tc_cfg_rx() 245 u8 *prio, u8 *bwg_id, u8 *bw_pct, ixgbe_dcbnl_get_pg_tc_cfg_tx() 250 *prio = adapter->dcb_cfg.tc_config[tc].path[0].prio_type; ixgbe_dcbnl_get_pg_tc_cfg_tx() 265 u8 *prio, u8 *bwg_id, u8 *bw_pct, ixgbe_dcbnl_get_pg_tc_cfg_rx() 270 *prio = adapter->dcb_cfg.tc_config[tc].path[1].prio_type; ixgbe_dcbnl_get_pg_tc_cfg_rx() 192 ixgbe_dcbnl_set_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_tx() argument 218 ixgbe_dcbnl_set_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 prio, u8 bwg_id, u8 bw_pct, u8 up_map) ixgbe_dcbnl_set_pg_tc_cfg_rx() argument 244 ixgbe_dcbnl_get_pg_tc_cfg_tx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_tx() argument 264 ixgbe_dcbnl_get_pg_tc_cfg_rx(struct net_device *netdev, int tc, u8 *prio, u8 *bwg_id, u8 *bw_pct, u8 *up_map) ixgbe_dcbnl_get_pg_tc_cfg_rx() argument
|
H A D | ixgbe_dcb.c | 325 /* Map TSA onto CEE prio type */ ixgbe_dcb_hw_ets()
|
/linux-4.1.27/arch/powerpc/platforms/cell/ |
H A D | interrupt.c | 70 return IIC_IRQ_TYPE_IPI | (bits.prio >> 4); iic_pending_to_hwnum() 86 out_be64(&iic->regs->prio, iic->eoi_stack[--iic->eoi_ptr]); iic_eoi() 159 iic->eoi_stack[++iic->eoi_ptr] = pending.prio; iic_get_irq() 166 out_be64(&this_cpu_ptr(&cpu_iic)->regs->prio, 0xff); iic_setup_cpu() 308 out_be64(&iic->regs->prio, 0); init_one_iic()
|
/linux-4.1.27/drivers/net/can/ |
H A D | at91_can.c | 304 unsigned int mb, enum at91_mb_mode mode, int prio) set_mb_mode_prio() 306 at91_write(priv, AT91_MMR(mb), (mode << 24) | (prio << 16)); set_mb_mode_prio() 458 * We use the first TX mailbox (AT91_MB_TX_FIRST) with prio 0, then 459 * the next mailbox with prio 0, and so on, until all mailboxes are 461 * AT91_MB_TX_FIRST, but with prio 1, mailbox AT91_MB_TX_FIRST + 1 462 * prio 1. When we reach the last mailbox with prio 15, we have to 464 * again with mailbox AT91_MB_TX_FIRST prio 0. 470 * priv->tx_next = (prio << get_next_prio_shift(priv)) | 479 unsigned int mb, prio; at91_start_xmit() local 486 prio = get_tx_next_prio(priv); at91_start_xmit() 501 set_mb_mode_prio(priv, mb, AT91_MB_MODE_TX, prio); at91_start_xmit() 516 * of a prio+mb counter wrap around. This is the case if at91_start_xmit() 517 * tx_next buffer prio and mailbox equals 0. at91_start_xmit() 303 set_mb_mode_prio(const struct at91_priv *priv, unsigned int mb, enum at91_mb_mode mode, int prio) set_mb_mode_prio() argument
|
/linux-4.1.27/drivers/net/wireless/rtlwifi/ |
H A D | pci.c | 562 static void _rtl_pci_tx_isr(struct ieee80211_hw *hw, int prio) _rtl_pci_tx_isr() argument 567 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[prio]; _rtl_pci_tx_isr() 582 rtlpriv->cfg->ops->get_available_desc(hw, prio) <= 1) { _rtl_pci_tx_isr() 588 if (!rtlpriv->cfg->ops->is_tx_desc_closed(hw, prio, ring->idx)) _rtl_pci_tx_isr() 609 if (prio == TXCMD_QUEUE) { _rtl_pci_tx_isr() 655 prio, ring->idx, _rtl_pci_tx_isr() 1240 unsigned int prio, unsigned int entries) _rtl_pci_init_tx_ring() 1259 "Cannot allocate TX ring (prio = %d)\n", _rtl_pci_init_tx_ring() 1260 prio); _rtl_pci_init_tx_ring() 1264 rtlpci->tx_ring[prio].buffer_desc = buffer_desc; _rtl_pci_init_tx_ring() 1265 rtlpci->tx_ring[prio].buffer_desc_dma = buffer_desc_dma; _rtl_pci_init_tx_ring() 1267 rtlpci->tx_ring[prio].cur_tx_rp = 0; _rtl_pci_init_tx_ring() 1268 rtlpci->tx_ring[prio].cur_tx_wp = 0; _rtl_pci_init_tx_ring() 1269 rtlpci->tx_ring[prio].avl_desc = entries; _rtl_pci_init_tx_ring() 1278 "Cannot allocate TX ring (prio = %d)\n", prio); _rtl_pci_init_tx_ring() 1282 rtlpci->tx_ring[prio].desc = desc; _rtl_pci_init_tx_ring() 1283 rtlpci->tx_ring[prio].dma = desc_dma; _rtl_pci_init_tx_ring() 1285 rtlpci->tx_ring[prio].idx = 0; _rtl_pci_init_tx_ring() 1286 rtlpci->tx_ring[prio].entries = entries; _rtl_pci_init_tx_ring() 1287 skb_queue_head_init(&rtlpci->tx_ring[prio].queue); _rtl_pci_init_tx_ring() 1290 prio, desc); _rtl_pci_init_tx_ring() 1371 unsigned int prio) _rtl_pci_free_tx_ring() 1375 struct rtl8192_tx_ring *ring = &rtlpci->tx_ring[prio]; _rtl_pci_free_tx_ring() 1239 _rtl_pci_init_tx_ring(struct ieee80211_hw *hw, unsigned int prio, unsigned int entries) _rtl_pci_init_tx_ring() argument 1370 _rtl_pci_free_tx_ring(struct ieee80211_hw *hw, unsigned int prio) _rtl_pci_free_tx_ring() argument
|
/linux-4.1.27/drivers/gpu/drm/rcar-du/ |
H A D | rcar_du_crtc.c | 211 unsigned int prio = 0; rcar_du_crtc_update_planes() local 231 prio += plane_format(plane)->planes * 4; rcar_du_crtc_update_planes() 239 prio -= 4; rcar_du_crtc_update_planes() 240 dspr |= (index + 1) << prio; rcar_du_crtc_update_planes() 246 prio -= 4; rcar_du_crtc_update_planes() 247 dspr |= (index + 1) << prio; rcar_du_crtc_update_planes()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
H A D | cxgb4.h | 123 u64 tx_ppp0; /* # of transmitted PPP prio 0 frames */ 124 u64 tx_ppp1; /* # of transmitted PPP prio 1 frames */ 125 u64 tx_ppp2; /* # of transmitted PPP prio 2 frames */ 126 u64 tx_ppp3; /* # of transmitted PPP prio 3 frames */ 127 u64 tx_ppp4; /* # of transmitted PPP prio 4 frames */ 128 u64 tx_ppp5; /* # of transmitted PPP prio 5 frames */ 129 u64 tx_ppp6; /* # of transmitted PPP prio 6 frames */ 130 u64 tx_ppp7; /* # of transmitted PPP prio 7 frames */ 153 u64 rx_ppp0; /* # of received PPP prio 0 frames */ 154 u64 rx_ppp1; /* # of received PPP prio 1 frames */ 155 u64 rx_ppp2; /* # of received PPP prio 2 frames */ 156 u64 rx_ppp3; /* # of received PPP prio 3 frames */ 157 u64 rx_ppp4; /* # of received PPP prio 4 frames */ 158 u64 rx_ppp5; /* # of received PPP prio 5 frames */ 159 u64 rx_ppp6; /* # of received PPP prio 6 frames */ 160 u64 rx_ppp7; /* # of received PPP prio 7 frames */ 793 uint32_t prio:1; /* filter has priority over active/server */ member in struct:ch_filter_specification
|
H A D | l2t.h | 70 u16 vlan; /* VLAN TCI (id: bits 0-11, prio: 13-15 */
|
H A D | cxgb4_uld.h | 177 static inline void set_wr_txq(struct sk_buff *skb, int prio, int queue) set_wr_txq() argument 179 skb_set_queue_mapping(skb, (queue << 1) | prio); set_wr_txq()
|
H A D | cxgb4_dcb.c | 357 "Failed DCB Set Application Priority: sel=%d, prot=%d, prio=%d, err=%d\n", cxgb4_dcb_handle_fw_update() 994 int prio; cxgb4_ieee_getapp() local 1002 prio = __cxgb4_getapp(dev, app->selector - 1, app->protocol, 0); cxgb4_ieee_getapp() 1004 if (prio < 0) cxgb4_ieee_getapp() 1005 prio = dcb_ieee_getapp_mask(dev, app); cxgb4_ieee_getapp() 1007 app->priority = ffs(prio) - 1; cxgb4_ieee_getapp()
|
/linux-4.1.27/drivers/net/wireless/rtl818x/rtl8180/ |
H A D | dev.c | 162 * and HI-prio queues. 169 * name | reg | prio 183 * name | reg | prio 342 static void rtl8180_handle_tx(struct ieee80211_hw *dev, unsigned int prio) rtl8180_handle_tx() argument 345 struct rtl8180_tx_ring *ring = &priv->tx_ring[prio]; rtl8180_handle_tx() 372 ieee80211_wake_queue(dev, prio); rtl8180_handle_tx() 464 unsigned int idx, prio, hw_prio; rtl8180_tx() local 473 prio = skb_get_queue_mapping(skb); rtl8180_tx() 474 ring = &priv->tx_ring[prio]; rtl8180_tx() 575 ieee80211_stop_queue(dev, prio); rtl8180_tx() 581 hw_prio = rtl8187se_queues_map[prio]; rtl8180_tx() 585 hw_prio = rtl8180_queues_map[prio]; rtl8180_tx() 856 /* mac80211 queue have higher prio for lower index. The last queue rtl8180_init_hw() 1065 unsigned int prio, unsigned int entries) rtl8180_init_tx_ring() 1075 wiphy_err(dev->wiphy, "Cannot allocate TX ring (prio = %d)\n", rtl8180_init_tx_ring() 1076 prio); rtl8180_init_tx_ring() 1080 priv->tx_ring[prio].desc = ring; rtl8180_init_tx_ring() 1081 priv->tx_ring[prio].dma = dma; rtl8180_init_tx_ring() 1082 priv->tx_ring[prio].idx = 0; rtl8180_init_tx_ring() 1083 priv->tx_ring[prio].entries = entries; rtl8180_init_tx_ring() 1084 skb_queue_head_init(&priv->tx_ring[prio].queue); rtl8180_init_tx_ring() 1093 static void rtl8180_free_tx_ring(struct ieee80211_hw *dev, unsigned int prio) rtl8180_free_tx_ring() argument 1096 struct rtl8180_tx_ring *ring = &priv->tx_ring[prio]; rtl8180_free_tx_ring() 1064 rtl8180_init_tx_ring(struct ieee80211_hw *dev, unsigned int prio, unsigned int entries) rtl8180_init_tx_ring() argument
|
/linux-4.1.27/include/uapi/linux/ |
H A D | virtio_scsi.h | 48 __u8 prio; /* SAM command priority field */ member in struct:virtio_scsi_cmd_req 58 __u8 prio; /* SAM command priority field */ member in struct:virtio_scsi_cmd_req_pi
|
H A D | pkt_sched.h | 290 __u8 prio; /* prio of this VQ */ member in struct:tc_gred_qopt 346 __u32 prio; member in struct:tc_htb_opt
|
H A D | bcache.h | 308 __u16 prio; member in struct:prio_set::bucket_disk
|
/linux-4.1.27/arch/arm/plat-pxa/include/plat/ |
H A D | dma.h | 79 pxa_dma_prio prio,
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | ptrace.h | 42 * For interrupts, use artificial ECR values to note current prio-level
|
/linux-4.1.27/net/ipv6/netfilter/ |
H A D | nft_chain_route_ipv6.c | 45 /* flowlabel and prio (includes version, which shouldn't change either */ nf_route_table_hook()
|
H A D | ip6table_mangle.c | 57 /* flowlabel and prio (includes version, which shouldn't change either */ ip6t_mangle_out()
|
/linux-4.1.27/kernel/power/ |
H A D | qos.c | 159 return plist_first(&c->list)->prio; pm_qos_get_value() 162 return plist_last(&c->list)->prio; pm_qos_get_value() 166 total_value += node->prio; pm_qos_get_value() 232 if ((req->node).prio != c->default_value) { pm_qos_dbg_show_requests() 238 (req->node).prio, state); pm_qos_dbg_show_requests() 412 if (new_value != req->node.prio) __pm_qos_update_request() 511 if (new_value != req->node.prio) pm_qos_update_request_timeout()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmsmac/ |
H A D | mac80211_if.h | 99 bool state, int prio);
|
H A D | scb.h | 70 uint fragresid[NUMPRIO];/* #bytes unused in frag buffer per prio */
|
/linux-4.1.27/drivers/infiniband/hw/ocrdma/ |
H A D | ocrdma.h | 561 static inline u8 ocrdma_get_pfc_prio(u8 *pfc, u8 prio) ocrdma_get_pfc_prio() argument 563 return *(pfc + prio); ocrdma_get_pfc_prio() 566 static inline u8 ocrdma_get_app_prio(u8 *app_prio, u8 prio) ocrdma_get_app_prio() argument 568 return *(app_prio + prio); ocrdma_get_app_prio()
|
/linux-4.1.27/include/net/ |
H A D | udp_tunnel.h | 90 __u8 prio, __u8 ttl, __be16 src_port,
|
/linux-4.1.27/arch/powerpc/include/asm/ |
H A D | xics.h | 48 void (*set_priority)(unsigned char prio); icp_hv_init()
|
H A D | cell-regs.h | 172 u8 prio; member in struct:cbe_iic_pending_bits 182 u64 prio; member in struct:cbe_iic_thread_regs
|
H A D | mpic.h | 368 /* Enable delivery of prio 15 interrupts as MCK instead of EE */ 464 extern void mpic_cpu_set_priority(int prio);
|
/linux-4.1.27/tools/lib/traceevent/ |
H A D | plugin_sched_switch.c | 84 if (pevent_get_field_val(s, event, "prio", record, &val, 0) == 0) sched_wakeup_handler()
|
H A D | event-parse.c | 1803 arg->op.prio = 0; set_op_prio() 1805 arg->op.prio = get_op_prio(arg->op.op); set_op_prio() 1807 return arg->op.prio; set_op_prio() 1869 arg->op.prio = 0; process_op() 1971 arg->op.prio = 0; process_op() 1984 int prio; process_op() local 1987 prio = get_op_prio(*tok); process_op() 1989 if (prio > arg->op.prio) process_op()
|
/linux-4.1.27/drivers/acpi/ |
H A D | video_detect.c | 267 /* First check for boot param -> highest prio */ acpi_video_backlight_support() 273 /* Then check for DMI blacklist -> second highest prio */ acpi_video_backlight_support()
|
/linux-4.1.27/include/net/caif/ |
H A D | cfpkt.h | 201 * @prio: one of TC_PRIO_ constants. 203 void cfpkt_set_prio(struct cfpkt *pkt, int prio);
|
/linux-4.1.27/include/media/ |
H A D | v4l2-dev.h | 107 /* Priority state. If NULL, then v4l2_dev->prio will be used. */ 108 struct v4l2_prio_state *prio; member in struct:video_device
|
H A D | v4l2-fh.h | 40 enum v4l2_priority prio; member in struct:v4l2_fh
|
H A D | v4l2-device.h | 60 struct v4l2_prio_state prio; member in struct:v4l2_device
|
/linux-4.1.27/arch/s390/include/asm/ |
H A D | fcx.h | 259 * @prio: Priority 268 u32 prio:8; member in struct:tccb_tcah
|
/linux-4.1.27/drivers/staging/rtl8192e/rtl8192e/ |
H A D | rtl_core.c | 442 static short rtl8192_get_nic_desc_num(struct net_device *dev, int prio) rtl8192_get_nic_desc_num() argument 445 struct rtl8192_tx_ring *ring = &priv->tx_ring[prio]; rtl8192_get_nic_desc_num() 450 if ((prio == MGNT_QUEUE) && (skb_queue_len(&ring->queue) > 10)) rtl8192_get_nic_desc_num() 453 prio, ring->idx, skb_queue_len(&ring->queue)); rtl8192_get_nic_desc_num() 457 static short rtl8192_check_nic_enough_desc(struct net_device *dev, int prio) rtl8192_check_nic_enough_desc() argument 460 struct rtl8192_tx_ring *ring = &priv->tx_ring[prio]; rtl8192_check_nic_enough_desc() 1843 static void rtl8192_free_tx_ring(struct net_device *dev, unsigned int prio) rtl8192_free_tx_ring() argument 1846 struct rtl8192_tx_ring *ring = &priv->tx_ring[prio]; rtl8192_free_tx_ring() 1936 static void rtl8192_tx_isr(struct net_device *dev, int prio) rtl8192_tx_isr() argument 1940 struct rtl8192_tx_ring *ring = &priv->tx_ring[prio]; rtl8192_tx_isr() 1946 if (prio != BEACON_QUEUE) { rtl8192_tx_isr() 1958 if (prio != BEACON_QUEUE) rtl8192_tx_isr() 2112 unsigned int prio, unsigned int entries) rtl8192_alloc_tx_desc_ring() 2121 RT_TRACE(COMP_ERR, "Cannot allocate TX ring (prio = %d)\n", rtl8192_alloc_tx_desc_ring() 2122 prio); rtl8192_alloc_tx_desc_ring() 2126 priv->tx_ring[prio].desc = ring; rtl8192_alloc_tx_desc_ring() 2127 priv->tx_ring[prio].dma = dma; rtl8192_alloc_tx_desc_ring() 2128 priv->tx_ring[prio].idx = 0; rtl8192_alloc_tx_desc_ring() 2129 priv->tx_ring[prio].entries = entries; rtl8192_alloc_tx_desc_ring() 2130 skb_queue_head_init(&priv->tx_ring[prio].queue); rtl8192_alloc_tx_desc_ring() 2111 rtl8192_alloc_tx_desc_ring(struct net_device *dev, unsigned int prio, unsigned int entries) rtl8192_alloc_tx_desc_ring() argument
|
/linux-4.1.27/arch/blackfin/mach-common/ |
H A D | ints-priority.c | 1261 int ient, prio; __ipipe_get_irq_priority() local 1273 for (prio = 0; prio <= IVG13-IVG7; prio++) { __ipipe_get_irq_priority() 1274 if (ivg7_13[prio].ifirst <= ivg && __ipipe_get_irq_priority() 1275 ivg7_13[prio].istop > ivg) __ipipe_get_irq_priority() 1276 return IVG7 + prio; __ipipe_get_irq_priority()
|
/linux-4.1.27/net/batman-adv/ |
H A D | main.c | 309 u32 prio; batadv_skb_set_priority() local 325 prio = ntohs(vhdr->h_vlan_TCI) & VLAN_PRIO_MASK; batadv_skb_set_priority() 326 prio = prio >> VLAN_PRIO_SHIFT; batadv_skb_set_priority() 333 prio = (ipv4_get_dsfield(ip_hdr) & 0xfc) >> 5; batadv_skb_set_priority() 340 prio = (ipv6_get_dsfield(ip6_hdr) & 0xfc) >> 5; batadv_skb_set_priority() 346 skb->priority = prio + 256; batadv_skb_set_priority()
|
/linux-4.1.27/net/caif/ |
H A D | cfctrl.c | 379 u8 prio; cfctrl_recv() local 397 prio = tmp >> 3; cfctrl_recv() 399 linkparam.priority = prio; cfctrl_recv()
|
H A D | cfpkt_skbuff.c | 389 void cfpkt_set_prio(struct cfpkt *pkt, int prio) cfpkt_set_prio() argument 391 pkt_to_skb(pkt)->priority = prio; cfpkt_set_prio()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
H A D | l2t.h | 63 u16 vlan; /* VLAN TCI (id: bits 0-11, prio: 13-15 */
|
/linux-4.1.27/drivers/net/ethernet/intel/fm10k/ |
H A D | fm10k_dcbnl.c | 42 /* populate the prio map based on the netdev */ fm10k_dcbnl_ieee_getets()
|
/linux-4.1.27/kernel/ |
H A D | auditsc.c | 204 if (!ctx->prio) { audit_set_auditable() 205 ctx->prio = 1; audit_set_auditable() 688 if (rule->prio <= ctx->prio) audit_filter_rules() 694 ctx->prio = rule->prio; audit_filter_rules() 904 context->prio = state == AUDIT_RECORD_CONTEXT ? ~0ULL : 0; audit_alloc_context() 1519 context->prio = 0; __audit_syscall_entry() 1561 context->prio = context->state == AUDIT_RECORD_CONTEXT ? ~0ULL : 0; __audit_syscall_exit() 1950 if (!ctx->prio) { auditsc_get_stamp() 1951 ctx->prio = 1; auditsc_get_stamp()
|
H A D | auditfilter.c | 766 new->prio = old->prio; audit_dupe_rule() 909 entry->rule.prio = ~0ULL; audit_add_rule() 912 entry->rule.prio = ++prio_high; audit_add_rule() 914 entry->rule.prio = --prio_low; audit_add_rule()
|
H A D | watchdog.c | 433 static void watchdog_set_prio(unsigned int policy, unsigned int prio) watchdog_set_prio() argument 435 struct sched_param param = { .sched_priority = prio }; watchdog_set_prio()
|
H A D | audit.h | 116 u64 prio; member in struct:audit_context
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
H A D | en_port.c | 132 * with a const offset between its prio components. 133 * This function runs over a counter set and sum all of it's prio components.
|
H A D | mcg.c | 781 hw->prio = cpu_to_be16(ctrl->priority); trans_rule_ctrl_to_hw() 909 "port = %d prio = 0x%x qp = 0x%x ", mlx4_err_rule() 1043 int port, int qpn, u16 prio, u64 *reg_id) mlx4_tunnel_steer_add() 1061 rule.priority = prio; mlx4_tunnel_steer_add() 1042 mlx4_tunnel_steer_add(struct mlx4_dev *dev, unsigned char *addr, int port, int qpn, u16 prio, u64 *reg_id) mlx4_tunnel_steer_add() argument
|
/linux-4.1.27/fs/jffs2/ |
H A D | compr.c | 329 printk(KERN_DEBUG "Compressor \"%s\", prio %d\n", this->name, this->priority); jffs2_register_compressor() 353 printk(KERN_DEBUG "Compressor \"%s\", prio %d\n", this->name, this->priority); jffs2_unregister_compressor()
|
H A D | nodemgmt.c | 57 * @prio: Allocation type - ALLOC_{NORMAL,DELETION} 75 uint32_t *len, int prio, uint32_t sumsize) jffs2_reserve_space() 93 if (prio != ALLOC_DELETION && !jffs2_rp_can_write(c)) { jffs2_reserve_space() 117 if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion) { jffs2_reserve_space() 142 if (prio == ALLOC_DELETION && c->nr_free_blocks + c->nr_erasing_blocks >= c->resv_blocks_deletion) { jffs2_reserve_space() 74 jffs2_reserve_space(struct jffs2_sb_info *c, uint32_t minsize, uint32_t *len, int prio, uint32_t sumsize) jffs2_reserve_space() argument
|
/linux-4.1.27/drivers/net/caif/ |
H A D | caif_hsi.c | 1019 int prio; cfhsi_xmit() local 1030 prio = CFHSI_PRIO_BEBK; cfhsi_xmit() 1033 prio = CFHSI_PRIO_VI; cfhsi_xmit() 1036 prio = CFHSI_PRIO_VO; cfhsi_xmit() 1040 prio = CFHSI_PRIO_CTL; cfhsi_xmit() 1050 skb_queue_tail(&cfhsi->qhead[prio], skb); cfhsi_xmit()
|
/linux-4.1.27/drivers/dma/ |
H A D | mmp_pdma.c | 241 int prio, i; lookup_phy() local 255 for (prio = 0; prio <= ((pdev->dma_channels - 1) & 0xf) >> 2; prio++) { lookup_phy() 257 if (prio != (i & 0xf) >> 2) lookup_phy() 307 /* chance to re-fetch phy channel with higher prio */ start_pending_queue()
|
H A D | imx-sdma.c | 970 int prio, ret; sdma_alloc_chan_resources() local 977 prio = 3; sdma_alloc_chan_resources() 980 prio = 2; sdma_alloc_chan_resources() 984 prio = 1; sdma_alloc_chan_resources() 998 ret = sdma_set_channel_priority(sdmac, prio); sdma_alloc_chan_resources()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-sriox-defs.h | 327 uint64_t prio:4; member in struct:cvmx_sriox_imsg_ctrl::cvmx_sriox_imsg_ctrl_s 331 uint64_t prio:4; 769 uint64_t prio:2; member in struct:cvmx_sriox_int_info2::cvmx_sriox_int_info2_s 791 uint64_t prio:2; 803 uint64_t prio:2; member in struct:cvmx_sriox_int_info3::cvmx_sriox_int_info3_s 813 uint64_t prio:2;
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | osf_sys.c | 1400 int prio = sys_getpriority(which, who); SYSCALL_DEFINE2() local 1401 if (prio >= 0) { SYSCALL_DEFINE2() 1402 /* Return value is the unbiased priority, i.e. 20 - prio. SYSCALL_DEFINE2() 1406 prio = 20 - prio; SYSCALL_DEFINE2() 1408 return prio; SYSCALL_DEFINE2()
|
/linux-4.1.27/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-dev.c | 1348 unsigned int tc, prio; xgbe_config_dcb_pfc() local 1355 for (prio = 0; prio < IEEE_8021QAZ_MAX_TCS; prio++) { xgbe_config_dcb_pfc() 1356 if ((pfc->pfc_en & (1 << prio)) && xgbe_config_dcb_pfc() 1357 (ets->prio_tc[prio] == tc)) xgbe_config_dcb_pfc() 1358 mask |= (1 << prio); xgbe_config_dcb_pfc() 2054 unsigned int ppq, ppq_extra, prio; xgbe_config_queue_mapping() local 2088 for (i = 0, prio = 0; i < prio_queues;) { xgbe_config_queue_mapping() 2091 DBGPR(" PRIO%u mapped to RXq%u\n", prio, i); xgbe_config_queue_mapping() 2092 mask |= (1 << prio); xgbe_config_queue_mapping() 2093 pdata->prio2q_map[prio++] = i; xgbe_config_queue_mapping() 2097 DBGPR(" PRIO%u mapped to RXq%u\n", prio, i); xgbe_config_queue_mapping() 2098 mask |= (1 << prio); xgbe_config_queue_mapping() 2099 pdata->prio2q_map[prio++] = i; xgbe_config_queue_mapping()
|
/linux-4.1.27/arch/mips/alchemy/common/ |
H A D | irq.c | 72 int prio; /* irq priority, 0 highest, 3 lowest */ member in struct:alchemy_irqmap 910 if (map->prio == 0) au1000_init_irq() 949 au1300_set_irq_priority(i, dints->prio); alchemy_gpic_init_irq()
|
/linux-4.1.27/net/bluetooth/rfcomm/ |
H A D | sock.c | 272 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) rfcomm_sock_alloc() argument 277 sk = sk_alloc(net, PF_BLUETOOTH, prio, &rfcomm_proto); rfcomm_sock_alloc() 284 d = rfcomm_dlc_alloc(prio); rfcomm_sock_alloc()
|
/linux-4.1.27/drivers/net/wireless/ath/wcn36xx/ |
H A D | dxe.h | 211 * u32 prio :3; //Specifies the priority level to use for
|
H A D | dxe.c | 18 * we have 2 channels(High prio and Low prio) for TX and 2 channels for RX.
|
/linux-4.1.27/arch/x86/kvm/ |
H A D | irq_comm.c | 64 printk(KERN_INFO "kvm: apic: phys broadcast and lowest prio\n"); kvm_irq_delivery_to_apic()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | io_apic.h | 69 * 001: lowest prio
|
/linux-4.1.27/drivers/block/ |
H A D | ida_cmd.h | 79 __u8 prio; member in struct:__anon3584
|
/linux-4.1.27/include/net/bluetooth/ |
H A D | rfcomm.h | 233 struct rfcomm_dlc *rfcomm_dlc_alloc(gfp_t prio);
|
/linux-4.1.27/arch/hexagon/kernel/ |
H A D | kgdb.c | 233 * Lowest-prio notifier priority, we want to be notified last:
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | hw_irq.h | 77 #define IA64_TIMER_VECTOR 0xef /* use highest-prio group 15 interrupt for timer */
|
/linux-4.1.27/arch/arc/kernel/ |
H A D | irq.c | 228 /* Even if in L1 ISR, allowe Higher prio L2 IRQs */ arch_local_irq_enable()
|
/linux-4.1.27/net/tipc/ |
H A D | bearer.c | 764 u32 prio; tipc_nl_bearer_enable() local 766 prio = TIPC_MEDIA_LINK_PRI; tipc_nl_bearer_enable() 795 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); tipc_nl_bearer_enable() 799 err = tipc_enable_bearer(net, bearer, domain, prio, attrs); tipc_nl_bearer_enable()
|
H A D | link.c | 1845 u32 prio; tipc_nl_parse_link_prop() local 1847 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); tipc_nl_parse_link_prop() 1848 if (prio > TIPC_MAX_LINK_PRI) tipc_nl_parse_link_prop() 1926 u32 prio; tipc_nl_link_set() local 1928 prio = nla_get_u32(props[TIPC_NLA_PROP_PRIO]); tipc_nl_link_set() 1929 link->priority = prio; tipc_nl_link_set() 1930 tipc_link_proto_xmit(link, STATE_MSG, 0, 0, 0, prio); tipc_nl_link_set()
|
/linux-4.1.27/arch/cris/arch-v32/drivers/ |
H A D | cryptocop.c | 159 cryptocop_queue_priority prio; member in struct:cryptocop_prio_queue 164 cryptocop_queue_priority prio; member in struct:cryptocop_prio_job 224 static int cryptocop_job_queue_insert(cryptocop_queue_priority prio, struct cryptocop_operation *operation); 1833 static int cryptocop_job_queue_insert(cryptocop_queue_priority prio, struct cryptocop_operation *operation) cryptocop_job_queue_insert() argument 1839 DEBUG(printk("cryptocop_job_queue_insert(%d, 0x%p)\n", prio, operation)); cryptocop_job_queue_insert() 1853 list_add_tail(&pj->node, &cryptocop_job_queues[prio].jobs); cryptocop_job_queue_insert() 2035 cryptocop_job_queues[i].prio = (cryptocop_queue_priority)i; cryptocop_job_queue_init() 2152 DEBUG(printk("starting job for prio %d\n", i)); cryptocop_start_job() 2155 * prio job for every N-th processed higher prio job or some cryptocop_start_job()
|
/linux-4.1.27/drivers/media/pci/ngene/ |
H A D | ngene.h | 617 enum v4l2_priority prio; member in struct:ngene_vopen 710 struct v4l2_prio_state prio; member in struct:ngene_channel
|
/linux-4.1.27/drivers/soc/ti/ |
H A D | knav_dma.c | 80 u32 prio; member in struct:reg_tx_sched 161 writel_relaxed(cfg->u.tx.priority, &chan->reg_tx_sched->prio); chan_start()
|
/linux-4.1.27/drivers/base/power/ |
H A D | qos.c | 385 curr_value = req->data.pnode.prio; __dev_pm_qos_update_request() 838 dev->power.qos->latency_tolerance_req->data.pnode.prio; dev_pm_qos_get_user_latency_tolerance()
|
/linux-4.1.27/net/dccp/ |
H A D | output.c | 669 const gfp_t prio = active ? GFP_KERNEL : GFP_ATOMIC; dccp_send_close() local 671 skb = alloc_skb(sk->sk_prot->max_header, prio); dccp_send_close()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/dvm/ |
H A D | ucode.c | 210 IWL_ERR(priv, "failed to send BT prio tbl command\n"); iwl_send_prio_tbl()
|
/linux-4.1.27/arch/sh/kernel/ |
H A D | kgdb.c | 368 * Lowest-prio notifier priority, we want to be notified last:
|
/linux-4.1.27/arch/powerpc/platforms/pasemi/ |
H A D | setup.c | 239 /* The NMI/MCK source needs to be prio 15 */ pas_init_IRQ()
|
/linux-4.1.27/arch/mips/include/asm/mach-au1x00/ |
H A D | au1000.h | 559 #define PCI_CONFIG_R2H (1 << 2) /* REQ2# to hi-prio arbiter */ 560 #define PCI_CONFIG_R1H (1 << 1) /* REQ1# to hi-prio arbiter */ 561 #define PCI_CONFIG_CH (1 << 0) /* PCI ctl to hi-prio arbiter */
|
/linux-4.1.27/net/bluetooth/ |
H A D | l2cap_sock.c | 46 int proto, gfp_t prio); 1526 int proto, gfp_t prio) l2cap_sock_alloc() 1531 sk = sk_alloc(net, PF_BLUETOOTH, prio, &l2cap_proto); l2cap_sock_alloc() 1525 l2cap_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) l2cap_sock_alloc() argument
|
H A D | sco.c | 463 static struct sock *sco_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) sco_sock_alloc() argument 467 sk = sk_alloc(net, PF_BLUETOOTH, prio, &sco_proto); sco_sock_alloc()
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | rs.c | 3088 int prio = -1; rs_bfer_priority() local 3094 prio = 3; rs_bfer_priority() 3097 prio = 2; rs_bfer_priority() 3100 prio = 1; rs_bfer_priority() 3104 prio = -1; rs_bfer_priority() 3107 return prio; rs_bfer_priority()
|
/linux-4.1.27/drivers/scsi/fcoe/ |
H A D | fcoe.c | 1941 int prio; fcoe_dcb_app_notification() local 1958 prio = ffs(entry->app.priority) - 1; fcoe_dcb_app_notification() 1960 prio = entry->app.priority; fcoe_dcb_app_notification() 1962 if (prio < 0) fcoe_dcb_app_notification() 1967 ctlr->priority = prio; fcoe_dcb_app_notification() 1970 fcoe->priority = prio; fcoe_dcb_app_notification()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
H A D | gianfar_ethtool.c | 1171 u32 prio = 0, prio_mask = 0; gfar_convert_to_filer() local 1188 prio = vlan_tci_prio(rule); gfar_convert_to_filer() 1241 gfar_set_attribute(prio, prio_mask, RQFCR_PID_PRI, tab); gfar_convert_to_filer()
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
H A D | ksz884x.c | 2266 int prio; sw_init_prio_rate() local 2270 for (prio = 0; prio < PRIO_QUEUES; prio++) { sw_init_prio_rate() 2271 sw->port_cfg[port].rx_rate[prio] = sw_init_prio_rate() 2272 sw->port_cfg[port].tx_rate[prio] = 0; sw_init_prio_rate() 2546 * @prio: The priority to set. 2550 static void sw_cfg_port_based(struct ksz_hw *hw, int port, u8 prio) sw_cfg_port_based() argument 2554 if (prio > PORT_BASED_PRIORITY_BASE) sw_cfg_port_based() 2555 prio = PORT_BASED_PRIORITY_BASE; sw_cfg_port_based() 2557 hw->ksz_switch->port_cfg[port].port_prio = prio; sw_cfg_port_based() 2561 data |= prio << PORT_BASED_PRIORITY_SHIFT; sw_cfg_port_based()
|
/linux-4.1.27/drivers/scsi/csiostor/ |
H A D | csio_wr.c | 969 * @prio: 0: Low priority, 1: High priority 976 csio_wr_issue(struct csio_hw *hw, int qidx, bool prio) csio_wr_issue() argument 985 csio_wr_reg32(hw, DBPRIO_V(prio) | QID_V(q->un.eq.physeqid) | csio_wr_issue()
|
/linux-4.1.27/drivers/tty/ipwireless/ |
H A D | hardware.c | 1313 static int set_control_line(struct ipw_hardware *hw, int prio, set_control_line() argument 1319 if (prio == PRIO_SETUP) set_control_line() 1328 send_packet(hw, prio, &packet->header); set_control_line()
|
/linux-4.1.27/drivers/irqchip/ |
H A D | irq-renesas-intc-irqpin.c | 558 /* unmask all interrupts on prio level */ intc_irqpin_probe()
|
/linux-4.1.27/arch/x86/mm/ |
H A D | kmmio.c | 83 * Could use the existing prio tree code or
|
/linux-4.1.27/fs/btrfs/ |
H A D | volumes.h | 63 /* regular prio bios */
|
/linux-4.1.27/drivers/net/hamradio/ |
H A D | 6pack.c | 891 /* RX and DCD flags can only be set in the same prio command, decode_prio_command() 893 prio command. If DCD has not been set before, something in the decode_prio_command()
|
/linux-4.1.27/include/linux/mlx4/ |
H A D | device.h | 1199 __be16 prio; member in struct:mlx4_net_trans_rule_hw_ctrl 1362 int port, int qpn, u16 prio, u64 *reg_id);
|
/linux-4.1.27/drivers/media/usb/uvc/ |
H A D | uvc_driver.c | 1606 v4l2_prio_init(&chain->prio); uvc_scan_device() 1764 vdev->prio = &stream->chain->prio; uvc_register_video()
|
/linux-4.1.27/drivers/usb/isp1760/ |
H A D | isp1760-hcd.c | 950 * 1st prio: interrupt xfers, up to 80 % of bandwidth 951 * 2nd prio: control xfers 952 * 3rd prio: bulk xfers
|
/linux-4.1.27/drivers/infiniband/core/ |
H A D | cma.c | 1886 int prio; iboe_tos_to_sl() local 1889 prio = rt_tos2priority(tos); iboe_tos_to_sl() 1894 return netdev_get_prio_tc_map(dev, prio); iboe_tos_to_sl() 1898 return (vlan_dev_get_egress_qos_mask(ndev, prio) & iboe_tos_to_sl()
|