Home
last modified time | relevance | path

Searched refs:NLA_ALIGN (Results 1 - 6 of 6) sorted by relevance

/third_party/libbpf/src/
H A Dnlattr.h146 if (NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(NLA_HDRLEN + len) > sizeof(*req)) in nlattr_add()
156 req->nh.nlmsg_len = NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(nla->nla_len); in nlattr_add()
H A Dnlattr.c27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
/third_party/libbpf/include/uapi/linux/
H A Dnetlink.h203 * <------- NLA_HDRLEN ------> <-- NLA_ALIGN(payload)-->
231 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) macro
232 #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr)))
/third_party/ltp/testcases/kernel/controllers/cgroup/
H A Dcgroup_regression_getdelays.c188 na = (struct nlattr *)((char *)na + NLA_ALIGN(na->nla_len)); in get_family_id()
438 len += NLA_ALIGN(na->nla_len); in main()
497 len2 += NLA_ALIGN(na->nla_len); in main()
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs3060 pub fn NLA_ALIGN(len: ::c_int) -> ::c_int { in NLA_ALIGN() functions
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs3591 pub fn NLA_ALIGN(len: ::c_int) -> ::c_int { in NLA_ALIGN() functions

Completed in 22 milliseconds