Searched refs:si_name (Results 1 - 14 of 14) sorted by relevance

/freebsd-12-stable/usr.sbin/rtadvd/
H A Dif.h39 const char *si_name; member in struct:sockinfo
H A Dcontrol.c260 unlink(s->si_name);
261 syslog(LOG_DEBUG, "<%s> remove %s", __func__, s->si_name);
291 if (s->si_name == NULL)
292 s->si_name = _PATH_CTRL_SOCK;
302 strlcpy(sun.sun_path, s->si_name, sizeof(sun.sun_path));
304 if (unlink(s->si_name) == -1)
307 "<%s> unlink %s", __func__, s->si_name);
314 "<%s> bind failed: %s", __func__, s->si_name);
320 if (chmod(s->si_name, mode) == -1) {
322 "<%s> chmod failed: %s", __func__, s->si_name);
[all...]
H A Dif.c87 struct sockinfo sock = { .si_fd = -1, .si_name = NULL };
88 struct sockinfo rtsock = { .si_fd = -1, .si_name = NULL };
89 struct sockinfo ctrlsock = { .si_fd = -1, .si_name = _PATH_CTRL_SOCK };
H A Drtadvd.c195 ctrlsock.si_name = optarg;
/freebsd-12-stable/sys/kern/
H A Dkern_conf.c255 ("%s threadcount is wrong", dev->si_name));
542 namelen = strlen(dev->si_name);
547 memcpy(data + sizeof(prefix) - 1, dev->si_name, namelen + 1);
718 len = vsnrprintf(dev->si_name, sizeof(dev->si_name), 32, fmt, ap);
719 if (len > sizeof(dev->si_name) - 1)
723 for (from = dev->si_name; *from == '/'; from++)
726 for (to = dev->si_name; *from != '\0'; from++, to++) {
744 if (dev->si_name[0] == '\0')
748 for (s = dev->si_name;;) {
[all...]
H A Dkern_shutdown.c958 static char dumpdevname[sizeof(((struct cdev*)NULL)->si_name)];
/freebsd-12-stable/sys/fs/devfs/
H A Ddevfs_devs.c114 error = SYSCTL_OUT(req, dev->si_name, strlen(dev->si_name) + 1);
163 if (devfs_pathpath(cdp->cdp_c.si_name, name) != 0)
165 if (devfs_pathpath(name, cdp->cdp_c.si_name) != 0)
539 cdp->cdp_c.si_name, cdp, de->de_cdp));
585 s = cdp->cdp_c.si_name;
604 ("%s: invalid directory (si_name=%s)",
605 __func__, cdp->cdp_c.si_name));
625 j = depth * 3 + strlen(pdev->si_name) + 1;
630 strcat(de->de_symlink, pdev->si_name);
[all...]
H A Ddevfs_rule.c589 pname = dev->si_name;
/freebsd-12-stable/lib/libprocstat/
H A Dcommon_kvm.c87 strlcpy(buf, si.si_name, SPECNAMELEN + 1);
/freebsd-12-stable/sys/dev/mlx5/mlx5_fpga_tools/
H A Dmlx5fpga_tools_char.c318 cd->si_name);
326 ((struct cdev *)(tdev->char_device))->si_name);
/freebsd-12-stable/sys/sys/
H A Dconf.h91 char si_name[SPECNAMELEN + 1]; member in struct:cdev
/freebsd-12-stable/sys/geom/
H A Dgeom_dev.c279 snprintf(buf, sizeof(buf), "cdev=%s", dev->si_name);
284 snprintf(buf, sizeof(buf), "cdev=%s", dev->si_name);
/freebsd-12-stable/usr.sbin/rtadvctl/
H A Drtadvctl.c210 strlcpy(sun.sun_path, s->si_name, sizeof(sun.sun_path));
213 err(1, "connect: %s", s->si_name);
/freebsd-12-stable/sys/net/
H A Dif_tuntap.c1002 if (strcmp(ifp->if_xname, tp->tun_dev->si_name) == 0)
1027 error = tuntap_name2info(dev->si_name, NULL, &tunflags);
1123 p->p_pid, p->p_comm, tp->tun_dev->si_name);

Completed in 229 milliseconds