Searched refs:struct_size (Results 1 – 1 of 1) sorted by relevance
65 size_t struct_size = ROUND_UP(sizeof(struct net_buf) + pool->user_data_size, in net_buf_id() local69 return offset / struct_size; in net_buf_id()75 size_t struct_size = ROUND_UP(sizeof(struct net_buf) + pool->user_data_size, in pool_get_uninit() local77 size_t byte_offset = (pool->buf_count - uninit_count) * struct_size; in pool_get_uninit()