Searched defs:priority (Results 1 - 25 of 29) sorted by relevance

12

/net/ipv4/
H A Dtunnel4.c32 int priority = handler->priority; local
40 if (t->priority > priority)
42 if (t->priority == priority)
H A Dxfrm4_mode_tunnel.c27 int priority = handler->priority; local
35 if (t->priority > priority)
37 if (t->priority == priority)
H A Dinet_connection_sock.c672 * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc)
678 const gfp_t priority)
680 struct sock *newsk = sk_clone_lock(sk, priority);
676 inet_csk_clone_lock(const struct sock *sk, const struct request_sock *req, const gfp_t priority) argument
H A Dtcp_output.c2585 void tcp_send_active_reset(struct sock *sk, gfp_t priority) argument
2590 skb = alloc_skb(MAX_TCP_HEADER, priority);
2602 if (tcp_transmit_skb(sk, skb, 0, priority))
/net/ipv6/
H A Dtunnel6.c44 int priority = handler->priority; local
52 if (t->priority > priority)
54 if (t->priority == priority)
/net/bridge/
H A Dbr_stp_if.c23 /* Port id is composed of priority and port number.
24 * NB: some bits of priority are dropped to
27 static inline port_id br_make_port_id(__u8 priority, __u16 port_no) argument
29 return ((u16)priority << BR_PORT_BITS)
38 p->port_id = br_make_port_id(p->priority, p->port_no);
274 p->priority = newprio;
H A Dbr_private.h135 u8 priority; member in struct:net_bridge_port
/net/sched/
H A Dact_skbedit.c52 skb->priority = d->priority;
78 u32 flags = 0, *priority = NULL, *mark = NULL; local
94 priority = nla_data(tb[TCA_SKBEDIT_PRIORITY]);
133 d->priority = *priority;
173 nla_put(skb, TCA_SKBEDIT_PRIORITY, sizeof(d->priority),
174 &d->priority))
/net/dccp/
H A Dackvec.c20 struct dccp_ackvec *dccp_ackvec_alloc(const gfp_t priority) argument
22 struct dccp_ackvec *av = kmem_cache_zalloc(dccp_ackvec_slab, priority);
/net/tipc/
H A Dbearer.c92 if (m_ptr->priority > TIPC_MAX_LINK_PRI)
306 int tipc_enable_bearer(const char *name, u32 disc_domain, u32 priority) argument
339 if ((priority > TIPC_MAX_LINK_PRI) &&
340 (priority != TIPC_MEDIA_LINK_PRI)) {
341 pr_warn("Bearer <%s> rejected, illegal priority\n", name);
354 if (priority == TIPC_MEDIA_LINK_PRI)
355 priority = m_ptr->priority;
370 if ((tipc_bearers[i].priority == priority)
[all...]
H A Dbearer.h84 * @priority: default link (and bearer) priority
100 u32 priority; member in struct:tipc_media
116 * @priority: default link priority for bearer
139 u32 priority; member in struct:tipc_bearer
169 int tipc_enable_bearer(const char *bearer_name, u32 disc_domain, u32 priority);
H A Dlink.h113 * @priority: current link priority
165 u32 priority; member in struct:tipc_link
238 u32 gap, u32 tolerance, u32 priority,
/net/8021q/
H A Dvlan.h10 * struct vlan_priority_tci_mapping - vlan egress priority mappings
11 * @priority: skb priority
12 * @vlan_qos: vlan priority: (skb->priority << 13) & 0xE000
16 u32 priority; member in struct:vlan_priority_tci_mapping
48 * @nr_ingress_mappings: number of ingress priority mappings
49 * @ingress_priority_map: ingress priority mappings
50 * @nr_egress_mappings: number of egress priority mappings
51 * @egress_priority_map: hash of egress priority mapping
[all...]
/net/decnet/
H A Ddn_neigh.c391 dn->priority = msg->priority;
410 if (msg->priority > ((struct dn_neigh *)dn_db->router)->priority)
450 dn->priority = 0;
461 static char *dn_find_slot(char *base, int max, int priority) argument
471 base += 7; /* find next priority */
477 return (*min < priority) ? (min - 6) : NULL;
500 s->rs = dn_find_slot(s->ptr, s->n, dn->priority);
509 *(s->rs) |= dn->priority;
[all...]
/net/openvswitch/
H A Dflow.h45 u32 priority; /* Packet QoS priority. */ member in struct:sw_flow_key::__anon112
144 int ovs_flow_metadata_from_nlattrs(u32 *priority, u32 *mark, u16 *in_port,
H A Dflow.c607 key->phy.priority = skb->priority;
982 swkey->phy.priority = nla_get_u32(a[OVS_KEY_ATTR_PRIORITY]);
1125 * @priority: receives the skb priority
1136 int ovs_flow_metadata_from_nlattrs(u32 *priority, u32 *mark, u16 *in_port, argument
1143 *priority = 0;
1155 *priority = nla_get_u32(nla);
1180 if (swkey->phy.priority &&
1181 nla_put_u32(skb, OVS_KEY_ATTR_PRIORITY, swkey->phy.priority))
[all...]
/net/bluetooth/rfcomm/
H A Dtty.c351 static struct sk_buff *rfcomm_wmalloc(struct rfcomm_dev *dev, unsigned long size, gfp_t priority) argument
354 struct sk_buff *skb = alloc_skb(size, priority);
/net/irda/
H A Dirttp.c1500 * Close this connection please! If priority is high, the queued data
1505 int priority)
1540 if (priority == P_HIGH) {
1546 IRDA_DEBUG(1, "%s(): High priority!!()\n", __func__);
1548 } else if (priority == P_NORMAL) {
1504 irttp_disconnect_request(struct tsap_cb *self, struct sk_buff *userdata, int priority) argument
/net/llc/
H A Dllc_conn.c929 * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc)
934 struct sock *llc_sk_alloc(struct net *net, int family, gfp_t priority, struct proto *prot) argument
936 struct sock *sk = sk_alloc(net, family, priority, prot);
/net/sunrpc/
H A Dxprt.c200 int priority; local
221 priority = RPC_PRIORITY_LOW;
223 priority = RPC_PRIORITY_NORMAL;
225 priority = RPC_PRIORITY_HIGH;
226 rpc_sleep_on_priority(&xprt->sending, task, NULL, priority);
253 int priority; local
276 priority = RPC_PRIORITY_LOW;
278 priority = RPC_PRIORITY_NORMAL;
280 priority = RPC_PRIORITY_HIGH;
281 rpc_sleep_on_priority(&xprt->sending, task, NULL, priority);
[all...]
H A Dsched.c103 struct list_head *q = &queue->tasks[queue->priority];
113 static void rpc_set_waitqueue_priority(struct rpc_wait_queue *queue, int priority) argument
115 if (queue->priority != priority) {
116 /* Fairness: rotate the list when changing priority */
118 queue->priority = priority;
135 * Add new request to a priority queue.
147 if (queue_priority > queue->priority)
192 * Remove request from a priority queu
389 rpc_sleep_on_priority(struct rpc_wait_queue *q, struct rpc_task *task, rpc_action action, int priority) argument
[all...]
/net/phonet/
H A Dpep.c82 int len, gfp_t priority)
84 struct sk_buff *skb = alloc_skb(MAX_PNPIPE_HEADER + len, priority);
98 const void *data, int len, gfp_t priority)
105 skb = pep_alloc_skb(sk, data, len, priority);
120 const void *data, int len, gfp_t priority)
126 skb = pep_alloc_skb(sk, data, len, priority);
193 gfp_t priority)
197 return pep_reply(sk, skb, code, data, sizeof(data), priority);
203 gfp_t priority)
215 skb = pep_alloc_skb(sk, data, 4, priority);
81 pep_alloc_skb(struct sock *sk, const void *payload, int len, gfp_t priority) argument
97 pep_reply(struct sock *sk, struct sk_buff *oskb, u8 code, const void *data, int len, gfp_t priority) argument
119 pep_indicate(struct sock *sk, u8 id, u8 code, const void *data, int len, gfp_t priority) argument
192 pep_reject_conn(struct sock *sk, struct sk_buff *skb, u8 code, gfp_t priority) argument
202 pep_ctrlreq_error(struct sock *sk, struct sk_buff *oskb, u8 code, gfp_t priority) argument
229 pipe_snd_status(struct sock *sk, u8 type, u8 status, gfp_t priority) argument
239 pipe_grant_credits(struct sock *sk, gfp_t priority) argument
[all...]
/net/vmw_vsock/
H A Daf_vsock.c572 gfp_t priority,
579 sk = sk_alloc(net, AF_VSOCK, priority, &vsock_proto);
569 __vsock_create(struct net *net, struct socket *sock, struct sock *parent, gfp_t priority, unsigned short type) argument
/net/bluetooth/
H A Dhci_core.c2952 if (skb->priority < cur_prio)
2955 if (skb->priority > cur_prio) {
2958 cur_prio = skb->priority;
3036 if (skb->priority >= HCI_PRIO_MAX - 1)
3039 skb->priority = HCI_PRIO_MAX - 1;
3042 skb->priority);
3081 u32 priority = (skb_peek(&chan->data_q))->priority; local
3083 BT_DBG("chan %p skb %p len %d priority %u", chan, skb,
3084 skb->len, skb->priority);
3127 u32 priority = (skb_peek(&chan->data_q))->priority; local
3255 u32 priority = (skb_peek(&chan->data_q))->priority; local
[all...]
/net/core/
H A Dsock.c1225 static struct sock *sk_prot_alloc(struct proto *prot, gfp_t priority, argument
1233 sk = kmem_cache_alloc(slab, priority & ~__GFP_ZERO);
1236 if (priority & __GFP_ZERO) {
1243 sk = kmalloc(prot->obj_size, priority);
1248 if (security_sk_alloc(sk, family, priority))
1311 * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc)
1314 struct sock *sk_alloc(struct net *net, int family, gfp_t priority, argument
1319 sk = sk_prot_alloc(prot, priority | __GFP_ZERO, family);
1407 * @priority: for allocation (%GFP_KERNEL, %GFP_ATOMIC, etc)
1411 struct sock *sk_clone_lock(const struct sock *sk, const gfp_t priority) argument
1608 sock_wmalloc(struct sock *sk, unsigned long size, int force, gfp_t priority) argument
1625 sock_rmalloc(struct sock *sk, unsigned long size, int force, gfp_t priority) argument
1641 sock_kmalloc(struct sock *sk, int size, gfp_t priority) argument
[all...]

Completed in 311 milliseconds

12