Searched refs:sharename (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.sbin/bhyve/ |
H A D | pci_virtio_9p.c | 223 char *sharename = NULL, *tofree, *token, *tokens; in pci_vt9p_legacy_config() local 231 if (sharename != NULL) { in pci_vt9p_legacy_config() 237 sharename = strsep(&token, "="); in pci_vt9p_legacy_config() 238 set_config_value_node(nvl, "sharename", sharename); in pci_vt9p_legacy_config() 252 const char *sharename; in pci_vt9p_init() local 271 sharename = get_config_value_node(nvl, "sharename"); in pci_vt9p_init() 272 if (sharename == NULL) { in pci_vt9p_init() 276 if (strlen(sharename) > VT9P_MAXTAGSZ) { in pci_vt9p_init() 300 sc->vsc_config->tag_len = (uint16_t)strlen(sharename); in pci_vt9p_init() 301 memcpy(sc->vsc_config->tag, sharename, sc->vsc_config->tag_len); in pci_vt9p_init()
|
/freebsd/sys/contrib/openzfs/lib/libshare/os/linux/ |
H A D | smb.c | 228 smb_enable_share_one(const char *sharename, const char *sharepath) in smb_enable_share_one() argument 233 strlcpy(name, sharename, sizeof (name)); in smb_enable_share_one() 298 smb_disable_share_one(const char *sharename) in smb_disable_share_one() argument 307 (char *)sharename, in smb_disable_share_one()
|