/linux-4.4.14/fs/notify/ |
D | mark.c | 99 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 …]
|
D | fdinfo.c | 25 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) || in inotify_fdinfo() 80 !(mark->flags & FSNOTIFY_MARK_FLAG_INODE)) in inotify_fdinfo() 83 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); in inotify_fdinfo() 84 inode = igrab(mark->inode); in inotify_fdinfo() 92 u32 mask = mark->mask & IN_ALL_EVENTS; in inotify_fdinfo() [all …]
|
D | inode_mark.c | 46 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() 82 struct fsnotify_mark *mark; in fsnotify_find_inode_mark() local 85 mark = fsnotify_find_mark(&inode->i_fsnotify_marks, group); in fsnotify_find_inode_mark() 88 return mark; in fsnotify_find_inode_mark() 95 void fsnotify_set_inode_mark_mask_locked(struct fsnotify_mark *mark, in fsnotify_set_inode_mark_mask_locked() argument [all …]
|
D | vfsmount_mark.c | 50 void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark) in fsnotify_destroy_vfsmount_mark() argument 52 struct vfsmount *mnt = mark->mnt; in fsnotify_destroy_vfsmount_mark() 55 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); in fsnotify_destroy_vfsmount_mark() 56 assert_spin_locked(&mark->lock); in fsnotify_destroy_vfsmount_mark() 60 hlist_del_init_rcu(&mark->obj_list); in fsnotify_destroy_vfsmount_mark() 61 mark->mnt = NULL; in fsnotify_destroy_vfsmount_mark() 75 struct fsnotify_mark *mark; in fsnotify_find_vfsmount_mark() local 78 mark = fsnotify_find_mark(&m->mnt_fsnotify_marks, group); in fsnotify_find_vfsmount_mark() 81 return mark; in fsnotify_find_vfsmount_mark() 89 int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark, in fsnotify_add_vfsmount_mark() argument [all …]
|
D | fsnotify.h | 28 struct fsnotify_mark *mark, 31 extern int fsnotify_add_inode_mark(struct fsnotify_mark *mark, 35 extern int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark, 40 extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark); 42 extern void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark);
|
D | Makefile | 2 mark.o vfsmount_mark.o fdinfo.o
|
/linux-4.4.14/net/netfilter/ipvs/ |
D | ip_vs_wrr.c | 113 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 …]
|
D | ip_vs_ftp.c | 239 cp->dest, skb->mark); in ip_vs_ftp_out() 401 skb->mark); in ip_vs_ftp_in()
|
D | ip_vs_proto_udp.c | 58 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule() 61 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in udp_conn_schedule()
|
D | ip_vs_proto_sctp.c | 44 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule() 47 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in sctp_conn_schedule()
|
D | ip_vs_proto_tcp.c | 69 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule() 72 svc = ip_vs_service_find(ipvs, af, skb->mark, iph->protocol, in tcp_conn_schedule()
|
D | ip_vs_core.c | 354 IP_VS_CONN_F_TEMPLATE, dest, skb->mark); in ip_vs_sched_persist() 383 skb->mark); in ip_vs_sched_persist() 531 flags, dest, skb->mark); in ip_vs_schedule() 599 NULL, skb->mark); in ip_vs_leave()
|
/linux-4.4.14/net/bridge/netfilter/ |
D | ebt_mark.c | 28 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()
|
D | ebt_mark_m.c | 21 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()
|
D | Kconfig | 123 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.4.14/kernel/ |
D | audit_fsnotify.c | 39 struct fsnotify_mark mark; /* fsnotify mark on the inode */ member 56 static void audit_fsnotify_free_mark(struct fsnotify_mark *mark) in audit_fsnotify_free_mark() argument 60 audit_mark = container_of(mark, struct audit_fsnotify_mark, mark); in audit_fsnotify_free_mark() 64 char *audit_mark_path(struct audit_fsnotify_mark *mark) in audit_mark_path() argument 66 return mark->path; in audit_mark_path() 69 int audit_mark_compare(struct audit_fsnotify_mark *mark, unsigned long ino, dev_t dev) in audit_mark_compare() argument 71 if (mark->ino == AUDIT_INO_UNSET) in audit_mark_compare() 73 return (mark->ino == ino) && (mark->dev == dev); in audit_mark_compare() 106 fsnotify_init_mark(&audit_mark->mark, audit_fsnotify_free_mark); in audit_alloc_mark() 107 audit_mark->mark.mask = AUDIT_FS_EVENTS; in audit_alloc_mark() [all …]
|
D | audit_watch.c | 59 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() 358 fsnotify_destroy_mark(&parent->mark, audit_watch_group); in audit_remove_parent_watches() 463 fsnotify_destroy_mark(&parent->mark, audit_watch_group); in audit_remove_watch_rule() [all …]
|
D | audit_tree.c | 25 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 …]
|
D | audit.h | 276 extern char *audit_mark_path(struct audit_fsnotify_mark *mark); 279 extern int audit_mark_compare(struct audit_fsnotify_mark *mark, unsigned long ino, dev_t dev); 281 extern int audit_exe_compare(struct task_struct *tsk, struct audit_fsnotify_mark *mark);
|
/linux-4.4.14/net/netfilter/ |
D | xt_connmark.c | 52 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 …]
|
D | xt_mark.c | 33 skb->mark = (skb->mark & ~info->mask) ^ info->mark; in mark_tg() 42 return ((skb->mark & info->mask) == info->mark) ^ info->invert; in mark_mt()
|
D | xt_TPROXY.c | 333 skb->mark = (skb->mark & ~mark_mask) ^ mark_value; in tproxy_tg4() 337 &laddr, ntohs(lport), skb->mark); in tproxy_tg4() 345 &iph->daddr, ntohs(hp->dest), skb->mark); in tproxy_tg4() 499 skb->mark = (skb->mark & ~tgi->mark_mask) ^ tgi->mark_value; in tproxy_tg6_v1() 503 laddr, ntohs(lport), skb->mark); in tproxy_tg6_v1() 511 &iph->daddr, ntohs(hp->dest), skb->mark); in tproxy_tg6_v1()
|
D | nft_ct.c | 75 *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()
|
D | xt_AUDIT.c | 139 if (skb->mark) in audit_tg() 140 audit_log_format(ab, " mark=%#x", skb->mark); in audit_tg()
|
D | nf_conntrack_netlink.c | 306 if (nla_put_be32(skb, CTA_MARK, htonl(ct->mark))) in ctnetlink_dump_mark() 749 if ((events & (1 << IPCT_MARK) || ct->mark) in ctnetlink_conntrack_event() 788 } mark; member 801 filter->mark.val = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_alloc_filter() 802 filter->mark.mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); in ctnetlink_alloc_filter() 818 if ((ct->mark & filter->mark.mask) == filter->mark.val) in ctnetlink_filter_match() 1699 ct->mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_change_conntrack() 1826 ct->mark = ntohl(nla_get_be32(cda[CTA_MARK])); in ctnetlink_create_conntrack() 2236 if (ct->mark && ctnetlink_dump_mark(skb, ct) < 0) in __ctnetlink_glue_build() 2301 u32 mask = 0, mark, newmark; in ctnetlink_glue_parse_ct() local [all …]
|
D | nft_meta.c | 55 *dest = skb->mark; in nft_meta_get_eval() 201 skb->mark = value; in nft_meta_set_eval()
|
D | xt_HMARK.c | 227 skb->mark = hmark_hash(&t, info); in hmark_tg_v6() 308 skb->mark = hmark_hash(&t, info); in hmark_tg_v4()
|
D | Kconfig | 63 bool 'Connection mark tracking support' 67 `CONNMARK' target and `connmark' match. Similar to the mark value 68 of packets, but this mark value is kept in the conntrack session 72 bool 'Connection tracking security mark support' 475 to set packet metainformation such as the packet mark. 583 This option adds the "MARK" target and "mark" match. 585 Netfilter mark matching allows you to match packets based on the 588 the netfilter mark (nfmark) field associated with the packet. 602 Netfilter allows you to store a mark value per connection (a.k.a. 603 ctmark), similarly to the packet mark (nfmark). Using this [all …]
|
D | xt_socket.c | 233 pskb->mark = sk->sk_mark; in socket_match() 408 pskb->mark = sk->sk_mark; in socket_mt6_v1_v2_v3()
|
D | nfnetlink_queue.c | 484 if (entskb->mark && in nfqnl_build_packet_message() 485 nla_put_be32(skb, NFQA_MARK, htonl(entskb->mark))) in nfqnl_build_packet_message() 1004 entry->skb->mark = ntohl(nla_get_be32(nfqa[NFQA_MARK])); in nfqnl_recv_verdict_batch() 1089 entry->skb->mark = ntohl(nla_get_be32(nfqa[NFQA_MARK])); in nfqnl_recv_verdict()
|
D | xt_set.c | 456 skb->mark = (skb->mark & ~(map_opt.ext.skbmarkmask)) in set_target_v3()
|
D | nfnetlink_log.c | 507 if (skb->mark && in __build_packet_message() 508 nla_put_be32(inst->skb, NFULA_MARK, htonl(skb->mark))) in __build_packet_message()
|
D | nf_conntrack_standalone.c | 260 seq_printf(s, "mark=%u ", ct->mark); in ct_seq_show()
|
/linux-4.4.14/net/netfilter/ipset/ |
D | ip_set_hash_ipmark.c | 45 __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() 93 e.mark = skb->mark; in hash_ipmark4_kadt() 94 e.mark &= h->markmask; in hash_ipmark4_kadt() 126 e.mark = ntohl(nla_get_be32(tb[IPSET_ATTR_MARK])); in hash_ipmark4_uadt() 127 e.mark &= h->markmask; in hash_ipmark4_uadt() 168 __u32 mark; member 179 ip1->mark == ip2->mark; in hash_ipmark6_data_equal() 187 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) in hash_ipmark6_data_list() [all …]
|
D | Kconfig | 65 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.4.14/include/linux/ |
D | fsnotify_backend.h | 102 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group); 241 void (*free_mark)(struct fsnotify_mark *mark); /* called on final put+free */ 338 …tern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *m… 346 extern void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask); 348 extern void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask); 350 extern int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group, 352 extern int fsnotify_add_mark_locked(struct fsnotify_mark *mark, struct fsnotify_group *group, 355 extern void fsnotify_destroy_mark(struct fsnotify_mark *mark, 358 extern void fsnotify_detach_mark(struct fsnotify_mark *mark); 360 extern void fsnotify_free_mark(struct fsnotify_mark *mark); [all …]
|
D | scif.h | 944 int scif_fence_mark(scif_epd_t epd, int flags, int *mark); 968 int scif_fence_wait(scif_epd_t epd, int mark);
|
D | shdma-base.h | 56 int mark; member
|
D | mmzone.h | 741 unsigned long mark, int classzone_idx, int alloc_flags); 743 unsigned long mark, int classzone_idx);
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | smp-tbsync.c | 25 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.4.14/drivers/misc/mic/scif/ |
D | scif_fence.c | 30 int mark, err; in scif_recv_mark() local 32 err = _scif_fence_mark(ep, &mark); in scif_recv_mark() 38 msg->payload[2] = mark; in scif_recv_mark() 335 static int _scif_fence_wait(scif_epd_t epd, int mark) in _scif_fence_wait() argument 338 dma_cookie_t cookie = mark & ~SCIF_REMOTE_FENCE; in _scif_fence_wait() 365 int mark, err; in scif_rma_handle_remote_fences() local 377 mark = fence->msg.payload[2]; in scif_rma_handle_remote_fences() 378 err = _scif_fence_wait(ep, mark); in scif_rma_handle_remote_fences() 392 static int _scif_send_fence(scif_epd_t epd, int uop, int mark, int *out_mark) in _scif_send_fence() argument 413 msg.payload[2] = mark; in _scif_send_fence() [all …]
|
D | scif_fd.c | 416 struct scifioctl_fence_mark mark; in scif_fdioctl() local 419 if (copy_from_user(&mark, argp, sizeof(mark))) { in scif_fdioctl() 423 err = scif_fence_mark(priv, mark.flags, &tmp_mark); in scif_fdioctl() 426 if (copy_to_user((void __user *)mark.mark, &tmp_mark, in scif_fdioctl()
|
D | scif_rma.h | 337 int _scif_fence_mark(scif_epd_t epd, int *mark);
|
/linux-4.4.14/net/ipv4/netfilter/ |
D | nft_chain_route_ipv4.c | 30 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()
|
D | iptable_mangle.c | 46 u_int32_t mark; in ipt_mangle_out() local 55 mark = skb->mark; in ipt_mangle_out() 68 skb->mark != mark || in ipt_mangle_out()
|
D | nf_log_ipv4.c | 257 if (!iphoff && skb->mark) in dump_ipv4_packet() 258 nf_log_buf_add(m, "MARK=0x%x ", skb->mark); in dump_ipv4_packet()
|
D | ipt_rpfilter.c | 94 flow.flowi4_mark = info->flags & XT_RPFILTER_VALID_MARK ? skb->mark : 0; in rpfilter_mt()
|
D | ipt_CLUSTERIP.c | 332 ct->mark = hash; in clusterip_tg() 349 pr_debug("hash=%u ct_hash=%u ", hash, ct->mark); in clusterip_tg()
|
D | nf_conntrack_l3proto_ipv4_compat.c | 178 seq_printf(s, "mark=%u ", ct->mark); in ct_seq_show()
|
/linux-4.4.14/drivers/media/usb/dvb-usb/ |
D | af9005-remote.c | 89 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.4.14/net/ipv6/netfilter/ |
D | nft_chain_route_ipv6.c | 33 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()
|
D | ip6table_mangle.c | 40 u_int32_t flowlabel, mark; in ip6t_mangle_out() local 54 mark = skb->mark; in ip6t_mangle_out() 65 skb->mark != mark || in ip6t_mangle_out()
|
D | nf_log_ipv6.c | 284 if (recurse && skb->mark) in dump_ipv6_packet() 285 nf_log_buf_add(m, "MARK=0x%x ", skb->mark); in dump_ipv6_packet()
|
D | ip6t_rpfilter.c | 50 fl6.flowi6_mark = flags & XT_RPFILTER_VALID_MARK ? skb->mark : 0; in rpfilter_lookup_reverse6()
|
D | Kconfig | 43 the packet mark.
|
/linux-4.4.14/net/sched/ |
D | act_skbedit.c | 47 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() 126 d->mark = *mark; in tcf_skbedit_init() 161 nla_put(skb, TCA_SKBEDIT_MARK, sizeof(d->mark), in tcf_skbedit_dump() 162 &d->mark)) in tcf_skbedit_dump()
|
D | act_connmark.c | 64 skb->mark = c->mark; in tcf_connmark() 84 skb->mark = c->mark; in tcf_connmark()
|
D | cls_u32.c | 136 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()
|
D | cls_fw.c | 65 u32 id = skb->mark; in fw_classify()
|
D | cls_flow.c | 123 return skb->mark; in flow_get_mark()
|
/linux-4.4.14/net/ipv6/ |
D | ipcomp6.c | 71 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()
|
D | netfilter.c | 28 .flowi6_mark = skb->mark, in ip6_route_me_harder() 78 u_int32_t mark; member 91 rt_info->mark = skb->mark; in nf_ip6_saveroute() 104 skb->mark != rt_info->mark) in nf_ip6_reroute()
|
D | icmp.c | 408 u32 mark = IP6_REPLY_MARK(net, skb->mark); in icmp6_send() local 477 fl6.flowi6_mark = mark; in icmp6_send() 486 sk->sk_mark = mark; in icmp6_send() 568 u32 mark = IP6_REPLY_MARK(net, skb->mark); in icmpv6_echo_reply() local 587 fl6.flowi6_mark = mark; in icmpv6_echo_reply() 593 sk->sk_mark = mark; in icmpv6_echo_reply()
|
D | ip6_vti.c | 344 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()
|
D | xfrm6_input.c | 104 x = xfrm_state_lookup_byaddr(net, skb->mark, dst, src, proto, AF_INET6); in xfrm6_input_addr()
|
D | route.c | 1160 .flowi6_mark = skb->mark, in ip6_route_input() 1389 int oif, u32 mark) in ip6_update_pmtu() argument 1397 fl6.flowi6_mark = mark ? mark : IP6_REPLY_MARK(net, skb->mark); in ip6_update_pmtu() 1493 void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark) in ip6_redirect() argument 1502 fl6.flowi6_mark = mark; in ip6_redirect() 1514 u32 mark) in ip6_redirect_no_header() argument 1524 fl6.flowi6_mark = mark; in ip6_redirect_no_header()
|
D | ip6_output.c | 225 skb->mark = sk->sk_mark; in ip6_xmit() 550 to->mark = from->mark; in ip6_copy_metadata() 1674 skb->mark = sk->sk_mark; in __ip6_make_skb()
|
D | xfrm6_policy.c | 140 fl6->flowi6_mark = skb->mark; in _decode_session6()
|
D | ip6mr.c | 631 .flowi6_mark = skb->mark, in pim6_rcv() 701 .flowi6_mark = skb->mark, in reg_vif_xmit() 1641 .flowi6_mark = skb->mark, in mroute6_socket() 2184 .flowi6_mark = skb->mark, in ip6_mr_input()
|
D | mcast.c | 1307 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()
|
D | esp6.c | 471 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in esp6_err()
|
D | ah6.c | 660 …x = xfrm_state_lookup(net, skb->mark, (xfrm_address_t *)&iph->daddr, ah->spi, IPPROTO_AH, AF_INET6… in ah6_err()
|
/linux-4.4.14/net/ipv4/ |
D | ipcomp.c | 45 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()
|
D | netfilter.c | 43 fl4.flowi4_mark = skb->mark; in ip_route_me_harder() 88 u_int32_t mark; member 102 rt_info->mark = skb->mark; in nf_ip_saveroute() 115 skb->mark == rt_info->mark && in nf_ip_reroute()
|
D | icmp.c | 398 u32 mark = IP4_REPLY_MARK(net, skb->mark); in icmp_reply() local 411 sk->sk_mark = mark; in icmp_reply() 427 fl4.flowi4_mark = mark; in icmp_reply() 463 __be32 saddr, u8 tos, u32 mark, in icmp_route_lookup() argument 475 fl4->flowi4_mark = mark; in icmp_route_lookup() 578 u32 mark; in icmp_send() local 680 mark = IP4_REPLY_MARK(net, skb_in->mark); in icmp_send() 697 sk->sk_mark = mark; in icmp_send() 704 rt = icmp_route_lookup(net, &fl4, skb_in, iph, saddr, tos, mark, in icmp_send()
|
D | ip_vti.c | 93 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()
|
D | route.c | 507 u8 prot, u32 mark, int flow_flags) in __build_flow_key() argument 513 mark = sk->sk_mark; in __build_flow_key() 517 flowi4_init_output(fl4, oif, mark, tos, in __build_flow_key() 530 u32 mark = skb->mark; in build_skb_flow_key() local 532 __build_flow_key(fl4, sk, iph, oif, tos, prot, mark, 0); in build_skb_flow_key() 793 u32 mark = skb->mark; in ip_do_redirect() local 797 __build_flow_key(&fl4, sk, iph, oif, tos, prot, mark, 0); in ip_do_redirect() 1006 int oif, u32 mark, u8 protocol, int flow_flags) in ipv4_update_pmtu() argument 1012 if (!mark) in ipv4_update_pmtu() 1013 mark = IP4_REPLY_MARK(net, skb->mark); in ipv4_update_pmtu() [all …]
|
D | ip_output.c | 168 skb->mark = sk->sk_mark; in ip_build_and_send_pkt() 456 skb->mark = sk->sk_mark; in ip_queue_xmit() 478 to->mark = from->mark; in ip_copy_metadata() 1423 skb->mark = sk->sk_mark; in __ip_make_skb() 1575 IP4_REPLY_MARK(net, skb->mark), in ip_send_unicast_reply()
|
D | tcp_probe.c | 117 (fwmark > 0 && skb->mark == fwmark)) && in jtcp_rcv_established()
|
D | xfrm4_policy.c | 118 fl4->flowi4_mark = skb->mark; in _decode_session4()
|
D | fib_frontend.c | 303 .flowi4_mark = IN_DEV_SRC_VMARK(in_dev) ? skb->mark : 0, in fib_compute_spec_dst() 345 fl4.flowi4_mark = IN_DEV_SRC_VMARK(idev) ? skb->mark : 0; in __fib_validate_source()
|
D | igmp.c | 888 int mark = 0; in igmp_heard_query() local 952 mark = ih3->nsrcs != 0; in igmp_heard_query() 978 im->gsquery = im->gsquery && mark; in igmp_heard_query() 980 im->gsquery = mark; in igmp_heard_query()
|
D | ah4.c | 450 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, in ah4_err()
|
/linux-4.4.14/drivers/dma/sh/ |
D | shdma-base.c | 67 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.4.14/net/xfrm/ |
D | xfrm_state.c | 654 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 …]
|
D | xfrm_user.c | 578 xfrm_mark_get(attrs, &x->mark); in xfrm_state_construct() 662 u32 mark = xfrm_mark_get(attrs, &m); in xfrm_user_state_lookup() local 666 x = xfrm_state_lookup(net, mark, &p->daddr, p->spi, p->proto, p->family); in xfrm_user_state_lookup() 677 x = xfrm_state_lookup_byaddr(net, mark, in xfrm_user_state_lookup() 849 ret = xfrm_mark_put(skb, &x->mark); in copy_to_user_state_extra() 1205 u32 mark; in xfrm_alloc_userspi() local 1218 mark = xfrm_mark_get(attrs, &m); in xfrm_alloc_userspi() 1220 x = xfrm_find_acq_byseq(net, mark, p->info.seq); in xfrm_alloc_userspi() 1491 xfrm_mark_get(attrs, &xp->mark); in xfrm_policy_construct() 1637 err = xfrm_mark_put(skb, &xp->mark); in dump_one_policy() [all …]
|
D | xfrm_input.c | 191 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()
|
D | xfrm_policy.c | 736 u32 mark = policy->mark.v & policy->mark.m; in xfrm_policy_mark_match() local 738 if (policy->mark.v == pol->mark.v && policy->mark.m == pol->mark.m) in xfrm_policy_mark_match() 741 if ((mark & pol->mark.m) == pol->mark.v && in xfrm_policy_mark_match() 814 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, u8 type, in xfrm_policy_bysel_ctx() argument 828 (mark & pol->mark.m) == pol->mark.v && in xfrm_policy_bysel_ctx() 853 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8 type, in xfrm_policy_byid() argument 869 (mark & pol->mark.m) == pol->mark.v) { in xfrm_policy_byid() 1079 (fl->flowi_mark & pol->mark.m) != pol->mark.v || in xfrm_policy_match() 1233 if ((sk->sk_mark & pol->mark.m) != pol->mark.v) { in xfrm_sk_policy_lookup() 1359 newp->mark = old->mark; in clone_policy()
|
/linux-4.4.14/fs/cachefiles/ |
D | key.c | 42 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.4.14/net/openvswitch/ |
D | conntrack.c | 52 struct md_mark mark; member 108 return ct ? ct->mark : 0; in ovs_ct_get_mark() 138 key->ct.mark = ovs_ct_get_mark(ct); in __ovs_ct_update_key() 185 nla_put_u32(skb, OVS_KEY_ATTR_CT_MARK, key->ct.mark)) in ovs_ct_put_key() 210 new_mark = ct_mark | (ct->mark & ~(mask)); in ovs_ct_set_mark() 211 if (ct->mark != new_mark) { in ovs_ct_set_mark() 212 ct->mark = new_mark; in ovs_ct_set_mark() 214 key->ct.mark = new_mark; in ovs_ct_set_mark() 519 if (info->mark.mask) { in ovs_ct_execute() 520 err = ovs_ct_set_mark(skb, key, info->mark.value, in ovs_ct_execute() [all …]
|
D | vport.c | 448 u32 mark; in ovs_vport_receive() local 450 mark = skb->mark; in ovs_vport_receive() 452 skb->mark = mark; in ovs_vport_receive()
|
D | vport.h | 203 u32 mark, in ovs_tunnel_route_lookup() argument 213 fl->flowi4_mark = mark; in ovs_tunnel_route_lookup()
|
D | conntrack.h | 79 key->ct.mark = 0; in ovs_ct_fill_key()
|
D | flow.h | 118 u32 mark; member
|
D | flow_netlink.c | 852 uint32_t mark = nla_get_u32(a[OVS_KEY_ATTR_SKB_MARK]); in metadata_from_nlattrs() local 854 SW_FLOW_KEY_PUT(match, phy.skb_mark, mark, is_mask); in metadata_from_nlattrs() 886 u32 mark = nla_get_u32(a[OVS_KEY_ATTR_CT_MARK]); in metadata_from_nlattrs() local 888 SW_FLOW_KEY_PUT(match, ct.mark, mark, is_mask); in metadata_from_nlattrs()
|
D | actions.c | 923 OVS_SET_MASKED(skb->mark, nla_get_u32(a), *get_mask(a, u32 *)); in execute_masked_set_action() 924 flow_key->phy.skb_mark = skb->mark; in execute_masked_set_action()
|
/linux-4.4.14/drivers/macintosh/ |
D | rack-meter.c | 47 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.4.14/Documentation/device-mapper/ |
D | log-writes.txt | 72 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 …]
|
D | thin-provisioning.txt | 119 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.4.14/drivers/media/rc/ |
D | st_rc.c | 98 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.4.14/include/uapi/linux/netfilter/ |
D | xt_mark.h | 7 __u32 mark, mask; member 11 __u32 mark, mask; member
|
D | xt_connmark.h | 27 __u32 mark, mask; member
|
/linux-4.4.14/fs/f2fs/ |
D | node.h | 385 static inline void set_mark(struct page *page, int mark, int type) in set_mark() argument 389 if (mark) in set_mark() 395 #define set_dentry_mark(page, mark) set_mark(page, mark, DENT_BIT_SHIFT) argument 396 #define set_fsync_mark(page, mark) set_mark(page, mark, FSYNC_BIT_SHIFT) argument
|
/linux-4.4.14/net/rxrpc/ |
D | ar-recvmsg.c | 134 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()
|
D | ar-ack.c | 488 skb->mark = RXRPC_SKB_MARK_DATA; in rxrpc_drain_rx_oos_queue() 804 skb->mark = RXRPC_SKB_MARK_FINAL_ACK; in rxrpc_process_rx_queue() 829 static int rxrpc_post_message(struct rxrpc_call *call, u32 mark, u32 error, in rxrpc_post_message() argument 837 call->debug_id, call->flags, mark, error, fatal); in rxrpc_post_message() 846 if (mark != RXRPC_SKB_MARK_NEW_CALL && in rxrpc_post_message() 859 skb->mark = mark; in rxrpc_post_message() 1017 u32 mark; in rxrpc_process_call() local 1020 mark = RXRPC_SKB_MARK_REMOTE_ABORT; in rxrpc_process_call() 1022 mark = RXRPC_SKB_MARK_BUSY; in rxrpc_process_call() 1026 if (rxrpc_post_message(call, mark, ECONNABORTED, true) < 0) in rxrpc_process_call()
|
D | ar-output.c | 587 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()
|
D | ar-accept.c | 98 notification->mark = RXRPC_SKB_MARK_NEW_CALL; in rxrpc_accept_incoming_call()
|
/linux-4.4.14/drivers/usb/host/ |
D | ehci-dbg.c | 420 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 …]
|
D | fotg210-hcd.c | 373 char mark; in qh_lines() local 378 mark = '@'; in qh_lines() 380 mark = token_mark(fotg210, hw->hw_token); in qh_lines() 381 if (mark == '/') { /* qh_alt_next controls qh advance? */ in qh_lines() 384 mark = '#'; /* blocked */ in qh_lines() 386 mark = '.'; /* use hw_qtd_next */ in qh_lines() 390 hw_curr = (mark == '*') ? hc32_to_cpup(fotg210, &hw->hw_current) : 0; in qh_lines() 397 hc32_to_cpup(fotg210, &hw->hw_token), mark, in qh_lines() 407 mark = ' '; in qh_lines() 409 mark = '*'; in qh_lines() [all …]
|
/linux-4.4.14/Documentation/ABI/testing/ |
D | sysfs-class-pktcdvd | 46 this mark, accept new bio requests 50 as this mark, do no longer accept 55 below congestion off mark.
|
D | sysfs-class-rtc-rtc0-device-rtc_calibration | 4 Contact: Mark Godfrey <mark.godfrey@stericsson.com>
|
D | sysfs-class-net-mesh | 75 Defines the isolation mark (and its bitmask) which
|
/linux-4.4.14/include/net/ |
D | ip6_route.h | 119 u32 mark); 121 void ip6_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark); 123 u32 mark);
|
D | netlink.h | 520 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()
|
D | flow.h | 94 __u32 mark, __u8 tos, __u8 scope, in flowi4_init_output() argument 101 fl4->flowi4_mark = mark; in flowi4_init_output()
|
D | xfrm.h | 142 struct xfrm_mark mark; member 538 struct xfrm_mark mark; member 1448 struct xfrm_state *xfrm_stateonly_find(struct net *net, u32 mark, 1459 struct xfrm_state *xfrm_state_lookup(struct net *net, u32 mark, 1462 struct xfrm_state *xfrm_state_lookup_byaddr(struct net *net, u32 mark, 1503 struct xfrm_state *xfrm_find_acq_byseq(struct net *net, u32 mark, u32 seq); 1593 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, 1598 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8, int dir, 1605 struct xfrm_state *xfrm_find_acq(struct net *net, const struct xfrm_mark *mark,
|
D | fib_rules.h | 15 u32 mark; member
|
D | route.h | 195 u32 mark, u8 protocol, int flow_flags); 197 void ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark,
|
D | inet_sock.h | 111 return skb->mark; in inet_request_mark()
|
D | ip.h | 258 #define IP4_REPLY_MARK(net, mark) \ argument 259 ((net)->ipv4.sysctl_fwmark_reflect ? (mark) : 0)
|
D | ipv6.h | 115 #define IP6_REPLY_MARK(net, mark) \ argument 116 ((net)->ipv6.sysctl.fwmark_reflect ? (mark) : 0)
|
/linux-4.4.14/include/uapi/linux/netfilter_bridge/ |
D | ebt_mark_t.h | 17 unsigned long mark; member
|
D | ebt_mark_m.h | 10 unsigned long mark, mask; member
|
/linux-4.4.14/drivers/pinctrl/sh-pfc/ |
D | core.c | 272 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, in sh_pfc_mark_to_enum() argument 284 if (data[k] == mark) { in sh_pfc_mark_to_enum() 291 mark); in sh_pfc_mark_to_enum() 295 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) in sh_pfc_config_mux() argument 327 pos = sh_pfc_mark_to_enum(pfc, mark, pos, &enum_id); in sh_pfc_config_mux()
|
D | gpio.c | 266 unsigned int mark = pfc->info->func_gpios[offset].enum_id; in gpio_function_request() local 277 if (mark == 0) in gpio_function_request() 281 ret = sh_pfc_config_mux(pfc, mark, PINMUX_TYPE_FUNCTION); in gpio_function_request()
|
D | core.h | 67 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type);
|
D | pfc-emev2.c | 670 #define EMEV_MUX_PIN(name, pin, mark) \ argument 672 static const unsigned int name##_mux[] = { mark##_MARK }
|
/linux-4.4.14/Documentation/networking/ |
D | tproxy.txt | 13 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
|
D | switchdev.txt | 204 bridge's FDB and mark the entry as NTF_EXT_LEARNED. The iproute2 bridge 286 To avoid duplicate packets, the device/driver should mark a packet as already 287 forwarded using skb->offload_fwd_mark. The same mark is set on the device 292 The driver can use switchdev_port_fwd_mark_set() to set a globally unique mark
|
D | nf_conntrack-sysctl.txt | 118 If it's non-zero, we mark only out of window RST segments as INVALID.
|
D | tcp.txt | 23 snd_cwnd_used Used as a highwater mark for how much of the
|
D | generic-hdlc.txt | 65 nrz / nrzi / fm-mark / fm-space / manchester - sets transmission code
|
D | spider_net.txt | 52 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
|
/linux-4.4.14/fs/notify/fanotify/ |
D | fanotify_user.c | 608 struct fsnotify_mark *mark; in fanotify_add_new_mark() local 614 mark = kmem_cache_alloc(fanotify_mark_cache, GFP_KERNEL); in fanotify_add_new_mark() 615 if (!mark) in fanotify_add_new_mark() 618 fsnotify_init_mark(mark, fanotify_free_mark); in fanotify_add_new_mark() 619 ret = fsnotify_add_mark_locked(mark, group, inode, mnt, 0); in fanotify_add_new_mark() 621 fsnotify_put_mark(mark); in fanotify_add_new_mark() 625 return mark; in fanotify_add_new_mark()
|
/linux-4.4.14/include/net/tc_act/ |
D | tc_skbedit.h | 28 u32 mark; member
|
/linux-4.4.14/Documentation/devicetree/bindings/pinctrl/ |
D | atmel,at91-pio4-pinctrl.txt | 10 - interrupt-controller: mark the device node as an interrupt controller. 12 - gpio-controller: mark the device node as a gpio controller.
|
/linux-4.4.14/net/core/ |
D | fib_rules.c | 186 if ((rule->mark ^ fl->flowi_mark) & rule->mark_mask) in fib_rule_match() 325 rule->mark = nla_get_u32(tb[FRA_FWMARK]); in fib_nl_newrule() 326 if (rule->mark) in fib_nl_newrule() 475 (rule->mark != nla_get_u32(tb[FRA_FWMARK]))) in fib_nl_delrule() 603 (rule->mark && in fib_nl_fill_rule() 604 nla_put_u32(skb, FRA_FWMARK, rule->mark)) || in fib_nl_fill_rule() 605 ((rule->mark_mask || rule->mark) && in fib_nl_fill_rule()
|
D | filter.c | 159 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in convert_skb_access() 162 offsetof(struct sk_buff, mark)); in convert_skb_access() 1736 case offsetof(struct __sk_buff, mark): in tc_cls_act_is_valid_access() 1814 case offsetof(struct __sk_buff, mark): in bpf_net_convert_ctx_access() 1815 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in bpf_net_convert_ctx_access() 1819 offsetof(struct sk_buff, mark)); in bpf_net_convert_ctx_access() 1822 offsetof(struct sk_buff, mark)); in bpf_net_convert_ctx_access()
|
/linux-4.4.14/Documentation/devicetree/bindings/i2c/ |
D | i2c.txt | 20 flags can be attached to the address. I2C_TEN_BIT_ADDRESS is used to mark a 10 23 Another flag is I2C_OWN_SLAVE_ADDRESS to mark addresses on which we listen to
|
/linux-4.4.14/fs/btrfs/ |
D | transaction.h | 219 struct extent_io_tree *dirty_pages, int mark); 221 struct extent_io_tree *dirty_pages, int mark);
|
D | transaction.c | 907 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_marked_extents() argument 917 mark, &cached_state)) { in btrfs_write_marked_extents() 922 mark, &cached_state, GFP_NOFS); in btrfs_write_marked_extents() 961 struct extent_io_tree *dirty_pages, int mark) in btrfs_wait_marked_extents() argument 1000 if ((mark & EXTENT_DIRTY) && in btrfs_wait_marked_extents() 1005 if ((mark & EXTENT_NEW) && in btrfs_wait_marked_extents() 1027 struct extent_io_tree *dirty_pages, int mark) in btrfs_write_and_wait_marked_extents() argument 1034 ret = btrfs_write_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents() 1036 ret2 = btrfs_wait_marked_extents(root, dirty_pages, mark); in btrfs_write_and_wait_marked_extents()
|
D | tree-log.c | 2728 int mark; in btrfs_sync_log() local 2779 mark = EXTENT_DIRTY; in btrfs_sync_log() 2781 mark = EXTENT_NEW; in btrfs_sync_log() 2787 ret = btrfs_write_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log() 2844 btrfs_wait_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log() 2862 mark); in btrfs_sync_log() 2887 btrfs_wait_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log() 2905 ret = btrfs_wait_marked_extents(log, &log->dirty_log_pages, mark); in btrfs_sync_log()
|
/linux-4.4.14/Documentation/devicetree/bindings/rtc/ |
D | isil,isl12057.txt | 13 RTC alarm rings. In order to mark the device has a wakeup source and 25 - "wakeup-source": mark the chip as a wakeup source, independently of
|
/linux-4.4.14/drivers/isdn/hisax/ |
D | config.c | 639 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 …]
|
/linux-4.4.14/fs/afs/ |
D | rxrpc.c | 150 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.4.14/arch/mips/include/asm/octeon/ |
D | cvmx-asxx-defs.h | 618 uint64_t mark:4; member 620 uint64_t mark:4; 627 uint64_t mark:3; member 629 uint64_t mark:3;
|
D | cvmx-agl-defs.h | 1320 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;
|
D | cvmx-gmxx-defs.h | 4579 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.4.14/Documentation/dmaengine/ |
D | pxa_dma.txt | 95 transfer being completed into the physical channel's completion mark. 107 - reading the physical channel last updater mark 109 that mark, and each transfer flags. 112 updater mark.
|
/linux-4.4.14/net/batman-adv/ |
D | translation-table.h | 30 unsigned short vid, int ifindex, u32 mark);
|
D | sysfs.c | 515 u32 mark, mask; in batadv_store_isolation_mark() local 535 if (kstrtou32(buff, 0, &mark) < 0) in batadv_store_isolation_mark() 540 bat_priv->isolation_mark = mark & bat_priv->isolation_mark_mask; in batadv_store_isolation_mark()
|
D | soft-interface.c | 240 skb->mark); in batadv_interface_tx() 467 skb->mark &= ~bat_priv->isolation_mark_mask; in batadv_interface_rx() 468 skb->mark |= bat_priv->isolation_mark; in batadv_interface_rx()
|
/linux-4.4.14/scripts/dtc/ |
D | checks.c | 309 #define DESCLABEL_ARGS(node,prop,mark) \ argument 310 ((mark) ? "value of " : ""), \ 317 struct property *prop, struct marker *mark) in check_duplicate_label() argument 334 if ((othernode != node) || (otherprop != prop) || (othermark != mark)) in check_duplicate_label() 337 label, DESCLABEL_ARGS(node, prop, mark), in check_duplicate_label()
|
/linux-4.4.14/include/net/netfilter/ |
D | nf_conntrack_zones.h | 41 zone = nf_ct_zone_init(tmp, skb->mark, zone->dir, 0); in nf_ct_zone_tmpl()
|
D | nf_conntrack.h | 107 u_int32_t mark; member
|
/linux-4.4.14/include/uapi/linux/ |
D | scif_ioctl.h | 166 __u64 mark; member
|
D | bpf.h | 281 __u32 mark; member
|
/linux-4.4.14/net/switchdev/ |
D | switchdev.c | 1352 u32 mark = dev->ifindex; in switchdev_port_fwd_mark_set() local 1358 mark = switchdev_port_fwd_mark_get(dev, group_dev); in switchdev_port_fwd_mark_set() 1359 else if (dev->offload_fwd_mark == mark) in switchdev_port_fwd_mark_set() 1364 switchdev_port_fwd_mark_reset(group_dev, mark, in switchdev_port_fwd_mark_set() 1368 dev->offload_fwd_mark = mark; in switchdev_port_fwd_mark_set()
|
/linux-4.4.14/arch/xtensa/kernel/ |
D | vectors.S | 78 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
|
D | align.S | 469 s32i a0, a2, PT_DEPC # mark as a regular exception
|
/linux-4.4.14/arch/mips/include/asm/sn/sn0/ |
D | hubio.h | 453 mark: 1, /* CRB Has been marked */ member 475 mark: 1, /* CRB Has been marked */ member
|
/linux-4.4.14/kernel/trace/ |
D | trace_output.c | 453 } mark[] = { variable 466 int size = ARRAY_SIZE(mark); in trace_find_mark() 469 if (d > mark[i].val) in trace_find_mark() 473 return (i == size) ? ' ' : mark[i].sym; in trace_find_mark()
|
/linux-4.4.14/samples/bpf/ |
D | test_verifier.c | 678 offsetof(struct __sk_buff, mark)), 778 offsetof(struct __sk_buff, mark)), 826 offsetof(struct __sk_buff, mark)), 846 offsetof(struct __sk_buff, mark)),
|
/linux-4.4.14/net/sctp/ |
D | probe.c | 148 (fwmark > 0 && skb->mark == fwmark)) && in jsctp_sf_eat_sack()
|
/linux-4.4.14/Documentation/vm/ |
D | idle_page_tracking.txt | 23 DETAILS section). To mark a page idle one has to set the bit corresponding to 29 page types (e.g. SLAB pages) an attempt to mark a page idle is silently ignored,
|
D | unevictable-lru.txt | 170 (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, 502 Before the unevictable/mlock changes, mlocking did not mark the pages in any
|
/linux-4.4.14/Documentation/PCI/ |
D | pci.txt | 181 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.4.14/Documentation/pcmcia/ |
D | driver-changes.txt | 139 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.4.14/Documentation/devicetree/bindings/regulator/ |
D | tps6586x.txt | 8 - gpio-controller: mark the device as a GPIO controller
|
/linux-4.4.14/arch/x86/entry/ |
D | entry_32.S | 545 pushl $-1 # mark this as an int 974 pushl $-1 # mark this as an int 1061 pushl $-1 # mark this as an int
|
/linux-4.4.14/arch/powerpc/net/ |
D | bpf_jit_comp.c | 370 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in bpf_jit_build_body() 372 mark)); in bpf_jit_build_body()
|
/linux-4.4.14/Documentation/DocBook/ |
D | filesystems.xml.db | 106 API-mark-buffer-dirty 158 API---mark-inode-dirty
|
D | mtdnand.xml.db | 105 API-mark-bbt-region
|
/linux-4.4.14/crypto/ |
D | algif_skcipher.c | 518 bool mark = false; in skcipher_recvmsg_async() local 580 mark = true; in skcipher_recvmsg_async() 612 if (mark) in skcipher_recvmsg_async()
|
/linux-4.4.14/drivers/media/i2c/cx25840/ |
D | cx25840-ir.c | 879 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.4.14/Documentation/ |
D | kmemleak.txt | 87 1. mark all objects as white (remaining white objects will later be 150 kmemleak_not_leak - mark an object as not a leak
|
D | kernel-doc-nano-HOWTO.txt | 41 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
|
D | vgaarbiter.txt | 123 These functions below acquire VGA resources for the given card and mark those
|
/linux-4.4.14/fs/nfs/ |
D | delegation.c | 45 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.4.14/mm/ |
D | page_alloc.c | 2374 unsigned long mark, int classzone_idx, int alloc_flags, in __zone_watermark_ok() argument 2377 long min = mark; in __zone_watermark_ok() 2441 bool zone_watermark_ok(struct zone *z, unsigned int order, unsigned long mark, in zone_watermark_ok() argument 2444 return __zone_watermark_ok(z, order, mark, classzone_idx, alloc_flags, in zone_watermark_ok() 2449 unsigned long mark, int classzone_idx) in zone_watermark_ok_safe() argument 2456 return __zone_watermark_ok(z, order, mark, classzone_idx, 0, in zone_watermark_ok_safe() 2519 unsigned long mark; in get_page_from_freelist() local 2568 mark = zone->watermark[alloc_flags & ALLOC_WMARK_MASK]; in get_page_from_freelist() 2569 if (!zone_watermark_ok(zone, order, mark, in get_page_from_freelist() 2592 if (zone_watermark_ok(zone, order, mark, in get_page_from_freelist()
|
/linux-4.4.14/tools/usb/usbip/ |
D | README | 112 driver. To export this device, we first mark the device as
|
/linux-4.4.14/Documentation/filesystems/ |
D | dax.txt | 58 - adding support to mark inodes as being DAX by setting the S_DAX flag in
|
D | dlmfs.txt | 20 Mark Fasheh <mark.fasheh@oracle.com>
|
/linux-4.4.14/Documentation/virtual/kvm/arm/ |
D | vgic-mapped-irqs.txt | 111 simply mark the state on the physical distributor as Pending+Active. As 163 exactly why we mark the timer interrupt as active in step 10, because
|
/linux-4.4.14/drivers/gpu/drm/radeon/ |
D | r300_cmdbuf.c | 169 #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.4.14/arch/mn10300/kernel/ |
D | head.S | 255 # mark the primary CPU in cpu_boot_map
|
/linux-4.4.14/arch/powerpc/boot/dts/fsl/ |
D | mpc8536si-post.dtsi | 173 /* mark compat w/8572 to get some erratum treatment */
|
/linux-4.4.14/net/tipc/ |
D | udp_media.c | 177 .flowi4_mark = skb->mark, in tipc_udp_send_msg()
|
/linux-4.4.14/Documentation/devicetree/bindings/mfd/ |
D | tps65910.txt | 10 - gpio-controller: mark the device as a GPIO controller
|
/linux-4.4.14/drivers/mtd/nand/ |
D | nand_bbt.c | 89 uint8_t mark) in bbt_mark_entry() argument 91 uint8_t msk = (mark & BBT_ENTRY_MASK) << ((block & BBT_ENTRY_MASK) * 2); in bbt_mark_entry()
|
/linux-4.4.14/arch/powerpc/perf/ |
D | power8-pmu.c | 609 PMU_FORMAT_ATTR(mark, "config:8");
|
/linux-4.4.14/arch/arm/net/ |
D | bpf_jit_32.c | 907 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 908 off = offsetof(struct sk_buff, mark); in build_body()
|
/linux-4.4.14/arch/mips/net/ |
D | bpf_jit.c | 1131 BUILD_BUG_ON(FIELD_SIZEOF(struct sk_buff, mark) != 4); in build_body() 1132 off = offsetof(struct sk_buff, mark); in build_body()
|
/linux-4.4.14/Documentation/x86/ |
D | kernel-stacks | 115 mark, knowing that it's part of the real backtrace.
|
/linux-4.4.14/drivers/net/ipvlan/ |
D | ipvlan_core.c | 396 .flowi6_mark = skb->mark, in ipvlan_process_v6_outbound()
|
/linux-4.4.14/drivers/net/ |
D | vxlan.c | 1205 skb->mark = md->gbp; in vxlan_rcv() 1859 fl6.flowi6_mark = skb->mark; in vxlan6_get_route() 1989 md->gbp = skb->mark; in vxlan_xmit_one() 2010 fl4.flowi4_mark = skb->mark; in vxlan_xmit_one() 2414 fl4.flowi4_mark = skb->mark; in egress_ipv4_tun_info()
|
D | geneve.c | 721 fl4->flowi4_mark = skb->mark; in geneve_get_v4_rt() 765 fl6->flowi6_mark = skb->mark; in geneve_get_v6_dst()
|
/linux-4.4.14/net/packet/ |
D | af_packet.c | 1932 skb->mark = sk->sk_mark; in packet_sendmsg_spkt() 2358 skb->mark = po->sk.sk_mark; in tpacket_fill_skb() 2671 sockc.mark = sk->sk_mark; in packet_snd() 2782 skb->mark = sockc.mark; in packet_snd()
|
/linux-4.4.14/Documentation/devicetree/bindings/powerpc/fsl/ |
D | mpc5200.txt | 117 - just mark GPT0 as watchdog, blocking gpt accesses, and configure it later;
|
/linux-4.4.14/Documentation/scheduler/ |
D | completion.txt | 132 The default behavior is to wait without a timeout and to mark the task as
|