Home
last modified time | relevance | path

Searched refs:path_buffer (Results 1 – 2 of 2) sorted by relevance

/titanic_44/usr/src/uts/common/xen/io/
H A Dxenbus_client.c159 char *path_buffer; in error_path() local
161 path_buffer = kmem_alloc(strlen("error/") + strlen(dev->nodename) + in error_path()
164 (void) strcpy(path_buffer, "error/"); in error_path()
165 (void) strcpy(path_buffer + strlen("error/"), dev->nodename); in error_path()
167 return (path_buffer); in error_path()
176 char *printf_buffer = NULL, *path_buffer = NULL; in common_dev_error() local
188 path_buffer = error_path(dev); in common_dev_error()
190 if (path_buffer == NULL) { in common_dev_error()
196 if (xenbus_write(NULL, path_buffer, "error", printf_buffer) != 0) { in common_dev_error()
205 if (path_buffer) in common_dev_error()
[all …]
/titanic_44/usr/src/cmd/svr4pkg/libinst/
H A Disreloc.c98 char path_buffer[ENTRY_MAX]; in isreloc() local
100 (void) snprintf(path_buffer, sizeof (path_buffer), in isreloc()
103 canonize(path_buffer); in isreloc()
105 if ((pkg_fp = fopen(path_buffer, "r")) != NULL) { in isreloc()
106 while (fgets(path_buffer, sizeof (path_buffer), pkg_fp)) in isreloc()
107 if (has_rel_path(path_buffer)) { in isreloc()