Searched refs:MEM_ALIGN (Results 1 - 8 of 8) sorted by relevance

/dovecot/src/lib/
H A Dmempool-alloconly.c9 # define POOL_ALLOCONLY_MAX_EXTRA MEM_ALIGN(1)
12 (MEM_ALIGN(sizeof(size_t)) + MEM_ALIGN(1) + MEM_ALIGN(SENTRY_COUNT))
37 #define SIZEOF_POOLBLOCK (MEM_ALIGN(sizeof(struct pool_block)))
42 #define DEFAULT_BASE_SIZE MEM_ALIGN(sizeof(struct alloconly_pool))
97 i += MEM_ALIGN(sizeof(alloc_size));
98 max_pos = i + MEM_ALIGN(alloc_size + SENTRY_COUNT);
124 MEM_ALIGN(sizeof(struct alloconly_pool) + SENTRY_COUNT);
127 min_alloc += MEM_ALIGN(strle
[all...]
H A Ddata-stack.c21 # define ALLOC_SIZE(size) (MEM_ALIGN(sizeof(size_t)) + MEM_ALIGN(size + SENTRY_COUNT))
26 # define ALLOC_SIZE(size) MEM_ALIGN(size)
39 #define SIZEOF_MEMBLOCK MEM_ALIGN(sizeof(struct stack_block))
110 p = last_alloc_end + MEM_ALIGN(sizeof(size_t)) + last_buffer_size;
256 pos += MEM_ALIGN(sizeof(size_t)) + requested_size;
445 ret = PTR_OFFSET(ret, MEM_ALIGN(sizeof(size)));
449 MEM_ALIGN(size + SENTRY_COUNT) - size);
485 debug_adjust = MEM_ALIGN(sizeof(size_t));
495 old_raw_size = *(size_t *)PTR_OFFSET(mem, -(ptrdiff_t)MEM_ALIGN(sizeo
[all...]
H A Dmempool-allocfree.c31 #define SIZEOF_ALLOCFREE_POOL MEM_ALIGN(sizeof(struct allocfree_pool))
32 #define SIZEOF_POOLBLOCK (MEM_ALIGN(sizeof(struct pool_block)))
H A Dtest-data-stack.c29 test_assert(t_get_bytes_available() < 64 + MEM_ALIGN(1));
85 test_assert(t_get_bytes_available() < 64 + MEM_ALIGN(1));
H A Dmacros.h21 #define MEM_ALIGN(size) \ macro
/dovecot/src/plugins/fts-squat/
H A Dsquat-trie-private.h98 MEM_ALIGN((_node)->child_count)))
101 (MEM_ALIGN(child_count) + \
H A Dsquat-trie.c400 MEM_ALIGN(old_child_count));
/dovecot/src/lib-settings/
H A Dsettings-parser.c1710 new_struct_size = MEM_ALIGN(parent->struct_size);
1721 new_struct_size += MEM_ALIGN(parsers[i].info->struct_size);
1732 offset = MEM_ALIGN(parent->struct_size);
1736 offset += MEM_ALIGN(parsers[i].info->struct_size);
1748 offset = MEM_ALIGN(parent->struct_size);
1754 offset += MEM_ALIGN(parsers[i].info->struct_size);

Completed in 20 milliseconds