Searched refs:pathname (Results 26 - 50 of 93) sorted by relevance

1234

/osnet-11/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_cs.c346 char pathname[MAXPATHLEN]; local
359 (void) strlcpy(pathname, xport_phys, MAXPATHLEN);
360 if ((ptr = strrchr(pathname, ':')) != NULL) {
382 * Make pathname to look something like :
385 strcat(pathname, ptr);
392 if ((ptr = strrchr(pathname, '@')) == NULL) {
395 pathname, 0);
401 sprintf(&pathname[strlen(pathname)], "@w%s,%x",
403 ptr = pathname;
504 char *vhci_path_ptr, *pathname_ptr, pathname[MAXPATHLEN]; local
1068 char port_wwn[WWN_SIZE*2+1], pathname[MAXPATHLEN]; local
1244 char pathname[MAXPATHLEN]; local
1424 char pathname[MAXPATHLEN], *ptr; /* scratch pad */ local
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/usb/common/
H A Dcfga_configfile.c50 char *pathname; member in struct:usb_configrec
70 { "pathname", USB_PATH },
550 user_rec->pathname =
662 } else if (user_rec->pathname) {
663 if (cfg_rec->pathname) {
674 ustr = strrchr(user_rec->pathname, '/');
675 cstr = strrchr(cfg_rec->pathname, '/');
676 path = (strncmp(cfg_rec->pathname,
677 user_rec->pathname,
678 MAX(ustr - user_rec->pathname,
[all...]
/osnet-11/usr/src/lib/libpcp/common/
H A Dpcp_utils.c80 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...]
/osnet-11/usr/src/lib/libc/port/gen/
H A Dcatopen.c171 find_catalog_from_system_default_location(char *pathname, char *locale, argument
191 return (file_open(pathname, SAFE_F));
211 char pathname[PATH_MAX + 1]; local
262 (void) memcpy(pathname, _DFLT_LOC_PATH, _DFLT_LOC_PATH_LEN);
263 saved = pathname + _DFLT_LOC_PATH_LEN;
269 p = find_catalog_from_system_default_location(pathname, locale, name,
291 p = find_catalog_from_system_default_location(pathname,
307 p = find_catalog_from_system_default_location(pathname,
H A Dgettxt.c84 char pathname[PATH_MAX]; /* full pathname to message file */ local
165 if (snprintf(pathname, sizeof (pathname),
167 sizeof (pathname)) {
172 if ((fd = open(pathname, O_RDONLY)) == -1 ||
H A Dgtxt.c106 char pathname[PATH_MAX]; local
150 if (snprintf(pathname, sizeof (pathname),
152 db->saved_locale, db->db_name) >= sizeof (pathname)) {
160 if ((fd = open(pathname, O_RDONLY)) != -1 &&
H A Dcrypt.c494 char *pathname = NULL; local
549 * <algname> <pathname> [<name[=val]>[<name[=val]>]]
590 if ((pathname = isa_path(token)) == NULL) {
613 if ((alg->a_libhandle = dlopen(pathname, RTLD_NOW)) == NULL) {
615 pathname, dlerror());
625 "symbol in %s: %s", pathname, dlerror());
634 "symbol in %s: %s", pathname, dlerror());
678 if (pathname != NULL) {
679 free(pathname);
/osnet-11/usr/src/lib/libdscfg/common/
H A Dcfg_cluster.c325 * parse the disk group name from the a device pathname on a non-SunCluster.
331 cfg_l_dgname(const char *pathname, char *buffer, size_t buflen) argument
344 if (strncmp(pathname, dev, ll) != 0) {
345 /* not a device pathname */
350 start = pathname + ll;
432 * determine which cluster resource group the pathname belongs to, if any
441 cfg_dgname(const char *pathname, char *buffer, size_t buflen) argument
452 if (pathname == NULL || *pathname == '\0') {
466 if (stat(pathname,
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/commands/
H A Dls.c119 char *pathname; local
122 pathname = grub_xasprintf ("%s%s", dirname, filename);
124 pathname = grub_xasprintf ("%s/%s", dirname, filename);
126 if (!pathname)
132 file = grub_file_open (pathname);
136 grub_free (pathname);
172 grub_free (pathname);
/osnet-11/usr/src/lib/libiov/common/
H A Dlibiov.h58 extern int iov_path_to_port(char *pathname, char **parentp, char **portp);
/osnet-11/usr/src/lib/libfstyp/common/
H A Dlibfstyp.c70 char *pathname; /* absolute module pathname */ member in struct:fstyp_module
362 char *pathname; local
374 /* allocate pathname buffer */
375 if ((pathname = calloc(1, h->name_max)) == NULL) {
380 (void) snprintf(pathname, h->name_max, "%s/fstyp.so.%d", mdir,
382 if (stat(pathname, &sb) < 0) {
387 free(pathname);
391 mp->pathname = pathname;
[all...]
/osnet-11/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c65 char *pathname = NULL; local
80 pathname = malloc(len);
81 if (pathname == NULL)
83 (void) memset(pathname, 0, len);
85 (void) snprintf(pathname, len, "%s%s" MAPPER_NAME_TEMPLATE,
88 return (pathname);
105 * sources are never mixed. We always need a mapper name or a mapper pathname
156 } else if (map->pathname != NULL) {
157 tmppath = strdup(map->pathname);
172 * Either a name or a full pathname mus
[all...]
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddir.h69 const char *pathname);
71 const char *pathname);
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-fstest.c76 read_file (char *pathname, int (*hook) (grub_off_t ofs, char *buf, int len)) argument
82 if ((pathname[0] == '-') && (pathname[1] == 0))
119 file = grub_file_open (pathname);
122 grub_util_error (_("cannot open file %s:%s"), pathname,
267 cmd_hex (char *pathname) argument
276 read_file (pathname, hex_hook);
280 cmd_crc (char *pathname) argument
294 read_file (pathname, crc_hook);
/osnet-11/usr/src/lib/libbootmgmt/common/
H A Dlibbootmgmt.c62 static int check_mbr_label(int fd, char *pathname, uint64_t *sizep);
525 /* input pathname is /dev/rdsk/cxtxdxsN . fd corresponds to pathname */
528 check_mbr_label(int fd, char *pathname, uint64_t *sizep) argument
554 if (makepath(pathname, wholedisk, MAXPATHLEN, "p", 0)
587 if (makepath(pathname,
590 else if (strcmp(syspath, pathname) == 0)
608 if (makepath(pathname, wholedisk, MAXPATHLEN, "p", 0) != 0)
643 if (makepath(pathname, syspath, MAXPATHLEN, "p",
646 else if (strcmp(syspath, pathname)
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_devadm.c161 char *pathname; local
170 pathname = Malloc(len + 1);
171 (void) strncpy(pathname, devname, len);
172 pathname[len] = '\0';
173 return (pathname);
229 * the ctds and pathname (ie. /dev/dsk etc) within the
255 nm.pathname = (uintptr_t)pname;
266 * device name and pathname in the namespace area.
294 nm.pathname = (uintptr_t)pname;
575 * pathname i
994 char *pathname = NULL; local
1347 char *pathname; local
1602 char *pathname = NULL; local
[all...]
/osnet-11/usr/src/cmd/sendmail/libsm/
H A Dstdio.c50 ** info -- pathname of the file to be opened
388 ** SM_STDFDOPEN -- open file by primitive 'fd' rather than pathname
462 ** pathname -- path of file to open
474 sm_io_fopen(char *pathname, int flags, ...) argument
476 sm_io_fopen(pathname, flags, va_alist)
477 char *pathname;
513 fp->f_file = open(pathname, flags, mode);
/osnet-11/usr/src/lib/libproc/common/
H A DPsyscall.c82 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 ||
/osnet-11/usr/src/lib/libsmedia/library/common/
H A Dl_misc.c201 char *pathname; local
212 if ((pathname = malloc(PATH_MAX)) == NULL) {
220 free(pathname);
229 if (snprintf(pathname, PATH_MAX, "%s/%s",
234 handle = dlopen(pathname, RTLD_LAZY);
270 free(pathname);
/osnet-11/usr/src/lib/libc/port/i18n/
H A Dgettext_real.c219 mp->msgfile = cur_binding->pathname;
312 if (tp->pathname)
313 free(tp->pathname);
384 tnt->pathname = malloc(domain_len);
385 if (tnt->pathname == NULL) {
392 (void) memcpy(tnt->pathname, domain, domain_len);
423 tnt->pathname = malloc(len);
424 if (tnt->pathname == NULL) {
431 (void) memcpy(tnt->pathname, path, len);
594 replace_nls_option(char *s, const char *name, char *pathname, cha argument
[all...]
/osnet-11/usr/src/cmd/ntfsprogs/
H A Dntfsundelete.c1580 * @pathname: Path, name and stream of the file to open
1589 static int open_file(const char *pathname) argument
1593 ntfs_log_verbose("Creating file: %s\n", pathname);
1600 return open(pathname, flags, S_IRUSR | S_IWUSR);
1605 * @pathname: Path and name of the file to alter
1613 static int set_date(const char *pathname, time_t date) argument
1617 if (!pathname)
1622 if (utime(pathname, &ut)) {
1653 char pathname[256]; local
1724 create_pathname(opts.dest, name, d->name, pathname, sizeo
2018 char pathname[256]; local
[all...]
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DDirHandle.pm37 with a volume name, a relative pathname should always begin with a
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/ext/Socket/
H A DSocket.xs300 pack_sockaddr_un(pathname)
301 SV * pathname
311 pathname_pv = SvPV(pathname,len);
/osnet-11/usr/src/lib/libtsol/common/
H A Dsetflabel.c100 * Find an absolute pathname in the native file system name space that
121 (void) strcpy(clcall.pathname, canon);
165 * to recalculate it each time it's given a relative pathname.
/osnet-11/usr/src/lib/libparted/common/lib/
H A Dlocalcharset.c74 # define relocate(pathname) (pathname)

Completed in 45 milliseconds

1234