Home
last modified time | relevance | path

Searched refs:mark (Results 1 – 200 of 271) sorted by relevance

12

/linux-4.1.27/fs/notify/
Dmark.c99 void fsnotify_get_mark(struct fsnotify_mark *mark) in fsnotify_get_mark() argument
101 atomic_inc(&mark->refcnt); in fsnotify_get_mark()
104 void fsnotify_put_mark(struct fsnotify_mark *mark) in fsnotify_put_mark() argument
106 if (atomic_dec_and_test(&mark->refcnt)) { in fsnotify_put_mark()
107 if (mark->group) in fsnotify_put_mark()
108 fsnotify_put_group(mark->group); in fsnotify_put_mark()
109 mark->free_mark(mark); in fsnotify_put_mark()
117 struct fsnotify_mark *mark; in fsnotify_recalc_mask() local
119 hlist_for_each_entry(mark, head, obj_list) in fsnotify_recalc_mask()
120 new_mask |= mark->mask; in fsnotify_recalc_mask()
[all …]
Dinode_mark.c46 void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark) in fsnotify_destroy_inode_mark() argument
48 struct inode *inode = mark->inode; in fsnotify_destroy_inode_mark()
50 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_inode_mark()
51 assert_spin_locked(&mark->lock); in fsnotify_destroy_inode_mark()
55 hlist_del_init_rcu(&mark->obj_list); in fsnotify_destroy_inode_mark()
56 mark->inode = NULL; in fsnotify_destroy_inode_mark()
72 struct fsnotify_mark *mark; in fsnotify_clear_marks_by_inode() local
77 hlist_for_each_entry_safe(mark, n, &inode->i_fsnotify_marks, obj_list) { in fsnotify_clear_marks_by_inode()
78 list_add(&mark->free_list, &free_list); in fsnotify_clear_marks_by_inode()
79 hlist_del_init_rcu(&mark->obj_list); in fsnotify_clear_marks_by_inode()
[all …]
Dvfsmount_mark.c35 struct fsnotify_mark *mark; in fsnotify_clear_marks_by_mount() local
41 hlist_for_each_entry_safe(mark, n, &m->mnt_fsnotify_marks, obj_list) { in fsnotify_clear_marks_by_mount()
42 list_add(&mark->free_list, &free_list); in fsnotify_clear_marks_by_mount()
43 hlist_del_init_rcu(&mark->obj_list); in fsnotify_clear_marks_by_mount()
44 fsnotify_get_mark(mark); in fsnotify_clear_marks_by_mount()
69 void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark) in fsnotify_destroy_vfsmount_mark() argument
71 struct vfsmount *mnt = mark->mnt; in fsnotify_destroy_vfsmount_mark()
74 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_vfsmount_mark()
75 assert_spin_locked(&mark->lock); in fsnotify_destroy_vfsmount_mark()
79 hlist_del_init_rcu(&mark->obj_list); in fsnotify_destroy_vfsmount_mark()
[all …]
Dfdinfo.c25 struct fsnotify_mark *mark)) in show_fdinfo() argument
28 struct fsnotify_mark *mark; in show_fdinfo() local
31 list_for_each_entry(mark, &group->marks_list, g_list) { in show_fdinfo()
32 show(m, mark); in show_fdinfo()
74 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in inotify_fdinfo() argument
79 if (!(mark->flags & (FSNOTIFY_MARK_FLAG_ALIVE | FSNOTIFY_MARK_FLAG_INODE))) in inotify_fdinfo()
82 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); in inotify_fdinfo()
83 inode = igrab(mark->inode); in inotify_fdinfo()
87 mark->mask, mark->ignored_mask); in inotify_fdinfo()
103 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) in fanotify_fdinfo() argument
[all …]
Dfsnotify.h26 struct fsnotify_mark *mark,
29 extern int fsnotify_add_inode_mark(struct fsnotify_mark *mark,
33 extern int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark,
38 extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark);
40 extern void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark);
DMakefile2 mark.o vfsmount_mark.o fdinfo.o
/linux-4.1.27/net/netfilter/ipvs/
Dip_vs_wrr.c113 struct ip_vs_wrr_mark *mark; in ip_vs_wrr_init_svc() local
118 mark = kmalloc(sizeof(struct ip_vs_wrr_mark), GFP_KERNEL); in ip_vs_wrr_init_svc()
119 if (mark == NULL) in ip_vs_wrr_init_svc()
122 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); in ip_vs_wrr_init_svc()
123 mark->di = ip_vs_wrr_gcd_weight(svc); in ip_vs_wrr_init_svc()
124 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1); in ip_vs_wrr_init_svc()
125 mark->cw = mark->mw; in ip_vs_wrr_init_svc()
126 svc->sched_data = mark; in ip_vs_wrr_init_svc()
134 struct ip_vs_wrr_mark *mark = svc->sched_data; in ip_vs_wrr_done_svc() local
139 kfree_rcu(mark, rcu_head); in ip_vs_wrr_done_svc()
[all …]
Dip_vs_ftp.c240 cp->dest, skb->mark); in ip_vs_ftp_out()
404 skb->mark); in ip_vs_ftp_in()
Dip_vs_core.c344 IP_VS_CONN_F_TEMPLATE, dest, skb->mark); in ip_vs_sched_persist()
373 skb->mark); in ip_vs_sched_persist()
503 flags, dest, skb->mark); in ip_vs_schedule()
574 NULL, skb->mark); in ip_vs_leave()
Dip_vs_proto_udp.c48 svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, in udp_conn_schedule()
Dip_vs_proto_sctp.c39 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, in sctp_conn_schedule()
Dip_vs_proto_tcp.c54 (svc = ip_vs_service_find(net, af, skb->mark, iph->protocol, in tcp_conn_schedule()
/linux-4.1.27/net/bridge/netfilter/
Debt_mark.c28 skb->mark = info->mark; in ebt_mark_tg()
30 skb->mark |= info->mark; in ebt_mark_tg()
32 skb->mark &= info->mark; in ebt_mark_tg()
34 skb->mark ^= info->mark; in ebt_mark_tg()
57 compat_ulong_t mark; member
66 kern->mark = user->mark; in mark_tg_compat_from_user()
75 if (put_user(kern->mark, &user->mark) || in mark_tg_compat_to_user()
Debt_mark_m.c21 return !!(skb->mark & info->mask) ^ info->invert; in ebt_mark_mt()
22 return ((skb->mark & info->mask) == info->mark) ^ info->invert; in ebt_mark_mt()
41 compat_ulong_t mark, mask; member
50 kern->mark = user->mark; in mark_mt_compat_from_user()
61 if (put_user(kern->mark, &user->mark) || in mark_mt_compat_to_user()
DKconfig123 tristate "ebt: mark filter support"
125 This option adds the mark match, which allows matching frames based on
126 the 'nfmark' value in the frame. This can be set by the mark target.
127 This value is the same as the one used in the iptables mark match and
178 tristate "ebt: mark target support"
180 This option adds the mark target, which allows marking frames by
182 This value is the same as the one used in the iptables mark match and
/linux-4.1.27/net/netfilter/
Dxt_connmark.c52 newmark = (ct->mark & ~info->ctmask) ^ info->ctmark; in connmark_tg()
53 if (ct->mark != newmark) { in connmark_tg()
54 ct->mark = newmark; in connmark_tg()
59 newmark = (ct->mark & ~info->ctmask) ^ in connmark_tg()
60 (skb->mark & info->nfmask); in connmark_tg()
61 if (ct->mark != newmark) { in connmark_tg()
62 ct->mark = newmark; in connmark_tg()
67 newmark = (skb->mark & ~info->nfmask) ^ in connmark_tg()
68 (ct->mark & info->ctmask); in connmark_tg()
69 skb->mark = newmark; in connmark_tg()
[all …]
Dxt_mark.c32 skb->mark = (skb->mark & ~info->mask) ^ info->mark; in mark_tg()
41 return ((skb->mark & info->mask) == info->mark) ^ info->invert; in mark_mt()
Dxt_TPROXY.c334 skb->mark = (skb->mark & ~mark_mask) ^ mark_value; in tproxy_tg4()
338 &laddr, ntohs(lport), skb->mark); in tproxy_tg4()
346 &iph->daddr, ntohs(hp->dest), skb->mark); in tproxy_tg4()
501 skb->mark = (skb->mark & ~tgi->mark_mask) ^ tgi->mark_value; in tproxy_tg6_v1()
505 laddr, ntohs(lport), skb->mark); in tproxy_tg6_v1()
513 &iph->daddr, ntohs(hp->dest), skb->mark); in tproxy_tg6_v1()
Dnft_ct.c75 *dest = ct->mark; in nft_ct_get_eval()
171 if (ct->mark != value) { in nft_ct_set_eval()
172 ct->mark = value; in nft_ct_set_eval()
334 len = FIELD_SIZEOF(struct nf_conn, mark); in nft_ct_set_init()
Dxt_AUDIT.c139 if (skb->mark) in audit_tg()
140 audit_log_format(ab, " mark=%#x", skb->mark); in audit_tg()
Dnf_conntrack_netlink.c292 if (nla_put_be32(skb, CTA_MARK, htonl(ct->mark))) in ctnetlink_dump_mark()
717 if ((events & (1 << IPCT_MARK) || ct->mark) in ctnetlink_conntrack_event()
756 } mark; member
769 filter->mark.val = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_alloc_filter()
770 filter->mark.mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_alloc_filter()
786 if ((ct->mark & filter->mark.mask) == filter->mark.val) in ctnetlink_filter_match()
1629 ct->mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_change_conntrack()
1755 ct->mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_create_conntrack()
2143 if (ct->mark && ctnetlink_dump_mark(skb, ct) < 0) in ctnetlink_nfqueue_build()
2183 u32 mask = 0, mark, newmark; in ctnetlink_nfqueue_parse_ct() local
[all …]
Dnft_meta.c54 *dest = skb->mark; in nft_meta_get_eval()
195 skb->mark = value; in nft_meta_set_eval()
Dxt_HMARK.c227 skb->mark = hmark_hash(&t, info); in hmark_tg_v6()
308 skb->mark = hmark_hash(&t, info); in hmark_tg_v4()
DKconfig55 bool 'Connection mark tracking support'
59 `CONNMARK' target and `connmark' match. Similar to the mark value
60 of packets, but this mark value is kept in the conntrack session
64 bool 'Connection tracking security mark support'
461 to set packet metainformation such as the packet mark.
569 This option adds the "MARK" target and "mark" match.
571 Netfilter mark matching allows you to match packets based on the
574 the netfilter mark (nfmark) field associated with the packet.
588 Netfilter allows you to store a mark value per connection (a.k.a.
589 ctmark), similarly to the packet mark (nfmark). Using this
[all …]
Dnfnetlink_queue_core.c450 if (entskb->mark && in nfqnl_build_packet_message()
451 nla_put_be32(skb, NFQA_MARK, htonl(entskb->mark))) in nfqnl_build_packet_message()
972 entry->skb->mark = ntohl(nla_get_be32(nfqa[NFQA_MARK])); in nfqnl_recv_verdict_batch()
1035 entry->skb->mark = ntohl(nla_get_be32(nfqa[NFQA_MARK])); in nfqnl_recv_verdict()
Dxt_set.c447 skb->mark = (skb->mark & ~(map_opt.ext.skbmarkmask)) in set_target_v3()
Dnfnetlink_log.c504 if (skb->mark && in __build_packet_message()
505 nla_put_be32(inst->skb, NFULA_MARK, htonl(skb->mark))) in __build_packet_message()
Dnf_conntrack_standalone.c227 seq_printf(s, "mark=%u ", ct->mark); in ct_seq_show()
Dnf_conntrack_core.c966 ct->mark = exp->master->mark; in init_conntrack()
/linux-4.1.27/net/netfilter/ipset/
Dip_set_hash_ipmark.c45 __u32 mark; member
56 ip1->mark == ip2->mark; in hash_ipmark4_data_equal()
64 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark4_data_list()
95 e.mark = skb->mark; in hash_ipmark4_kadt()
96 e.mark &= h->markmask; in hash_ipmark4_kadt()
131 e.mark = ntohl(nla_get_u32(tb[IPSET_ATTR_MARK])); in hash_ipmark4_uadt()
132 e.mark &= h->markmask; in hash_ipmark4_uadt()
173 __u32 mark; member
184 ip1->mark == ip2->mark; in hash_ipmark6_data_equal()
192 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark6_data_list()
[all …]
DKconfig65 tristate "hash:ip,mark set support"
68 This option adds the hash:ip,mark set type support, by which one
69 can store IPv4/IPv6 address and mark pairs.
/linux-4.1.27/arch/powerpc/kernel/
Dsmp-tbsync.c25 volatile u64 mark; member
38 static void enter_contest(u64 mark, long add) in enter_contest() argument
40 while (get_tb() < mark) in enter_contest()
72 enter_contest(tbsync->mark, -1); in smp_generic_take_timebase()
81 u64 mark; in start_contest() local
89 tbsync->mark = mark = tb + 400; in start_contest()
100 enter_contest(mark, 1); in start_contest()
/linux-4.1.27/include/linux/
Dfsnotify_backend.h104 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group);
234 void (*free_mark)(struct fsnotify_mark *mark); /* called on final put+free */
331 …tern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *m…
339 extern void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask);
341 extern void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask);
343 extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group,
345 extern int fsnotify_add_mark_locked(struct fsnotify_mark *mark, struct fsnotify_group *group,
348 extern void fsnotify_destroy_mark(struct fsnotify_mark *mark,
350 extern void fsnotify_destroy_mark_locked(struct fsnotify_mark *mark,
360 extern void fsnotify_get_mark(struct fsnotify_mark *mark);
[all …]
Dshdma-base.h56 int mark; member
Dmmzone.h795 unsigned long mark, int classzone_idx, int alloc_flags);
797 unsigned long mark, int classzone_idx, int alloc_flags);
/linux-4.1.27/net/ipv4/netfilter/
Dnft_chain_route_ipv4.c30 u32 mark; in nf_route_table_hook() local
42 mark = skb->mark; in nf_route_table_hook()
54 skb->mark != mark || in nf_route_table_hook()
Diptable_mangle.c47 u_int32_t mark; in ipt_mangle_out() local
56 mark = skb->mark; in ipt_mangle_out()
70 skb->mark != mark || in ipt_mangle_out()
Dnf_log_ipv4.c257 if (!iphoff && skb->mark) in dump_ipv4_packet()
258 nf_log_buf_add(m, "MARK=0x%x ", skb->mark); in dump_ipv4_packet()
Dipt_rpfilter.c97 flow.flowi4_mark = info->flags & XT_RPFILTER_VALID_MARK ? skb->mark : 0; in rpfilter_mt()
Dipt_CLUSTERIP.c332 ct->mark = hash; in clusterip_tg()
349 pr_debug("hash=%u ct_hash=%u ", hash, ct->mark); in clusterip_tg()
Dnf_conntrack_l3proto_ipv4_compat.c178 seq_printf(s, "mark=%u ", ct->mark); in ct_seq_show()
DKconfig54 the packet mark.
/linux-4.1.27/drivers/media/usb/dvb-usb/
Daf9005-remote.c89 u16 mark, space; in af9005_rc_decode() local
95 mark = (u16) (data[0] << 8) + data[1]; in af9005_rc_decode()
97 if (space * 3 < mark) { in af9005_rc_decode()
113 mark = (u16) (data[i] << 8) + data[i + 1]; in af9005_rc_decode()
114 mark >>= 1; in af9005_rc_decode()
117 if (mark * 2 > space) in af9005_rc_decode()
/linux-4.1.27/net/ipv6/netfilter/
Dnft_chain_route_ipv6.c33 u32 mark, flowlabel; in nf_route_table_hook() local
42 mark = skb->mark; in nf_route_table_hook()
52 skb->mark != mark || in nf_route_table_hook()
Dip6table_mangle.c40 u_int32_t flowlabel, mark; in ip6t_mangle_out() local
54 mark = skb->mark; in ip6t_mangle_out()
66 skb->mark != mark || in ip6t_mangle_out()
Dnf_log_ipv6.c284 if (recurse && skb->mark) in dump_ipv6_packet()
285 nf_log_buf_add(m, "MARK=0x%x ", skb->mark); in dump_ipv6_packet()
Dip6t_rpfilter.c50 fl6.flowi6_mark = flags & XT_RPFILTER_VALID_MARK ? skb->mark : 0; in rpfilter_lookup_reverse6()
DKconfig43 the packet mark.
/linux-4.1.27/net/ipv6/
Dipcomp6.c71 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ipcomp6_err()
104 memcpy(&t->mark, &x->mark, sizeof(t->mark)); in ipcomp6_tunnel_create()
127 u32 mark = x->mark.m & x->mark.v; in ipcomp6_tunnel_attach() local
131 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr, in ipcomp6_tunnel_attach()
Dnetfilter.c29 .flowi6_mark = skb->mark, in ip6_route_me_harder()
79 u_int32_t mark; member
92 rt_info->mark = skb->mark; in nf_ip6_saveroute()
105 skb->mark != rt_info->mark) in nf_ip6_reroute()
Dicmp.c407 u32 mark = IP6_REPLY_MARK(net, skb->mark); in icmp6_send() local
474 fl6.flowi6_mark = mark; in icmp6_send()
483 sk->sk_mark = mark; in icmp6_send()
561 u32 mark = IP6_REPLY_MARK(net, skb->mark); in icmpv6_echo_reply() local
580 fl6.flowi6_mark = mark; in icmpv6_echo_reply()
586 sk->sk_mark = mark; in icmpv6_echo_reply()
Dip6_vti.c344 u32 orig_mark = skb->mark; in vti6_rcv_cb()
362 skb->mark = be32_to_cpu(t->parms.i_key); in vti6_rcv_cb()
364 skb->mark = orig_mark; in vti6_rcv_cb()
557 __u32 mark; in vti6_err() local
571 mark = be32_to_cpu(t->parms.o_key); in vti6_err()
594 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr, in vti6_err()
Dxfrm6_input.c104 x = xfrm_state_lookup_byaddr(net, skb->mark, dst, src, proto, AF_INET6); in xfrm6_input_addr()
Droute.c1020 .flowi6_mark = skb->mark, in ip6_route_input()
1168 int oif, u32 mark) in ip6_update_pmtu() argument
1176 fl6.flowi6_mark = mark ? mark : IP6_REPLY_MARK(net, skb->mark); in ip6_update_pmtu()
1272 void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark) in ip6_redirect() argument
1281 fl6.flowi6_mark = mark; in ip6_redirect()
1293 u32 mark) in ip6_redirect_no_header() argument
1303 fl6.flowi6_mark = mark; in ip6_redirect_no_header()
Dip6_output.c221 skb->mark = sk->sk_mark; in ip6_xmit()
537 to->mark = from->mark; in ip6_copy_metadata()
1658 skb->mark = sk->sk_mark; in __ip6_make_skb()
Dxfrm6_policy.c148 fl6->flowi6_mark = skb->mark; in _decode_session6()
Dip6mr.c632 .flowi6_mark = skb->mark, in pim6_rcv()
702 .flowi6_mark = skb->mark, in reg_vif_xmit()
1646 .flowi6_mark = skb->mark, in mroute6_socket()
2189 .flowi6_mark = skb->mark, in ip6_mr_input()
Dmcast.c1307 int mark = 0; in igmp6_event_query() local
1376 mark = 1; in igmp6_event_query()
1396 if (!mark) in igmp6_event_query()
1400 if (mark) in igmp6_event_query()
Desp6.c438 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in esp6_err()
Dah6.c658 …x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6… in ah6_err()
Dip6_gre.c798 fl6.flowi6_mark = skb->mark; in ip6gre_xmit_ipv4()
848 fl6.flowi6_mark = skb->mark; in ip6gre_xmit_ipv6()
Dip6_tunnel.c1143 fl6.flowi6_mark = skb->mark; in ip4ip6_tnl_xmit()
1197 fl6.flowi6_mark = skb->mark; in ip6ip6_tnl_xmit()
/linux-4.1.27/net/ipv4/
Dipcomp.c45 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ipcomp4_err()
78 memcpy(&t->mark, &x->mark, sizeof(t->mark)); in ipcomp_tunnel_create()
103 u32 mark = x->mark.v & x->mark.m; in ipcomp_tunnel_attach() local
105 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4, in ipcomp_tunnel_attach()
Dnetfilter.c44 fl4.flowi4_mark = skb->mark; in ip_route_me_harder()
89 u_int32_t mark; member
103 rt_info->mark = skb->mark; in nf_ip_saveroute()
116 skb->mark == rt_info->mark && in nf_ip_reroute()
Dicmp.c396 u32 mark = IP4_REPLY_MARK(net, skb->mark); in icmp_reply() local
409 sk->sk_mark = mark; in icmp_reply()
425 fl4.flowi4_mark = mark; in icmp_reply()
444 __be32 saddr, u8 tos, u32 mark, in icmp_route_lookup() argument
456 fl4->flowi4_mark = mark; in icmp_route_lookup()
554 u32 mark; in icmp_send() local
656 mark = IP4_REPLY_MARK(net, skb_in->mark); in icmp_send()
673 sk->sk_mark = mark; in icmp_send()
680 rt = icmp_route_lookup(net, &fl4, skb_in, iph, saddr, tos, mark, in icmp_send()
Dip_vti.c93 u32 orig_mark = skb->mark; in vti_rcv_cb()
111 skb->mark = be32_to_cpu(tunnel->parms.i_key); in vti_rcv_cb()
113 skb->mark = orig_mark; in vti_rcv_cb()
248 __u32 mark; in vti4_err() local
264 mark = be32_to_cpu(tunnel->parms.o_key); in vti4_err()
293 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr, in vti4_err()
Droute.c505 u8 prot, u32 mark, int flow_flags) in __build_flow_key() argument
511 mark = sk->sk_mark; in __build_flow_key()
515 flowi4_init_output(fl4, oif, mark, tos, in __build_flow_key()
528 u32 mark = skb->mark; in build_skb_flow_key() local
530 __build_flow_key(fl4, sk, iph, oif, tos, prot, mark, 0); in build_skb_flow_key()
791 u32 mark = skb->mark; in ip_do_redirect() local
795 __build_flow_key(&fl4, sk, iph, oif, tos, prot, mark, 0); in ip_do_redirect()
1001 int oif, u32 mark, u8 protocol, int flow_flags) in ipv4_update_pmtu() argument
1007 if (!mark) in ipv4_update_pmtu()
1008 mark = IP4_REPLY_MARK(net, skb->mark); in ipv4_update_pmtu()
[all …]
Dip_output.c164 skb->mark = sk->sk_mark; in ip_build_and_send_pkt()
445 skb->mark = sk->sk_mark; in ip_queue_xmit()
467 to->mark = from->mark; in ip_copy_metadata()
1399 skb->mark = sk->sk_mark; in __ip_make_skb()
1546 IP4_REPLY_MARK(net, skb->mark), in ip_send_unicast_reply()
Dtcp_probe.c117 (fwmark > 0 && skb->mark == fwmark)) && in jtcp_rcv_established()
Dxfrm4_policy.c113 fl4->flowi4_mark = skb->mark; in _decode_session4()
Dfib_frontend.c282 fl4.flowi4_mark = IN_DEV_SRC_VMARK(in_dev) ? skb->mark : 0; in fib_compute_spec_dst()
319 fl4.flowi4_mark = IN_DEV_SRC_VMARK(idev) ? skb->mark : 0; in __fib_validate_source()
Digmp.c875 int mark = 0; in igmp_heard_query() local
939 mark = ih3->nsrcs != 0; in igmp_heard_query()
962 im->gsquery = im->gsquery && mark; in igmp_heard_query()
964 im->gsquery = mark; in igmp_heard_query()
Dah4.c448 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ah4_err()
Desp4.c496 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in esp4_err()
Draw.c370 skb->mark = sk->sk_mark; in raw_send_hdrinc()
/linux-4.1.27/net/sched/
Dact_skbedit.c47 skb->mark = d->mark; in tcf_skbedit()
67 u32 flags = 0, *priority = NULL, *mark = NULL; in tcf_skbedit_init() local
93 mark = nla_data(tb[TCA_SKBEDIT_MARK]); in tcf_skbedit_init()
125 d->mark = *mark; in tcf_skbedit_init()
160 nla_put(skb, TCA_SKBEDIT_MARK, sizeof(d->mark), in tcf_skbedit_dump()
161 &d->mark)) in tcf_skbedit_dump()
Dact_connmark.c63 skb->mark = c->mark; in tcf_connmark()
80 skb->mark = c->mark; in tcf_connmark()
Dcls_u32.c136 if ((skb->mark & n->mask) != n->val) { in u32_classify()
859 struct tc_u32_mark *mark; in u32_change() local
861 mark = nla_data(tb[TCA_U32_MARK]); in u32_change()
862 n->val = mark->val; in u32_change()
863 n->mask = mark->mask; in u32_change()
987 struct tc_u32_mark mark = {.val = n->val, in u32_dump() local
995 mark.success += cnt; in u32_dump()
998 if (nla_put(skb, TCA_U32_MARK, sizeof(mark), &mark)) in u32_dump()
Dcls_fw.c65 u32 id = skb->mark; in fw_classify()
Dcls_flow.c116 return skb->mark; in flow_get_mark()
Dem_meta.c234 dst->value = skb->mark; in META_COLLECTOR()
DKconfig387 tristate "Netfilter mark (FW)"
718 Say Y here to allow retrieving of conn mark
/linux-4.1.27/drivers/dma/sh/
Dshdma-base.c67 if (sdesc->mark == DESC_SUBMITTED) { in shdma_chan_xfer_ld_queue()
94 if (chunk != desc && (chunk->mark == DESC_IDLE || in shdma_tx_submit()
99 chunk->mark = DESC_SUBMITTED; in shdma_tx_submit()
165 if (sdesc->mark != DESC_PREPARED) { in shdma_get_desc()
166 BUG_ON(sdesc->mark != DESC_IDLE); in shdma_get_desc()
243 desc->mark = DESC_IDLE; in shdma_alloc_chan_resources()
342 BUG_ON(desc->mark != DESC_SUBMITTED && in __ld_cleanup()
343 desc->mark != DESC_COMPLETED && in __ld_cleanup()
344 desc->mark != DESC_WAITING); in __ld_cleanup()
351 if (!all && desc->mark == DESC_SUBMITTED && in __ld_cleanup()
[all …]
/linux-4.1.27/net/xfrm/
Dxfrm_state.c654 static struct xfrm_state *__xfrm_state_lookup(struct net *net, u32 mark, in __xfrm_state_lookup() argument
669 if ((mark & x->mark.m) != x->mark.v) in __xfrm_state_lookup()
678 static struct xfrm_state *__xfrm_state_lookup_byaddr(struct net *net, u32 mark, in __xfrm_state_lookup_byaddr() argument
693 if ((mark & x->mark.m) != x->mark.v) in __xfrm_state_lookup_byaddr()
706 u32 mark = x->mark.v & x->mark.m; in __xfrm_state_locate() local
709 return __xfrm_state_lookup(net, mark, &x->id.daddr, in __xfrm_state_locate()
712 return __xfrm_state_lookup_byaddr(net, mark, in __xfrm_state_locate()
776 u32 mark = pol->mark.v & pol->mark.m; in xfrm_state_find() local
787 (mark & x->mark.m) == x->mark.v && in xfrm_state_find()
803 (mark & x->mark.m) == x->mark.v && in xfrm_state_find()
[all …]
Dxfrm_user.c555 xfrm_mark_get(attrs, &x->mark); in xfrm_state_construct()
639 u32 mark = xfrm_mark_get(attrs, &m); in xfrm_user_state_lookup() local
643 x = xfrm_state_lookup(net, mark, &p->daddr, p->spi, p->proto, p->family); in xfrm_user_state_lookup()
654 x = xfrm_state_lookup_byaddr(net, mark, in xfrm_user_state_lookup()
824 ret = xfrm_mark_put(skb, &x->mark); in copy_to_user_state_extra()
1182 u32 mark; in xfrm_alloc_userspi() local
1195 mark = xfrm_mark_get(attrs, &m); in xfrm_alloc_userspi()
1197 x = xfrm_find_acq_byseq(net, mark, p->info.seq); in xfrm_alloc_userspi()
1468 xfrm_mark_get(attrs, &xp->mark); in xfrm_policy_construct()
1614 err = xfrm_mark_put(skb, &xp->mark); in dump_one_policy()
[all …]
Dxfrm_input.c191 u32 mark = skb->mark; in xfrm_input() local
213 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4->parms.i_key); in xfrm_input()
216 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6->parms.i_key); in xfrm_input()
247 x = xfrm_state_lookup(net, mark, daddr, spi, nexthdr, family); in xfrm_input()
Dxfrm_policy.c735 u32 mark = policy->mark.v & policy->mark.m; in xfrm_policy_mark_match() local
737 if (policy->mark.v == pol->mark.v && policy->mark.m == pol->mark.m) in xfrm_policy_mark_match()
740 if ((mark & pol->mark.m) == pol->mark.v && in xfrm_policy_mark_match()
813 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, u8 type, in xfrm_policy_bysel_ctx() argument
827 (mark & pol->mark.m) == pol->mark.v && in xfrm_policy_bysel_ctx()
852 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8 type, in xfrm_policy_byid() argument
868 (mark & pol->mark.m) == pol->mark.v) { in xfrm_policy_byid()
1076 (fl->flowi_mark & pol->mark.m) != pol->mark.v || in xfrm_policy_match()
1225 if ((sk->sk_mark & pol->mark.m) != pol->mark.v) { in xfrm_sk_policy_lookup()
1349 newp->mark = old->mark; in clone_policy()
/linux-4.1.27/fs/cachefiles/
Dkey.c42 int loop, len, max, seg, mark, print; in cachefiles_cook_key() local
90 mark = len - 1; in cachefiles_cook_key()
105 mark = len; in cachefiles_cook_key()
124 mark = len; in cachefiles_cook_key()
153 key[mark] = type; in cachefiles_cook_key()
/linux-4.1.27/kernel/
Daudit_watch.c59 struct fsnotify_mark mark; /* fsnotify mark on the inode */ member
79 parent = container_of(entry, struct audit_parent, mark); in audit_watch_free_mark()
86 fsnotify_get_mark(&parent->mark); in audit_get_parent()
92 fsnotify_put_mark(&parent->mark); in audit_put_parent()
106 parent = container_of(entry, struct audit_parent, mark); in audit_find_parent()
159 fsnotify_init_mark(&parent->mark, audit_watch_free_mark); in audit_init_parent()
160 parent->mark.mask = AUDIT_FS_WATCH; in audit_init_parent()
161 ret = fsnotify_add_mark(&parent->mark, audit_watch_group, inode, NULL, 0); in audit_init_parent()
355 fsnotify_destroy_mark(&parent->mark, audit_watch_group); in audit_remove_parent_watches()
462 fsnotify_destroy_mark(&parent->mark, audit_watch_group); in audit_remove_watch_rule()
[all …]
Daudit_tree.c25 struct fsnotify_mark mark; member
134 struct audit_chunk *chunk = container_of(entry, struct audit_chunk, mark); in audit_tree_destroy_watch()
157 fsnotify_init_mark(&chunk->mark, audit_tree_destroy_watch); in alloc_chunk()
158 chunk->mark.mask = FS_IN_IGNORED; in alloc_chunk()
175 struct fsnotify_mark *entry = &chunk->mark; in insert_hash()
192 if (p->mark.inode == inode) { in audit_tree_lookup()
221 struct fsnotify_mark *entry = &chunk->mark; in untag_chunk()
261 fsnotify_duplicate_mark(&new->mark, entry); in untag_chunk()
262 if (fsnotify_add_mark(&new->mark, new->mark.group, new->mark.inode, NULL, 1)) { in untag_chunk()
263 fsnotify_put_mark(&new->mark); in untag_chunk()
[all …]
/linux-4.1.27/drivers/macintosh/
Drack-meter.c47 u32 mark ____cacheline_aligned;
160 rm->dma_buf_v->mark = 0; in rackmeter_do_pause()
177 offsetof(struct rackmeter_dma, mark)); in rackmeter_setup_dbdma()
188 offsetof(struct rackmeter_dma, mark)); in rackmeter_setup_dbdma()
201 offsetof(struct rackmeter_dma, mark)); in rackmeter_setup_dbdma()
328 unsigned int mark, i; in rackmeter_irq() local
341 mark = db->mark; in rackmeter_irq()
342 if (mark != 1 && mark != 2) { in rackmeter_irq()
344 mark); in rackmeter_irq()
355 buf = mark == 1 ? db->buf1 : db->buf2; in rackmeter_irq()
/linux-4.1.27/Documentation/device-mapper/
Dlog-writes.txt72 mark <description>
74 You can use a dmsetup message to set an arbitrary mark in a log.
81 dmsetup message log 0 mark mkfs
84 This would allow you to replay the log up to the mkfs mark and
88 Every log has a mark at the end labeled "dm-log-writes-end".
105 dmsetup message log 0 mark mkfs
109 dmsetup message log 0 mark fsync
114 replay-log --log /dev/sdc --replay /dev/sdb --end-mark fsync
125 dmsetup message log 0 mark mkfs
133 replay-log --log /dev/sdc --replay /dev/sdb --end-mark mkfs
[all …]
Dthin-provisioning.txt119 A low water mark for the metadata device is maintained in the kernel and
253 <low water mark (blocks)> [<number of feature args> [<arg>]*]
284 If the number of free blocks drops below the pool's low water mark a
/linux-4.1.27/drivers/media/rc/
Dst_rc.c98 unsigned int symbol, mark = 0; in st_rc_rx_interrupt() local
121 mark = readl(dev->rx_base + IRB_RX_ON); in st_rc_rx_interrupt()
127 if ((mark > 2) && (symbol > 1)) { in st_rc_rx_interrupt()
128 symbol -= mark; in st_rc_rx_interrupt()
132 mark *= dev->sample_mult; in st_rc_rx_interrupt()
133 mark /= dev->sample_div; in st_rc_rx_interrupt()
136 ev.duration = US_TO_NS(mark); in st_rc_rx_interrupt()
/linux-4.1.27/include/uapi/linux/netfilter/
Dxt_mark.h7 __u32 mark, mask; member
11 __u32 mark, mask; member
Dxt_connmark.h27 __u32 mark, mask; member
/linux-4.1.27/net/rxrpc/
Dar-recvmsg.c134 skb->mark != RXRPC_SKB_MARK_DATA) { in rxrpc_recvmsg()
157 if (skb->mark != RXRPC_SKB_MARK_DATA) in rxrpc_recvmsg()
262 if (skb->mark == RXRPC_SKB_MARK_NEW_CALL) { in rxrpc_recvmsg()
281 switch (skb->mark) { in rxrpc_recvmsg()
387 ASSERTCMP(skb->mark, ==, RXRPC_SKB_MARK_DATA); in rxrpc_kernel_is_data_last()
404 ASSERTCMP(skb->mark, ==, RXRPC_SKB_MARK_REMOTE_ABORT); in rxrpc_kernel_get_abort_code()
Dar-ack.c488 skb->mark = RXRPC_SKB_MARK_DATA; in rxrpc_drain_rx_oos_queue()
802 skb->mark = RXRPC_SKB_MARK_FINAL_ACK; in rxrpc_process_rx_queue()
827 static int rxrpc_post_message(struct rxrpc_call *call, u32 mark, u32 error, in rxrpc_post_message() argument
835 call->debug_id, call->flags, mark, error, fatal); in rxrpc_post_message()
844 if (mark != RXRPC_SKB_MARK_NEW_CALL && in rxrpc_post_message()
857 skb->mark = mark; in rxrpc_post_message()
1015 u32 mark; in rxrpc_process_call() local
1018 mark = RXRPC_SKB_MARK_REMOTE_ABORT; in rxrpc_process_call()
1020 mark = RXRPC_SKB_MARK_BUSY; in rxrpc_process_call()
1024 if (rxrpc_post_message(call, mark, ECONNABORTED, true) < 0) in rxrpc_process_call()
Dar-output.c587 ASSERTCMP(skb->mark, ==, 0); in rxrpc_send_data()
625 skb->mark += copy; in rxrpc_send_data()
643 pad = conn->security_size + skb->mark; in rxrpc_send_data()
675 call, skb, skb->mark, in rxrpc_send_data()
Dar-accept.c98 notification->mark = RXRPC_SKB_MARK_NEW_CALL; in rxrpc_accept_incoming_call()
/linux-4.1.27/fs/f2fs/
Dnode.h405 static inline void set_mark(struct page *page, int mark, int type) in set_mark() argument
409 if (mark) in set_mark()
415 #define set_dentry_mark(page, mark) set_mark(page, mark, DENT_BIT_SHIFT) argument
416 #define set_fsync_mark(page, mark) set_mark(page, mark, FSYNC_BIT_SHIFT) argument
/linux-4.1.27/drivers/usb/host/
Dehci-dbg.c420 char mark; in qh_lines() local
425 mark = '@'; in qh_lines()
427 mark = token_mark(ehci, hw->hw_token); in qh_lines()
428 if (mark == '/') { /* qh_alt_next controls qh advance? */ in qh_lines()
431 mark = '#'; /* blocked */ in qh_lines()
433 mark = '.'; /* use hw_qtd_next */ in qh_lines()
437 hw_curr = (mark == '*') ? hc32_to_cpup(ehci, &hw->hw_current) : 0; in qh_lines()
444 hc32_to_cpup(ehci, &hw->hw_token), mark, in qh_lines()
455 mark = ' '; in qh_lines()
457 mark = '*'; in qh_lines()
[all …]
Dfusbh200-hcd.c377 char mark; in qh_lines() local
382 mark = '@'; in qh_lines()
384 mark = token_mark(fusbh200, hw->hw_token); in qh_lines()
385 if (mark == '/') { /* qh_alt_next controls qh advance? */ in qh_lines()
388 mark = '#'; /* blocked */ in qh_lines()
390 mark = '.'; /* use hw_qtd_next */ in qh_lines()
394 hw_curr = (mark == '*') ? hc32_to_cpup(fusbh200, &hw->hw_current) : 0; in qh_lines()
401 hc32_to_cpup(fusbh200, &hw->hw_token), mark, in qh_lines()
411 mark = ' '; in qh_lines()
413 mark = '*'; in qh_lines()
[all …]
Dfotg210-hcd.c389 char mark; in qh_lines() local
394 mark = '@'; in qh_lines()
396 mark = token_mark(fotg210, hw->hw_token); in qh_lines()
397 if (mark == '/') { /* qh_alt_next controls qh advance? */ in qh_lines()
400 mark = '#'; /* blocked */ in qh_lines()
402 mark = '.'; /* use hw_qtd_next */ in qh_lines()
406 hw_curr = (mark == '*') ? hc32_to_cpup(fotg210, &hw->hw_current) : 0; in qh_lines()
413 hc32_to_cpup(fotg210, &hw->hw_token), mark, in qh_lines()
423 mark = ' '; in qh_lines()
425 mark = '*'; in qh_lines()
[all …]
/linux-4.1.27/Documentation/ABI/testing/
Dsysfs-class-pktcdvd46 this mark, accept new bio requests
50 as this mark, do no longer accept
55 below congestion off mark.
Dsysfs-class-rtc-rtc0-device-rtc_calibration4 Contact: Mark Godfrey <mark.godfrey@stericsson.com>
Dsysfs-class-net-mesh75 Defines the isolation mark (and its bitmask) which
/linux-4.1.27/include/net/
Dip6_route.h119 u32 mark);
121 void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark);
123 u32 mark);
Dnetlink.h520 static inline void nlmsg_trim(struct sk_buff *skb, const void *mark) in nlmsg_trim() argument
522 if (mark) { in nlmsg_trim()
523 WARN_ON((unsigned char *) mark < skb->data); in nlmsg_trim()
524 skb_trim(skb, (unsigned char *) mark - skb->data); in nlmsg_trim()
Dflow.h85 __u32 mark, __u8 tos, __u8 scope, in flowi4_init_output() argument
92 fl4->flowi4_mark = mark; in flowi4_init_output()
Dxfrm.h142 struct xfrm_mark mark; member
536 struct xfrm_mark mark; member
1437 struct xfrm_state *xfrm_stateonly_find(struct net *net, u32 mark,
1448 struct xfrm_state *xfrm_state_lookup(struct net *net, u32 mark,
1451 struct xfrm_state *xfrm_state_lookup_byaddr(struct net *net, u32 mark,
1492 struct xfrm_state *xfrm_find_acq_byseq(struct net *net, u32 mark, u32 seq);
1582 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark,
1587 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8, int dir,
1594 struct xfrm_state *xfrm_find_acq(struct net *net, const struct xfrm_mark *mark,
Droute.h183 u32 mark, u8 protocol, int flow_flags);
185 void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark,
Dfib_rules.h15 u32 mark; member
Dinet_sock.h111 return skb->mark; in inet_request_mark()
Dip.h252 #define IP4_REPLY_MARK(net, mark) \ argument
253 ((net)->ipv4.sysctl_fwmark_reflect ? (mark) : 0)
Dipv6.h115 #define IP6_REPLY_MARK(net, mark) \ argument
116 ((net)->ipv6.sysctl.fwmark_reflect ? (mark) : 0)
/linux-4.1.27/include/uapi/linux/netfilter_bridge/
Debt_mark_t.h17 unsigned long mark; member
Debt_mark_m.h10 unsigned long mark, mask; member
/linux-4.1.27/drivers/pinctrl/sh-pfc/
Dcore.c276 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum() argument
288 if (data[k] == mark) { in sh_pfc_mark_to_enum()
295 mark); in sh_pfc_mark_to_enum()
299 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux() argument
331 pos = sh_pfc_mark_to_enum(pfc, mark, pos, &enum_id); in sh_pfc_config_mux()
Dgpio.c268 unsigned int mark = pfc->info->func_gpios[offset].enum_id; in gpio_function_request() local
279 if (mark == 0) in gpio_function_request()
283 ret = sh_pfc_config_mux(pfc, mark, PINMUX_TYPE_FUNCTION); in gpio_function_request()
Dcore.h65 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type);
Dpfc-emev2.c670 #define EMEV_MUX_PIN(name, pin, mark) \ argument
672 static const unsigned int name##_mux[] = { mark##_MARK }
/linux-4.1.27/Documentation/networking/
Dtproxy.txt13 socket on your box, set the packet mark to a certain value, and then match on that
18 # iptables -t mangle -A DIVERT -j MARK --set-mark 1
58 --tproxy-mark 0x1/0x1 --on-port 50080
Dnf_conntrack-sysctl.txt118 If it's non-zero, we mark only out of window RST segments as INVALID.
Dgeneric-hdlc.txt65 nrz / nrzi / fm-mark / fm-space / manchester - sets transmission code
Dtcp.txt23 snd_cwnd_used Used as a highwater mark for how much of the
Dspider_net.txt52 descr. The OS will process this descr, and then mark it "not-in-use",
65 then mark the descr as "empty", ready to receive data. Thus, when there
Drds.txt84 mark the port as "congested" and send a congestion update to
/linux-4.1.27/fs/notify/fanotify/
Dfanotify_user.c604 struct fsnotify_mark *mark; in fanotify_add_new_mark() local
610 mark = kmem_cache_alloc(fanotify_mark_cache, GFP_KERNEL); in fanotify_add_new_mark()
611 if (!mark) in fanotify_add_new_mark()
614 fsnotify_init_mark(mark, fanotify_free_mark); in fanotify_add_new_mark()
615 ret = fsnotify_add_mark_locked(mark, group, inode, mnt, 0); in fanotify_add_new_mark()
617 fsnotify_put_mark(mark); in fanotify_add_new_mark()
621 return mark; in fanotify_add_new_mark()
/linux-4.1.27/net/core/
Dfib_rules.c186 if ((rule->mark ^ fl->flowi_mark) & rule->mark_mask) in fib_rule_match()
322 rule->mark = nla_get_u32(tb[FRA_FWMARK]); in fib_nl_newrule()
323 if (rule->mark) in fib_nl_newrule()
469 (rule->mark != nla_get_u32(tb[FRA_FWMARK]))) in fib_nl_delrule()
589 (rule->mark && in fib_nl_fill_rule()
590 nla_put_u32(skb, FRA_FWMARK, rule->mark)) || in fib_nl_fill_rule()
591 ((rule->mark_mask || rule->mark) && in fib_nl_fill_rule()
Dfilter.c160 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access()
163 offsetof(struct sk_buff, mark)); in convert_skb_access()
1442 case offsetof(struct __sk_buff, mark): in sk_filter_convert_ctx_access()
/linux-4.1.27/net/openvswitch/
Dvport.h243 u32 mark, in ovs_tunnel_route_lookup() argument
253 fl->flowi4_mark = mark; in ovs_tunnel_route_lookup()
Dvport-gre.c151 rt = ovs_tunnel_route_lookup(net, tun_key, skb->mark, &fl, IPPROTO_GRE); in gre_tnl_send()
285 IPPROTO_GRE, skb->mark, 0, 0); in gre_get_egress_tun_info()
Dvport-geneve.c192 rt = ovs_tunnel_route_lookup(net, tun_key, skb->mark, &fl, IPPROTO_UDP); in geneve_tnl_send()
245 IPPROTO_UDP, skb->mark, sport, dport); in geneve_get_egress_tun_info()
Dvport-vxlan.c242 rt = ovs_tunnel_route_lookup(net, tun_key, skb->mark, &fl, IPPROTO_UDP); in vxlan_tnl_send()
286 IPPROTO_UDP, skb->mark, in vxlan_get_egress_tun_info()
Dactions.c752 SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action()
753 flow_key->phy.skb_mark = skb->mark; in execute_masked_set_action()
Dflow.c709 key->phy.skb_mark = skb->mark; in ovs_flow_key_extract()
/linux-4.1.27/include/net/tc_act/
Dtc_skbedit.h28 u32 mark; member
/linux-4.1.27/fs/btrfs/
Dtransaction.h186 struct extent_io_tree *dirty_pages, int mark);
188 struct extent_io_tree *dirty_pages, int mark);
Dtransaction.c863 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument
873 mark, &cached_state)) { in btrfs_write_marked_extents()
878 mark, &cached_state, GFP_NOFS); in btrfs_write_marked_extents()
917 struct extent_io_tree *dirty_pages, int mark) in btrfs_wait_marked_extents() argument
956 if ((mark & EXTENT_DIRTY) && in btrfs_wait_marked_extents()
961 if ((mark & EXTENT_NEW) && in btrfs_wait_marked_extents()
983 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_and_wait_marked_extents() argument
990 ret = btrfs_write_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents()
992 ret2 = btrfs_wait_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents()
Dtree-log.c2628 int mark; in btrfs_sync_log() local
2679 mark = EXTENT_DIRTY; in btrfs_sync_log()
2681 mark = EXTENT_NEW; in btrfs_sync_log()
2687 ret = btrfs_write_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log()
2742 btrfs_wait_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log()
2760 mark); in btrfs_sync_log()
2785 btrfs_wait_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log()
2803 ret = btrfs_wait_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log()
Ddisk-io.c68 int mark);
4197 int mark) in btrfs_destroy_marked_extents() argument
4206 mark, NULL); in btrfs_destroy_marked_extents()
4210 clear_extent_bits(dirty_pages, start, end, mark, GFP_NOFS); in btrfs_destroy_marked_extents()
/linux-4.1.27/Documentation/devicetree/bindings/rtc/
Disil,isl12057.txt13 RTC alarm rings. In order to mark the device has a wakeup source and
25 - "isil,irq2-can-wakeup-machine": mark the chip as a wakeup source,
/linux-4.1.27/drivers/isdn/hisax/
Dconfig.c639 int jiftime(char *s, long mark) in jiftime() argument
644 *s-- = mark % 10 + '0'; in jiftime()
645 mark /= 10; in jiftime()
646 *s-- = mark % 10 + '0'; in jiftime()
647 mark /= 10; in jiftime()
649 *s-- = mark % 10 + '0'; in jiftime()
650 mark /= 10; in jiftime()
651 *s-- = mark % 6 + '0'; in jiftime()
652 mark /= 6; in jiftime()
654 *s-- = mark % 10 + '0'; in jiftime()
[all …]
Dhisax.h1286 int jiftime(char *s, long mark);
/linux-4.1.27/fs/afs/
Drxrpc.c150 skb, skb->mark, atomic_read(&afs_outstanding_skbs)); in afs_data_delivered()
167 skb, skb->mark, atomic_read(&afs_outstanding_skbs)); in afs_free_skb()
432 _enter("%p,,%u", call, skb->mark); in afs_rx_interceptor()
435 skb, skb->mark, atomic_read(&afs_outstanding_skbs)); in afs_rx_interceptor()
470 switch (skb->mark) { in afs_deliver_to_call()
/linux-4.1.27/arch/mips/include/asm/octeon/
Dcvmx-asxx-defs.h618 uint64_t mark:4; member
620 uint64_t mark:4;
627 uint64_t mark:3; member
629 uint64_t mark:3;
Dcvmx-agl-defs.h1320 uint64_t mark:6; member
1322 uint64_t mark:6;
1343 uint64_t mark:6; member
1345 uint64_t mark:6;
1366 uint64_t mark:9; member
1368 uint64_t mark:9;
Dcvmx-gmxx-defs.h4579 uint64_t mark:6; member
4581 uint64_t mark:6;
4610 uint64_t mark:6; member
4612 uint64_t mark:6;
4641 uint64_t mark:11; member
4643 uint64_t mark:11;
4650 uint64_t mark:9; member
4652 uint64_t mark:9;
/linux-4.1.27/net/batman-adv/
Dtranslation-table.h23 unsigned short vid, int ifindex, uint32_t mark);
Dsysfs.c496 uint32_t mark, mask; in batadv_store_isolation_mark() local
516 if (kstrtou32(buff, 0, &mark) < 0) in batadv_store_isolation_mark()
521 bat_priv->isolation_mark = mark & bat_priv->isolation_mark_mask; in batadv_store_isolation_mark()
Dsoft-interface.c210 skb->mark); in batadv_interface_tx()
433 skb->mark &= ~bat_priv->isolation_mark_mask; in batadv_interface_rx()
434 skb->mark |= bat_priv->isolation_mark; in batadv_interface_rx()
/linux-4.1.27/include/uapi/linux/
Dbpf.h222 __u32 mark; member
/linux-4.1.27/scripts/dtc/
Dchecks.c308 #define DESCLABEL_ARGS(node,prop,mark) \ argument
309 ((mark) ? "value of " : ""), \
316 struct property *prop, struct marker *mark) in check_duplicate_label() argument
333 if ((othernode != node) || (otherprop != prop) || (othermark != mark)) in check_duplicate_label()
336 label, DESCLABEL_ARGS(node, prop, mark), in check_duplicate_label()
/linux-4.1.27/arch/xtensa/kernel/
Dvectors.S78 s32i a0, a2, PT_DEPC # mark it as a regular exception
105 s32i a0, a2, PT_DEPC # mark it as a regular exception
270 s32i a0, a2, PT_DEPC # mark it as a regular exception
Dalign.S469 s32i a0, a2, PT_DEPC # mark as a regular exception
/linux-4.1.27/arch/mips/include/asm/sn/sn0/
Dhubio.h453 mark: 1, /* CRB Has been marked */ member
475 mark: 1, /* CRB Has been marked */ member
/linux-4.1.27/kernel/trace/
Dtrace_output.c497 } mark[] = { variable
508 int size = ARRAY_SIZE(mark); in trace_find_mark()
511 if (d >= mark[i].val) in trace_find_mark()
515 return (i == size) ? ' ' : mark[i].sym; in trace_find_mark()
/linux-4.1.27/net/sctp/
Dprobe.c148 (fwmark > 0 && skb->mark == fwmark)) && in jsctp_sf_eat_sack()
/linux-4.1.27/include/net/netfilter/
Dnf_conntrack.h107 u_int32_t mark; member
/linux-4.1.27/Documentation/PCI/
Dpci.txt181 Please mark the initialization and cleanup functions where appropriate
193 o Do not mark the struct pci_driver.
195 o Do NOT mark a function if you are not sure which mark to use.
196 Better to not mark the function than mark the function wrong.
500 Call pci_release_region() to mark the MMIO or IO Port range as available.
/linux-4.1.27/Documentation/pcmcia/
Ddriver-changes.txt139 other drivers in Linux. You should use request_region() to mark
140 your IO regions in-use, and request_mem_region() to mark your
/linux-4.1.27/Documentation/devicetree/bindings/regulator/
Dtps6586x.txt8 - gpio-controller: mark the device as a GPIO controller
/linux-4.1.27/arch/powerpc/net/
Dbpf_jit_comp.c370 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in bpf_jit_build_body()
372 mark)); in bpf_jit_build_body()
/linux-4.1.27/crypto/
Dalgif_skcipher.c522 bool mark = false; in skcipher_recvmsg_async() local
582 mark = true; in skcipher_recvmsg_async()
614 if (mark) in skcipher_recvmsg_async()
/linux-4.1.27/drivers/media/i2c/cx25840/
Dcx25840-ir.c879 u32 mark; in cx25840_ir_tx_write()
891 mark = ns_pulse[i] & LEVEL_MASK; in cx25840_ir_tx_write()
896 if (mark) in cx25840_ir_tx_write()
/linux-4.1.27/Documentation/vm/
Dunevictable-lru.txt170 (1) By ramfs to mark the address spaces of its inodes when they are created,
171 and this mark remains for the life of the inode.
173 (2) By SYSV SHM to mark SHM_LOCK'd address spaces until SHM_UNLOCK is called.
322 mark the pages as mlocked via mlock_vma_page().
360 these mappings are inherently pinned, so we don't need to mark them as
362 mark the page. Because of this, get_user_pages() will fail for these VMAs,
496 Before the unevictable/mlock changes, mlocking did not mark the pages in any
Dslub.txt44 A Toggle failslab filter mark for the cache
/linux-4.1.27/mm/
Dpage_alloc.c1878 unsigned long mark, int classzone_idx, int alloc_flags, in __zone_watermark_ok() argument
1882 long min = mark; in __zone_watermark_ok()
1912 bool zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, in zone_watermark_ok() argument
1915 return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags, in zone_watermark_ok()
1920 unsigned long mark, int classzone_idx, int alloc_flags) in zone_watermark_ok_safe() argument
1927 return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags, in zone_watermark_ok_safe()
2133 unsigned long mark; in get_page_from_freelist() local
2185 mark = zone->watermark[alloc_flags & ALLOC_WMARK_MASK]; in get_page_from_freelist()
2186 if (!zone_watermark_ok(zone, order, mark, in get_page_from_freelist()
2229 if (zone_watermark_ok(zone, order, mark, in get_page_from_freelist()
/linux-4.1.27/fs/nfs/
Ddelegation.c45 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) in nfs4_do_check_delegation() argument
55 if (mark) in nfs4_do_check_delegation()
/linux-4.1.27/Documentation/
Dkmemleak.txt87 1. mark all objects as white (remaining white objects will later be
150 kmemleak_not_leak - mark an object as not a leak
Dkernel-doc-nano-HOWTO.txt41 The opening comment mark "/**" is reserved for kernel-doc comments.
121 This is a perl script that hunts for the block comments and can mark
Dvgaarbiter.txt123 These functions below acquire VGA resources for the given card and mark those
Drobust-futex-ABI.txt87 the kernel will walk this list, mark any such locks with a bit
/linux-4.1.27/arch/x86/kernel/
Dentry_32.S814 pushl_cfi $-1 # mark this as an int
1279 pushl_cfi $-1 # mark this as an int
1375 pushl_cfi $-1 # mark this as an int
/linux-4.1.27/Documentation/filesystems/
Ddax.txt56 - adding support to mark inodes as being DAX by setting the S_DAX flag in
Ddlmfs.txt20 Mark Fasheh <mark.fasheh@oracle.com>
Dntfs.txt89 since to mark a file sparse we need to modify the directory entry for the
97 files, since to mark a file sparse we need to modify the directory entry for
/linux-4.1.27/tools/usb/usbip/
DREADME112 driver. To export this device, we first mark the device as
/linux-4.1.27/drivers/gpu/drm/radeon/
Dr300_cmdbuf.c169 #define ADD_RANGE_MARK(reg, count,mark) \ in r300_init_reg_flags() argument
171 r300_reg_flags[i]|=(mark); in r300_init_reg_flags()
/linux-4.1.27/arch/mn10300/kernel/
Dhead.S255 # mark the primary CPU in cpu_boot_map
/linux-4.1.27/Documentation/devicetree/bindings/mfd/
Dtps65910.txt10 - gpio-controller: mark the device as a GPIO controller
/linux-4.1.27/arch/powerpc/boot/dts/fsl/
Dmpc8536si-post.dtsi173 /* mark compat w/8572 to get some erratum treatment */
/linux-4.1.27/net/tipc/
Dudp_media.c171 .flowi4_mark = clone->mark, in tipc_udp_send_msg()
/linux-4.1.27/arch/arm/net/
Dbpf_jit_32.c832 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body()
833 off = offsetof(struct sk_buff, mark); in build_body()
/linux-4.1.27/drivers/mtd/nand/
Dnand_bbt.c92 uint8_t mark) in bbt_mark_entry() argument
94 uint8_t msk = (mark & BBT_ENTRY_MASK) << ((block & BBT_ENTRY_MASK) * 2); in bbt_mark_entry()
/linux-4.1.27/arch/powerpc/perf/
Dpower8-pmu.c609 PMU_FORMAT_ATTR(mark, "config:8");
/linux-4.1.27/drivers/net/ipvlan/
Dipvlan_core.c387 .flowi6_mark = skb->mark, in ipvlan_process_v6_outbound()
/linux-4.1.27/arch/mips/net/
Dbpf_jit.c1255 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body()
1256 off = offsetof(struct sk_buff, mark); in build_body()
/linux-4.1.27/samples/bpf/
Dtest_verifier.c653 offsetof(struct __sk_buff, mark)),
/linux-4.1.27/Documentation/scheduler/
Dcompletion.txt132 The default behavior is to wait without a timeout and to mark the task as
/linux-4.1.27/Documentation/devicetree/bindings/powerpc/fsl/
Dmpc5200.txt117 - just mark GPT0 as watchdog, blocking gpt accesses, and configure it later;
/linux-4.1.27/Documentation/gpio/
Ddriver.txt159 to mark the GPIO as being used as an IRQ:
/linux-4.1.27/arch/sparc/net/
Dbpf_jit_comp.c588 emit_skb_load32(mark, r_A); in bpf_jit_compile()
/linux-4.1.27/net/decnet/
Ddn_route.c1323 .flowidn_mark = skb->mark, in dn_route_input_slow()
1537 (rt->fld.flowidn_mark == skb->mark) && in dn_route_input()
/linux-4.1.27/drivers/gpu/drm/nouveau/nvkm/engine/gr/fuc/
Dgpc.fuc486 // mark completion in HUB's barrier
/linux-4.1.27/Documentation/sound/alsa/soc/
DDPCM.txt192 the "no_pcm" flag to mark it has a BE and sets flags for supported stream
/linux-4.1.27/drivers/net/
Dvxlan.c1300 skb->mark = md->gbp; in vxlan_rcv()
1960 md.gbp = skb->mark; in vxlan_xmit_one()
2019 md.gbp = skb->mark; in vxlan_xmit_one()
/linux-4.1.27/arch/unicore32/kernel/
Dentry.S221 @ Clear FP to mark the first stack frame
/linux-4.1.27/Documentation/scsi/
Dst.txt201 tape after the early-warning mark to flush the driver buffer.
275 used instead of the equal mark. The definition is prepended by the

12