| /f-stack/lib/ |
| H A D | ff_config.c | 165 newconf->name = strdup(name); in freebsd_conf_handler() 166 newconf->str = strdup(value); in freebsd_conf_handler() 489 cur->name = strdup(section); in port_cfg_handler() 494 cur->ifname = strdup(value); in port_cfg_handler() 496 cur->addr = strdup(value); in port_cfg_handler() 569 cur->name = strdup(section); in vdev_cfg_handler() 574 cur->iface = strdup(value); in vdev_cfg_handler() 576 cur->path = strdup(value); in vdev_cfg_handler() 582 cur->mac = strdup(value); in vdev_cfg_handler() 623 cur->name = strdup(section); in bond_cfg_handler() [all …]
|
| /f-stack/freebsd/contrib/openzfs/tests/zfs-tests/cmd/mkbusy/ |
| H A D | mkbusy.c | 107 if ((arg = strdup(argv[0])) == NULL) in main() 118 dname = strdup("."); in main() 119 fname = strdup(arg); in main() 122 dname = strdup(arg); in main() 123 fname = strdup(slash + 1); in main() 144 fpath = strdup(argv[0]); in main() 146 fpath = strdup(argv[0]); in main()
|
| /f-stack/app/redis-5.0.5/src/ |
| H A D | setproctitle.c | 142 if (!(tmp = strdup(argv[i]))) in spt_copyargs() 177 if (!(SPT.arg0 = strdup(argv[0]))) in spt_init() 181 if (!(tmp = strdup(program_invocation_name))) in spt_init() 186 if (!(tmp = strdup(program_invocation_short_name))) in spt_init() 191 if (!(tmp = strdup(getprogname()))) in spt_init()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_swx_pipeline_spec.c | 71 s->name = strdup(tokens[1]); in extobj_statement_parse() 148 s->name = strdup(tokens[1]); in struct_statement_parse() 214 name = strdup(tokens[1]); in struct_block_parse() 284 s->name = strdup(tokens[1]); in header_statement_parse() 418 s->name = strdup(tokens[1]); in action_statement_parse() 462 instr = strdup(buffer); in action_block_parse() 629 name = strdup(tokens[0]); in table_key_block_parse() 708 name = strdup(tokens[0]); in table_actions_block_parse() 755 s->name = strdup(tokens[1]); in table_statement_parse() 900 s->args = strdup(tokens[1]); in table_block_parse() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libspl/os/freebsd/ |
| H A D | mnttab.c | 124 mp->mnt_special = strdup(sfs->f_mntfromname); in statfs2mnttab() 125 mp->mnt_mountp = strdup(sfs->f_mntonname); in statfs2mnttab() 126 mp->mnt_fstype = strdup(sfs->f_fstypename); in statfs2mnttab() 127 mp->mnt_mntopts = strdup(mntopts); in statfs2mnttab()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/ |
| H A D | zutil_device_path.c | 50 envdup = strdup(env); in zfs_resolve_shortname() 96 envdup = strdup(env); in zfs_strcmp_shortname() 148 dup = strdup(cmp); in zfs_strcmp_pathname()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zpool/ |
| H A D | zpool_iter.c | 459 data->lines[data->lines_cnt] = strdup(val); in vdev_process_cmd_output() 470 data->cols[data->cols_cnt] = strdup(col); in vdev_process_cmd_output() 544 return (strdup(env)); in zpool_get_cmd_search_path() 567 cmddup = strdup(data->cmd); in vdev_run_cmd_thread() 649 data->pool = strdup(zpool_get_name(zhp)); in for_each_vdev_run_cb() 650 data->path = strdup(path); in for_each_vdev_run_cb() 656 data->vdev_enc_sysfs_path = strdup(vdev_enc_sysfs_path); in for_each_vdev_run_cb()
|
| /f-stack/dpdk/examples/pipeline/ |
| H A D | main.c | 82 app.conn.addr = strdup(optarg); in parse_args() 116 app.script_name = strdup(optarg); in parse_args()
|
| /f-stack/tools/netstat/ |
| H A D | bpf.c | 74 return (strdup("??????")); in bpf_pidname() 76 return (strdup(newkp.ki_comm)); in bpf_pidname()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/ |
| H A D | zed_conf.c | 55 if (!(zcp->conf_file = strdup(ZED_CONF_FILE))) in zed_conf_create() 58 if (!(zcp->pid_file = strdup(ZED_PID_FILE))) in zed_conf_create() 61 if (!(zcp->zedlet_dir = strdup(ZED_ZEDLET_DIR))) in zed_conf_create() 64 if (!(zcp->state_file = strdup(ZED_STATE_FILE))) in zed_conf_create() 233 *resultp = strdup(path); in _zed_conf_parse_path() 242 *resultp = strdup(buf); in _zed_conf_parse_path()
|
| H A D | zed_strings.c | 122 np->val = strdup(val); in _zed_strings_node_create() 127 np->key = strdup(key); in _zed_strings_node_create()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzfs/os/freebsd/ |
| H A D | libzfs_zmount.c | 62 (*iov)[i].iov_base = strdup(name); in build_iovec() 93 tofree = optstr = strdup(optptr); in do_mount_()
|
| /f-stack/freebsd/contrib/openzfs/lib/libshare/os/linux/ |
| H A D | smb.c | 115 name = strdup(directory->d_name); in smb_retrieve_shares() 139 dup_value = strdup(value); in smb_retrieve_shares() 311 argv[5] = strdup(sharename); in smb_disable_share_one()
|
| H A D | nfs.c | 113 shareopts_dup = strdup(shareopts); in foreach_nfs_shareopt() 194 host_dup = strdup(value); in foreach_nfs_host_cb() 264 *plinux_hostspec = strdup(solaris_hostspec + 1); in get_linux_hostspec() 266 *plinux_hostspec = strdup(solaris_hostspec); in get_linux_hostspec()
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | main.c | 95 app.conn.addr = strdup(optarg); in parse_args() 129 app.script_name = strdup(optarg); in parse_args()
|
| /f-stack/dpdk/lib/librte_kvargs/ |
| H A D | rte_kvargs.c | 29 kvlist->str = strdup(params); in rte_kvargs_tokenize() 202 copy = strdup(args); in rte_kvargs_parse_delim()
|
| /f-stack/freebsd/libkern/ |
| H A D | strdup.c | 57 strdup(const char *string, struct malloc_type *type) in strdup() function
|
| /f-stack/freebsd/contrib/openzfs/contrib/pam_zfs_key/ |
| H A D | pam_zfs_key.c | 400 config->homes_prefix = strdup("rpool/home"); in zfs_key_config_load() 405 config->runstatedir = strdup(RUNSTATEDIR "/pam_zfs_key"); in zfs_key_config_load() 433 config->homes_prefix = strdup(argv[c] + 6); in zfs_key_config_load() 436 config->runstatedir = strdup(argv[c] + 12); in zfs_key_config_load() 440 config->homedir = strdup(entry->pw_dir); in zfs_key_config_load() 476 target->dsname = strdup(zfs_get_name(zhp)); in find_dsname_by_prop_value()
|
| /f-stack/tools/libutil/ |
| H A D | property.c | 55 if ((n->name = strdup(name)) == NULL) { in property_alloc() 62 if ((n->value = strdup(value)) == NULL) { in property_alloc()
|
| /f-stack/dpdk/drivers/bus/vdev/ |
| H A D | vdev_params.c | 34 name = strdup(dev->name); in vdev_dev_match()
|
| /f-stack/tools/libutil/tests/ |
| H A D | trimdomain_test.c | 66 testhost = strdup(input); in testit()
|
| H A D | trimdomain-nodomain_test.c | 66 testhost = strdup(input); in testit()
|
| /f-stack/dpdk/lib/librte_eal/common/ |
| H A D | eal_common_devargs.c | 78 devargs->data = strdup(devstr); in rte_devargs_layers_parse() 222 da->args = strdup(&devname[i + 1]); in rte_devargs_parse() 224 da->args = strdup(""); in rte_devargs_parse()
|
| /f-stack/dpdk/drivers/bus/ifpga/ |
| H A D | ifpga_common.c | 38 *(char **)extra_args = strdup(value); in rte_ifpga_get_string_arg()
|
| /f-stack/freebsd/contrib/openzfs/lib/libzutil/os/freebsd/ |
| H A D | zutil_device_path_os.c | 45 return (strdup(dev)); in zfs_strip_partition()
|