Searched refs:remaining (Results 1 – 4 of 4) sorted by relevance
7 static inline int rtnh_ok(const struct rtnexthop *rtnh, int remaining) in rtnh_ok() argument9 return remaining >= sizeof(*rtnh) && in rtnh_ok()11 rtnh->rtnh_len <= remaining; in rtnh_ok()15 int *remaining) in rtnh_next() argument19 *remaining -= totlen; in rtnh_next()
333 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() argument335 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() argument352 *remaining -= totlen; in nlmsg_next()699 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument701 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() argument718 *remaining -= totlen; in nla_next()
80 atomic_t remaining; /* 'have we finished' count, member
82 atomic_t remaining; /* 'have we finished' count, member