• Home
  • Raw
  • Download

Lines Matching full:remaining

63  *   nlmsg_ok(nlh, remaining)		does nlh fit into remaining bytes?
64 * nlmsg_next(nlh, remaining) get next netlink message
149 * nla_ok(nla, remaining) does nla fit into remaining bytes?
150 * nla_next(nla, remaining) get next netlink attribute
350 * nlmsg_ok - check if the netlink message fits into the remaining bytes
352 * @remaining: number of bytes remaining in message stream
354 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() argument
356 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok()
358 nlh->nlmsg_len <= remaining); in nlmsg_ok()
364 * @remaining: number of bytes remaining in message stream
367 * decrements remaining by the size of the current message.
370 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() argument
374 *remaining -= totlen; in nlmsg_next()
454 * @rem: initialized to len, holds bytes currently remaining in stream
620 * @rem: initialized to len, holds bytes currently remaining in stream
710 * nla_ok - check if the netlink attribute fits into the remaining bytes
712 * @remaining: number of bytes remaining in attribute stream
714 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
716 return remaining >= (int) sizeof(*nla) && in nla_ok()
718 nla->nla_len <= remaining; in nla_ok()
724 * @remaining: number of bytes remaining in attribute stream
727 * decrements remaining by the size of the current attribute.
729 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument
733 *remaining -= totlen; in nla_next()
1397 * @rem: initialized to len, holds bytes currently remaining in stream
1408 * @rem: initialized to len, holds bytes currently remaining in stream
1416 * @rem: bytes remaining in stream