/linux-4.1.27/fs/notify/ |
H A D | mark.c | 20 * fsnotify inode mark locking/lifetime/and refcnting 23 * The group->recnt and mark->refcnt tell how many "things" in the kernel 26 * the reference a group and a mark hold to each other. 35 * mark->lock 39 * each mark is hooked via the g_list. It also protects the groups private 42 * mark->lock protects the marks attributes like its masks and flags. 43 * Furthermore it protects the access to a reference of the group that the mark 45 * that is being watched by the mark. 48 * given inode and each mark is hooked via the i_list. (and sorta the 56 * The inode mark can be cleared for a number of different reasons including: 61 * - The fsnotify_group associated with the mark is going away and all such marks 66 * mark on the list we take a reference (so the mark can't disappear under us). 67 * We remove that mark form the inode's list of marks and we add this mark to a 69 * and before we destroy the mark we make sure that we dont race with a 99 void fsnotify_get_mark(struct fsnotify_mark *mark) fsnotify_get_mark() argument 101 atomic_inc(&mark->refcnt); fsnotify_get_mark() 104 void fsnotify_put_mark(struct fsnotify_mark *mark) fsnotify_put_mark() argument 106 if (atomic_dec_and_test(&mark->refcnt)) { fsnotify_put_mark() 107 if (mark->group) fsnotify_put_mark() 108 fsnotify_put_group(mark->group); fsnotify_put_mark() 109 mark->free_mark(mark); fsnotify_put_mark() 117 struct fsnotify_mark *mark; fsnotify_recalc_mask() local 119 hlist_for_each_entry(mark, head, obj_list) fsnotify_recalc_mask() 120 new_mask |= mark->mask; fsnotify_recalc_mask() 125 * Any time a mark is getting freed we end up here. 126 * The caller had better be holding a reference to this mark so we don't actually 127 * do the final put under the mark->lock 129 void fsnotify_destroy_mark_locked(struct fsnotify_mark *mark, fsnotify_destroy_mark_locked() argument 136 spin_lock(&mark->lock); fsnotify_destroy_mark_locked() 138 /* something else already called this function on this mark */ fsnotify_destroy_mark_locked() 139 if (!(mark->flags & FSNOTIFY_MARK_FLAG_ALIVE)) { fsnotify_destroy_mark_locked() 140 spin_unlock(&mark->lock); fsnotify_destroy_mark_locked() 144 mark->flags &= ~FSNOTIFY_MARK_FLAG_ALIVE; fsnotify_destroy_mark_locked() 146 if (mark->flags & FSNOTIFY_MARK_FLAG_INODE) { fsnotify_destroy_mark_locked() 147 inode = mark->inode; fsnotify_destroy_mark_locked() 148 fsnotify_destroy_inode_mark(mark); fsnotify_destroy_mark_locked() 149 } else if (mark->flags & FSNOTIFY_MARK_FLAG_VFSMOUNT) fsnotify_destroy_mark_locked() 150 fsnotify_destroy_vfsmount_mark(mark); fsnotify_destroy_mark_locked() 154 list_del_init(&mark->g_list); fsnotify_destroy_mark_locked() 156 spin_unlock(&mark->lock); fsnotify_destroy_mark_locked() 158 if (inode && (mark->flags & FSNOTIFY_MARK_FLAG_OBJECT_PINNED)) fsnotify_destroy_mark_locked() 164 list_add(&mark->g_list, &destroy_list); fsnotify_destroy_mark_locked() 168 * We don't necessarily have a ref on mark from caller so the above destroy fsnotify_destroy_mark_locked() 175 * callback to the group function to let it know that this mark fsnotify_destroy_mark_locked() 179 group->ops->freeing_mark(mark, group); fsnotify_destroy_mark_locked() 185 * still exists the second we drop the mark->lock. fsnotify_destroy_mark_locked() 198 void fsnotify_destroy_mark(struct fsnotify_mark *mark, fsnotify_destroy_mark() argument 202 fsnotify_destroy_mark_locked(mark, group); fsnotify_destroy_mark() 212 struct fsnotify_mark *mark, *lmark; fsnotify_destroy_marks() local 215 list_for_each_entry_safe(mark, lmark, to_free, free_list) { list_for_each_entry_safe() 216 spin_lock(&mark->lock); list_for_each_entry_safe() 217 fsnotify_get_group(mark->group); list_for_each_entry_safe() 218 group = mark->group; list_for_each_entry_safe() 219 spin_unlock(&mark->lock); list_for_each_entry_safe() 221 fsnotify_destroy_mark(mark, group); list_for_each_entry_safe() 222 fsnotify_put_mark(mark); list_for_each_entry_safe() 227 void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask) fsnotify_set_mark_mask_locked() argument 229 assert_spin_locked(&mark->lock); fsnotify_set_mark_mask_locked() 231 mark->mask = mask; fsnotify_set_mark_mask_locked() 233 if (mark->flags & FSNOTIFY_MARK_FLAG_INODE) fsnotify_set_mark_mask_locked() 234 fsnotify_set_inode_mark_mask_locked(mark, mask); fsnotify_set_mark_mask_locked() 237 void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask) fsnotify_set_mark_ignored_mask_locked() argument 239 assert_spin_locked(&mark->lock); fsnotify_set_mark_ignored_mask_locked() 241 mark->ignored_mask = mask; fsnotify_set_mark_ignored_mask_locked() 280 /* Add mark into proper place in given list of marks */ fsnotify_add_mark_list() 281 int fsnotify_add_mark_list(struct hlist_head *head, struct fsnotify_mark *mark, fsnotify_add_mark_list() argument 287 /* is mark the first mark? */ fsnotify_add_mark_list() 289 hlist_add_head_rcu(&mark->obj_list, head); fsnotify_add_mark_list() 293 /* should mark be in the middle of the current list? */ hlist_for_each_entry() 297 if ((lmark->group == mark->group) && !allow_dups) hlist_for_each_entry() 300 cmp = fsnotify_compare_groups(lmark->group, mark->group); hlist_for_each_entry() 302 hlist_add_before_rcu(&mark->obj_list, &lmark->obj_list); hlist_for_each_entry() 308 /* mark should be the last entry. last is the current last entry */ 309 hlist_add_behind_rcu(&mark->obj_list, &last->obj_list); 314 * Attach an initialized mark to a given group and fs object. 318 int fsnotify_add_mark_locked(struct fsnotify_mark *mark, fsnotify_add_mark_locked() argument 331 * mark->lock fsnotify_add_mark_locked() 334 spin_lock(&mark->lock); fsnotify_add_mark_locked() 335 mark->flags |= FSNOTIFY_MARK_FLAG_ALIVE; fsnotify_add_mark_locked() 338 mark->group = group; fsnotify_add_mark_locked() 339 list_add(&mark->g_list, &group->marks_list); fsnotify_add_mark_locked() 341 fsnotify_get_mark(mark); /* for i_list and g_list */ fsnotify_add_mark_locked() 344 ret = fsnotify_add_inode_mark(mark, group, inode, allow_dups); fsnotify_add_mark_locked() 348 ret = fsnotify_add_vfsmount_mark(mark, group, mnt, allow_dups); fsnotify_add_mark_locked() 356 fsnotify_set_mark_mask_locked(mark, mark->mask); fsnotify_add_mark_locked() 357 spin_unlock(&mark->lock); fsnotify_add_mark_locked() 364 mark->flags &= ~FSNOTIFY_MARK_FLAG_ALIVE; fsnotify_add_mark_locked() 365 list_del_init(&mark->g_list); fsnotify_add_mark_locked() 367 mark->group = NULL; fsnotify_add_mark_locked() 370 spin_unlock(&mark->lock); fsnotify_add_mark_locked() 373 list_add(&mark->g_list, &destroy_list); fsnotify_add_mark_locked() 380 int fsnotify_add_mark(struct fsnotify_mark *mark, struct fsnotify_group *group, fsnotify_add_mark() argument 385 ret = fsnotify_add_mark_locked(mark, group, inode, mnt, allow_dups); fsnotify_add_mark() 391 * Given a list of marks, find the mark associated with given group. If found 392 * take a reference to that mark and return it, else return NULL. 397 struct fsnotify_mark *mark; fsnotify_find_mark() local 399 hlist_for_each_entry(mark, head, obj_list) { hlist_for_each_entry() 400 if (mark->group == group) { hlist_for_each_entry() 401 fsnotify_get_mark(mark); hlist_for_each_entry() 402 return mark; hlist_for_each_entry() 409 * clear any marks in a group in which mark->flags & flags is true 414 struct fsnotify_mark *lmark, *mark; fsnotify_clear_marks_by_group_flags() local 421 * list. And freeing mark requires us to drop mark_mutex. So we can fsnotify_clear_marks_by_group_flags() 422 * reliably free only the first mark in the list. That's why we first fsnotify_clear_marks_by_group_flags() 427 list_for_each_entry_safe(mark, lmark, &group->marks_list, g_list) { fsnotify_clear_marks_by_group_flags() 428 if (mark->flags & flags) fsnotify_clear_marks_by_group_flags() 429 list_move(&mark->g_list, &to_free); fsnotify_clear_marks_by_group_flags() 439 mark = list_first_entry(&to_free, struct fsnotify_mark, g_list); fsnotify_clear_marks_by_group_flags() 440 fsnotify_get_mark(mark); fsnotify_clear_marks_by_group_flags() 441 fsnotify_destroy_mark_locked(mark, group); fsnotify_clear_marks_by_group_flags() 443 fsnotify_put_mark(mark); fsnotify_clear_marks_by_group_flags() 470 void fsnotify_init_mark(struct fsnotify_mark *mark, fsnotify_init_mark() argument 471 void (*free_mark)(struct fsnotify_mark *mark)) fsnotify_init_mark() 473 memset(mark, 0, sizeof(*mark)); fsnotify_init_mark() 474 spin_lock_init(&mark->lock); fsnotify_init_mark() 475 atomic_set(&mark->refcnt, 1); fsnotify_init_mark() 476 mark->free_mark = free_mark; fsnotify_init_mark() 481 struct fsnotify_mark *mark, *next; fsnotify_mark_destroy() local 492 list_for_each_entry_safe(mark, next, &private_destroy_list, g_list) { fsnotify_mark_destroy() 493 list_del_init(&mark->g_list); fsnotify_mark_destroy() 494 fsnotify_put_mark(mark); fsnotify_mark_destroy() 510 panic("unable to start fsnotify mark destruction thread."); fsnotify_mark_init()
|
H A D | vfsmount_mark.c | 35 struct fsnotify_mark *mark; fsnotify_clear_marks_by_mount() local 41 hlist_for_each_entry_safe(mark, n, &m->mnt_fsnotify_marks, obj_list) { fsnotify_clear_marks_by_mount() 42 list_add(&mark->free_list, &free_list); fsnotify_clear_marks_by_mount() 43 hlist_del_init_rcu(&mark->obj_list); fsnotify_clear_marks_by_mount() 44 fsnotify_get_mark(mark); fsnotify_clear_marks_by_mount() 69 void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark) fsnotify_destroy_vfsmount_mark() argument 71 struct vfsmount *mnt = mark->mnt; fsnotify_destroy_vfsmount_mark() 74 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); fsnotify_destroy_vfsmount_mark() 75 assert_spin_locked(&mark->lock); fsnotify_destroy_vfsmount_mark() 79 hlist_del_init_rcu(&mark->obj_list); fsnotify_destroy_vfsmount_mark() 80 mark->mnt = NULL; fsnotify_destroy_vfsmount_mark() 87 * given a group and vfsmount, find the mark associated with that combination. 88 * if found take a reference to that mark and return it, else return NULL 94 struct fsnotify_mark *mark; fsnotify_find_vfsmount_mark() local 97 mark = fsnotify_find_mark(&m->mnt_fsnotify_marks, group); fsnotify_find_vfsmount_mark() 100 return mark; fsnotify_find_vfsmount_mark() 104 * Attach an initialized mark to a given group and vfsmount. 108 int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark, fsnotify_add_vfsmount_mark() argument 115 mark->flags |= FSNOTIFY_MARK_FLAG_VFSMOUNT; fsnotify_add_vfsmount_mark() 118 assert_spin_locked(&mark->lock); fsnotify_add_vfsmount_mark() 121 mark->mnt = mnt; fsnotify_add_vfsmount_mark() 122 ret = fsnotify_add_mark_list(&m->mnt_fsnotify_marks, mark, allow_dups); fsnotify_add_vfsmount_mark()
|
H A D | fdinfo.c | 25 struct fsnotify_mark *mark)) show_fdinfo() 28 struct fsnotify_mark *mark; show_fdinfo() local 31 list_for_each_entry(mark, &group->marks_list, g_list) { show_fdinfo() 32 show(m, mark); show_fdinfo() 74 static void inotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) inotify_fdinfo() argument 79 if (!(mark->flags & (FSNOTIFY_MARK_FLAG_ALIVE | FSNOTIFY_MARK_FLAG_INODE))) inotify_fdinfo() 82 inode_mark = container_of(mark, struct inotify_inode_mark, fsn_mark); inotify_fdinfo() 83 inode = igrab(mark->inode); inotify_fdinfo() 87 mark->mask, mark->ignored_mask); inotify_fdinfo() 103 static void fanotify_fdinfo(struct seq_file *m, struct fsnotify_mark *mark) fanotify_fdinfo() argument 108 if (!(mark->flags & FSNOTIFY_MARK_FLAG_ALIVE)) fanotify_fdinfo() 111 if (mark->flags & FSNOTIFY_MARK_FLAG_IGNORED_SURV_MODIFY) fanotify_fdinfo() 114 if (mark->flags & FSNOTIFY_MARK_FLAG_INODE) { fanotify_fdinfo() 115 inode = igrab(mark->inode); fanotify_fdinfo() 120 mflags, mark->mask, mark->ignored_mask); fanotify_fdinfo() 124 } else if (mark->flags & FSNOTIFY_MARK_FLAG_VFSMOUNT) { fanotify_fdinfo() 125 struct mount *mnt = real_mount(mark->mnt); fanotify_fdinfo() 128 mnt->mnt_id, mflags, mark->mask, mark->ignored_mask); fanotify_fdinfo() 23 show_fdinfo(struct seq_file *m, struct file *f, void (*show)(struct seq_file *m, struct fsnotify_mark *mark)) show_fdinfo() argument
|
H A D | fsnotify.h | 24 /* Add mark to a proper place in mark list */ 26 struct fsnotify_mark *mark, 28 /* add a mark to an inode */ 29 extern int fsnotify_add_inode_mark(struct fsnotify_mark *mark, 32 /* add a mark to a vfsmount */ 33 extern int fsnotify_add_vfsmount_mark(struct fsnotify_mark *mark, 37 /* vfsmount specific destruction of a mark */ 38 extern void fsnotify_destroy_vfsmount_mark(struct fsnotify_mark *mark); 39 /* inode specific destruction of a mark */ 40 extern void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark); 43 /* Find mark belonging to given group in the list of marks */
|
H A D | inode_mark.c | 46 void fsnotify_destroy_inode_mark(struct fsnotify_mark *mark) fsnotify_destroy_inode_mark() argument 48 struct inode *inode = mark->inode; fsnotify_destroy_inode_mark() 50 BUG_ON(!mutex_is_locked(&mark->group->mark_mutex)); fsnotify_destroy_inode_mark() 51 assert_spin_locked(&mark->lock); fsnotify_destroy_inode_mark() 55 hlist_del_init_rcu(&mark->obj_list); fsnotify_destroy_inode_mark() 56 mark->inode = NULL; fsnotify_destroy_inode_mark() 59 * this mark is now off the inode->i_fsnotify_marks list and we fsnotify_destroy_inode_mark() 72 struct fsnotify_mark *mark; fsnotify_clear_marks_by_inode() local 77 hlist_for_each_entry_safe(mark, n, &inode->i_fsnotify_marks, obj_list) { fsnotify_clear_marks_by_inode() 78 list_add(&mark->free_list, &free_list); fsnotify_clear_marks_by_inode() 79 hlist_del_init_rcu(&mark->obj_list); fsnotify_clear_marks_by_inode() 80 fsnotify_get_mark(mark); fsnotify_clear_marks_by_inode() 96 * given a group and inode, find the mark associated with that combination. 97 * if found take a reference to that mark and return it, else return NULL 102 struct fsnotify_mark *mark; fsnotify_find_inode_mark() local 105 mark = fsnotify_find_mark(&inode->i_fsnotify_marks, group); fsnotify_find_inode_mark() 108 return mark; fsnotify_find_inode_mark() 112 * If we are setting a mark mask on an inode mark we should pin the inode 115 void fsnotify_set_inode_mark_mask_locked(struct fsnotify_mark *mark, fsnotify_set_inode_mark_mask_locked() argument 120 assert_spin_locked(&mark->lock); fsnotify_set_inode_mark_mask_locked() 123 mark->inode && fsnotify_set_inode_mark_mask_locked() 124 !(mark->flags & FSNOTIFY_MARK_FLAG_OBJECT_PINNED)) { fsnotify_set_inode_mark_mask_locked() 125 mark->flags |= FSNOTIFY_MARK_FLAG_OBJECT_PINNED; fsnotify_set_inode_mark_mask_locked() 126 inode = igrab(mark->inode); fsnotify_set_inode_mark_mask_locked() 137 * Attach an initialized mark to a given inode. 143 int fsnotify_add_inode_mark(struct fsnotify_mark *mark, fsnotify_add_inode_mark() argument 149 mark->flags |= FSNOTIFY_MARK_FLAG_INODE; fsnotify_add_inode_mark() 152 assert_spin_locked(&mark->lock); fsnotify_add_inode_mark() 155 mark->inode = inode; fsnotify_add_inode_mark() 156 ret = fsnotify_add_mark_list(&inode->i_fsnotify_marks, mark, fsnotify_add_inode_mark()
|
H A D | fsnotify.c | 152 /* does the inode mark tell us to do something? */ send_to_group() 233 * We need to merge inode & vfsmount mark lists so that inode mark fsnotify() 234 * ignore masks are properly reflected for mount mark notifications. fsnotify()
|
/linux-4.1.27/include/uapi/linux/netfilter/ |
H A D | xt_mark.h | 7 __u32 mark, mask; member in struct:xt_mark_tginfo2 11 __u32 mark, mask; member in struct:xt_mark_mtinfo1
|
H A D | xt_connmark.h | 27 __u32 mark, mask; member in struct:xt_connmark_mtinfo1
|
H A D | nf_conntrack_common.h | 105 IPCT_MARK, /* new mark has been set */ 108 IPCT_SECMARK, /* new security mark has been set */
|
/linux-4.1.27/net/bridge/netfilter/ |
H A D | ebt_mark.c | 11 /* The mark target can be used in any chain, 28 skb->mark = info->mark; ebt_mark_tg() 30 skb->mark |= info->mark; ebt_mark_tg() 32 skb->mark &= info->mark; ebt_mark_tg() 34 skb->mark ^= info->mark; ebt_mark_tg() 57 compat_ulong_t mark; member in struct:compat_ebt_mark_t_info 66 kern->mark = user->mark; mark_tg_compat_from_user() 75 if (put_user(kern->mark, &user->mark) || mark_tg_compat_to_user() 83 .name = "mark", 109 MODULE_DESCRIPTION("Ebtables: Packet mark modification");
|
H A D | ebt_mark_m.c | 21 return !!(skb->mark & info->mask) ^ info->invert; ebt_mark_mt() 22 return ((skb->mark & info->mask) == info->mark) ^ info->invert; ebt_mark_mt() 41 compat_ulong_t mark, mask; member in struct:compat_ebt_mark_m_info 50 kern->mark = user->mark; mark_mt_compat_from_user() 61 if (put_user(kern->mark, &user->mark) || mark_mt_compat_to_user() 97 MODULE_DESCRIPTION("Ebtables: Packet mark match");
|
/linux-4.1.27/net/netfilter/ipvs/ |
H A D | ip_vs_wrr.c | 113 struct ip_vs_wrr_mark *mark; ip_vs_wrr_init_svc() local 116 * Allocate the mark variable for WRR scheduling ip_vs_wrr_init_svc() 118 mark = kmalloc(sizeof(struct ip_vs_wrr_mark), GFP_KERNEL); ip_vs_wrr_init_svc() 119 if (mark == NULL) ip_vs_wrr_init_svc() 122 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); ip_vs_wrr_init_svc() 123 mark->di = ip_vs_wrr_gcd_weight(svc); ip_vs_wrr_init_svc() 124 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1); ip_vs_wrr_init_svc() 125 mark->cw = mark->mw; ip_vs_wrr_init_svc() 126 svc->sched_data = mark; ip_vs_wrr_init_svc() 134 struct ip_vs_wrr_mark *mark = svc->sched_data; ip_vs_wrr_done_svc() local 137 * Release the mark variable ip_vs_wrr_done_svc() 139 kfree_rcu(mark, rcu_head); ip_vs_wrr_done_svc() 146 struct ip_vs_wrr_mark *mark = svc->sched_data; ip_vs_wrr_dest_changed() local 149 mark->cl = list_entry(&svc->destinations, struct ip_vs_dest, n_list); ip_vs_wrr_dest_changed() 150 mark->di = ip_vs_wrr_gcd_weight(svc); ip_vs_wrr_dest_changed() 151 mark->mw = ip_vs_wrr_max_weight(svc) - (mark->di - 1); ip_vs_wrr_dest_changed() 152 if (mark->cw > mark->mw || !mark->cw) ip_vs_wrr_dest_changed() 153 mark->cw = mark->mw; ip_vs_wrr_dest_changed() 154 else if (mark->di > 1) ip_vs_wrr_dest_changed() 155 mark->cw = (mark->cw / mark->di) * mark->di + 1; ip_vs_wrr_dest_changed() 169 struct ip_vs_wrr_mark *mark = svc->sched_data; ip_vs_wrr_schedule() local 175 dest = mark->cl; ip_vs_wrr_schedule() 177 if (mark->mw == 0) ip_vs_wrr_schedule() 186 atomic_read(&dest->weight) >= mark->cw) ip_vs_wrr_schedule() 191 mark->cw -= mark->di; ip_vs_wrr_schedule() 192 if (mark->cw <= 0) { ip_vs_wrr_schedule() 193 mark->cw = mark->mw; ip_vs_wrr_schedule() 205 last_pass = mark->cw <= mark->di; ip_vs_wrr_schedule() 223 mark->cl = dest; ip_vs_wrr_schedule() 230 mark->cl = dest; ip_vs_wrr_schedule() 236 mark->cl = dest; ip_vs_wrr_schedule()
|
/linux-4.1.27/net/netfilter/ |
H A D | xt_mark.c | 21 MODULE_DESCRIPTION("Xtables: packet mark operations"); 32 skb->mark = (skb->mark & ~info->mask) ^ info->mark; mark_tg() 41 return ((skb->mark & info->mask) == info->mark) ^ info->invert; mark_mt() 54 .name = "mark",
|
H A D | xt_connmark.c | 31 MODULE_DESCRIPTION("Xtables: connection mark operations"); 52 newmark = (ct->mark & ~info->ctmask) ^ info->ctmark; connmark_tg() 53 if (ct->mark != newmark) { connmark_tg() 54 ct->mark = newmark; connmark_tg() 59 newmark = (ct->mark & ~info->ctmask) ^ connmark_tg() 60 (skb->mark & info->nfmask); connmark_tg() 61 if (ct->mark != newmark) { connmark_tg() 62 ct->mark = newmark; connmark_tg() 67 newmark = (skb->mark & ~info->nfmask) ^ connmark_tg() 68 (ct->mark & info->ctmask); connmark_tg() 69 skb->mark = newmark; connmark_tg() 103 return ((ct->mark & info->mask) == info->mark) ^ info->invert; connmark_mt()
|
H A D | xt_TRACE.c | 1 /* This is a module which is used to mark packets for tracing.
|
H A D | xt_CONNSECMARK.c | 28 MODULE_DESCRIPTION("Xtables: target for copying between connection and security mark"); 33 * If the packet has a security mark and the connection does not, copy 34 * the security mark from the packet to the connection. 51 * If packet has no security mark, and the connection does, restore the 52 * security mark from the connection to the packet.
|
H A D | xt_AUDIT.c | 139 if (skb->mark) audit_tg() 140 audit_log_format(ab, " mark=%#x", skb->mark); audit_tg()
|
H A D | xt_TPROXY.c | 334 skb->mark = (skb->mark & ~mark_mask) ^ mark_value; tproxy_tg4() 336 pr_debug("redirecting: proto %hhu %pI4:%hu -> %pI4:%hu, mark: %x\n", tproxy_tg4() 338 &laddr, ntohs(lport), skb->mark); tproxy_tg4() 344 pr_debug("no socket, dropping: proto %hhu %pI4:%hu -> %pI4:%hu, mark: %x\n", tproxy_tg4() 346 &iph->daddr, ntohs(hp->dest), skb->mark); tproxy_tg4() 501 skb->mark = (skb->mark & ~tgi->mark_mask) ^ tgi->mark_value; tproxy_tg6_v1() 503 pr_debug("redirecting: proto %hhu %pI6:%hu -> %pI6:%hu, mark: %x\n", tproxy_tg6_v1() 505 laddr, ntohs(lport), skb->mark); tproxy_tg6_v1() 511 pr_debug("no socket, dropping: proto %hhu %pI6:%hu -> %pI6:%hu, mark: %x\n", tproxy_tg6_v1() 513 &iph->daddr, ntohs(hp->dest), skb->mark); tproxy_tg6_v1()
|
H A D | nft_ct.c | 75 *dest = ct->mark; nft_ct_get_eval() 171 if (ct->mark != value) { nft_ct_set_eval() 172 ct->mark = value; nft_ct_set_eval() 334 len = FIELD_SIZEOF(struct nf_conn, mark); nft_ct_set_init()
|
H A D | xt_HMARK.c | 2 * xt_HMARK - Netfilter module to set mark by means of hashing 227 skb->mark = hmark_hash(&t, info); hmark_tg_v6() 308 skb->mark = hmark_hash(&t, info); hmark_tg_v4()
|
H A D | xt_SECMARK.c | 24 MODULE_DESCRIPTION("Xtables: packet security mark modification");
|
H A D | nft_meta.c | 54 *dest = skb->mark; nft_meta_get_eval() 195 skb->mark = value; nft_meta_set_eval()
|
H A D | nf_conntrack_netlink.c | 292 if (nla_put_be32(skb, CTA_MARK, htonl(ct->mark))) ctnetlink_dump_mark() 717 if ((events & (1 << IPCT_MARK) || ct->mark) ctnetlink_conntrack_event() 756 } mark; member in struct:ctnetlink_filter 769 filter->mark.val = ntohl(nla_get_be32(cda[CTA_MARK])); ctnetlink_alloc_filter() 770 filter->mark.mask = ntohl(nla_get_be32(cda[CTA_MARK_MASK])); ctnetlink_alloc_filter() 786 if ((ct->mark & filter->mark.mask) == filter->mark.val) ctnetlink_filter_match() 1629 ct->mark = ntohl(nla_get_be32(cda[CTA_MARK])); ctnetlink_change_conntrack() 1755 ct->mark = ntohl(nla_get_be32(cda[CTA_MARK])); ctnetlink_create_conntrack() 2143 if (ct->mark && ctnetlink_dump_mark(skb, ct) < 0) ctnetlink_nfqueue_build() 2183 u32 mask = 0, mark, newmark; ctnetlink_nfqueue_parse_ct() local 2187 mark = ntohl(nla_get_be32(cda[CTA_MARK])); ctnetlink_nfqueue_parse_ct() 2188 newmark = (ct->mark & mask) ^ mark; ctnetlink_nfqueue_parse_ct() 2189 if (newmark != ct->mark) ctnetlink_nfqueue_parse_ct() 2190 ct->mark = newmark; ctnetlink_nfqueue_parse_ct()
|
/linux-4.1.27/include/uapi/linux/netfilter_bridge/ |
H A D | ebt_mark_m.h | 10 unsigned long mark, mask; member in struct:ebt_mark_m_info
|
H A D | ebt_mark_t.h | 17 unsigned long mark; member in struct:ebt_mark_t_info 21 #define EBT_MARK_TARGET "mark"
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | smp-tbsync.c | 25 volatile u64 mark; member in struct:__anon2361 38 static void enter_contest(u64 mark, long add) enter_contest() argument 40 while (get_tb() < mark) enter_contest() 72 enter_contest(tbsync->mark, -1); smp_generic_take_timebase() 81 u64 mark; start_contest() local 89 tbsync->mark = mark = tb + 400; start_contest() 100 enter_contest(mark, 1); start_contest()
|
H A D | idle_book3e.S | 40 /* Now we are going to mark ourselves as soft and hard enabled in
|
/linux-4.1.27/net/netfilter/ipset/ |
H A D | ip_set_hash_ipmark.c | 9 /* Kernel module implementing an IP set type: the hash:ip,mark type */ 33 IP_SET_MODULE_DESC("hash:ip,mark", IPSET_TYPE_REV_MIN, IPSET_TYPE_REV_MAX); 34 MODULE_ALIAS("ip_set_hash:ip,mark"); 45 __u32 mark; member in struct:hash_ipmark4_elem 56 ip1->mark == ip2->mark; hash_ipmark4_data_equal() 64 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) hash_ipmark4_data_list() 95 e.mark = skb->mark; hash_ipmark4_kadt() 96 e.mark &= h->markmask; hash_ipmark4_kadt() 131 e.mark = ntohl(nla_get_u32(tb[IPSET_ATTR_MARK])); hash_ipmark4_uadt() 132 e.mark &= h->markmask; hash_ipmark4_uadt() 173 __u32 mark; member in struct:hash_ipmark6_elem 184 ip1->mark == ip2->mark; hash_ipmark6_data_equal() 192 nla_put_net32(skb, IPSET_ATTR_MARK, htonl(data->mark))) hash_ipmark6_data_list() 229 e.mark = skb->mark; hash_ipmark6_kadt() 230 e.mark &= h->markmask; hash_ipmark6_kadt() 266 e.mark = ntohl(nla_get_u32(tb[IPSET_ATTR_MARK])); hash_ipmark6_uadt() 267 e.mark &= h->markmask; hash_ipmark6_uadt() 284 .name = "hash:ip,mark",
|
/linux-4.1.27/net/ipv4/netfilter/ |
H A D | nft_chain_route_ipv4.c | 30 u32 mark; nf_route_table_hook() local 42 mark = skb->mark; nf_route_table_hook() 54 skb->mark != mark || nf_route_table_hook()
|
H A D | iptable_mangle.c | 47 u_int32_t mark; ipt_mangle_out() local 56 mark = skb->mark; ipt_mangle_out() 70 skb->mark != mark || ipt_mangle_out()
|
H A D | ipt_rpfilter.c | 97 flow.flowi4_mark = info->flags & XT_RPFILTER_VALID_MARK ? skb->mark : 0; rpfilter_mt()
|
H A D | nf_log_ipv4.c | 257 if (!iphoff && skb->mark) dump_ipv4_packet() 258 nf_log_buf_add(m, "MARK=0x%x ", skb->mark); dump_ipv4_packet()
|
/linux-4.1.27/net/ipv6/netfilter/ |
H A D | nft_chain_route_ipv6.c | 33 u32 mark, flowlabel; nf_route_table_hook() local 39 /* save source/dest address, mark, hoplimit, flowlabel, priority */ nf_route_table_hook() 42 mark = skb->mark; nf_route_table_hook() 52 skb->mark != mark || nf_route_table_hook()
|
H A D | ip6table_mangle.c | 40 u_int32_t flowlabel, mark; ip6t_mangle_out() local 51 /* save source/dest address, mark, hoplimit, flowlabel, priority, */ ip6t_mangle_out() 54 mark = skb->mark; ip6t_mangle_out() 66 skb->mark != mark || ip6t_mangle_out()
|
H A D | ip6t_rpfilter.c | 50 fl6.flowi6_mark = flags & XT_RPFILTER_VALID_MARK ? skb->mark : 0; rpfilter_lookup_reverse6()
|
H A D | nf_log_ipv6.c | 284 if (recurse && skb->mark) dump_ipv6_packet() 285 nf_log_buf_add(m, "MARK=0x%x ", skb->mark); dump_ipv6_packet()
|
/linux-4.1.27/arch/parisc/include/asm/ |
H A D | linkage.h | 11 * exclamation mark is used to separate independent lines.
|
/linux-4.1.27/drivers/media/usb/dvb-usb/ |
H A D | af9005-remote.c | 89 u16 mark, space; af9005_rc_decode() local 95 mark = (u16) (data[0] << 8) + data[1]; af9005_rc_decode() 97 if (space * 3 < mark) { af9005_rc_decode() 113 mark = (u16) (data[i] << 8) + data[i + 1]; af9005_rc_decode() 114 mark >>= 1; af9005_rc_decode() 117 if (mark * 2 > space) af9005_rc_decode()
|
/linux-4.1.27/include/linux/ |
H A D | fsnotify_backend.h | 91 * freeing_mark - called when a mark is being destroyed for some reason. The group 92 * MUST be holding a reference on each mark and that reference must be 104 void (*freeing_mark)(struct fsnotify_mark *mark, struct fsnotify_group *group); 156 atomic_t num_marks; /* 1 for each mark and 1 for not being 200 * a mark is simply an object attached to an in core inode which allows an 210 __u32 mask; /* mask this mark is for */ 212 * in kernel that found and may be using this mark. */ 213 atomic_t refcnt; /* active things looking at this mark */ 214 struct fsnotify_group *group; /* group this mark is for */ 216 * Also reused for queueing mark into 222 struct list_head free_list; /* tmp list used when freeing this mark */ 224 struct inode *inode; /* inode this mark is associated with */ 225 struct vfsmount *mnt; /* vfsmount this mark is associated with */ 233 unsigned int flags; /* vfsmount or inode mark? */ 234 void (*free_mark)(struct fsnotify_mark *mark); /* called on final put+free */ 331 extern void fsnotify_init_mark(struct fsnotify_mark *mark, void (*free_mark)(struct fsnotify_mark *mark)); 332 /* find (and take a reference) to a mark associated with group and inode */ 334 /* find (and take a reference) to a mark associated with group and vfsmount */ 338 /* set the ignored_mask of a mark */ 339 extern void fsnotify_set_mark_ignored_mask_locked(struct fsnotify_mark *mark, __u32 mask); 340 /* set the mask of a mark (might pin the object into memory */ 341 extern void fsnotify_set_mark_mask_locked(struct fsnotify_mark *mark, __u32 mask); 342 /* attach the mark to both the group and the inode */ 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, 347 /* given a group and a mark, flag mark to be freed when all references are dropped */ 348 extern void fsnotify_destroy_mark(struct fsnotify_mark *mark, 350 extern void fsnotify_destroy_mark_locked(struct fsnotify_mark *mark, 356 /* run all the marks in a group, and clear all of the marks where mark->flags & flags is true*/ 360 extern void fsnotify_get_mark(struct fsnotify_mark *mark); 361 extern void fsnotify_put_mark(struct fsnotify_mark *mark);
|
H A D | nfs.h | 51 /* used by direct.c to mark verf as invalid */
|
H A D | linkage.h | 9 /* Some toolchains use other characters (e.g. '`') to mark new line in macro */ 101 * then please use ENDPROC to mark 'name' as STT_FUNC for the benefit of
|
H A D | io.h | 92 * Some systems (x86 without PAT) have a somewhat reliable way to mark a
|
/linux-4.1.27/include/uapi/linux/ |
H A D | fib_rules.h | 44 FRA_FWMARK, /* mark */ 50 FRA_FWMASK, /* mask for netfilter mark */
|
H A D | ip_vs.h | 135 __u32 fwmark; /* firwall mark of service */ 197 __u32 fwmark; /* firwall mark of service */ 237 __u32 fwmark; /* firwall mark of service */ 350 IPVS_SVC_ATTR_FWMARK, /* firewall mark of service */
|
H A D | dm-log-userspace.h | 206 * uint64_t [] - region(s) to mark 213 * log, mark region requests are carried as payload in the flush request. 214 * Piggybacking the mark requests in this way allows for fewer communications 228 * uint64_t [] - region(s) to mark 232 * Incoming payload contains the one or more regions to mark dirty. 251 * Incoming payload contains the one or more regions to mark clean. 398 * merging 'mark' and 'flush' requests. A constructor table
|
H A D | mtio.h | 32 #define MTWEOF 5 /* write an end-of-file record (mark) */ 66 #define MTWEOFI 35 /* write an end-of-file record (mark) in immediate mode */
|
/linux-4.1.27/net/ipv4/ |
H A D | ipcomp.c | 45 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, ipcomp4_err() 78 memcpy(&t->mark, &x->mark, sizeof(t->mark)); ipcomp_tunnel_create() 103 u32 mark = x->mark.v & x->mark.m; ipcomp_tunnel_attach() local 105 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr.a4, ipcomp_tunnel_attach()
|
H A D | netfilter.c | 44 fl4.flowi4_mark = skb->mark; ip_route_me_harder() 89 u_int32_t mark; member in struct:ip_rt_info 103 rt_info->mark = skb->mark; nf_ip_saveroute() 116 skb->mark == rt_info->mark && nf_ip_reroute()
|
H A D | tcp_probe.c | 50 MODULE_PARM_DESC(fwmark, "skb mark to match (0=no mark)"); 113 /* Only update if port or skb mark matches */ jtcp_rcv_established() 117 (fwmark > 0 && skb->mark == fwmark)) && jtcp_rcv_established()
|
H A D | ip_vti.c | 93 u32 orig_mark = skb->mark; vti_rcv_cb() 111 skb->mark = be32_to_cpu(tunnel->parms.i_key); vti_rcv_cb() 113 skb->mark = orig_mark; vti_rcv_cb() 239 /* override mark with tunnel output key */ vti_tunnel_xmit() 248 __u32 mark; vti4_err() local 264 mark = be32_to_cpu(tunnel->parms.o_key); vti4_err() 293 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr, vti4_err()
|
H A D | tcp_memcontrol.c | 82 * details, and note that we don't mark any socket as belonging tcp_update_limit() 86 * sites, but we can't control their order. If we mark a socket tcp_update_limit()
|
H A D | icmp.c | 396 u32 mark = IP4_REPLY_MARK(net, skb->mark); icmp_reply() local 409 sk->sk_mark = mark; icmp_reply() 425 fl4.flowi4_mark = mark; icmp_reply() 444 __be32 saddr, u8 tos, u32 mark, icmp_route_lookup() 456 fl4->flowi4_mark = mark; icmp_route_lookup() 554 u32 mark; icmp_send() local 656 mark = IP4_REPLY_MARK(net, skb_in->mark); icmp_send() 673 sk->sk_mark = mark; icmp_send() 680 rt = icmp_route_lookup(net, &fl4, skb_in, iph, saddr, tos, mark, icmp_send() 440 icmp_route_lookup(struct net *net, struct flowi4 *fl4, struct sk_buff *skb_in, const struct iphdr *iph, __be32 saddr, u8 tos, u32 mark, int type, int code, struct icmp_bxm *param) icmp_route_lookup() argument
|
H A D | route.c | 505 u8 prot, u32 mark, int flow_flags) __build_flow_key() 511 mark = sk->sk_mark; __build_flow_key() 515 flowi4_init_output(fl4, oif, mark, tos, __build_flow_key() 528 u32 mark = skb->mark; build_skb_flow_key() local 530 __build_flow_key(fl4, sk, iph, oif, tos, prot, mark, 0); build_skb_flow_key() 680 /* Exception created; mark the cached routes for the nexthop update_or_create_fnhe() 791 u32 mark = skb->mark; ip_do_redirect() local 795 __build_flow_key(&fl4, sk, iph, oif, tos, prot, mark, 0); ip_do_redirect() 1001 int oif, u32 mark, u8 protocol, int flow_flags) ipv4_update_pmtu() 1007 if (!mark) ipv4_update_pmtu() 1008 mark = IP4_REPLY_MARK(net, skb->mark); ipv4_update_pmtu() 1011 RT_TOS(iph->tos), protocol, mark, flow_flags); ipv4_update_pmtu() 1029 fl4.flowi4_mark = IP4_REPLY_MARK(sock_net(sk), skb->mark); __ipv4_sk_update_pmtu() 1092 int oif, u32 mark, u8 protocol, int flow_flags) ipv4_redirect() 1099 RT_TOS(iph->tos), protocol, mark, flow_flags); ipv4_redirect() 1189 fl4.flowi4_mark = skb->mark; ip_rt_get_source() 1756 fl4.flowi4_mark = skb->mark; ip_route_input_slow() 2465 int mark; inet_rtm_getroute() local 2493 mark = tb[RTA_MARK] ? nla_get_u32(tb[RTA_MARK]) : 0; inet_rtm_getroute() 2500 fl4.flowi4_mark = mark; inet_rtm_getroute() 2513 skb->mark = mark; inet_rtm_getroute() 502 __build_flow_key(struct flowi4 *fl4, const struct sock *sk, const struct iphdr *iph, int oif, u8 tos, u8 prot, u32 mark, int flow_flags) __build_flow_key() argument 1000 ipv4_update_pmtu(struct sk_buff *skb, struct net *net, u32 mtu, int oif, u32 mark, u8 protocol, int flow_flags) ipv4_update_pmtu() argument 1091 ipv4_redirect(struct sk_buff *skb, struct net *net, int oif, u32 mark, u8 protocol, int flow_flags) ipv4_redirect() argument
|
/linux-4.1.27/net/ipv6/ |
H A D | ipcomp6.c | 71 x = xfrm_state_lookup(net, skb->mark, (const xfrm_address_t *)&iph->daddr, ipcomp6_err() 104 memcpy(&t->mark, &x->mark, sizeof(t->mark)); ipcomp6_tunnel_create() 127 u32 mark = x->mark.m & x->mark.v; ipcomp6_tunnel_attach() local 131 t = xfrm_state_lookup(net, mark, (xfrm_address_t *)&x->id.daddr, ipcomp6_tunnel_attach()
|
H A D | netfilter.c | 29 .flowi6_mark = skb->mark, ip6_route_me_harder() 79 u_int32_t mark; member in struct:ip6_rt_info 92 rt_info->mark = skb->mark; nf_ip6_saveroute() 105 skb->mark != rt_info->mark) nf_ip6_reroute()
|
H A D | icmp.c | 407 u32 mark = IP6_REPLY_MARK(net, skb->mark); icmp6_send() local 474 fl6.flowi6_mark = mark; icmp6_send() 483 sk->sk_mark = mark; icmp6_send() 561 u32 mark = IP6_REPLY_MARK(net, skb->mark); icmpv6_echo_reply() local 580 fl6.flowi6_mark = mark; icmpv6_echo_reply() 586 sk->sk_mark = mark; icmpv6_echo_reply()
|
H A D | xfrm6_input.c | 104 x = xfrm_state_lookup_byaddr(net, skb->mark, dst, src, proto, AF_INET6); xfrm6_input_addr()
|
H A D | ip6_vti.c | 344 u32 orig_mark = skb->mark; vti6_rcv_cb() 362 skb->mark = be32_to_cpu(t->parms.i_key); vti6_rcv_cb() 364 skb->mark = orig_mark; vti6_rcv_cb() 537 /* override mark with tunnel output key */ vti6_tnl_xmit() 557 __u32 mark; vti6_err() local 571 mark = be32_to_cpu(t->parms.o_key); vti6_err() 594 x = xfrm_state_lookup(net, mark, (const xfrm_address_t *)&iph->daddr, vti6_err()
|
/linux-4.1.27/net/sched/ |
H A D | act_skbedit.c | 47 skb->mark = d->mark; tcf_skbedit() 67 u32 flags = 0, *priority = NULL, *mark = NULL; tcf_skbedit_init() local 93 mark = nla_data(tb[TCA_SKBEDIT_MARK]); tcf_skbedit_init() 125 d->mark = *mark; tcf_skbedit_init() 160 nla_put(skb, TCA_SKBEDIT_MARK, sizeof(d->mark), tcf_skbedit_dump() 161 &d->mark)) tcf_skbedit_dump()
|
H A D | act_connmark.c | 3 * skb mark is over-written 63 skb->mark = c->mark; tcf_connmark() 80 skb->mark = c->mark; tcf_connmark() 188 MODULE_DESCRIPTION("Connection tracking mark restoring");
|
H A D | cls_u32.c | 136 if ((skb->mark & n->mask) != n->val) { u32_classify() 859 struct tc_u32_mark *mark; u32_change() local 861 mark = nla_data(tb[TCA_U32_MARK]); u32_change() 862 n->val = mark->val; u32_change() 863 n->mask = mark->mask; u32_change() 987 struct tc_u32_mark mark = {.val = n->val, u32_dump() local 995 mark.success += cnt; for_each_possible_cpu() 998 if (nla_put(skb, TCA_U32_MARK, sizeof(mark), &mark))
|
/linux-4.1.27/fs/cachefiles/ |
H A D | key.c | 42 int loop, len, max, seg, mark, print; cachefiles_cook_key() local 90 mark = len - 1; cachefiles_cook_key() 105 mark = len; cachefiles_cook_key() 124 mark = len; cachefiles_cook_key() 153 key[mark] = type; cachefiles_cook_key()
|
/linux-4.1.27/drivers/media/rc/ |
H A D | st_rc.c | 78 * mark mark 89 * ST hardware returns mark (IRB_RX_ON) and total symbol time (IRB_RX_SYS), so 90 * convert to standard mark/space we have to calculate space=(IRB_RX_SYS-mark) 91 * The mark time represents the amount of time the carrier (usually 36-40kHz) 93 * bit 0 is represented by space>mark. 98 unsigned int symbol, mark = 0; st_rc_rx_interrupt() local 121 mark = readl(dev->rx_base + IRB_RX_ON); st_rc_rx_interrupt() 127 if ((mark > 2) && (symbol > 1)) { st_rc_rx_interrupt() 128 symbol -= mark; st_rc_rx_interrupt() 132 mark *= dev->sample_mult; st_rc_rx_interrupt() 133 mark /= dev->sample_div; st_rc_rx_interrupt() 136 ev.duration = US_TO_NS(mark); st_rc_rx_interrupt()
|
/linux-4.1.27/net/xfrm/ |
H A D | xfrm_state.c | 654 static struct xfrm_state *__xfrm_state_lookup(struct net *net, u32 mark, __xfrm_state_lookup() argument 669 if ((mark & x->mark.m) != x->mark.v) __xfrm_state_lookup() 678 static struct xfrm_state *__xfrm_state_lookup_byaddr(struct net *net, u32 mark, __xfrm_state_lookup_byaddr() argument 693 if ((mark & x->mark.m) != x->mark.v) __xfrm_state_lookup_byaddr() 706 u32 mark = x->mark.v & x->mark.m; __xfrm_state_locate() local 709 return __xfrm_state_lookup(net, mark, &x->id.daddr, __xfrm_state_locate() 712 return __xfrm_state_lookup_byaddr(net, mark, __xfrm_state_locate() 776 u32 mark = pol->mark.v & pol->mark.m; xfrm_state_find() local 787 (mark & x->mark.m) == x->mark.v && xfrm_state_find() 803 (mark & x->mark.m) == x->mark.v && xfrm_state_find() 817 (x0 = __xfrm_state_lookup(net, mark, daddr, tmpl->id.spi, xfrm_state_find() 842 memcpy(&x->mark, &pol->mark, sizeof(x->mark)); xfrm_state_find() 885 xfrm_stateonly_find(struct net *net, u32 mark, xfrm_stateonly_find() argument 897 (mark & x->mark.m) == x->mark.v && xfrm_stateonly_find() 977 u32 mark = xnew->mark.v & xnew->mark.m; __xfrm_state_bump_genids() local 983 (mark & x->mark.m) == x->mark.v && __xfrm_state_bump_genids() 1012 u32 mark = m->v & m->m; __find_acq_core() local 1021 (mark & x->mark.m) != x->mark.v || __find_acq_core() 1060 x->mark.v = m->v; __find_acq_core() 1061 x->mark.m = m->m; __find_acq_core() 1078 static struct xfrm_state *__xfrm_find_acq_byseq(struct net *net, u32 mark, u32 seq); 1086 u32 mark = x->mark.v & x->mark.m; xfrm_state_add() local 1104 x1 = __xfrm_find_acq_byseq(net, mark, x->km.seq); xfrm_state_add() 1113 x1 = __find_acq_core(net, &x->mark, family, x->props.mode, xfrm_state_add() 1197 memcpy(&x->mark, &orig->mark, sizeof(x->mark)); xfrm_state_clone() 1392 xfrm_state_lookup(struct net *net, u32 mark, const xfrm_address_t *daddr, __be32 spi, xfrm_state_lookup() argument 1398 x = __xfrm_state_lookup(net, mark, daddr, spi, proto, family); xfrm_state_lookup() 1405 xfrm_state_lookup_byaddr(struct net *net, u32 mark, xfrm_state_lookup_byaddr() argument 1412 x = __xfrm_state_lookup_byaddr(net, mark, daddr, saddr, proto, family); xfrm_state_lookup_byaddr() 1419 xfrm_find_acq(struct net *net, const struct xfrm_mark *mark, u8 mode, u32 reqid, xfrm_find_acq() argument 1426 x = __find_acq_core(net, mark, family, mode, reqid, proto, daddr, saddr, create); xfrm_find_acq() 1475 static struct xfrm_state *__xfrm_find_acq_byseq(struct net *net, u32 mark, u32 seq) __xfrm_find_acq_byseq() argument 1484 (mark & x->mark.m) == x->mark.v && __xfrm_find_acq_byseq() 1494 struct xfrm_state *xfrm_find_acq_byseq(struct net *net, u32 mark, u32 seq) xfrm_find_acq_byseq() argument 1499 x = __xfrm_find_acq_byseq(net, mark, seq); xfrm_find_acq_byseq() 1550 u32 mark = x->mark.v & x->mark.m; xfrm_alloc_spi() local 1563 x0 = xfrm_state_lookup(net, mark, &x->id.daddr, minspi, x->id.proto, x->props.family); xfrm_alloc_spi() 1573 x0 = xfrm_state_lookup(net, mark, &x->id.daddr, htonl(spi), x->id.proto, x->props.family); xfrm_alloc_spi()
|
H A D | xfrm_input.c | 191 u32 mark = skb->mark; xfrm_input() local 209 /* if tunnel is present override skb->mark value with tunnel i_key */ xfrm_input() 213 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4->parms.i_key); xfrm_input() 216 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6->parms.i_key); xfrm_input() 247 x = xfrm_state_lookup(net, mark, daddr, spi, nexthdr, family); xfrm_input()
|
H A D | xfrm_user.c | 555 xfrm_mark_get(attrs, &x->mark); xfrm_state_construct() 639 u32 mark = xfrm_mark_get(attrs, &m); xfrm_user_state_lookup() local 643 x = xfrm_state_lookup(net, mark, &p->daddr, p->spi, p->proto, p->family); xfrm_user_state_lookup() 654 x = xfrm_state_lookup_byaddr(net, mark, xfrm_user_state_lookup() 824 ret = xfrm_mark_put(skb, &x->mark); copy_to_user_state_extra() 1182 u32 mark; xfrm_alloc_userspi() local 1195 mark = xfrm_mark_get(attrs, &m); xfrm_alloc_userspi() 1197 x = xfrm_find_acq_byseq(net, mark, p->info.seq); xfrm_alloc_userspi() 1468 xfrm_mark_get(attrs, &xp->mark); xfrm_policy_construct() 1614 err = xfrm_mark_put(skb, &xp->mark); dump_one_policy() 1693 u32 mark = xfrm_mark_get(attrs, &m); xfrm_get_policy() local 1707 xp = xfrm_policy_byid(net, mark, type, p->dir, p->index, delete, &err); xfrm_get_policy() 1724 xp = xfrm_policy_bysel_ctx(net, mark, type, p->dir, &p->sel, xfrm_get_policy() 1843 err = xfrm_mark_put(skb, &x->mark); build_aevent() 1863 u32 mark; xfrm_get_ae() local 1868 mark = xfrm_mark_get(attrs, &m); xfrm_get_ae() 1870 x = xfrm_state_lookup(net, mark, &id->daddr, id->spi, id->proto, id->family); xfrm_get_ae() 1905 u32 mark = 0; xfrm_new_ae() local 1919 mark = xfrm_mark_get(attrs, &m); xfrm_new_ae() 1921 x = xfrm_state_lookup(net, mark, &p->sa_id.daddr, p->sa_id.spi, p->sa_id.proto, p->sa_id.family); xfrm_new_ae() 1985 u32 mark = xfrm_mark_get(attrs, &m); xfrm_add_pol_expire() local 1996 xp = xfrm_policy_byid(net, mark, type, p->dir, p->index, 0, &err); xfrm_add_pol_expire() 2013 xp = xfrm_policy_bysel_ctx(net, mark, type, p->dir, xfrm_add_pol_expire() 2047 u32 mark = xfrm_mark_get(attrs, &m); xfrm_add_sa_expire() local 2049 x = xfrm_state_lookup(net, mark, &p->id.daddr, p->id.spi, p->id.proto, p->family); xfrm_add_sa_expire() 2080 struct xfrm_mark mark; xfrm_add_acquire() local 2089 xfrm_mark_get(attrs, &mark); xfrm_add_acquire() 2103 xp->mark.m = x->mark.m = mark.m; xfrm_add_acquire() 2104 xp->mark.v = x->mark.v = mark.v; xfrm_add_acquire() 2498 err = xfrm_mark_put(skb, &x->mark); build_expire() 2719 err = xfrm_mark_put(skb, &xp->mark); build_acquire() 2834 err = xfrm_mark_put(skb, &xp->mark); build_polexpire() 2913 err = xfrm_mark_put(skb, &xp->mark); xfrm_notify_policy()
|
H A D | xfrm_policy.c | 735 u32 mark = policy->mark.v & policy->mark.m; xfrm_policy_mark_match() local 737 if (policy->mark.v == pol->mark.v && policy->mark.m == pol->mark.m) xfrm_policy_mark_match() 740 if ((mark & pol->mark.m) == pol->mark.v && xfrm_policy_mark_match() 813 struct xfrm_policy *xfrm_policy_bysel_ctx(struct net *net, u32 mark, u8 type, xfrm_policy_bysel_ctx() argument 827 (mark & pol->mark.m) == pol->mark.v && hlist_for_each_entry() 852 struct xfrm_policy *xfrm_policy_byid(struct net *net, u32 mark, u8 type, xfrm_policy_byid() argument 868 (mark & pol->mark.m) == pol->mark.v) { hlist_for_each_entry() 1076 (fl->flowi_mark & pol->mark.m) != pol->mark.v || xfrm_policy_match() 1225 if ((sk->sk_mark & pol->mark.m) != pol->mark.v) { xfrm_sk_policy_lookup() 1349 newp->mark = old->mark; clone_policy()
|
/linux-4.1.27/drivers/macintosh/ |
H A D | rack-meter.c | 47 u32 mark ____cacheline_aligned; 160 rm->dma_buf_v->mark = 0; rackmeter_do_pause() 176 pr_debug("rackmeter: mark offset=0x%zx\n", rackmeter_setup_dbdma() 177 offsetof(struct rackmeter_dma, mark)); rackmeter_setup_dbdma() 188 offsetof(struct rackmeter_dma, mark)); rackmeter_setup_dbdma() 201 offsetof(struct rackmeter_dma, mark)); rackmeter_setup_dbdma() 328 unsigned int mark, i; rackmeter_irq() local 340 /* Read mark */ rackmeter_irq() 341 mark = db->mark; rackmeter_irq() 342 if (mark != 1 && mark != 2) { rackmeter_irq() 343 printk(KERN_WARNING "rackmeter: Incorrect DMA mark 0x%08x\n", rackmeter_irq() 344 mark); rackmeter_irq() 354 /* Next buffer we need to fill is mark value */ rackmeter_irq() 355 buf = mark == 1 ? db->buf1 : db->buf2; rackmeter_irq()
|
/linux-4.1.27/drivers/gpu/drm/rockchip/ |
H A D | rockchip_drm_fbdev.h | 3 * Author:Mark Yao <mark.yao@rock-chips.com>
|
H A D | rockchip_drm_fb.h | 3 * Author:Mark Yao <mark.yao@rock-chips.com>
|
H A D | rockchip_drm_drv.h | 3 * Author:Mark Yao <mark.yao@rock-chips.com>
|
H A D | rockchip_drm_gem.h | 3 * Author:Mark Yao <mark.yao@rock-chips.com>
|
/linux-4.1.27/include/uapi/asm-generic/ |
H A D | mman.h | 8 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
|
H A D | termbits.h | 160 #define CMSPAR 010000000000 /* mark or space (stick) parity */
|
/linux-4.1.27/kernel/ |
H A D | audit_tree.c | 25 struct fsnotify_mark mark; member in struct:audit_chunk 67 * MSB of that sucker is stolen to mark taggings that we might have to 134 struct audit_chunk *chunk = container_of(entry, struct audit_chunk, mark); audit_tree_destroy_watch() 157 fsnotify_init_mark(&chunk->mark, audit_tree_destroy_watch); alloc_chunk() 158 chunk->mark.mask = FS_IN_IGNORED; alloc_chunk() 175 struct fsnotify_mark *entry = &chunk->mark; insert_hash() 191 /* mark.inode may have gone NULL, but who cares? */ list_for_each_entry_rcu() 192 if (p->mark.inode == inode) { list_for_each_entry_rcu() 221 struct fsnotify_mark *entry = &chunk->mark; untag_chunk() 261 fsnotify_duplicate_mark(&new->mark, entry); untag_chunk() 262 if (fsnotify_add_mark(&new->mark, new->mark.group, new->mark.inode, NULL, 1)) { untag_chunk() 263 fsnotify_put_mark(&new->mark); untag_chunk() 297 fsnotify_put_mark(&new->mark); /* drop initial reference */ untag_chunk() 324 entry = &chunk->mark; create_chunk() 368 old = container_of(old_entry, struct audit_chunk, mark); tag_chunk() 387 chunk_entry = &chunk->mark; tag_chunk() 615 struct inode *inode = chunk->mark.inode; audit_trim_trees() 959 struct audit_chunk *chunk = container_of(entry, struct audit_chunk, mark); audit_tree_freeing_mark() 964 * We are guaranteed to have at least one reference to the mark from audit_tree_freeing_mark()
|
H A D | audit_watch.c | 59 struct fsnotify_mark mark; /* fsnotify mark on the inode */ member in struct:audit_parent 79 parent = container_of(entry, struct audit_parent, mark); audit_watch_free_mark() 86 fsnotify_get_mark(&parent->mark); audit_get_parent() 92 fsnotify_put_mark(&parent->mark); audit_put_parent() 106 parent = container_of(entry, struct audit_parent, mark); audit_find_parent() 159 fsnotify_init_mark(&parent->mark, audit_watch_free_mark); audit_init_parent() 160 parent->mark.mask = AUDIT_FS_WATCH; audit_init_parent() 161 ret = fsnotify_add_mark(&parent->mark, audit_watch_group, inode, NULL, 0); audit_init_parent() 355 fsnotify_destroy_mark(&parent->mark, audit_watch_group); audit_remove_parent_watches() 462 fsnotify_destroy_mark(&parent->mark, audit_watch_group); audit_remove_watch_rule() 479 parent = container_of(inode_mark, struct audit_parent, mark); audit_watch_handle_event()
|
/linux-4.1.27/fs/notify/dnotify/ |
H A D | dnotify.c | 78 * Find the dnotify mark on the relevant inode, run the list of dnotify structs 79 * on that mark and determine which of them has expressed interest in receiving 144 * Called every time a file is closed. Looks first for a dnotify mark on the 146 * mark for one relevant to this process closing the file and remove that 218 * dnotify mark in inode->i_fsnotify_marks but we chain a dnotify_struct 219 * onto that mark. This function either attaches the new dnotify_struct onto 250 * up here. Allocate both a mark for fsnotify to add and a dnotify_struct to be 294 /* new fsnotify mark, we expect most fcntl calls to add a new mark */ fcntl_dirnotify() 335 * fd is the only time we clean up the marks we need to get our mark fcntl_dirnotify()
|
/linux-4.1.27/drivers/dma/sh/ |
H A D | shdma-base.c | 67 if (sdesc->mark == DESC_SUBMITTED) { shdma_chan_xfer_ld_queue() 94 if (chunk != desc && (chunk->mark == DESC_IDLE || shdma_tx_submit() 99 chunk->mark = DESC_SUBMITTED; shdma_tx_submit() 165 if (sdesc->mark != DESC_PREPARED) { shdma_get_desc() 166 BUG_ON(sdesc->mark != DESC_IDLE); shdma_get_desc() 243 desc->mark = DESC_IDLE; shdma_alloc_chan_resources() 342 BUG_ON(desc->mark != DESC_SUBMITTED && __ld_cleanup() 343 desc->mark != DESC_COMPLETED && __ld_cleanup() 344 desc->mark != DESC_WAITING); __ld_cleanup() 351 if (!all && desc->mark == DESC_SUBMITTED && __ld_cleanup() 358 if (desc->mark == DESC_COMPLETED && desc->chunks == 1) { __ld_cleanup() 368 if (desc->mark == DESC_COMPLETED && tx->callback) { __ld_cleanup() 369 desc->mark = DESC_WAITING; __ld_cleanup() 379 if (desc->mark == DESC_COMPLETED) { __ld_cleanup() 381 desc->mark = DESC_WAITING; __ld_cleanup() 385 switch (desc->mark) { __ld_cleanup() 387 desc->mark = DESC_WAITING; __ld_cleanup() 398 if (((desc->mark == DESC_COMPLETED || __ld_cleanup() 399 desc->mark == DESC_WAITING) && __ld_cleanup() 404 desc->mark = DESC_IDLE; __ld_cleanup() 408 desc->mark = DESC_SUBMITTED; __ld_cleanup() 539 new->mark = DESC_PREPARED; shdma_add_desc() 634 new->mark = DESC_IDLE; 888 sdesc->mark = DESC_IDLE; shdma_for_each_chan() 929 if (sdesc->mark == DESC_SUBMITTED && chan_irqt() 933 sdesc->mark = DESC_COMPLETED; chan_irqt()
|
/linux-4.1.27/arch/sparc/include/uapi/asm/ |
H A D | mman.h | 16 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
|
/linux-4.1.27/fs/ntfs/ |
H A D | quota.c | 31 * ntfs_mark_quotas_out_of_date - mark the quotas out of date on an ntfs volume 32 * @vol: ntfs volume on which to mark the quotas out of date 84 * pending deletes, no need to mark the quotas out of date. ntfs_mark_quotas_out_of_date() 103 * We set the flag so we do not try to mark the quotas out of date ntfs_mark_quotas_out_of_date()
|
H A D | index.h | 120 * ntfs_index_entry_mark_dirty - mark an index entry dirty 125 * If the index entry is in the index root attribute, simply mark the mft 131 * attribute, mark the buffers belonging to the index record as well as the
|
/linux-4.1.27/include/net/tc_act/ |
H A D | tc_skbedit.h | 28 u32 mark; member in struct:tcf_skbedit
|
/linux-4.1.27/arch/powerpc/include/uapi/asm/ |
H A D | mman.h | 21 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
|
/linux-4.1.27/arch/ia64/include/asm/ |
H A D | percpu.h | 12 # define THIS_CPU(var) (var) /* use this to mark accesses to per-CPU variables... */
|
/linux-4.1.27/arch/arm/plat-samsung/include/plat/ |
H A D | fb.h | 23 * so the machine data can mark the data __initdata so that any unused
|
/linux-4.1.27/arch/arm/include/asm/hardware/ |
H A D | arm_timer.h | 7 * registers, so we mark them with A for Integrator AP, C for Integrator
|
/linux-4.1.27/arch/arc/include/asm/ |
H A D | linkage.h | 14 #define ASM_NL ` /* use '`' to mark new line in macro */
|
/linux-4.1.27/arch/mips/include/uapi/asm/ |
H A D | socket.h | 38 #define SO_SNDLOWAT 0x1003 /* send low-water mark */ 39 #define SO_RCVLOWAT 0x1004 /* receive low-water mark */
|
/linux-4.1.27/net/batman-adv/ |
H A D | bitarray.c | 44 * higher than this one, so we just mark it. batadv_bit_get_packet() 53 * set the mark if required batadv_bit_get_packet()
|
H A D | translation-table.h | 23 unsigned short vid, int ifindex, uint32_t mark);
|
H A D | sysfs.c | 463 * batadv_show_isolation_mark - print the current isolation mark/mask 481 * batadv_store_isolation_mark - parse and store the isolation mark/mask entered 496 uint32_t mark, mask; batadv_store_isolation_mark() local 515 /* the mark can be entered in any base */ batadv_store_isolation_mark() 516 if (kstrtou32(buff, 0, &mark) < 0) batadv_store_isolation_mark() 521 bat_priv->isolation_mark = mark & bat_priv->isolation_mark_mask; batadv_store_isolation_mark() 524 "New skb mark for extended isolation: %#.8x/%#.8x\n", batadv_store_isolation_mark()
|
/linux-4.1.27/fs/f2fs/ |
H A D | node.h | 37 HAS_LAST_FSYNC, /* has the latest node fsync mark? */ 405 static inline void set_mark(struct page *page, int mark, int type) set_mark() argument 409 if (mark) set_mark() 415 #define set_dentry_mark(page, mark) set_mark(page, mark, DENT_BIT_SHIFT) 416 #define set_fsync_mark(page, mark) set_mark(page, mark, FSYNC_BIT_SHIFT)
|
/linux-4.1.27/drivers/mtd/nand/gpmi-nand/ |
H A D | gpmi-nand.c | 216 * The position of block mark moves forward in the ECC-based view set_geometry_by_ecc_info() 225 * So the bit position of the physical block mark within the ECC-based set_geometry_by_ecc_info() 314 * the physical block mark within the ECC-based view of the page. legacy_set_geometry() 326 * The position of block mark moves forward in the ECC-based view legacy_set_geometry() 348 * The above inequality means the position of block mark legacy_set_geometry() 353 * physical block mark within the ECC-based view of the page: legacy_set_geometry() 947 * Handles block mark swapping. 948 * It can be called in swapping the block mark, or swapping it back, 974 * Get the byte from the data area that overlays the block mark. Since block_mark_swapping() 976 * physical block mark won't (in general) appear on a byte boundary in block_mark_swapping() 1032 /* handle the block mark swapping */ gpmi_ecc_read_page() 1056 * block mark to th caller's buffer. Note that, if block mark gpmi_ecc_read_page() 1059 * the block mark. gpmi_ecc_read_page() 1176 * If control arrives here, we're doing block mark swapping. gpmi_ecc_write_page() 1189 /* Handle block mark swapping. */ gpmi_ecc_write_page() 1194 * If control arrives here, we're not doing block mark swapping, gpmi_ecc_write_page() 1246 * 1) Nothing the caller does can be allowed to imperil the block mark. 1249 * true state of the block mark, no matter where that block mark appears in 1266 * 2) Are we using block mark swapping or transcription? 1276 * | we want. | Read the block mark and | 1281 * Transcribing | mark in the metadata. | | 1282 * | Copy the block mark | | 1289 * overwriting the block mark). That's OK because it's more important to follow 1312 * Now, we want to make sure the block mark is correct. In the gpmi_ecc_read_oob() 1317 /* Read the block mark into the first byte of the OOB buffer. */ gpmi_ecc_read_oob() 1552 /* Write the block mark. */ gpmi_block_markbad() 1748 * If control arrives here, we can't use block mark swapping, which mx23_boot_init() 1772 * conventional mark. mx23_boot_init() 1778 /* Send the command to read the conventional block mark. */ mx23_boot_init() 1785 * Check if the block is marked bad. If so, we need to mark it mx23_boot_init() 1786 * again, but this time the result will be a mark in the mx23_boot_init() 1790 dev_dbg(dev, "Transcribing mark in block %u\n", block); mx23_boot_init() 1794 "Failed to mark block bad with ret %d\n", mx23_boot_init()
|
/linux-4.1.27/include/net/ |
H A 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);
|
H A D | bond_options.h | 30 * BOND_VALFLAG_DEFAULT - mark the value as default 31 * BOND_VALFLAG_(MIN|MAX) - mark the value as min/max
|
H A D | af_rxrpc.h | 20 * the mark applied to socket buffers that may be intercepted
|
H A D | fib_rules.h | 15 u32 mark; member in struct:fib_rule
|
H A D | flow.h | 85 __u32 mark, __u8 tos, __u8 scope, flowi4_init_output() 92 fl4->flowi4_mark = mark; flowi4_init_output() 84 flowi4_init_output(struct flowi4 *fl4, int oif, __u32 mark, __u8 tos, __u8 scope, __u8 proto, __u8 flags, __be32 daddr, __be32 saddr, __be16 dport, __be16 sport) flowi4_init_output() argument
|
/linux-4.1.27/net/rxrpc/ |
H A D | ar-recvmsg.c | 134 skb->mark != RXRPC_SKB_MARK_DATA) { rxrpc_recvmsg() 157 if (skb->mark != RXRPC_SKB_MARK_DATA) rxrpc_recvmsg() 262 if (skb->mark == RXRPC_SKB_MARK_NEW_CALL) { rxrpc_recvmsg() 281 switch (skb->mark) { rxrpc_recvmsg() 387 ASSERTCMP(skb->mark, ==, RXRPC_SKB_MARK_DATA); rxrpc_kernel_is_data_last() 404 ASSERTCMP(skb->mark, ==, RXRPC_SKB_MARK_REMOTE_ABORT); rxrpc_kernel_get_abort_code()
|
H A D | ar-ack.c | 488 skb->mark = RXRPC_SKB_MARK_DATA; rxrpc_drain_rx_oos_queue() 802 skb->mark = RXRPC_SKB_MARK_FINAL_ACK; rxrpc_process_rx_queue() 827 static int rxrpc_post_message(struct rxrpc_call *call, u32 mark, u32 error, rxrpc_post_message() argument 835 call->debug_id, call->flags, mark, error, fatal); rxrpc_post_message() 844 if (mark != RXRPC_SKB_MARK_NEW_CALL && rxrpc_post_message() 857 skb->mark = mark; rxrpc_post_message() 1015 u32 mark; rxrpc_process_call() local 1018 mark = RXRPC_SKB_MARK_REMOTE_ABORT; rxrpc_process_call() 1020 mark = RXRPC_SKB_MARK_BUSY; rxrpc_process_call() 1024 if (rxrpc_post_message(call, mark, ECONNABORTED, true) < 0) rxrpc_process_call()
|
/linux-4.1.27/sound/pci/hda/ |
H A D | hda_auto_parser.h | 86 #define HDA_PINCFG_HEADSET_MIC (1 << 2) /* Try to find headset mic; mark seq number as 0xc to trigger */ 87 #define HDA_PINCFG_HEADPHONE_MIC (1 << 3) /* Try to find headphone mic; mark seq number as 0xd to trigger */
|
/linux-4.1.27/fs/notify/inotify/ |
H A D | inotify_user.c | 356 /* we added the mark to the idr, take a reference */ inotify_add_to_idr() 416 * Remove the mark from the idr (if present) and drop the reference 417 * on the mark because it was in the idr. 450 * We found an mark in the idr at the right wd, but it's inotify_remove_from_idr() 451 * not the mark we were told to remove. eparis seriously inotify_remove_from_idr() 456 "mark->inode=%p found_i_mark=%p found_i_mark->wd=%d " inotify_remove_from_idr() 500 /* remove this mark from the idr */ inotify_ignored_and_remove_idr() 506 /* ding dong the mark is dead */ inotify_free_mark() 607 /* return the watch descriptor for this new mark */ inotify_new_watch() 624 /* no mark present, try to add a new one */ inotify_update_watch() 736 /* create/update an inode mark */ SYSCALL_DEFINE3()
|
/linux-4.1.27/arch/x86/platform/intel-mid/ |
H A D | mfld.c | 52 /* mark tsc clocksource as reliable */ mfld_calibrate_tsc()
|
H A D | mrfl.c | 81 /* mark tsc clocksource as reliable */ tangier_calibrate_tsc()
|
/linux-4.1.27/arch/sh/kernel/vsyscall/ |
H A D | vsyscall.c | 37 * These symbols are defined by vsyscall.o to mark the bounds
|
/linux-4.1.27/arch/sparc/mm/ |
H A D | extable.c | 69 /* We could memmove them around; easier to mark the trimmed ones. */ trim_init_extable()
|
/linux-4.1.27/arch/tile/include/uapi/asm/ |
H A D | mman.h | 30 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
|
/linux-4.1.27/arch/cris/arch-v10/lib/ |
H A D | csumcpfruser.S | 26 /* There are local labels numbered 1, 2 and 3 present to mark the
|
/linux-4.1.27/arch/cris/arch-v32/lib/ |
H A D | csumcpfruser.S | 26 /* There are local labels numbered 1, 2 and 3 present to mark the
|
/linux-4.1.27/arch/arm/mach-mmp/ |
H A D | teton_bga.c | 6 * Author: Mark F. Brown <mark.brown314@gmail.com>
|
/linux-4.1.27/drivers/pinctrl/sh-pfc/ |
H A D | core.c | 276 static int sh_pfc_mark_to_enum(struct sh_pfc *pfc, u16 mark, int pos, sh_pfc_mark_to_enum() argument 288 if (data[k] == mark) { sh_pfc_mark_to_enum() 294 dev_err(pfc->dev, "cannot locate data/mark enum_id for mark %d\n", sh_pfc_mark_to_enum() 295 mark); sh_pfc_mark_to_enum() 299 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type) sh_pfc_config_mux() argument 331 pos = sh_pfc_mark_to_enum(pfc, mark, pos, &enum_id); sh_pfc_config_mux()
|
H A D | core.h | 65 int sh_pfc_config_mux(struct sh_pfc *pfc, unsigned mark, int pinmux_type);
|
H A D | gpio.c | 268 unsigned int mark = pfc->info->func_gpios[offset].enum_id; gpio_function_request() local 279 if (mark == 0) gpio_function_request() 283 ret = sh_pfc_config_mux(pfc, mark, PINMUX_TYPE_FUNCTION); gpio_function_request()
|
/linux-4.1.27/arch/hexagon/include/asm/ |
H A D | pgtable.h | 314 /* pte_mkold - mark PTE as not recently accessed */ pte_mkold() 321 /* pte_mkyoung - mark PTE as recently accessed */ pte_mkyoung() 328 /* pte_mkclean - mark page as in sync with backing store */ pte_mkclean() 335 /* pte_mkdirty - mark page as modified */ pte_mkdirty() 362 /* pte_wrprotect - mark page as not writable */ pte_wrprotect() 369 /* pte_mkwrite - mark page as writable */ pte_mkwrite() 376 /* pte_mkexec - mark PTE as executable */ pte_mkexec()
|
/linux-4.1.27/fs/notify/fanotify/ |
H A D | fanotify_user.c | 604 struct fsnotify_mark *mark; fanotify_add_new_mark() local 610 mark = kmem_cache_alloc(fanotify_mark_cache, GFP_KERNEL); fanotify_add_new_mark() 611 if (!mark) fanotify_add_new_mark() 614 fsnotify_init_mark(mark, fanotify_free_mark); fanotify_add_new_mark() 615 ret = fsnotify_add_mark_locked(mark, group, inode, mnt, 0); fanotify_add_new_mark() 617 fsnotify_put_mark(mark); fanotify_add_new_mark() 621 return mark; fanotify_add_new_mark() 662 * an ignored mark, unless that ignored mark is supposed to survive fanotify_add_inode_mark() 884 /* create/update an inode mark */ SYSCALL_DEFINE5()
|
/linux-4.1.27/drivers/mtd/ |
H A D | nftlmount.c | 91 /* To be safer with BIOS, also use erase mark as discriminant */ find_boot_record() 106 printk(KERN_NOTICE "ANAND header found at 0x%x in mtd%d, but erase mark not present (0x%04x,0x%04x instead)\n", find_boot_record() 216 /* mark the bios blocks (blocks before NFTL MediaHeader) as reserved */ find_boot_record() 219 /* mark all remaining blocks as potentially containing data */ find_boot_record() 245 /* mark the Bad Erase Unit as RESERVED in ReplUnitTable */ find_boot_record() 397 /* verify that the sector is really free. If not, mark check_sectors_in_chain() 406 /* sector not free actually : mark it as SECTOR_IGNORE */ check_sectors_in_chain() 489 /* check_and_mark_free_block: Verify that a block is free in the NFTL sense (valid erase mark) or 502 /* check erase mark. */ check_and_mark_free_block() 509 /* if no erase mark, the block must be totally free. This is check_and_mark_free_block() 514 /* free block : write erase mark */ check_and_mark_free_block() 524 /* if erase mark present, need to skip it when doing check */ check_and_mark_free_block() 535 /* skip erase mark */ check_and_mark_free_block() 549 /* get_fold_mark: Read fold mark from Unit Control Information #2, we use FOLD_MARK_IN_PROGRESS 636 /* free block: mark it */ NFTL_mount()
|
H A D | inftlmount.c | 100 /* To be safer with BIOS, also use erase mark as discriminant */ find_boot_record() 393 mark only the failed block in the bbt. */ INFTL_formatblock() 577 * mark it as free. INFTL_mount() 630 "mark 0x%x?\n", block, first_block, INFTL_mount()
|
/linux-4.1.27/drivers/usb/host/ |
H A D | ehci-dbg.c | 420 char mark; qh_lines() local 425 mark = '@'; qh_lines() 427 mark = token_mark(ehci, hw->hw_token); qh_lines() 428 if (mark == '/') { /* qh_alt_next controls qh advance? */ qh_lines() 431 mark = '#'; /* blocked */ qh_lines() 433 mark = '.'; /* use hw_qtd_next */ qh_lines() 437 hw_curr = (mark == '*') ? hc32_to_cpup(ehci, &hw->hw_current) : 0; qh_lines() 444 hc32_to_cpup(ehci, &hw->hw_token), mark, qh_lines() 455 mark = ' '; qh_lines() 457 mark = '*'; qh_lines() 459 mark = '+'; qh_lines() 462 mark = '#'; qh_lines() 464 mark = '/'; qh_lines() 468 td, mark, ({ char *tmp; qh_lines()
|
/linux-4.1.27/drivers/mtd/maps/ |
H A D | netsc520.c | 3 * Copyright (C) 2001 Mark Langsdorf (mark.langsdorf@amd.com) 139 MODULE_AUTHOR("Mark Langsdorf <mark.langsdorf@amd.com>");
|
/linux-4.1.27/fs/jfs/ |
H A D | jfs_umount.c | 108 * Make sure all metadata makes it to disk before we mark jfs_umount() 160 * mark the superblock clean before everything is flushed to jfs_umount_rw()
|
H A D | inode.c | 184 * partitions and may try to mark inode dirty jfs_dirty_inode() 231 * We should mark the whole page not ABNR, but how jfs_get_block() 232 * will we know to mark the other blocks BH_New? jfs_get_block()
|
H A D | jfs_txnmgr.c | 108 static int TxLockLWM; /* Low water mark for number of txLocks used */ 109 static int TxLockHWM; /* High water mark for number of txLocks used */ 110 static int TxLockVHWM; /* Very High water mark */ 190 * greater than the high water mark, wake up the sync daemon. This should 517 * Lazy commit thread can't free this guy until we mark it UNLOCKED, txEnd() 545 * mark the tblock not active txEnd() 704 /* mark tlock for meta-data page */ txLock() 709 /* mark the page dirty and nohomeok */ txLock() 716 * commit synclist, mark inode to show this. This will txLock() 723 /* mark tlock for in-memory inode */ txLock() 867 * mark homeok yet. The allows other transactions to modify 922 * mark page under tlock homeok (its log has been written): txUnlock() 1465 /* mark page as homeward bound */ diLog() 1505 /* mark page as homeward bound */ diLog() 1586 /* mark page as homeward bound */ dataLog() 1623 * mark log (LOG_NEW) for logredo() to initialize dtLog() 1648 /* mark page as homeward bound */ dtLog() 1665 /* mark page as homeward bound */ dtLog() 1807 /* mark page as homeward bound */ xtLog() 1909 /* mark page as invalid */ xtLog() 2075 /* mark page as homeward bound */ xtLog() 2683 * mark filesystem dirty txAbort()
|
H A D | jfs_txnmgr.h | 198 struct lv lwm; /* 2: low water mark */ 199 struct lv hwm; /* 2: high water mark */
|
H A D | resize.c | 223 * mark on-disk super block for fs in transition; jfs_extendfs() 241 /* mark extendfs() in progress */ jfs_extendfs() 493 /* mark extendfs() completion */ jfs_extendfs()
|
/linux-4.1.27/arch/m68k/include/asm/ |
H A D | mac_iop.h | 103 __u8 wmark; /* write a mark byte */ 119 __u8 rmark; /* read a mark byte */
|
/linux-4.1.27/fs/ |
H A D | bad_inode.c | 162 * make_bad_inode - mark an inode bad due to an I/O error 163 * @inode: Inode to mark bad
|
/linux-4.1.27/fs/btrfs/ |
H A D | transaction.h | 186 struct extent_io_tree *dirty_pages, int mark); 188 struct extent_io_tree *dirty_pages, int mark);
|
/linux-4.1.27/net/core/ |
H A D | fib_rules.c | 186 if ((rule->mark ^ fl->flowi_mark) & rule->mark_mask) fib_rule_match() 322 rule->mark = nla_get_u32(tb[FRA_FWMARK]); fib_nl_newrule() 323 if (rule->mark) fib_nl_newrule() 324 /* compatibility: if the mark value is non-zero all bits fib_nl_newrule() 469 (rule->mark != nla_get_u32(tb[FRA_FWMARK]))) fib_nl_delrule() 589 (rule->mark && fib_nl_fill_rule() 590 nla_put_u32(skb, FRA_FWMARK, rule->mark)) || fib_nl_fill_rule() 591 ((rule->mark_mask || rule->mark) && fib_nl_fill_rule()
|
/linux-4.1.27/drivers/net/ethernet/adi/ |
H A D | bfin_mac.h | 22 * without error mark.
|
/linux-4.1.27/drivers/cpufreq/ |
H A D | highbank-cpufreq.c | 107 MODULE_AUTHOR("Mark Langsdorf <mark.langsdorf@calxeda.com>");
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | head.c | 69 /* reserve all memory between lowmem and the 1MB mark */ reserve_ebda_region()
|
/linux-4.1.27/drivers/ata/ |
H A D | pata_netcell.c | 26 /* Firmware forgets to mark words 85-87 valid */ netcell_read_id()
|
/linux-4.1.27/drivers/usb/serial/ |
H A D | wishbone-serial.c | 57 "Could not mark device as open (%d)\n", wishbone_serial_open()
|
H A D | empeg.c | 97 | PARMRK /* disable mark parity errors */ empeg_init_termios()
|
/linux-4.1.27/fs/xfs/ |
H A D | xfs_extent_busy.h | 28 * Busy block/extent entry. Indexed by a rbtree in perag to mark blocks that
|
H A D | xfs_extent_busy.c | 172 * performing the discard a chance to mark the extent unbusy 245 * so set the length to zero to mark it invalid. 556 * If do_discard is set skip extents that need to be discarded, and mark
|
/linux-4.1.27/drivers/video/logo/ |
H A D | logo.c | 26 * Use late_init to mark the logos as freed to prevent any further use.
|
/linux-4.1.27/arch/powerpc/sysdev/ |
H A D | mpic_msi.c | 46 * mark anything we don't like reserved. mpic_msi_reserve_u3_hwirqs()
|
/linux-4.1.27/arch/ia64/pci/ |
H A D | fixup.c | 14 * Fixup to mark boot BIOS video selected by BIOS before it changes
|
/linux-4.1.27/arch/arm/include/asm/ |
H A D | hugetlb-3level.h | 27 * If our huge pte is non-zero then mark the valid bit.
|
/linux-4.1.27/sound/pci/echoaudio/ |
H A D | indigodjx_dsp.c | 52 /* Since this card has no ASIC, mark it as loaded so everything init_hw()
|
H A D | indigoiox_dsp.c | 52 /* Since this card has no ASIC, mark it as loaded so everything init_hw()
|
H A D | darla20_dsp.c | 51 /* Since this card has no ASIC, mark it as loaded so everything init_hw()
|
H A D | darla24_dsp.c | 49 /* Since this card has no ASIC, mark it as loaded so everything init_hw()
|
H A D | indigo_dsp.c | 54 /* Since this card has no ASIC, mark it as loaded so everything init_hw()
|
H A D | indigodj_dsp.c | 54 /* Since this card has no ASIC, mark it as loaded so everything init_hw()
|
H A D | indigoio_dsp.c | 54 /* Since this card has no ASIC, mark it as loaded so everything init_hw()
|
/linux-4.1.27/arch/alpha/mm/ |
H A D | numa.c | 82 non-volatile memory -- we might want to mark for_each_mem_cluster() 136 /* Quasi-mark the pg_data_t as in-use */ 201 /* Allocate the bootmap and mark the whole MM as reserved. */
|
/linux-4.1.27/net/sctp/ |
H A D | probe.c | 51 MODULE_PARM_DESC(fwmark, "skb mark to match (0=no mark)"); 148 (fwmark > 0 && skb->mark == fwmark)) && jsctp_sf_eat_sack()
|
/linux-4.1.27/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 48 * framework uses to mark unused hwspinlock instances (see the 274 /* mark this hwspinlock as available */ hwspin_lock_register_single() 424 /* mark hwspinlock as used, should not fail */ __hwspin_lock_request() 483 /* mark as used and power up */ hwspin_lock_request() 532 /* mark as used and power up */ hwspin_lock_request_specific() 547 * This function mark @hwlock as free again. 584 /* mark this hwspinlock as available */ hwspin_lock_free()
|
/linux-4.1.27/drivers/md/ |
H A D | dm-log-writes.c | 22 * at all times. This target provides a mechanism to mark specific events to 27 * dmsetup message /dev/whatever mark mymark 498 DMERR("Error copying mark data"); log_mark() 757 * mark <mark data> - specify the marked data. 769 if (!strcasecmp(argv[0], "mark")) log_writes_message()
|
H A D | dm-log-userspace-base.c | 29 * This limit on the number of mark and clear request is, to a degree, 75 * Combine userspace flush and mark requests for efficiency. 185 * and mark requests. 448 * failure and mark the region out-of-sync. If we don't go userspace_in_sync() 552 * clear/mark requests that are on the list. Then it
|
/linux-4.1.27/drivers/isdn/hisax/ |
H A D | config.c | 639 int jiftime(char *s, long mark) jiftime() argument 644 *s-- = mark % 10 + '0'; jiftime() 645 mark /= 10; jiftime() 646 *s-- = mark % 10 + '0'; jiftime() 647 mark /= 10; jiftime() 649 *s-- = mark % 10 + '0'; jiftime() 650 mark /= 10; jiftime() 651 *s-- = mark % 6 + '0'; jiftime() 652 mark /= 6; jiftime() 654 *s-- = mark % 10 + '0'; jiftime() 655 mark /= 10; jiftime() 656 *s-- = mark % 10 + '0'; jiftime()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
H A D | i40e_hmc.c | 234 /* mark the entry invalid */ i40e_remove_pd_bp() 272 /* mark the entry invalid */ i40e_prep_remove_sd_bp() 325 /* mark the entry invalid */ i40e_prep_remove_pd_page()
|
/linux-4.1.27/drivers/media/pci/cx23885/ |
H A D | cx23885-input.c | 170 /* RC-5: 666,667 ns = 1/36 kHz * 32 cycles * 1 mark * 0.75 */ cx23885_input_ir_start() 171 /* RC-6A: 333,333 ns = 1/36 kHz * 16 cycles * 1 mark * 0.75 */ cx23885_input_ir_start() 175 * mark is received as low logic level; cx23885_input_ir_start()
|
/linux-4.1.27/arch/mips/kernel/ |
H A D | vpe-mt.c | 162 /* mark not allocated and not dynamically allocatable */ cleanup_tc() 249 /* mark the TC unallocated */ vpe_free() 479 /* mark not activated and not dynamically allocatable */ vpe_module_init()
|
H A D | vmlinux.lds.S | 148 /* These mark the ABI of the kernel for debuggers. */
|
/linux-4.1.27/drivers/mtd/nand/ |
H A D | sm_common.c | 62 "sm_common: can't mark sector at %i as bad\n", sm_block_markbad()
|
/linux-4.1.27/arch/x86/include/asm/ |
H A D | mc146818rtc.h | 28 * a non-SMP machine just to mark that the lock is owned.
|
/linux-4.1.27/arch/x86/lib/ |
H A D | rwsem.S | 53 * that the asm does not mark as clobbered, and move the
|
/linux-4.1.27/arch/x86/power/ |
H A D | hibernate_32.c | 107 * NOTE: We can mark everything as executable here resume_physical_mapping_init()
|
/linux-4.1.27/arch/x86/realmode/ |
H A D | init.c | 97 * need to mark it executable at do_pre_smp_initcalls() at least,
|
/linux-4.1.27/block/ |
H A D | blk-merge.c | 413 * blk_rq_set_mixed_merge - mark a request as mixed merge 414 * @rq: request to mark as mixed merge 418 * which can be mixed are set in each bio and mark @rq as mixed 497 * a mixed merge, mark both as mixed before proceeding. This attempt_merge()
|
/linux-4.1.27/arch/unicore32/kernel/ |
H A D | hibernate.c | 100 * NOTE: We can mark everything as executable here resume_physical_mapping_init()
|
/linux-4.1.27/arch/mips/include/asm/octeon/ |
H A D | cvmx-asxx-defs.h | 618 uint64_t mark:4; member in struct:cvmx_asxx_tx_hi_waterx::cvmx_asxx_tx_hi_waterx_s 620 uint64_t mark:4; 627 uint64_t mark:3; member in struct:cvmx_asxx_tx_hi_waterx::cvmx_asxx_tx_hi_waterx_cn30xx 629 uint64_t mark:3;
|
/linux-4.1.27/drivers/usb/class/ |
H A D | cdc-acm.h | 10 * CMSPAR, some architectures can't have space and mark parity.
|
/linux-4.1.27/drivers/usb/phy/ |
H A D | phy-am335x.c | 70 * immediately from DS0. To avoid this we mark dev->power.can_wakeup am335x_phy_probe()
|
/linux-4.1.27/include/media/ |
H A D | media-devnode.h | 37 * Flag to mark the media_devnode struct as registered. Drivers must not touch
|
H A D | v4l2-dev.h | 41 /* Flag to mark the video_device struct as registered. 189 /* mark that this command shouldn't use core locking */ v4l2_disable_ioctl_locking()
|
/linux-4.1.27/arch/parisc/include/uapi/asm/ |
H A D | mman.h | 19 #define MAP_EXECUTABLE 0x1000 /* mark it as an executable */
|
H A D | termbits.h | 161 #define CMSPAR 010000000000 /* mark or space (stick) parity */
|
/linux-4.1.27/arch/avr32/include/uapi/asm/ |
H A D | termbits.h | 159 #define CMSPAR 010000000000 /* mark or space (stick) parity */
|
/linux-4.1.27/arch/cris/mm/ |
H A D | tlb.c | 81 * the only thing we really need to do here is mark the used PID slot
|
/linux-4.1.27/arch/ia64/kernel/ |
H A D | vmlinux.lds.S | 68 NOTES :code :note /* put .notes in text and mark in PT_NOTE */
|
H A D | perfmon_itanium.h | 73 * a count of 0 will mark the debug registers as in use and also pfm_ita_pmc_check() 92 * a count of 0 will mark the debug registers as in use and also pfm_ita_pmc_check()
|
/linux-4.1.27/arch/arm/probes/kprobes/ |
H A D | checkers-thumb.c | 27 * may get here. Simply mark all normal insns as STACK_USE_NONE. t32_check_stack()
|
/linux-4.1.27/arch/arm/mach-imx/ |
H A D | ssi-fiq.S | 40 * mark the function body so that it can be copied to the FIQ vector in
|
/linux-4.1.27/arch/alpha/include/uapi/asm/ |
H A D | mman.h | 26 #define MAP_EXECUTABLE 0x04000 /* mark it as an executable */
|
/linux-4.1.27/kernel/locking/ |
H A D | mutex-debug.c | 107 * mutex_destroy - mark a mutex unusable
|
/linux-4.1.27/lib/ |
H A D | lockref.c | 160 * lockref_mark_dead - mark lockref dead
|
/linux-4.1.27/sound/pci/mixart/ |
H A D | mixart_core.c | 214 /* mark the frame as a request (will have an answer) */ send_msg() 249 err = send_msg(mgr, request, max_resp_size, 1, &msg_frame); /* send and mark the answer pending */ snd_mixart_send_msg() 301 err = send_msg(mgr, request, MSG_DEFAULT_SIZE, 1, ¬if_event); /* send and mark the notification event pending */ snd_mixart_send_msg_wait_notif() 329 /* just send the message (do not mark it as a pending one) */ snd_mixart_send_msg_nonblock()
|
/linux-4.1.27/drivers/media/i2c/cx25840/ |
H A D | cx25840-ir.c | 715 v, u ? "mark" : "space", w ? "(timed out)" : ""); cx25840_ir_rx_read() 879 u32 mark; cx25840_ir_tx_write() 891 mark = ns_pulse[i] & LEVEL_MASK; cx25840_ir_tx_write() 896 if (mark) cx25840_ir_tx_write() 1156 cntrl & CNTRL_CPL ? "space:burst mark:noburst" cx25840_ir_log_status() 1157 : "space:noburst mark:burst"); cx25840_ir_log_status() 1200 /* RC-5: 666,667 ns = 1/36 kHz * 32 cycles * 1 mark * 0.75 */ 1201 /* RC-6: 333,333 ns = 1/36 kHz * 16 cycles * 1 mark * 0.75 */
|
/linux-4.1.27/drivers/dio/ |
H A D | dio.c | 21 * void dio_config_board(int scode) mark board as configured in the list 22 * void dio_unconfig_board(int scode) mark board as no longer configured
|
/linux-4.1.27/drivers/gpu/drm/msm/ |
H A D | msm_atomic.c | 33 * atomically mark them as pending update 219 * mark our set of crtc's as busy: msm_atomic_commit()
|
/linux-4.1.27/fs/udf/ |
H A D | truncate.c | 115 /* This inode entry is in-memory only and thus we don't have to mark udf_truncate_tail_extent() 173 /* This inode entry is in-memory only and thus we don't have to mark udf_discard_prealloc()
|
/linux-4.1.27/arch/mips/netlogic/xlp/ |
H A D | wakeup.c | 67 /* On 9XX, mark coherent first */ xlp_wakeup_core() 84 /* Poll for CPU to mark itself coherent on other type of XLP */ xlp_wakeup_core()
|
/linux-4.1.27/net/openvswitch/ |
H A D | vport-geneve.c | 192 rt = ovs_tunnel_route_lookup(net, tun_key, skb->mark, &fl, IPPROTO_UDP); geneve_tnl_send() 245 IPPROTO_UDP, skb->mark, sport, dport); geneve_get_egress_tun_info()
|
H A D | vport-gre.c | 151 rt = ovs_tunnel_route_lookup(net, tun_key, skb->mark, &fl, IPPROTO_GRE); gre_tnl_send() 285 IPPROTO_GRE, skb->mark, 0, 0); gre_get_egress_tun_info()
|
H A D | vport-vxlan.c | 242 rt = ovs_tunnel_route_lookup(net, tun_key, skb->mark, &fl, IPPROTO_UDP); vxlan_tnl_send() 286 IPPROTO_UDP, skb->mark, vxlan_get_egress_tun_info()
|
H A D | vport.h | 243 u32 mark, ovs_tunnel_route_lookup() 253 fl->flowi4_mark = mark; ovs_tunnel_route_lookup() 241 ovs_tunnel_route_lookup(struct net *net, const struct ovs_key_ipv4_tunnel *key, u32 mark, struct flowi4 *fl, u8 protocol) ovs_tunnel_route_lookup() argument
|
/linux-4.1.27/include/drm/ |
H A D | drm_legacy.h | 92 int low_mark; /**< Low water mark */ 93 int high_mark; /**< High water mark */
|
/linux-4.1.27/drivers/net/wireless/iwlwifi/mvm/ |
H A D | fw-api-tx.h | 75 * @TX_CMD_FLG_VHT_NDPA: mark frame is NDPA for VHT beamformer sequence 76 * @TX_CMD_FLG_HT_NDPA: mark frame is NDPA for HT beamformer sequence 77 * @TX_CMD_FLG_CSI_FDBK2HOST: mark to send feedback to host (only if good CRC) 94 * @TX_CMD_FLG_FW_DROP: FW should mark frame to be dropped 97 * @TX_CMD_FLG_HCCA_CHUNK: mark start of TSPEC chunk
|
/linux-4.1.27/drivers/s390/char/ |
H A D | tape_std.c | 269 * at the EOT (End of Tape) side of the file mark. 381 * last skipped file mark. 405 * the EOT (End of Tape) side of the last skipped file mark. 436 * of the last skipped file mark. 530 * for recordind data. MTEOM positions after the last file mark, ready for
|
/linux-4.1.27/fs/nfs/ |
H A D | delegation.c | 45 nfs4_do_check_delegation(struct inode *inode, fmode_t flags, bool mark) nfs4_do_check_delegation() argument 55 if (mark) nfs4_do_check_delegation() 63 * nfs_have_delegation - check if inode has a delegation, mark it 76 * nfs4_check_delegation - check if inode has a delegation, do not mark 794 * nfs_delegation_mark_reclaim - mark all delegations as needing to be reclaimed
|
/linux-4.1.27/fs/afs/ |
H A D | rxrpc.c | 150 skb, skb->mark, atomic_read(&afs_outstanding_skbs)); afs_data_delivered() 167 skb, skb->mark, atomic_read(&afs_outstanding_skbs)); afs_free_skb() 432 _enter("%p,,%u", call, skb->mark); afs_rx_interceptor() 435 skb, skb->mark, atomic_read(&afs_outstanding_skbs)); afs_rx_interceptor() 470 switch (skb->mark) { afs_deliver_to_call()
|
/linux-4.1.27/kernel/trace/ |
H A D | trace_output.c | 493 /* trace overhead mark */ 497 } mark[] = { variable in typeref:struct:trace_mark 508 int size = ARRAY_SIZE(mark); trace_find_mark() 511 if (d >= mark[i].val) trace_find_mark() 515 return (i == size) ? ' ' : mark[i].sym; trace_find_mark()
|
/linux-4.1.27/scripts/dtc/ |
H A D | checks.c | 308 #define DESCLABEL_ARGS(node,prop,mark) \ 309 ((mark) ? "value of " : ""), \ 316 struct property *prop, struct marker *mark) check_duplicate_label() 333 if ((othernode != node) || (otherprop != prop) || (othermark != mark)) check_duplicate_label() 336 label, DESCLABEL_ARGS(node, prop, mark), check_duplicate_label() 314 check_duplicate_label(struct check *c, struct node *dt, const char *label, struct node *node, struct property *prop, struct marker *mark) check_duplicate_label() argument
|
/linux-4.1.27/fs/ext4/ |
H A D | page-io.c | 454 * In the first loop we prepare and mark buffers to submit. We have to ext4_bio_write_page() 455 * mark all buffers in the page before submitting so that ext4_bio_write_page() 506 * we can do but mark the page as dirty, and ext4_bio_write_page()
|
/linux-4.1.27/include/linux/ceph/ |
H A D | rados.h | 151 #define CEPH_OSDMAP_NODOWN (1<<6) /* block osd mark-down/failure */ 152 #define CEPH_OSDMAP_NOOUT (1<<7) /* block osd auto mark-out */ 153 #define CEPH_OSDMAP_NOIN (1<<8) /* block osd auto mark-in */
|
/linux-4.1.27/drivers/ide/ |
H A D | ide-pci-generic.c | 38 /* mark words 85-87 as valid */ netcell_quirkproc()
|