Lines Matching refs:memory_size

200 static inline size_t get_zone_memory_size(unsigned int zone_count, size_t memory_size)  in get_zone_memory_size()  argument
205 return (memory_size / zone_count + ALLOC_BOUNDARY - 1) & -ALLOC_BOUNDARY; in get_zone_memory_size()
349 size_t memory_size, u8 tag) in uds_initialize_delta_index() argument
363 delta_index->memory_size = 0; in uds_initialize_delta_index()
385 zone_memory = get_zone_memory_size(zone_count, memory_size); in uds_initialize_delta_index()
394 delta_index->memory_size += in uds_initialize_delta_index()
445 u8 *memory, size_t memory_size) in verify_delta_index_page() argument
457 if (list_count > ((memory_size - sizeof(struct delta_page_header)) * in verify_delta_index_page()
479 (memory_size - POST_FIELD_GUARD_BYTES) * BITS_PER_BYTE) in verify_delta_index_page()
484 if (memory[memory_size - POST_FIELD_GUARD_BYTES + i] != (u8) ~0) in verify_delta_index_page()
495 u8 *memory, size_t memory_size) in uds_initialize_delta_index_page() argument
514 memory_size)) { in uds_initialize_delta_index_page()
521 memory_size)) { in uds_initialize_delta_index_page()
547 delta_zone->size = memory_size; in uds_initialize_delta_index_page()
708 u8 *memory, size_t memory_size, u64 virtual_chapter_number, in uds_pack_delta_index_page() argument
730 free_bits = memory_size * BITS_PER_BYTE; in uds_pack_delta_index_page()
737 memory_size); in uds_pack_delta_index_page()
774 memset(memory + memory_size - POST_FIELD_GUARD_BYTES, ~0, in uds_pack_delta_index_page()
1205 size_t uds_compute_delta_index_save_bytes(u32 list_count, size_t memory_size) in uds_compute_delta_index_save_bytes() argument
1210 get_zone_memory_size(1, memory_size)); in uds_compute_delta_index_save_bytes()