Home
last modified time | relevance | path

Searched refs:priority (Results 1 – 25 of 179) sorted by relevance

12345678

/net/mac80211/
Dwme.c38 switch (skb->priority) { in wme_downgrade_ac()
41 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac()
45 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac()
49 skb->priority = 2; /* BE -> BK */ in wme_downgrade_ac()
92 while (sdata->wmm_acm & BIT(skb->priority)) { in ieee80211_downgrade_queue()
93 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue()
96 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue()
111 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue()
112 skb->priority = ieee80211_fix_reserved_tid(skb->priority); in ieee80211_downgrade_queue()
115 return ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue()
[all …]
/net/ipv6/
Dtunnel6.c43 int priority = handler->priority; in xfrm6_tunnel_register() local
51 if (t->priority > priority) in xfrm6_tunnel_register()
53 if (t->priority == priority) in xfrm6_tunnel_register()
Dxfrm6_protocol.c191 int priority = handler->priority; in xfrm6_protocol_register() local
206 if (t->priority < priority) in xfrm6_protocol_register()
208 if (t->priority == priority) in xfrm6_protocol_register()
/net/dccp/
Dqpolicy.c44 if (best == NULL || skb->priority > best->priority) in qpolicy_prio_best_skb()
54 if (worst == NULL || skb->priority < worst->priority) in qpolicy_prio_worst_skb()
125 skb->priority = 0; in dccp_qpolicy_pop()
/net/ipv4/
Dtunnel4.c36 int priority = handler->priority; in xfrm4_tunnel_register() local
44 if (t->priority > priority) in xfrm4_tunnel_register()
46 if (t->priority == priority) in xfrm4_tunnel_register()
Dxfrm4_protocol.c217 int priority = handler->priority; in xfrm4_protocol_register() local
232 if (t->priority < priority) in xfrm4_protocol_register()
234 if (t->priority == priority) in xfrm4_protocol_register()
Dxfrm4_tunnel.c66 .priority = 3,
73 .priority = 2,
/net/sched/
Dact_skbedit.c43 skb->priority = d->priority; in tcf_skbedit()
75 u32 flags = 0, *priority = NULL, *mark = NULL, *mask = NULL; in tcf_skbedit_init() local
92 priority = nla_data(tb[TCA_SKBEDIT_PRIORITY]); in tcf_skbedit_init()
148 d->priority = *priority; in tcf_skbedit_init()
185 nla_put_u32(skb, TCA_SKBEDIT_PRIORITY, d->priority)) in tcf_skbedit_dump()
Dact_meta_skbprio.c28 return ife_check_meta_u32(skb->priority, e); in skbprio_check()
34 u32 ifeprio = skb->priority; /* avoid having to cast skb->priority*/ in skbprio_encode()
43 skb->priority = ntohl(ifeprio); in skbprio_decode()
Dsch_cbq.c81 unsigned char priority; /* class priority */ member
216 u32 prio = skb->priority; in cbq_classify()
463 cl->cpriority = cl->priority; in cbq_undelay_prio()
901 if (cl->priority == prio) { in cbq_normalize_quanta()
1057 cl->cpriority = cl->priority; in cbq_reset()
1087 q->nclasses[cl->priority]--; in cbq_rmprio()
1088 q->quanta[cl->priority] -= cl->weight; in cbq_rmprio()
1089 cbq_normalize_quanta(q, cl->priority); in cbq_rmprio()
1094 q->nclasses[cl->priority]++; in cbq_addprio()
1095 q->quanta[cl->priority] += cl->weight; in cbq_addprio()
[all …]
/net/tipc/
Dbearer.c233 u32 disc_domain, u32 priority, in tipc_enable_bearer() argument
269 if ((priority > TIPC_MAX_LINK_PRI) && in tipc_enable_bearer()
270 (priority != TIPC_MEDIA_LINK_PRI)) { in tipc_enable_bearer()
282 if (priority == TIPC_MEDIA_LINK_PRI) in tipc_enable_bearer()
283 priority = m->priority; in tipc_enable_bearer()
299 if ((b->priority == priority) && in tipc_enable_bearer()
301 if (priority-- == 0) { in tipc_enable_bearer()
307 name, priority + 1, priority); in tipc_enable_bearer()
336 b->priority = priority; in tipc_enable_bearer()
358 tipc_addr_string_fill(addr_string, disc_domain), priority); in tipc_enable_bearer()
[all …]
/net/ipv6/netfilter/
Dip6table_nat.c78 .priority = NF_IP6_PRI_NAT_DST,
85 .priority = NF_IP6_PRI_NAT_SRC,
92 .priority = NF_IP6_PRI_NAT_DST,
99 .priority = NF_IP6_PRI_NAT_SRC,
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,
/net/ipv4/netfilter/
Diptable_nat.c76 .priority = NF_IP_PRI_NAT_DST,
83 .priority = NF_IP_PRI_NAT_SRC,
90 .priority = NF_IP_PRI_NAT_DST,
97 .priority = NF_IP_PRI_NAT_SRC,
Dnf_conntrack_l3proto_ipv4.c187 .priority = NF_IP_PRI_CONNTRACK,
193 .priority = NF_IP_PRI_CONNTRACK,
199 .priority = NF_IP_PRI_CONNTRACK_HELPER,
205 .priority = NF_IP_PRI_CONNTRACK_CONFIRM,
211 .priority = NF_IP_PRI_CONNTRACK_HELPER,
217 .priority = NF_IP_PRI_CONNTRACK_CONFIRM,
/net/batman-adv/
Dfragmentation.c427 skb_fragment->priority = skb->priority; in batadv_frag_create()
501 if (skb->priority >= 256 && skb->priority <= 263) in batadv_frag_send_packet()
502 frag_header.priority = skb->priority - 256; in batadv_frag_send_packet()
504 frag_header.priority = 0; in batadv_frag_send_packet()
/net/decnet/
Ddn_neigh.c410 dn->priority = msg->priority; in dn_neigh_router_hello()
429 if (msg->priority > ((struct dn_neigh *)dn_db->router)->priority) in dn_neigh_router_hello()
469 dn->priority = 0; in dn_neigh_endnode_hello()
480 static char *dn_find_slot(char *base, int max, int priority) in dn_find_slot() argument
496 return (*min < priority) ? (min - 6) : NULL; in dn_find_slot()
519 s->rs = dn_find_slot(s->ptr, s->n, dn->priority); in neigh_elist_cb()
528 *(s->rs) |= dn->priority; in neigh_elist_cb()
/net/bridge/netfilter/
Debtable_filter.c78 .priority = NF_BR_PRI_FILTER_BRIDGED,
84 .priority = NF_BR_PRI_FILTER_BRIDGED,
90 .priority = NF_BR_PRI_FILTER_OTHER,
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,
/net/phonet/
Dpep.c83 int len, gfp_t priority) in pep_alloc_skb() argument
85 struct sk_buff *skb = alloc_skb(MAX_PNPIPE_HEADER + len, priority); in pep_alloc_skb()
99 const void *data, int len, gfp_t priority) in pep_reply() argument
106 skb = pep_alloc_skb(sk, data, len, priority); in pep_reply()
121 const void *data, int len, gfp_t priority) in pep_indicate() argument
127 skb = pep_alloc_skb(sk, data, len, priority); in pep_indicate()
194 gfp_t priority) in pep_reject_conn() argument
198 return pep_reply(sk, skb, code, data, sizeof(data), priority); in pep_reject_conn()
204 gfp_t priority) in pep_ctrlreq_error() argument
216 skb = pep_alloc_skb(sk, data, 4, priority); in pep_ctrlreq_error()
[all …]
/net/sunrpc/
Dsched.c102 static void rpc_set_waitqueue_priority(struct rpc_wait_queue *queue, int priority) in rpc_set_waitqueue_priority() argument
104 if (queue->priority != priority) { in rpc_set_waitqueue_priority()
105 queue->priority = priority; in rpc_set_waitqueue_priority()
106 queue->nr = 1U << priority; in rpc_set_waitqueue_priority()
400 rpc_action action, int priority) in rpc_sleep_on_priority() argument
414 __rpc_sleep_on_priority(q, task, action, priority - RPC_PRIORITY_LOW); in rpc_sleep_on_priority()
492 q = &queue->tasks[queue->priority]; in __rpc_find_next_queued_priority()
510 } while (q != &queue->tasks[queue->priority]); in __rpc_find_next_queued_priority()
933 task->tk_priority = task_setup_data->priority - RPC_PRIORITY_LOW; in rpc_init_task()
/net/netfilter/
Dxt_CLASSIFY.c36 skb->priority = clinfo->priority; in classify_tg()
Dcore.c97 .priority = INT_MIN,
138 if (inserted || reg->priority > orig_ops[i]->priority) { in nf_hook_entries_grow()
173 WARN_ON(orig_ops[i]->priority < prio); in hooks_validate()
175 if (orig_ops[i]->priority > prio) in hooks_validate()
176 prio = orig_ops[i]->priority; in hooks_validate()
/net/bridge/
Dbr_stp_if.c28 static inline port_id br_make_port_id(__u8 priority, __u16 port_no) in br_make_port_id() argument
30 return ((u16)priority << BR_PORT_BITS) in br_make_port_id()
41 p->port_id = br_make_port_id(p->priority, p->port_no); in br_init_port()
315 p->priority = newprio; in br_stp_set_port_priority()
/net/mpls/
Dmpls_gso.c75 .priority = 15,
83 .priority = 15,

12345678