Home
last modified time | relevance | path

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

/include/net/
Dnexthop.h7 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) in rtnh_ok() argument
9 return remaining >= sizeof(*rtnh) && in rtnh_ok()
11 rtnh->rtnh_len <= remaining; in rtnh_ok()
15 int *remaining) in rtnh_next() argument
19 *remaining -= totlen; in rtnh_next()
Dnetlink.h333 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() argument
335 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok()
337 nlh->nlmsg_len <= remaining); in nlmsg_ok()
348 static inline struct nlmsghdr *nlmsg_next(struct nlmsghdr *nlh, int *remaining) in nlmsg_next() argument
352 *remaining -= totlen; in nlmsg_next()
699 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
701 return remaining >= (int) sizeof(*nla) && in nla_ok()
703 nla->nla_len <= remaining; in nla_ok()
714 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument
718 *remaining -= totlen; in nla_next()
/include/linux/raid/
Draid10.h80 atomic_t remaining; /* 'have we finished' count, member
Draid1.h82 atomic_t remaining; /* 'have we finished' count, member