Searched refs:_roundup2 (Results 1 – 2 of 2) sorted by relevance
43 #define _roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) macro46 #define NETLINK_ALIGN(_len) _roundup2(_len, NETLINK_ALIGN_SIZE)49 #define NLA_ALIGN(_len) _roundup2(_len, NLA_ALIGN_SIZE)
50 #define _roundup2(x, y) (((x)+((y)-1))&(~((y)-1))) macro53 #define NETLINK_ALIGN(_len) _roundup2(_len, NETLINK_ALIGN_SIZE)863 uint32_t sz_bytes = _roundup2(target->nla_bitset_size, 32) / 8; in _cb_p_bitset()869 if (data_len != sz_bytes || _roundup2(data_len, 4) != data_len) in _cb_p_bitset()878 if (data_len != sz_bytes || _roundup2(data_len, 4) != data_len) in _cb_p_bitset()