/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu_ioctl_uwp.c | 52 lpath_t *lpath; local 82 lpath = (lpath_t *)kmem_zalloc(sizeof (lpath_t), KM_NOSLEEP); 83 if (lpath == NULL) { 95 lpath->rbuftbl = 97 if (lpath->rbuftbl == NULL) { 99 kmem_free(lpath, sizeof (lpath_t)); 106 cv_init(&lpath->sw_cv, "oplmsu lpath condvar", CV_DRIVER, NULL); 107 lpath->src_upath = NULL; 108 lpath 129 lpath_t *lpath; local 314 lpath_t *lpath = NULL; local [all...] |
H A D | oplmsu_ioctl_lrp.c | 53 lpath_t *lpath, *altn_lpath = NULL, *stp_lpath = NULL; local 66 lpath = (lpath_t *)lrq->q_ptr; 67 hndl_mp = lpath->hndl_mp; 69 upath = oplmsu_search_upath_info(lpath->path_no); 175 lpath->uinst = oplmsu_uinst; 176 dst_queue = lpath->hndl_uqueue; 188 oplmsu_clear_ioctl_path(lpath); 189 stp_upath = lpath->src_upath; 190 lpath->src_upath = NULL; 191 lpath 477 lpath_t *lpath, *altn_lpath = NULL; local 615 lpath_t *lpath, *stp_lpath = NULL; local [all...] |
H A D | oplmsu_cmn_func.c | 230 lpath_t *lpath; local 236 lpath = oplmsu_uinst->first_lpath; 237 while (lpath) { 238 if ((lpath->hndl_uqueue != NULL) || (lpath->hndl_mp != NULL)) { 242 lpath = lpath->l_next; 346 oplmsu_set_ioctl_path(lpath_t *lpath, queue_t *hndl_queue, mblk_t *mp) argument 353 if ((lpath->hndl_uqueue == NULL) && (lpath 383 oplmsu_clear_ioctl_path(lpath_t *lpath) argument 487 lpath_t *lpath; local 602 lpath_t *lpath; local 756 lpath_t *lpath; local 1046 lpath_t *lpath; local 1362 lpath_t *lpath; local 1484 lpath_t *lpath; local 1549 lpath_t *lpath; local [all...] |
H A D | oplmsu.c | 230 mutex_init(&oplmsu_uinst->l_lock, "lpath lock", MUTEX_DRIVER, NULL); 396 lpath_t *lpath, *next_lpath; local 413 lpath = oplmsu_uinst->first_lpath; 435 while (lpath) { 436 if (lpath->rbuf_id) { 437 unbufcall(lpath->rbuf_id); 440 if (lpath->rtout_id) { 441 (void) untimeout(lpath->rtout_id); 444 if (lpath->rbuftbl) { 445 kmem_free(lpath 589 lpath_t *lpath; local 825 lpath_t *lpath; local 884 lpath_t *lpath; local 931 lpath_t *lpath; local 1020 lpath_t *lpath; local 1167 lpath_t *lpath; local 1312 lpath_t *lpath; local 1713 lpath_t *lpath; local 1914 lpath_t *lpath; local 2007 lpath_t *lpath, *altn_lpath; local 2275 lpath_t *lpath = NULL; local 2422 lpath_t *lpath; local [all...] |
/illumos-gate/usr/src/cmd/hal/probing/printer/ |
H A D | probe-printer.c | 87 char path[MAXPATHLEN], lpath[MAXPATHLEN]; local 91 memset(lpath, 0, sizeof (lpath)); 92 if ((readlink(path, lpath, sizeof (lpath)) > 0) && 93 (strstr(lpath, devfs_path) != NULL)) {
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | srchcfile.c | 58 static char lpath[PATH_MAX]; /* for ept->path */ variable 147 lpath[0] = '\0'; 148 lpath[sizeof (lpath)-1] = '\0'; 241 * set ept->path to point to lpath 251 ept->path = lpath; 253 /* copy path found to 'lpath' */ 254 COPYPATH(lpath, cpath_start, cpath_len);
|
/illumos-gate/usr/src/cmd/devfsadm/ |
H A D | sgen_link.c | 67 char lpath[PATH_MAX], buf[PATH_MAX]; local 107 (void) snprintf(lpath, PATH_MAX, 115 (void) snprintf(lpath, PATH_MAX, 119 (void) snprintf(lpath, PATH_MAX, 135 if (snprintf(lpath, sizeof (lpath), "%s/%s/c%st%sd0", SGEN_DIR, 136 di_minor_name(minor), cnum, buf) >= sizeof (lpath)) 154 if (snprintf(lpath, sizeof (lpath), "%s/%s/c%st%sd%d", SGEN_DIR, 155 di_minor_name(minor), cnum, buf, lun) >= sizeof (lpath)) [all...] |
H A D | devfsadm.c | 5668 char lpath[PATH_MAX + 1]; local 5707 (void) strcpy(lpath, path); 5712 if (get_stat_info(lpath, &sb) == DEVFSADM_FAILURE) { 5717 linksize = readlink(lpath, linkbuf, PATH_MAX); 5720 err_print(READLINK_FAILED, fcn, lpath, strerror(errno));
|
/illumos-gate/usr/src/cmd/mdb/common/kmdb/ |
H A D | kmdb_main.c | 114 char *lpath, *lpend, *nlpath; local 123 lpend = lpath = mdb_zalloc(lpsz, UM_SLEEP); 148 if (lpend != lpath) 151 nlpath = strdup(lpath); 152 mdb_free(lpath, lpsz); 234 char *lpath; local 237 (lpath = kmdb_modpath2lpath(kav->kav_modpath)) != NULL) { 238 mdb_set_lpath(lpath); 239 strfree(lpath);
|
/illumos-gate/usr/src/lib/libvolmgt/common/ |
H A D | volmgt_on_private.c | 492 char lpath[2 * (MAXNAMELEN+1)]; local 502 (void) sprintf(lpath, "%s/%s", mnt_dir, 504 if (lstat64(lpath, &sb) < 0) { 510 if ((lb_len = readlink(lpath, linkbuf,
|
/illumos-gate/usr/src/cmd/ndmpd/ndmp/ |
H A D | ndmpd_log.c | 197 char *fname, *mode, *lpath; local 211 lpath = ndmpd_get_prop(NDMP_DEBUG_PATH); 212 if ((lpath == NULL) || (*lpath == NULL)) 213 lpath = LOG_PATH; 215 if (stat64(lpath, &st) < 0) { 216 if (mkdirp(lpath, 0755) < 0) { 219 lpath, strerror(errno)); 220 lpath = "/var"; 235 fname = mk_pathname(LOG_FNAME, lpath, [all...] |
/illumos-gate/usr/src/common/fs/ |
H A D | ufsops.c | 148 char lpath[MAXPATHLEN]; local 149 char *lpathp = lpath; 160 bzero(lpath, sizeof (lpath)); 161 bcopy(path, lpath, strlen(path)); 165 r = (lpathp == lpath); 193 lpathp = lpath; 200 lpathp = lpath;
|
/illumos-gate/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 105 char path[MAXPATHLEN], lpath[MAXPATHLEN]; local 109 memset(lpath, 0, sizeof (lpath)); 110 if ((readlink(path, lpath, sizeof (lpath)) > 0) && 111 (strstr(lpath, devfs_path) != NULL)) {
|
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/ |
H A D | sm_statd.c | 950 char lpath[MAXPATHLEN]; local 955 (void) strcpy(lpath, todir); 956 (void) strcat(lpath, "/"); 957 (void) strcat(lpath, lname); 962 if (symlink(rname, lpath) < 0) { 1113 char lpath[MAXPATHLEN]; local 1128 (void) sprintf(lpath, "%s%s", dir, dirp->d_name); 1129 if (is_symlink(lpath)) { 1133 n = readlink(lpath, rname, MAXNAMELEN); 1138 "%s\n", lpath); [all...] |
/illumos-gate/usr/src/stand/lib/fs/ufs/ |
H A D | ufsops.c | 173 char lpath[MAXPATHLEN]; local 174 char *lpathp = lpath; 183 bzero(lpath, sizeof (lpath)); 184 bcopy(path, lpath, strlen(path)); 188 r = (lpathp == lpath); 220 lpathp = lpath; 227 lpathp = lpath;
|
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/ |
H A D | cfga_utils.c | 69 static fpcfga_recur_t lookup_dev(const char *lpath, void *arg); 78 fpcfga_recur_t (*fcn)(const char *lpath, void *arg); 292 fpcfga_recur_t (*fcn)(const char *lpath, void *arg)) 991 lookup_dev(const char *lpath, void *arg) argument 996 if (realpath(lpath, ppath) == NULL) { 1007 if ((pmtp->log = strdup(lpath)) == NULL) { 289 recurse_dev( const char *basedir, void *arg, fpcfga_recur_t (*fcn)(const char *lpath, void *arg)) argument
|
/illumos-gate/usr/src/cmd/luxadm/ |
H A D | hotplug.c | 2657 char *lpath, *ptr, *buf_ptr, buf[MAXNAMELEN], dev[MAXNAMELEN]; local 2666 lpath = dlist->logical_path; 2667 if ((ptr = strrchr(lpath, 'c')) == NULL) 2686 lpath = dlist->logical_path; 2687 if (strstr(lpath, DEV_TAPE_DIR)) { 2688 if ((ptr = strrchr(lpath, '/')) == NULL)
|
/illumos-gate/usr/src/boot/lib/libstand/ |
H A D | nandfs.c | 639 char *strp, *lpath; local 648 lpath = namebuf; 654 while ((strp = strsep(&lpath, "/")) != NULL) { 736 if (lpath != NULL) { 738 strncpy(namebuf + nameidx + link_len, lpath, 744 NANDFS_DEBUG("%s: strp=%s, lpath=%s, namebuf0=%s, " 745 "namebuf1=%s, idx=%d\n", __func__, strp, lpath, 748 lpath = namebuf + nameidx;
|
/illumos-gate/usr/src/lib/libshare/common/ |
H A D | libshare.c | 343 xmlChar *lpath = NULL; local 355 lpath = xmlGetProp(node, (xmlChar *)"path"); 356 if (lpath != NULL && 357 xmlStrcmp(lpath, (xmlChar *)path) == 0) { 358 xmlFree(lpath); 361 if (lpath != NULL) 362 xmlFree(lpath);
|
/illumos-gate/usr/src/uts/sun4u/opl/sys/oplmsu/ |
H A D | oplmsu.h | 208 struct lower_path_table *lpath; member in struct:upper_path_table
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcontrol.c | 2883 char lpath[PATH_MAX]; local 2889 (void) snprintf(lpath, sizeof (lpath), "%s/%d/%s", procfs_path, 2891 if ((fd = open(lpath, O_RDONLY)) < 0 || fstat64(fd, &statb) != 0) {
|
/illumos-gate/usr/src/uts/common/io/scsi/adapters/scsi_vhci/ |
H A D | scsi_vhci.c | 3163 mdi_pathinfo_t *lpath; local 3177 lpath = vpkt->vpkt_path; 3200 mdi_pi_get_path_instance(lpath); 3446 MDI_PI_ERRSTAT(lpath, MDI_PI_TRANSERR);
|