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
605 * nlmsg_ok - check if the netlink message fits into the remaining bytes
607 * @remaining: number of bytes remaining in message stream
609 static inline int nlmsg_ok(const struct nlmsghdr *nlh, int remaining) in nlmsg_ok() argument
611 return (remaining >= (int) sizeof(struct nlmsghdr) && in nlmsg_ok()
613 nlh->nlmsg_len <= remaining); in nlmsg_ok()
619 * @remaining: number of bytes remaining in message stream
622 * decrements remaining by the size of the current message.
625 nlmsg_next(const struct nlmsghdr *nlh, int *remaining) in nlmsg_next() argument
629 *remaining -= totlen; in nlmsg_next()
896 * @rem: initialized to len, holds bytes currently remaining in stream
1062 * @rem: initialized to len, holds bytes currently remaining in stream
1152 * nla_ok - check if the netlink attribute fits into the remaining bytes
1154 * @remaining: number of bytes remaining in attribute stream
1156 static inline int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() argument
1158 return remaining >= (int) sizeof(*nla) && in nla_ok()
1160 nla->nla_len <= remaining; in nla_ok()
1166 * @remaining: number of bytes remaining in attribute stream
1169 * decrements remaining by the size of the current attribute.
1171 static inline struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() argument
1175 *remaining -= totlen; in nla_next()
1918 * @rem: initialized to len, holds bytes currently remaining in stream
1929 * @rem: initialized to len, holds bytes currently remaining in stream
1937 * @rem: bytes remaining in stream