Searched refs:priority (Results 126 - 150 of 1104) sorted by last modified time

1234567891011>>

/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_sock_fields.c72 dst->priority = src->priority;
H A Dlsm_cgroup.c148 int BPF_PROG(socket_alloc, struct sock *sk, int family, gfp_t priority) argument
174 /* Accepted request sockets get a different priority. */
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dxdp_do_redirect.c43 DECLARE_LIBBPF_OPTS(bpf_tc_opts, opts, .handle = 1, .priority = 1, .prog_fd = fd);
H A Dtest_tunnel.c370 .priority = 1, .prog_fd = igr_fd);
372 .priority = 1, .prog_fd = egr_fd);
H A Dtc_redirect.c333 const struct bpf_program *prog, int priority)
341 tc_attach.priority = priority;
347 priority, bpf_program__name(prog));
359 #define XGRESS_FILTER_ADD(qdisc_hook, xgress, prog, priority) ({ \
360 if ((err = xgress_filter_add(qdisc_hook, xgress, prog, priority))) \
331 xgress_filter_add(struct bpf_tc_hook *qdisc_hook, enum bpf_tc_attach_point xgress, const struct bpf_program *prog, int priority) argument
H A Dip_check_defrag.c85 .priority = 42,
/linux-master/tools/lib/bpf/
H A Dlibbpf.h813 __s32 priority; member in struct:bpf_netfilter_opts
1265 __u32 priority; member in struct:bpf_tc_opts
1268 #define bpf_tc_opts__last_field priority
H A Dlibbpf.c12808 lopts.netfilter.priority = OPTS_GET(opts, priority, 0);
H A Dbpf.h425 __s32 priority; member in struct:bpf_link_create_opts::__anon3629::__anon3634
/linux-master/tools/include/uapi/linux/
H A Dbpf.h1750 __s32 priority; member in struct:bpf_attr::__anon3514::__anon3517::__anon3522
2987 * **priority** pointers, or other pointers for the socket buffer.
6231 __u32 priority; member in struct:__sk_buff
6332 __u32 priority; member in struct:bpf_sock
6669 __s32 priority; member in struct:bpf_link_info::__anon3568::__anon3581
7177 __be32 flowinfo; /* AF_INET6, flow_label + priority */
/linux-master/tools/bpf/bpftool/
H A Dlink.c230 info->netfilter.priority);
709 printf(" prio %d", info->netfilter.priority);
/linux-master/security/selinux/
H A Dhooks.c5224 static int selinux_sk_alloc_security(struct sock *sk, int family, gfp_t priority) argument
5228 sksec = kzalloc(sizeof(*sksec), priority);
7487 .priority = NF_IP_PRI_SELINUX_LAST,
7493 .priority = NF_IP_PRI_SELINUX_FIRST,
7499 .priority = NF_IP_PRI_SELINUX_FIRST,
7506 .priority = NF_IP6_PRI_SELINUX_LAST,
7512 .priority = NF_IP6_PRI_SELINUX_FIRST,
7518 .priority = NF_IP6_PRI_SELINUX_FIRST,
/linux-master/security/
H A Dsecurity.c4654 * @priority: gfp flags
4661 int security_sk_alloc(struct sock *sk, int family, gfp_t priority) argument
4663 return call_int_hook(sk_alloc_security, sk, family, priority);
/linux-master/security/apparmor/
H A Dlsm.c2109 .priority = NF_IP_PRI_SELINUX_FIRST,
2116 .priority = NF_IP6_PRI_SELINUX_FIRST,
/linux-master/net/xfrm/
H A Dxfrm_user.c1999 xp->priority = p->priority;
2015 p->priority = xp->priority;
H A Dxfrm_policy.c112 * the lowest priority. If two results have same prio, youngest one wins.
877 if (policy->priority > p->priority)
879 else if (policy->priority == p->priority &&
1365 if (policy->priority >= pol->priority)
1535 if (policy->priority > pol->priority)
1537 } else if (policy->priority >
2113 u32 priority = prefer ? prefer->priority : ~0u; local
4461 u32 priority = ~0U; local
[all...]
H A Dxfrm_interface_core.c989 .priority = 10,
997 .priority = 10,
1005 .priority = 10,
1024 .priority = 2,
1031 .priority = 2,
1040 .priority = 10,
1048 .priority = 10,
1056 .priority = 10,
1069 .priority = 3,
1076 .priority
[all...]
H A Dxfrm_compat.c27 __u32 priority, index; member in struct:compat_xfrm_userpolicy_info
/linux-master/net/tipc/
H A Dudp_media.c847 .priority = TIPC_DEF_LINK_PRI,
/linux-master/net/sched/
H A Dsch_taprio.c336 tc = netdev_get_prio_tc_map(dev, skb->priority);
541 int prio = skb->priority;
724 prio = skb->priority;
1890 /* Always use supplied priority mappings */
H A Dsch_sfq.c59 to higher priority band.
171 if (TC_H_MAJ(skb->priority) == sch->handle &&
172 TC_H_MIN(skb->priority) > 0 &&
173 TC_H_MIN(skb->priority) <= q->divisor)
174 return TC_H_MIN(skb->priority);
H A Dsch_skbprio.c25 * packets according to their skb->priority field. Under congestion,
26 * Skbprio drops already-enqueued lower priority packets to make space
27 * available for higher priority packets; it was conceived as a solution
49 /* SKB queue is empty, return 0 (default highest priority setting). */
63 * (default lowest priority setting).
78 /* Obtain the priority of @skb. */
79 prio = min(skb->priority, max_priority);
100 /* If this packet has the lowest priority, drop it. */
112 /* Drop the packet at the tail of the lowest priority qdisc. */
156 /* Update highest priority fiel
[all...]
H A Dsch_htb.c45 it allows to assign priority to each class in hierarchy.
212 * We allow direct class selection by classid in priority. The we examine
228 /* allow to select class by setting skb->priority to valid classid;
232 if (skb->priority == sch->handle)
234 cl = htb_find(skb->priority, sch);
308 * @q: the priority event queue
312 * The class is added to priority event queue to indicate that class will
356 * @q: the priority event queue
388 * @q: the priority event queue
418 * @q: the priority even
[all...]
H A Dsch_hfsc.c1139 if (TC_H_MAJ(skb->priority ^ sch->handle) == 0 &&
1140 (cl = hfsc_find_class(skb->priority, sch)) != NULL)
H A Dsch_generic.c715 * - rings for priority bands
730 int band = sch_default_prio2band[skb->priority & TC_PRIO_MAX];

Completed in 475 milliseconds

1234567891011>>