Home
last modified time | relevance | path

Searched refs:memcpy_safe (Results 1 – 24 of 24) sorted by relevance

/systemd-251/src/basic/
Dalloc-util.c20 return memcpy_safe(ret, p, l); in memdup()
38 return memcpy_safe(ret, p, l); in memdup_suffix0()
Dalloc-util.h71 memcpy_safe(_q_, p, _l_); \
80 memcpy_safe(_q_, p, _l_); \
Dmemory-util.h19 static inline void *memcpy_safe(void *dst, const void *src, size_t n) { in memcpy_safe() function
Dstring-util.c832 memcpy_safe(*x + m, separator, l_separator); in strextendf_with_separator()
Dfileio.c657 memcpy_safe(t, buf, n); in read_full_stream_full()
/systemd-251/src/libsystemd-network/
Dtest-dhcp-option.c117 memcpy_safe(&message->options, options, optlen); in create_message()
118 memcpy_safe(&message->file, file, filelen); in create_message()
119 memcpy_safe(&message->sname, sname, snamelen); in create_message()
Ddhcp-option.c31 memcpy_safe(&options[*offset + 2], optval, optlen); in dhcp_option_append_tlv()
99 memcpy_safe(&options[*offset + 3], optval, optlen); in option_append()
Ddhcp-packet.c49 memcpy_safe(message->chaddr, chaddr, message->hlen); in dhcp_message_init()
Dsd-lldp-tx.c312 memcpy_safe(packet + *offset, prefix, prefix_len); in packet_append_prefixed_string()
Dsd-dhcp6-client.c654 memcpy_safe(buf, client->req_opts, n * sizeof(be16_t)); in client_append_oro()
668 memcpy_safe(buf, client->req_opts, n * sizeof(be16_t)); in client_append_oro()
Dlldp-neighbor.c655 memcpy_safe(LLDP_NEIGHBOR_RAW(n), raw, raw_size); in sd_lldp_neighbor_from_raw()
/systemd-251/coccinelle/
Dmempcpy.cocci11 - memcpy_safe(x, y, z);
/systemd-251/src/libsystemd/sd-bus/
Dbus-socket.c354 memcpy_safe(p, b->auth_iovec[0].iov_base, b->auth_iovec[0].iov_len); in bus_socket_auth_write()
1044 memcpy_safe(iov, m->iovec, n); in bus_socket_write_message()
Dbus-message.c2601 memcpy_safe(p, ptr, size); in sd_bus_message_append_array()
/systemd-251/src/shared/
Dcreds-util.c712 memcpy_safe(m->name, name, ml); in encrypt_credential_and_warn()
Dformat-table.c410 memcpy_safe(d->data, data, data_size); in table_data_new()
Djson.c2218 memcpy_safe(&c->value, source, k); in json_variant_copy()
/systemd-251/src/resolve/
Dresolved-dns-packet.c423 memcpy_safe(q, d, l); in dns_packet_append_blob()
495 memcpy_safe(((uint8_t*) d) + 1, s, size); in dns_packet_append_raw_string()
/systemd-251/src/network/netdev/
Dmacsec.c850 memcpy_safe(dest, p, l); in config_parse_macsec_key_id()
/systemd-251/src/libsystemd/sd-resolve/
Dsd-resolve.c217 memcpy_safe((char*) p + sizeof(AddrInfoSerialization) + ai->ai_addrlen, in serialize_addrinfo()
/systemd-251/src/libsystemd/sd-journal/
Djournal-file.c1609 memcpy_safe(o->data.payload, data, size); in journal_file_append_data()
1889 memcpy_safe(o->entry.items, items, n_items * sizeof(EntryItem)); in journal_file_append_entry_internal()
/systemd-251/src/nspawn/
Dnspawn.c3545 memcpy_safe(a + 1, arg_parameters, m * sizeof(char*)); in inner_child()
/systemd-251/src/core/
Dunit.c2830 memcpy_safe(new_array, array, sizeof(Unit*) * n); in unit_watch_pid()
Dexecute.c4187 memcpy_safe(keep_fds, fds, n_fds * sizeof(int)); in exec_child()