• Home
  • Raw
  • Download

Lines Matching refs:n

26 		 const void *pkey, const struct neighbour *n,
29 TP_ARGS(tbl, dev, pkey, n, exempt_from_gc),
47 __entry->created = n != NULL;
74 TP_PROTO(struct neighbour *n, const u8 *lladdr, u8 new,
77 TP_ARGS(n, lladdr, new, flags, nlmsg_pid),
81 __string(dev, (n->dev ? n->dev->name : "NULL"))
101 int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN);
105 __entry->family = n->tbl->family;
106 __assign_str(dev, (n->dev ? n->dev->name : "NULL"));
108 memcpy(__entry->lladdr, n->ha, lladdr_len);
109 __entry->flags = n->flags;
110 __entry->nud_state = n->nud_state;
111 __entry->type = n->type;
112 __entry->dead = n->dead;
113 __entry->refcnt = refcount_read(&n->refcnt);
117 if (n->tbl->family == AF_INET)
118 *p32 = *(__be32 *)n->primary_key;
123 if (n->tbl->family == AF_INET6) {
125 *pin6 = *(struct in6_addr *)n->primary_key;
131 __entry->confirmed = n->confirmed;
132 __entry->updated = n->updated;
133 __entry->used = n->used;
157 TP_PROTO(struct neighbour *n, int err),
158 TP_ARGS(n, err),
161 __string(dev, (n->dev ? n->dev->name : "NULL"))
178 int lladdr_len = (n->dev ? n->dev->addr_len : MAX_ADDR_LEN);
182 __entry->family = n->tbl->family;
183 __assign_str(dev, (n->dev ? n->dev->name : "NULL"));
185 memcpy(__entry->lladdr, n->ha, lladdr_len);
186 __entry->flags = n->flags;
187 __entry->nud_state = n->nud_state;
188 __entry->type = n->type;
189 __entry->dead = n->dead;
190 __entry->refcnt = refcount_read(&n->refcnt);
194 if (n->tbl->family == AF_INET)
195 *p32 = *(__be32 *)n->primary_key;
200 if (n->tbl->family == AF_INET6) {
202 *pin6 = *(struct in6_addr *)n->primary_key;
209 __entry->confirmed = n->confirmed;
210 __entry->updated = n->updated;
211 __entry->used = n->used;