/illumos-gate/usr/src/uts/sun4u/ngdr/io/ |
H A D | dr_mem.c | 774 char *path = kmem_alloc(MAXPATHLEN, KM_SLEEP); local 782 (void) ddi_pathname(bp->b_dip, path); 787 path, (minor == NULL) ? "" : minor); 789 kmem_free(path, MAXPATHLEN);
|
/illumos-gate/usr/src/uts/sun4u/opl/io/ |
H A D | dr_mem.c | 759 char *path = kmem_alloc(MAXPATHLEN, KM_SLEEP); local 767 (void) ddi_pathname(bp->b_dip, path); 772 path, (minor == NULL) ? "" : minor); 774 kmem_free(path, MAXPATHLEN);
|
/illumos-gate/usr/src/cmd/lp/filter/postscript/dpost/ |
H A D | dpost.c | 207 * out of *prologue and put in a separate file (ie. DRAW as defined in path.h). 272 #include "path.h" /* for the prologue and a few other files */ 884 char *path; /* start of the pathname */ local 899 for ( path = name; *path; path++ ) 900 if ( *path == ':' || *path == ' ' ) { 901 while ( *path == ':' || *path [all...] |
/illumos-gate/usr/src/cmd/lp/lib/papi/ |
H A D | job.c | 700 char path[MAXPATHLEN]; local 702 if (getcwd(path, sizeof (path)) == NULL) { 709 strlcat(path, "/", sizeof (path)); 710 if (strlcat(path, files[file_no], sizeof (path)) 711 >= sizeof (path)) { 717 addlist(&file_list, path); 1369 char path[MAXPATHLE local [all...] |
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | fchba.c | 283 char path[MAXPATHLEN]; local 325 (void) snprintf(path, MAXPATHLEN, "%s:devctl", 328 (void) snprintf(path, MAXPATHLEN, "%s", 333 (void) printf("%-65s ", path); 349 * Internal routines/structure to deal with a path list 353 char path[MAXPATHLEN]; member in struct:path_entry 363 struct path_entry *is_duplicate_path(struct path_entry *head, char *path) { argument 366 if (strncmp(tmp->path, path, sizeof (tmp->path)) 1451 add_lun_path(struct lun_tracking *head, HBA_FCPSCSIENTRYV2 *map, HBA_WWN pwwn, char *path) argument 1749 struct lun_tracking *path; local [all...] |
H A D | hotplug.c | 540 /* Make sure we have a device path. */ 561 " %s to physical path.\n" 589 " %s to physical path.\n" 641 /* on_line path */ 801 /* We are passing the disks path */ 876 * enclosure. Its being taken care later in the code path 1001 cleanup_dotdot_path(char *path) argument 1008 dotdot = strstr(path, "/../"); 1021 if (dotdot == path) { 1022 strcpy(holder, &path[ 1065 h_get_physical_name_from_link(char *path) argument 1198 h_get_physical_name(char *path) argument 2531 char link[MAXPATHLEN], path[MAXPATHLEN]; local 2720 char link[MAXPATHLEN], path[MAXPATHLEN]; local [all...] |
H A D | qlgcupdate.c | 157 * e.g. the bus id for this path: 259 "Error: Could not get /devices path to FC100/P," 642 /* Verify the path is valid */ 661 * traverse the path(s) 746 * Copy boot device path to bootpath. First remove leading 747 * path junk (../../..) then if it's an ifp device, chop off 748 * the disk and add the devctl to the end of the path. 967 * device path to the device we will be downloading the fcode onto 1057 char phys_path[PATH_MAX], *path; local 1106 "Error: Could not get /devices path t [all...] |
/illumos-gate/usr/src/lib/libdtrace_jni/java/src/org/opensolaris/os/dtrace/ |
H A D | LocalConsumer.java | 92 private native Program.File _compileFile(String path, String[] args) argument
|
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/ |
H A D | spoolss_svc.c | 220 spoolss_copyfile(smb_inaddr_t *ipaddr, char *username, char *path, argument 224 (*spoolss_copyfile_callback)(ipaddr, username, path, docname);
|
H A D | dfs.c | 73 * Caches links' UNC and filesystem path where the key is the UNC path. 251 * Returns the file system path for the given share if it 253 * If 'path' is NULL, this function only indicates whether 257 dfs_namespace_path(const char *name, char *path, size_t pathsz) argument 270 if (path != NULL) 271 (void) strlcpy(path, si.shr_path, pathsz); 445 * Retrieves the information of the root specified by its path. 447 * Info level (1) only needs the UNC path which is not stored, 518 * Gets the status of the given path a 521 dfs_link_stat(const char *path, uint32_t *stat) argument 550 dfs_link_add(const char *path, const char *server, const char *share, const char *cmnt, uint32_t flags, boolean_t *newlink) argument 632 dfs_link_remove(const char *path, const char *server, const char *share) argument 689 dfs_link_setinfo(const char *path, dfs_info_t *info, uint32_t infolvl) argument 716 dfs_link_getinfo(const char *path, dfs_info_t *info, uint32_t infolvl) argument 868 dfs_path_t path; local 936 dfs_path_parse(dfs_path_t *path, const char *dfs_path, uint32_t path_type) argument 999 dfs_path_free(dfs_path_t *path) argument 1567 dfs_link_commit(const char *path, dfs_info_t *info) argument 1773 dfs_path_isdir(const char *path) argument [all...] |
H A D | smb_quota.c | 285 * If there is not a quota tree representing the specified path, 289 smb_quota_add_fs(const char *path) argument 302 if (smb_quota_tree_match(qtree, path)) { 312 qtree = smb_quota_tree_create(path); 318 smb_quota_add_ctrldir(path); 332 smb_quota_remove_fs(const char *path) argument 347 if (smb_quota_tree_match(qtree, path)) { 742 smb_quota_tree_lookup(const char *path) argument 746 assert(path); 759 if (!smb_quota_tree_match(qtree, path)) { 813 smb_quota_tree_match(smb_quota_tree_t *qtree, const char *path) argument 824 smb_quota_tree_create(const char *path) argument 1082 smb_quota_zfs_init(const char *path, smb_quota_zfs_handle_t *zfs_hdl) argument 1126 smb_quota_add_ctrldir(const char *path) argument 1254 smb_quota_remove_ctrldir(const char *path) argument [all...] |
/illumos-gate/usr/src/uts/common/os/ |
H A D | fio.c | 1483 * Generate a starting vnode pointer for an (fd, path) pair where 'fd' 1485 * point for the lookup of the relative pathname 'path' (or, if path is 1492 fgetstartvp(int fd, char *path, vnode_t **startvpp) argument 1498 if (fd == AT_FDCWD && path == NULL) 1507 if (path == NULL) 1509 else if (copyin(path, &startchar, sizeof (char))) 1514 * 'path' is an absolute pathname. 1519 * 'path' is a relative pathname or we will 1538 fsetattrat(int fd, char *path, in argument [all...] |
/illumos-gate/usr/src/uts/common/smbsrv/ |
H A D | smb_ioctl.h | 67 char path[MAXPATHLEN]; member in struct:smb_ioc_spooldoc
|
/illumos-gate/usr/src/lib/libc/port/regex/ |
H A D | glob.c | 966 globextend(const wcat_t *path, glob_t *pglob, struct glob_lim *limitp, argument 1058 p = path; 1069 if (g_Ctoc(path, copy, len)) {
|
/illumos-gate/usr/src/lib/libc/port/threads/ |
H A D | spawn.c | 280 const char *path, 331 (void) execve(path, argv, envp); 386 char path[PATH_MAX+4]; local 471 cp = execat(cp, file, path); 477 if (*path == '-') { 480 for (s = path; *s != '\0'; s++) 482 for (; s >= path; s--) 484 path[0] = '.'; 485 path[1] = '/'; 488 (void) execve(path, arg 278 posix_spawn( pid_t *pidp, const char *path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t *attrp, char *const *argv, char *const *envp) argument 565 posix_spawn_file_actions_addopen( posix_spawn_file_actions_t *file_actions, int filedes, const char *path, int oflag, mode_t mode) argument [all...] |
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | findevs.c | 108 static void get_disk_name_from_path(char *path, char *name, 507 * return a 0 if found, and not add the path. 613 * return a 0 if found, and not add the path. 750 /* add the disk to the path */ 756 /* add the path to the disk */ 762 /* add the path state for this disk */ 768 /* add the path state for this disk */ 885 * is a 'path' so any disk that has a reference to it 921 " with path ptrs. \n"); 928 * If we have a controller in the list that is really a path the 1378 get_disk_name_from_path(char *path, char *name, int size) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/smbsrv/ |
H A D | smb_common_transact.c | 761 char *comment, uint16_t access, char *path, char *password) 774 (void) smb_mbc_encodef(text, "s", path); 759 smb_encode_SHARE_INFO_2(struct mbuf_chain *output, struct mbuf_chain *text, smb_request_t *sr, char *oem_name, uint16_t type, char *comment, uint16_t access, char *path, char *password) argument
|
/illumos-gate/usr/src/cmd/format/ |
H A D | startup.c | 146 * Search path as defined in the format.dat files 282 * definitions for the search path, known disk types, and known partition 298 char *path; local 334 * is defined, use a default path of "/etc". 336 path = getenv("FORMAT_PATH"); 337 if (path == NULL) { 338 path = "/etc"; 341 * Traverse the path one file at a time. Pick off 347 while (*path != 0) { 349 while (*path ! 1305 char path[MAXPATHLEN]; local 1506 char path[MAXPATHLEN]; local 2722 get_physical_name(char *path) argument [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_parse.c | 280 * We need the same code path if we have an smbfs mount. 295 * by the entire path later. Indirect maps get /key as the 431 char *path; local 437 /* allocate the rootnode with a default path of "" */ 451 path = me->map_mntpnt; 453 if ((rc = get_dir_from_path(dirname, &path, 499 if ((rc = get_dir_from_path(dirname, &path, 895 * Copy traversed path map_mntpnt to get rid of any extra 902 "set_and_fake_mapent_mntlevel: path=%s error", 979 "mark_level1_root: path 1440 char *path; local 1570 get_dir_from_path(char *dir, char **path, int dirsz) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 1378 char path[64]; local 1400 mdb_readstr(path, sizeof (path), sa) <= 0) 1401 strcpy(path, "?"); 1405 mdb_printf("%-s", path); 1440 "smb_kshare_t", "name", "path"); 1469 char *path; local 1515 path = mdb_zalloc(MAXPATHLEN, UM_SLEEP | UM_GC); 1516 (void) mdb_vread(path, MAXPATHLEN, (uintptr_t)vn->v_path); 1520 sf->sv_vfsp, sf->sv_rootvp, path); [all...] |
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 197 /* LINTED do not use creat(); use open(path,... */ 213 /* This returns the hostname portion of a remote path. */ 240 * This pulls the path out of a hostpath which may be of the form host:path 241 * where path is an absolute path. NOTE: If path turns out to be relative, 253 return (host_end+1); /* Here's the path part. */ 559 * This function maps path, on a loopback filesystem, back to the real server 560 * filesystem. fsys_value is the fs_tab[] entry to which the loopback'd path i 565 server_map(char *path, uint32_t fsys_value) argument 1049 fsys(char *path) argument 1146 resolved_fsys(char *path) argument 1326 use_srvr_map(char *path, uint32_t *fsys_value) argument 1338 is_mounted(char *path, uint32_t *fsys_value) argument 1354 is_fs_writeable(char *path, uint32_t *fsys_value) argument 1370 is_remote_fs(char *path, uint32_t *fsys_value) argument 1385 is_served(char *path, uint32_t *fsys_value) argument [all...] |
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_znode.c | 2014 char *path = buf + len - 1; local 2017 *path = '\0'; 2034 if (path[0] != '/') 2035 *--path = '/'; 2050 path -= complen; 2051 ASSERT(path >= buf); 2052 bcopy(component, path, complen); 2073 (void) memmove(buf, path, buf + len - path); 2104 char *path local [all...] |
/illumos-gate/usr/src/cmd/mv/ |
H A D | mv.c | 1218 * get real path (resolved absolute pathname) 1222 getrealpath(char *path, char *rpath) argument 1224 if (realpath(path, rpath) == NULL) { 1227 "%s: cannot resolve path %s: "), cmd, path); 1289 * Return just the file name given the complete path.
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | acquire_iodevs.c | 349 char *path; local 366 path = strchr(ifn, '.'); 372 /* if filter is a path allow partial match */ 373 if (path && 382 /* return 1 if path is an mpxio path associated with dev */ 384 iodev_path_match(struct iodev_snapshot *dev, struct iodev_snapshot *path) argument 390 pn = path->is_name; 437 continue; /* not an mpxio path */ 787 update_target(struct iodev_snapshot *tgt, struct iodev_snapshot *path) argument [all...] |
/illumos-gate/usr/src/lib/cfgadm_plugins/sbd/common/ |
H A D | ap_rcm.c | 503 char *path; local 530 * io: <device-path> 588 if ((path = strdup(cpuname)) == NULL) { 592 (void) snprintf(&path[n], len, "%d", 595 DBG("rp[%d]=%s\n", ncap, path); 596 rp[ncap++] = path; 602 if ((path = ap_cm_devpath(a, cm)) != NULL) { 603 DBG("rp[%d]=%s\n", ncap, path); 604 rp[ncap++] = path;
|