/net/mac80211/ |
D | wme.c | 35 switch (skb->priority) { in wme_downgrade_ac() 38 skb->priority = 5; /* VO -> VI */ in wme_downgrade_ac() 42 skb->priority = 3; /* VI -> BE */ in wme_downgrade_ac() 46 skb->priority = 2; /* BE -> BK */ in wme_downgrade_ac() 89 while (sdata->wmm_acm & BIT(skb->priority)) { in ieee80211_downgrade_queue() 90 int ac = ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() 93 skb->priority == ifmgd->tx_tspec[ac].up) in ieee80211_downgrade_queue() 108 if (sta && sta->reserved_tid == skb->priority) in ieee80211_downgrade_queue() 109 skb->priority = ieee80211_fix_reserved_tid(skb->priority); in ieee80211_downgrade_queue() 112 return ieee802_1d_to_ac[skb->priority]; in ieee80211_downgrade_queue() [all …]
|
/net/ipv6/ |
D | tunnel6.c | 31 int priority = handler->priority; in xfrm6_tunnel_register() local 39 if (t->priority > priority) in xfrm6_tunnel_register() 41 if (t->priority == priority) in xfrm6_tunnel_register()
|
D | xfrm6_protocol.c | 192 int priority = handler->priority; in xfrm6_protocol_register() local 207 if (t->priority < priority) in xfrm6_protocol_register() 209 if (t->priority == priority) in xfrm6_protocol_register()
|
/net/dccp/ |
D | qpolicy.c | 41 if (best == NULL || skb->priority > best->priority) in qpolicy_prio_best_skb() 51 if (worst == NULL || skb->priority < worst->priority) in qpolicy_prio_worst_skb() 122 skb->priority = 0; in dccp_qpolicy_pop()
|
/net/ipv4/ |
D | tunnel4.c | 37 int priority = handler->priority; in xfrm4_tunnel_register() local 45 if (t->priority > priority) in xfrm4_tunnel_register() 47 if (t->priority == priority) in xfrm4_tunnel_register()
|
D | xfrm4_protocol.c | 218 int priority = handler->priority; in xfrm4_protocol_register() local 233 if (t->priority < priority) in xfrm4_protocol_register() 235 if (t->priority == priority) in xfrm4_protocol_register()
|
D | xfrm4_tunnel.c | 67 .priority = 3, 74 .priority = 2,
|
/net/sched/ |
D | act_skbedit.c | 40 skb->priority = params->priority; in tcf_skbedit_act() 49 skb->priority = ipv4_get_dsfield(ip_hdr(skb)) >> 2; in tcf_skbedit_act() 56 skb->priority = ipv6_get_dsfield(ipv6_hdr(skb)) >> 2; in tcf_skbedit_act() 98 u32 flags = 0, *priority = NULL, *mark = NULL, *mask = NULL; in tcf_skbedit_init() local 117 priority = nla_data(tb[TCA_SKBEDIT_PRIORITY]); in tcf_skbedit_init() 195 params_new->priority = *priority; in tcf_skbedit_init() 248 nla_put_u32(skb, TCA_SKBEDIT_PRIORITY, params->priority)) in tcf_skbedit_dump()
|
D | act_meta_skbprio.c | 23 return ife_check_meta_u32(skb->priority, e); in skbprio_check() 29 u32 ifeprio = skb->priority; /* avoid having to cast skb->priority*/ in skbprio_encode() 38 skb->priority = ntohl(ifeprio); in skbprio_decode()
|
/net/ipv6/netfilter/ |
D | ip6table_nat.c | 43 .priority = NF_IP6_PRI_NAT_DST, 49 .priority = NF_IP6_PRI_NAT_SRC, 55 .priority = NF_IP6_PRI_NAT_DST, 61 .priority = NF_IP6_PRI_NAT_SRC,
|
/net/ipv4/netfilter/ |
D | iptable_nat.c | 41 .priority = NF_IP_PRI_NAT_DST, 47 .priority = NF_IP_PRI_NAT_SRC, 53 .priority = NF_IP_PRI_NAT_DST, 59 .priority = NF_IP_PRI_NAT_SRC,
|
/net/batman-adv/ |
D | fragmentation.c | 420 skb_fragment->priority = skb->priority; in batadv_frag_create() 506 if (skb->priority >= 256 && skb->priority <= 263) in batadv_frag_send_packet() 507 frag_header.priority = skb->priority - 256; in batadv_frag_send_packet() 509 frag_header.priority = 0; in batadv_frag_send_packet()
|
/net/sunrpc/ |
D | sched.c | 123 static void rpc_set_waitqueue_priority(struct rpc_wait_queue *queue, int priority) in rpc_set_waitqueue_priority() argument 125 if (queue->priority != priority) { in rpc_set_waitqueue_priority() 126 queue->priority = priority; in rpc_set_waitqueue_priority() 127 queue->nr = 1U << priority; in rpc_set_waitqueue_priority() 469 struct rpc_task *task, unsigned long timeout, int priority) in rpc_sleep_on_priority_timeout() argument 474 priority -= RPC_PRIORITY_LOW; in rpc_sleep_on_priority_timeout() 479 __rpc_sleep_on_priority_timeout(q, task, timeout, priority); in rpc_sleep_on_priority_timeout() 485 int priority) in rpc_sleep_on_priority() argument 491 priority -= RPC_PRIORITY_LOW; in rpc_sleep_on_priority() 496 __rpc_sleep_on_priority(q, task, priority); in rpc_sleep_on_priority() [all …]
|
/net/bridge/netfilter/ |
D | ebtable_filter.c | 72 .priority = NF_BR_PRI_FILTER_BRIDGED, 78 .priority = NF_BR_PRI_FILTER_BRIDGED, 84 .priority = NF_BR_PRI_FILTER_OTHER,
|
D | ebtable_nat.c | 72 .priority = NF_BR_PRI_NAT_DST_OTHER, 78 .priority = NF_BR_PRI_NAT_SRC, 84 .priority = NF_BR_PRI_NAT_DST_BRIDGED,
|
/net/phonet/ |
D | pep.c | 70 int len, gfp_t priority) in pep_alloc_skb() argument 72 struct sk_buff *skb = alloc_skb(MAX_PNPIPE_HEADER + len, priority); in pep_alloc_skb() 86 const void *data, int len, gfp_t priority) in pep_reply() argument 93 skb = pep_alloc_skb(sk, data, len, priority); in pep_reply() 108 const void *data, int len, gfp_t priority) in pep_indicate() argument 114 skb = pep_alloc_skb(sk, data, len, priority); in pep_indicate() 181 gfp_t priority) in pep_reject_conn() argument 185 return pep_reply(sk, skb, code, data, sizeof(data), priority); in pep_reject_conn() 191 gfp_t priority) in pep_ctrlreq_error() argument 203 skb = pep_alloc_skb(sk, data, 4, priority); in pep_ctrlreq_error() [all …]
|
/net/bpf/ |
D | test_run.c | 208 if (!range_is_zero(__skb, 0, offsetof(struct __sk_buff, priority))) in convert___skb_to_skb() 213 if (!range_is_zero(__skb, offsetof(struct __sk_buff, priority) + in convert___skb_to_skb() 214 FIELD_SIZEOF(struct __sk_buff, priority), in convert___skb_to_skb() 225 skb->priority = __skb->priority; in convert___skb_to_skb() 238 __skb->priority = skb->priority; in convert_skb_to___skb()
|
/net/netfilter/ |
D | nf_conntrack_proto.c | 211 .priority = NF_IP_PRI_CONNTRACK, 217 .priority = NF_IP_PRI_CONNTRACK, 223 .priority = NF_IP_PRI_CONNTRACK_CONFIRM, 229 .priority = NF_IP_PRI_CONNTRACK_CONFIRM, 406 .priority = NF_IP6_PRI_CONNTRACK, 412 .priority = NF_IP6_PRI_CONNTRACK, 418 .priority = NF_IP6_PRI_LAST, 424 .priority = NF_IP6_PRI_LAST - 1,
|
D | xt_CLASSIFY.c | 33 skb->priority = clinfo->priority; in classify_tg()
|
D | core.c | 100 .priority = INT_MIN, 142 if (inserted || reg->priority > orig_ops[i]->priority) { in nf_hook_entries_grow() 177 WARN_ON(orig_ops[i]->priority < prio); in hooks_validate() 179 if (orig_ops[i]->priority > prio) in hooks_validate() 180 prio = orig_ops[i]->priority; in hooks_validate()
|
/net/rxrpc/ |
D | security.c | 126 skb->priority = RX_INVALID_OPERATION; in rxrpc_look_up_server_security() 138 skb->priority = RX_INVALID_OPERATION; in rxrpc_look_up_server_security() 150 skb->priority = sec->no_key_abort; in rxrpc_look_up_server_security()
|
/net/bridge/ |
D | br_stp_if.c | 24 static inline port_id br_make_port_id(__u8 priority, __u16 port_no) in br_make_port_id() argument 26 return ((u16)priority << BR_PORT_BITS) in br_make_port_id() 37 p->port_id = br_make_port_id(p->priority, p->port_no); in br_init_port() 312 p->priority = newprio; in br_stp_set_port_priority()
|
/net/mpls/ |
D | mpls_gso.c | 74 .priority = 15, 82 .priority = 15,
|
/net/can/j1939/ |
D | main.c | 73 skcb->priority = (cf->can_id >> 26) & 0x7; in j1939_can_recv() 332 if (skcb->priority > 7) in j1939_send_one() 333 skcb->priority = 6; in j1939_send_one() 350 (skcb->priority << 26) | in j1939_send_one()
|
/net/dcb/ |
D | dcbnl.c | 541 app.priority = up; in dcbnl_setapp() 1294 itr->app.priority); in dcbnl_cee_fill() 1808 ((prio == -1) || itr->app.priority == prio)) in dcb_app_lookup() 1845 prio = itr->app.priority; in dcb_getapp() 1874 if (new->priority) in dcb_setapp() 1875 itr->app.priority = new->priority; in dcb_setapp() 1883 if (new->priority) in dcb_setapp() 1908 prio |= 1 << itr->app.priority; in dcb_ieee_getapp_mask() 1935 if (dcb_app_lookup(new, dev->ifindex, new->priority)) { in dcb_ieee_setapp() 1967 if ((itr = dcb_app_lookup(del, dev->ifindex, del->priority))) { in dcb_ieee_delapp() [all …]
|