Searched refs:div_roundup (Results 1 – 1 of 1) sorted by relevance
48 div_roundup(uint32_t n, size_t a) in div_roundup() function753 length_in_u32 = div_roundup(length, sizeof *p); in wl_connection_demarshal()813 length_in_u32 = div_roundup(length, sizeof *p); in wl_connection_demarshal()1089 buffer_size += 1 + div_roundup(size, sizeof(uint32_t)); in buffer_size_for_closure()1098 buffer_size += (1 + div_roundup(size, sizeof(uint32_t))); in buffer_size_for_closure()1160 if (p + div_roundup(size, sizeof *p) > end) in serialize_closure()1164 p += div_roundup(size, sizeof *p); in serialize_closure()1175 if (p + div_roundup(size, sizeof *p) > end) in serialize_closure()1179 p += div_roundup(size, sizeof *p); in serialize_closure()