Searched refs:newprio (Results 1 – 4 of 4) sorted by relevance
/linux-6.6.21/net/bridge/ |
D | br_stp_if.c | 282 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio) in br_stp_set_bridge_priority() argument 293 p->designated_bridge.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority() 294 p->designated_bridge.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority() 299 br->bridge_id.prio[0] = (newprio >> 8) & 0xFF; in br_stp_set_bridge_priority() 300 br->bridge_id.prio[1] = newprio & 0xFF; in br_stp_set_bridge_priority() 309 int br_stp_set_port_priority(struct net_bridge_port *p, unsigned long newprio) in br_stp_set_port_priority() argument 313 if (newprio > BR_MAX_PORT_PRIORITY) in br_stp_set_port_priority() 316 new_port_id = br_make_port_id(newprio, p->port_no); in br_stp_set_port_priority() 321 p->priority = newprio; in br_stp_set_port_priority()
|
D | br_private.h | 1962 void br_stp_set_bridge_priority(struct net_bridge *br, u16 newprio); 1963 int br_stp_set_port_priority(struct net_bridge_port *p, unsigned long newprio);
|
/linux-6.6.21/include/trace/events/ |
D | sched.h | 538 __field( int, newprio ) 545 __entry->newprio = pi_task ? 553 __entry->oldprio, __entry->newprio)
|
/linux-6.6.21/kernel/sched/ |
D | core.c | 7626 int retval, oldprio, newprio, queued, running; in __sched_setscheduler() local 7784 newprio = __normal_prio(policy, attr->sched_priority, attr->sched_nice); in __sched_setscheduler() 7793 newprio = rt_effective_prio(p, newprio); in __sched_setscheduler() 7794 if (newprio == oldprio) in __sched_setscheduler() 7809 __setscheduler_prio(p, newprio); in __sched_setscheduler()
|