HomeSort by relevance Sort by last modified time
    Searched defs:pathname (Results 1 - 25 of 93) sorted by null

1 2 3 4

  /onnv/onnv-gate/usr/src/uts/common/sys/usb/usba/
usba_devdb.h 38 char *pathname; member in struct:usba_configrec
  /onnv/onnv-gate/usr/src/uts/common/sys/
pathname.h 47 * Pathname structure.
55 * to the underlying storage; routines which manipulate the pathname
60 typedef struct pathname { struct
62 char *pn_path; /* remaining pathname */
69 extern void pn_alloc(struct pathname *);
70 extern int pn_get(char *, enum uio_seg, struct pathname *);
71 extern int pn_get_buf(char *, enum uio_seg, struct pathname *,
73 extern int pn_set(struct pathname *, char *);
74 extern int pn_insert(struct pathname *, struct pathname *, size_t)
    [all...]
  /onnv/onnv-gate/usr/src/head/
pkgdev.h 43 char *pathname; member in struct:pkgdev
  /onnv/onnv-gate/usr/src/lib/libc/port/gen/
isaexec.c 50 char *pathname; local
84 * Allocate a full pathname buffer. The sum of the lengths of the
88 if ((pathname = malloc(len)) == NULL) {
97 (void) strcpy(pathname, execname);
98 if ((str = strrchr(pathname, '/')) != NULL) {
100 fname = execname + (str - pathname);
103 *pathname = '\0';
105 len = strlen(pathname);
116 (void) strcpy(pathname + len, str);
117 (void) strcat(pathname + len, "/")
    [all...]
catopen.c 95 char pathname[PATH_MAX + 1]; local
146 /* unqualified pathname is unsafe */
158 s = replace_nls_option(s, name, pathname, locale,
161 p = file_open(pathname, UNSAFE_F);
196 t = pathname;
201 while (*s && t < pathname + PATH_MAX)
204 while (*s && t < pathname + PATH_MAX)
207 while (*s && t < pathname + PATH_MAX)
210 return (file_open(pathname, SAFE_F));
216 * with appropiate values. Returns expanded pathname
    [all...]
gettxt.c 87 char pathname[PATH_MAX]; /* full pathname to message file */ local
168 if (snprintf(pathname, sizeof (pathname),
170 sizeof (pathname)) {
175 if ((fd = open(pathname, O_RDONLY)) == -1 ||
gtxt.c 109 char pathname[PATH_MAX]; local
153 if (snprintf(pathname, sizeof (pathname),
155 db->saved_locale, db->db_name) >= sizeof (pathname)) {
163 if ((fd = open(pathname, O_RDONLY)) != -1 &&
  /onnv/onnv-gate/usr/src/cmd/ptools/pldd/
pldd.c 151 char pathname[PATH_MAX]; local
173 if ((len = resolvepath(object_name, pathname, sizeof (pathname))) > 0)
174 pathname[len] = '\0';
176 (void) strncpy(pathname, object_name, sizeof (pathname));
178 (void) printf("%s\n", pathname);
  /onnv/onnv-gate/usr/src/lib/libadm/inc/
devtab.h 106 * cdevice A pathname to the inode describing the device as
108 * bdevice A pathname to the inode describing the device as
110 * pathname A pathname to the device (not char or blk special)
119 char *cdevice; /* Character device pathname */
120 char *bdevice; /* Block device pathname */
121 char *pathname; /* Vanilla pathname */ member in struct:devtabent
170 * name Member name (a device alias or pathname)
187 * _devtabpath() Get the pathname of the device table fil
    [all...]
  /onnv/onnv-gate/usr/src/cmd/mdb/intel/modules/sata/
sata.c 134 char pathname[MAXPATHLEN]; local
169 (uintptr_t)dmsg.dip, pathname,
170 sizeof (pathname));
171 mdb_printf("\n[%s]", pathname);
  /onnv/onnv-gate/usr/src/lib/libresolv2/common/dst/
support.c 307 char pathname[PATH_MAX]; local
309 if (strlen(filename) + strlen(dst_path) >= sizeof(pathname))
313 strcpy(pathname, dst_path);
314 strcat(pathname, filename);
316 strcpy(pathname, filename);
318 fp = fopen(pathname, mode);
320 chmod(pathname, perm);
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.sbin/in.ftpd/
ftpcmd.y 220 %type <String> STRING password pathname pathstring username method
573 | RETR check_login SP pathname CRLF
584 | STOR check_login SP pathname CRLF
593 | APPE check_login SP pathname CRLF
634 | LIST check_login SP pathname CRLF
652 | STAT check_login SP pathname CRLF
668 | DELE check_login SP pathname CRLF
677 | RNTO check_login SP pathname CRLF
708 | CWD check_login SP pathname CRLF
752 | MKD check_login SP pathname CRL
1574 pathname: pathstring label
    [all...]
  /onnv/onnv-gate/usr/src/cmd/ptools/ptime/
ptime.c 158 char pathname[100]; local
170 (void) sprintf(pathname, "/proc/%d/usage", (int)pid);
171 if ((fd = open(pathname, O_RDONLY)) < 0)
  /onnv/onnv-gate/usr/src/cmd/srchtxt/
srchtxt.c 98 char pathname[128]; local
137 (void) strcpy(pathname, P_locale);
138 (void) strcpy(&pathname[L_locale - 1], locale);
139 (void) strcat(pathname, MESSAGES);
140 len = strlen(pathname);
162 cp = pathname;
181 if ((dirp = opendir(pathname)) == NULL) {
183 cmdname, pathname, syserr());
190 if ((addr = attach(pathname, len, &fd, &size)) == -1) {
192 "%s: ERROR: failed to access message file '%s'\n", cmdname, pathname);
    [all...]
  /onnv/onnv-gate/usr/src/lib/brand/lx/lx_brand/common/
file.c 163 char *pathname = (char *)p; local
166 if ((lstat64(pathname, &statbuf) == 0) && S_ISDIR(statbuf.st_mode))
169 return (unlink(pathname) ? -errno : 0);
  /onnv/onnv-gate/usr/src/lib/libpcp/common/
pcp_utils.c 80 char *pathname = strdup(dev_path); local
83 if (NULL == pathname)
86 devname = basename(pathname);
118 free(pathname);
134 char *pathname = strdup(dev_path); local
138 if (NULL == pathname)
141 devname = basename(pathname);
170 free(pathname);
176 * pathname (which might not even exist in the filesystem), and in either case
196 * Not a service name, check if it's a valid pathname
    [all...]
  /onnv/onnv-gate/usr/src/lib/libproc/common/
Psyscall.c 82 char pathname[PATH_MAX]; local
125 (void) snprintf(pathname, sizeof (pathname), "%s/%d/lwp/agent/",
127 fname = pathname + strlen(pathname);
137 if ((fd = open(pathname, O_RDONLY)) < 0 ||
143 if ((fd = open(pathname, O_WRONLY)) < 0 ||
  /onnv/onnv-gate/usr/src/lib/libsmedia/library/common/
l_misc.c 55 #define PATHNAME "/usr/lib/smedia/sparcv9"
57 #define PATHNAME "/usr/lib/smedia/amd64"
60 #define PATHNAME "/usr/lib/smedia"
207 char *pathname; local
218 if ((pathname = malloc(PATH_MAX)) == NULL) {
223 dirp = opendir(PATHNAME);
225 (void) fprintf(stderr, gettext("Couldnot open %s\n"), PATHNAME);
226 free(pathname);
235 if (snprintf(pathname, PATH_MAX, "%s/%s",
236 PATHNAME, dp->d_name) >= PATH_MAX)
    [all...]
  /onnv/onnv-gate/usr/src/uts/sun4/io/fpc/
fpc-impl.c 95 char pathname[MAXPATHLEN]; local
97 (void) ddi_pathname(dip, pathname);
99 kmem_zalloc(strlen(pathname)+1, KM_SLEEP);
100 (void) strcpy(node_data[this_node].name, pathname);
  /onnv/onnv-gate/usr/src/uts/sun4u/excalibur/os/
excalibur.c 53 char *pathname; member in struct:xcalfan_info
136 err = ldi_open_by_name(xcalfans[i].pathname,
142 xcalfans[i].pathname);
284 xcalfans[i].val8, xcalfans[i].pathname);
288 xcalfans[i].val8, xcalfans[i].pathname);
  /onnv/onnv-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
iscsi_lun.c 540 char *pathname = NULL; local
603 pathname = kmem_zalloc(MAXNAMELEN + 1, KM_SLEEP);
604 (void) ddi_pathname(lun_dip, pathname);
606 if (nvlist_add_string(attr_list, DEV_PHYS_PATH, pathname) !=
609 kmem_free(pathname, MAXNAMELEN + 1);
613 kmem_free(pathname, MAXNAMELEN + 1);
646 char *pathname = NULL; local
701 pathname = kmem_zalloc(MAXNAMELEN + 1, KM_SLEEP);
702 (void) ddi_pathname(cdip, pathname);
761 if (offline == B_TRUE && pathname != NULL &
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/fs/zfs/
spa_config.c 78 char *pathname; local
85 pathname = kmem_alloc(MAXPATHLEN, KM_SLEEP);
87 (void) snprintf(pathname, MAXPATHLEN, "%s%s",
90 file = kobj_open_file(pathname);
92 kmem_free(pathname, MAXPATHLEN);
  /onnv/onnv-gate/usr/src/cmd/audio/utilities/
AudioFile.cc 76 // Constructor with pathname and optional mode arg
122 const char *path) // pathname or 0
222 char *pathname; local
238 // 2) if name is a relative pathname, and 'path' is not NULL:
271 pathname = new char[strlen(prefix) + flen + 2];
272 (void) sprintf(pathname, "%s/%s", prefix, filename);
273 err = tryopen(pathname, openmode);
274 delete pathname;
291 const char *pathname,
299 if (pathname != GetName()
    [all...]
  /onnv/onnv-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/
defs.h 124 char pathname[LINESIZE]; member in struct:linkbuf
  /onnv/onnv-gate/usr/src/cmd/fs.d/cachefs/cfsd/
cfsd_subr.c 265 char pathname[MAXPATHLEN]; local
470 strlcpy(pathname, cache_object_p->i_cachedir,
471 sizeof (pathname));
472 strlcat(pathname, "/", sizeof (pathname));
473 len = strlen(pathname);
482 pathname[len] = '\0';
483 strlcat(pathname, entp->d_name, sizeof (pathname));
486 xx = lstat64(pathname, &sinfo)
    [all...]

Completed in 2020 milliseconds

1 2 3 4