Home
last modified time | relevance | path

Searched refs:remaining (Results 1 – 8 of 8) sorted by relevance

/include/net/
Drtnh.h8 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) in rtnh_ok() argument
10 return remaining >= (int)sizeof(*rtnh) && in rtnh_ok()
12 rtnh->rtnh_len <= remaining; in rtnh_ok()
16 int *remaining) in rtnh_next() argument
20 *remaining -= totlen; in rtnh_next()
Dnetlink.h637 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() argument
639 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok()
641 nlh->nlmsg_len <= remaining); in nlmsg_ok()
653 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() argument
657 *remaining -= totlen; in nlmsg_next()
1264 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
1266 return remaining >= (int) sizeof(*nla) && in nla_ok()
1268 nla->nla_len <= remaining; in nla_ok()
1279 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument
1283 *remaining -= totlen; in nla_next()
Dmptcp.h147 unsigned int *size, unsigned int remaining,
266 unsigned int remaining, in mptcp_established_options() argument
/include/linux/
Dclosure.h156 atomic_t remaining; member
179 return atomic_read(&cl->remaining) & CLOSURE_REMAINING_MASK; in closure_nr_remaining()
245 atomic_sub(CLOSURE_RUNNING, &cl->remaining); in closure_set_stopped()
281 BUG_ON((atomic_inc_return(&cl->remaining) & in closure_get()
284 atomic_inc(&cl->remaining); in closure_get()
293 unsigned old = atomic_read(&cl->remaining); in closure_get_not_zero()
298 } while (!atomic_try_cmpxchg_acquire(&cl->remaining, &old, old + 1)); in closure_get_not_zero()
316 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER); in closure_init()
326 atomic_set(&cl->remaining, CLOSURE_REMAINING_INITIALIZER); in closure_init_stack()
335 atomic_set_release(&cl->remaining, CLOSURE_REMAINING_INITIALIZER); in closure_init_stack_release()
/include/drm/
Dgpu_scheduler.h626 unsigned long remaining);
Ddrm_gem.h556 unsigned long *remaining,
/include/trace/events/
Drpcrdma.h1914 unsigned int remaining,
1919 TP_ARGS(cid, remaining, seg_no, num_segs),
1924 __field(unsigned int, remaining)
1932 __entry->remaining = remaining;
1939 __entry->remaining, __entry->seg_no, __entry->num_segs
Dsunrpc.h970 __field(unsigned int, remaining)
977 __entry->remaining = rqst->rq_slen - transport->xmit.offset;
983 __entry->total, __entry->remaining