Home
last modified time | relevance | path

Searched refs:sm_path (Results 1 – 5 of 5) sorted by relevance

/titanic_44/usr/src/uts/sun4u/montecarlo/io/ttymux_dacf/
H A Dttymux_dacf.c406 if (cn->sm_path && strcmp(cn->sm_path, path) == 0) in get_aconsole()
456 if (cn->sm_path != NULL) in add_aconsole()
457 kmem_free(cn->sm_path, strlen(cn->sm_path) + 1); in add_aconsole()
458 cn->sm_path = cpath; in add_aconsole()
514 if (cn->sm_path == NULL) { in find_obp_consoles()
515 cn->sm_path = kmem_alloc(strlen(devpath) + 1, KM_SLEEP); in find_obp_consoles()
516 (void) strcpy(cn->sm_path, devpath); in find_obp_consoles()
608 ASSERT(cn->sm_path); in link_aconsole()
709 if (cn->sm_path == NULL) in enable_all_consoles()
712 if ((strstr(cn->sm_path, "/dev") == cn->sm_path && in enable_all_consoles()
[all …]
/titanic_44/usr/src/uts/sun/io/ttymux/
H A Dttymux_ioctl.c525 } else if (cn->sm_path != NULL && in console_cmd()
526 strncmp(cn->sm_path, assoc->ttymux_path, MAXPATHLEN) == 0) { in console_cmd()
547 if (cn->sm_path == NULL) { in console_cmd()
549 cn->sm_path = sm_di_path(assoc->ttymux_ldev); in console_cmd()
554 if (cn->sm_path) { in console_cmd()
555 (void) update_config(ms, cn->sm_path, cn->sm_mode, cmd); in console_cmd()
556 kmem_free(cn->sm_path, strlen(cn->sm_path) + 1); in console_cmd()
557 cn->sm_path = NULL; in console_cmd()
590 cn->sm_path = sm_di_path(assoc->ttymux_ldev); in console_cmd()
592 cn->sm_path = kmem_alloc(strlen(assoc->ttymux_path) + 1, in console_cmd()
[all …]
H A Dttymux_impl.h199 (void) strncpy((a)->ttymux_path, (l)->sm_path, MAXPATHLEN)
211 (void) strncpy((a)->ttymux32_path, (l)->sm_path, MAXPATHLEN)
H A Dttymux.c521 (void) strncpy(plqi->sm_path, dp, MAXPATHLEN); in sm_associate()
523 *(plqi->sm_path) = '\0'; in sm_associate()
/titanic_44/usr/src/uts/sun/sys/
H A Dttymux.h127 char sm_path[MAXPATHLEN]; member
140 char *sm_path; /* device tree device path */ member