Home
last modified time | relevance | path

Searched refs:field_size (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Dether-addr-util.c165 size_t field_size, max_len, len = 0; in parse_hw_addr_full() local
215 field_size = 2; in parse_hw_addr_full()
217 field_size = 1; in parse_hw_addr_full()
221 if (max_len % field_size != 0) in parse_hw_addr_full()
224 for (size_t i = 0; i < max_len / field_size; i++) { in parse_hw_addr_full()
225 r = parse_hw_addr_one_field(&s, sep, field_size, bytes + i * field_size); in parse_hw_addr_full()
229 len = (i + 1) * field_size; in parse_hw_addr_full()
/systemd-251/src/pstore/
Dpstore.c142 size_t field_size; in move_file() local
144 field_size = strlen("FILE=") + pe->content_size; in move_file()
145 field = malloc(field_size); in move_file()
149 iovec[n_iovec++] = IOVEC_MAKE(field, field_size); in move_file()