Searched refs:ALIGN8 (Results 1 - 8 of 8) sorted by relevance
/systemd/src/libsystemd/sd-bus/ |
H A D | bus-kernel.h | 27 (typeof(item))(((uint8_t *)item) + ALIGN8((item)->size)) 38 iter = (void*)(((uint8_t *)iter) + ALIGN8((iter)->size))) 41 #define KDBUS_ITEM_SIZE(s) ALIGN8((s) + KDBUS_ITEM_HEADER_SIZE)
|
H A D | bus-kernel.c | 308 sz += (1 + m->n_body_parts) * ALIGN8(offsetof(struct kdbus_item, vec) + 313 sz += ALIGN8(offsetof(struct kdbus_item, bloom_filter) + 320 sz += ALIGN8(offsetof(struct kdbus_item, str) + dl + 1); 325 sz += ALIGN8(offsetof(struct kdbus_item, fds) + sizeof(int)*m->n_fds); 942 sz = ALIGN8(offsetof(struct kdbus_cmd_hello, items)) + 943 ALIGN8(offsetof(struct kdbus_item, str) + m + 1); 946 sz += ALIGN8(offsetof(struct kdbus_item, creds) + sizeof(struct kdbus_creds)); 949 sz += ALIGN8(offsetof(struct kdbus_item, pids) + sizeof(struct kdbus_pids)); 953 sz += ALIGN8(offsetof(struct kdbus_item, str) + l + 1); 1603 ALIGN8(offseto [all...] |
H A D | bus-message.h | 176 ALIGN8(m->fields_size) + 183 ALIGN8(m->fields_size);
|
H A D | bus-control.c | 1116 sz = ALIGN8(offsetof(struct kdbus_cmd_match, items) + 1177 sz = ALIGN8(offsetof(struct kdbus_cmd_match, items) + 1246 sz = ALIGN8(offsetof(struct kdbus_cmd_match, items)); 1261 sz += ALIGN8(offsetof(struct kdbus_item, id) + sizeof(uint64_t)); 1265 sz += ALIGN8(offsetof(struct kdbus_item, str) + sender_length + 1); 1363 sz += ALIGN8(offsetof(struct kdbus_item, id) + sizeof(uint64_t)); 1381 sz += ALIGN8(offsetof(struct kdbus_item, data64) + bus->bloom_size);
|
H A D | bus-message.c | 180 np = realloc(m->header, ALIGN8(new_size)); 188 np = malloc(ALIGN8(new_size)); 505 if (ALIGN8(m->fields_size) > message_size - ws) 511 m->body_size = message_size - (sizeof(struct bus_header) + ALIGN8(m->fields_size)); 520 if (sizeof(struct bus_header) + ALIGN8(m->fields_size) + m->body_size != message_size) 565 sz = length - sizeof(struct bus_header) - ALIGN8(m->fields_size); 568 m->body.data = (uint8_t*) buffer + sizeof(struct bus_header) + ALIGN8(m->fields_size); 2910 sz = bus_gvariant_determine_word_size(sizeof(struct bus_header) + ALIGN8(m->fields_size) + m->body_size + 1 + l + 2, 1); 2994 a = ALIGN8(m->fields_size) - m->fields_size;
|
/systemd/src/core/ |
H A D | bus-endpoint.c | 37 size = ALIGN8(offsetof(struct kdbus_cmd, items)); 40 size += ALIGN8(offsetof(struct kdbus_item, str) + strlen(po->name) + 1); 41 size += ALIGN8(offsetof(struct kdbus_item, policy_access) + sizeof(struct kdbus_policy_access));
|
H A D | bus-policy.c | 119 ALIGN8(offsetof(struct kdbus_item, str) + strlen(name) + 1) + 120 policy_cnt * ALIGN8(offsetof(struct kdbus_item, policy_access) + sizeof(struct kdbus_policy_access));
|
/systemd/src/basic/ |
H A D | macro.h | 90 #define ALIGN8(l) (((l) + 7) & ~7) macro 93 #define ALIGN(l) ALIGN8(l) 102 #define ALIGN8_PTR(p) ((void*) ALIGN8((unsigned long) (p)))
|
Completed in 3262 milliseconds