/openbmc/qemu/net/ |
H A D | tap-linux.c | 100 pstrcpy(ifr.ifr_name, IFNAMSIZ, ifname); in tap_open() 102 pstrcpy(ifr.ifr_name, IFNAMSIZ, "tap%d"); in tap_open() 115 pstrcpy(ifname, ifname_size, ifr.ifr_name); in tap_open() 317 pstrcpy(ifname, sizeof(ifr.ifr_name), ifr.ifr_name); in tap_fd_get_ifname()
|
H A D | tap-bsd.c | 80 pstrcpy(ifname, ifname_size, ifr.ifr_name); in tap_open() 87 pstrcpy(ifname, ifname_size, dev); in tap_open() 147 pstrcpy(ifname, ifname_size, ifr.ifr_name); in tap_open_clone()
|
H A D | tap-solaris.c | 121 pstrcpy(ifr.lifr_name, sizeof(ifr.lifr_name), actual_name); in tap_alloc() 164 pstrcpy(ifr.lifr_name, sizeof(ifr.lifr_name), actual_name); in tap_alloc() 189 pstrcpy(ifname, ifname_size, dev); in tap_open()
|
H A D | netmap.c | 319 pstrcpy(req.nr_name, sizeof(req.nr_name), s->ifname); in netmap_fd_set_vnet_hdr_len() 421 pstrcpy(s->ifname, sizeof(s->ifname), netmap_opts->ifname); in net_init_netmap()
|
H A D | af-xdp.c | 491 pstrcpy(s->ifname, sizeof(s->ifname), opts->ifname); in net_init_af_xdp()
|
/openbmc/qemu/hw/nvram/ |
H A D | chrp_nvram.c | 60 pstrcpy(part_header->name, sizeof(part_header->name), "system"); in chrp_nvram_create_system_partition() 97 pstrcpy(part_header->name, sizeof(part_header->name), "free"); in chrp_nvram_create_free_partition()
|
H A D | mac_nvram.c | 195 pstrcpy(part_header->name, sizeof(part_header->name), "wwwwwwwwwwww"); in pmac_format_nvram_partition_osx()
|
/openbmc/qemu/crypto/ |
H A D | afalg.c | 37 pstrcpy((char *)salg->salg_type, SALG_TYPE_LEN_MAX, type); in qcrypto_afalg_build_saddr() 38 pstrcpy((char *)salg->salg_name, SALG_NAME_LEN_MAX, name); in qcrypto_afalg_build_saddr()
|
/openbmc/qemu/block/ |
H A D | curl.c | 800 pstrcpy(state->errmsg, CURL_ERROR_SIZE, in curl_open() 809 pstrcpy(state->errmsg, CURL_ERROR_SIZE, in curl_open() 832 pstrcpy(state->errmsg, CURL_ERROR_SIZE, in curl_open() 838 pstrcpy(state->errmsg, CURL_ERROR_SIZE, in curl_open() 849 pstrcpy(state->errmsg, CURL_ERROR_SIZE, in curl_open() 1006 pstrcpy(bs->exact_filename, sizeof(bs->exact_filename), s->url); in curl_refresh_filename()
|
H A D | snapshot-access.c | 78 pstrcpy(bs->exact_filename, sizeof(bs->exact_filename), in snapshot_access_refresh_filename()
|
H A D | vmdk.c | 379 pstrcpy(tmp_desc, desc_buf_size, tmp_str); in vmdk_write_cid() 514 pstrcpy(bs->auto_backing_file, end_name - p_name + 1, p_name); in vmdk_parent_open() 515 pstrcpy(bs->backing_file, sizeof(bs->backing_file), in vmdk_parent_open() 517 pstrcpy(bs->backing_format, sizeof(bs->backing_format), in vmdk_parent_open() 1111 pstrcpy(buf, opt_end - opt_pos + 1, opt_pos); in vmdk_parse_description() 2384 pstrcpy(path, p - filename + 1, filename); in filename_decompose() 2391 pstrcpy(prefix, buf_len, p); in filename_decompose() 2397 pstrcpy(prefix, q - p + 1, p); in filename_decompose() 2398 pstrcpy(postfix, buf_len, q); in filename_decompose()
|
H A D | qed.c | 484 pstrcpy(bs->backing_file, sizeof(bs->backing_file), in bdrv_qed_do_open() 486 pstrcpy(bs->auto_backing_file, sizeof(bs->auto_backing_file), in bdrv_qed_do_open() 491 pstrcpy(bs->backing_format, sizeof(bs->backing_format), "raw"); in bdrv_qed_do_open()
|
H A D | qcow2-snapshot.c | 1006 pstrcpy(sn_info->id_str, sizeof(sn_info->id_str), in qcow2_snapshot_list() 1008 pstrcpy(sn_info->name, sizeof(sn_info->name), in qcow2_snapshot_list()
|
H A D | qapi.c | 999 pstrcpy(sn.id_str, sizeof(sn.id_str), elem->value->id); in bdrv_node_info_dump() 1000 pstrcpy(sn.name, sizeof(sn.name), elem->value->name); in bdrv_node_info_dump()
|
H A D | commit.c | 229 pstrcpy(bs->exact_filename, sizeof(bs->exact_filename), in bdrv_commit_top_refresh_filename()
|
/openbmc/qemu/util/ |
H A D | readline.c | 196 pstrcpy(rs->cmd_buf, sizeof(rs->cmd_buf), in readline_up_char() 209 pstrcpy(rs->cmd_buf, sizeof(rs->cmd_buf), in readline_down_char() 536 pstrcpy(rs->prompt, sizeof(rs->prompt), prompt); in readline_start()
|
H A D | cutils.c | 62 void pstrcpy(char *buf, int buf_size, const char *str) in pstrcpy() function 85 pstrcpy(buf + len, buf_size - len, s); in pstrcat()
|
/openbmc/qemu/hw/scsi/ |
H A D | vhost-scsi.c | 55 pstrcpy(backend.vhost_wwpn, sizeof(backend.vhost_wwpn), vs->conf.wwpn); in vhost_scsi_set_endpoint() 71 pstrcpy(backend.vhost_wwpn, sizeof(backend.vhost_wwpn), vs->conf.wwpn); in vhost_scsi_clear_endpoint()
|
/openbmc/qemu/include/qemu/ |
H A D | cutils.h | 40 void pstrcpy(char *buf, int buf_size, const char *str);
|
/openbmc/qemu/monitor/ |
H A D | hmp.c | 1212 pstrcpy(file_prefix, sizeof(file_prefix), input); in file_completion() 1213 pstrcpy(path, sizeof(path), "."); in file_completion() 1221 pstrcpy(file_prefix, sizeof(file_prefix), p + 1); in file_completion() 1242 pstrcpy(file + input_path_len, sizeof(file) - input_path_len, in file_completion()
|
/openbmc/qemu/ |
H A D | os-posix.c | 75 pstrcpy(name, sizeof(name), s); in os_set_proc_name()
|
H A D | block.c | 1635 pstrcpy(bs->node_name, sizeof(bs->node_name), node_name); in bdrv_assign_node_name() 1974 pstrcpy(bs->filename, sizeof(bs->filename), filename); in bdrv_open_common() 1978 pstrcpy(bs->exact_filename, sizeof(bs->exact_filename), bs->filename); in bdrv_open_common() 3676 pstrcpy(bs->auto_backing_file, sizeof(bs->auto_backing_file), in bdrv_open_backing_file() 5689 pstrcpy(bs->backing_file, sizeof(bs->backing_file), backing_file ?: ""); in bdrv_co_change_backing_file() 5690 pstrcpy(bs->backing_format, sizeof(bs->backing_format), backing_fmt ?: ""); in bdrv_co_change_backing_file() 5691 pstrcpy(bs->auto_backing_file, sizeof(bs->auto_backing_file), in bdrv_co_change_backing_file() 6549 pstrcpy(filename, filename_size, bs->backing_file); in bdrv_get_backing_filename() 7972 pstrcpy(bs->exact_filename, sizeof(bs->exact_filename), in bdrv_refresh_filename() 7974 pstrcpy(bs->filename, sizeof(bs->filename), child->bs->filename); in bdrv_refresh_filename() [all …]
|
/openbmc/qemu/io/ |
H A D | dns-resolver.c | 85 pstrcpy(port, sizeof(port), iaddr->port); in qio_dns_resolver_lookup_sync_inet()
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p-synth.c | 67 pstrcpy(node->name, sizeof(node->name), name); in v9fs_add_dir_node() 134 pstrcpy(node->name, sizeof(node->name), name); in qemu_v9fs_synth_add_file()
|
/openbmc/qemu/semihosting/ |
H A D | arm-compat-semi.c | 634 pstrcpy(output_buffer, output_size, cmdline); in do_common_semihosting()
|