Searched refs:N_STORAGE_UNITS_PER_BUFFER (Results 1 – 2 of 2) sorted by relevance
86 #define N_STORAGE_UNITS_PER_BUFFER (MAX_BUFFER_SIZE / sizeof(struct kd_storage)) macro87 static_assert(N_STORAGE_UNITS_PER_BUFFER <= 0x7ff,
129 f_buffers = kdb_storage_count / N_STORAGE_UNITS_PER_BUFFER; in create_buffers()132 f_buffer_size = N_STORAGE_UNITS_PER_BUFFER * sizeof(struct kd_storage); in create_buffers()133 p_buffer_size = (kdb_storage_count % N_STORAGE_UNITS_PER_BUFFER) * sizeof(struct kd_storage); in create_buffers()179 static_assert(N_STORAGE_UNITS_PER_BUFFER <= UINT16_MAX); in create_buffers()180 assert(kd_bufs[i].kdr_size <= N_STORAGE_UNITS_PER_BUFFER * in create_buffers()