Searched refs:lpath (Results 1 - 24 of 24) sorted by relevance

/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/
H A Doplmsu_ioctl_uwp.c52 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 Doplmsu_ioctl_lrp.c53 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 Doplmsu_cmn_func.c230 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 Doplmsu.c230 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/devfsadm/
H A Dsgen_link.c67 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 Ddevfsadm.c5668 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/ndmpd/ndmp/
H A Dndmpd_log.c197 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/cmd/hal/probing/printer/
H A Dprobe-printer.c87 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/cmd/mdb/common/kmdb/
H A Dkmdb_main.c114 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/libpkg/common/
H A Dsrchcfile.c58 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/common/fs/
H A Dufsops.c148 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/fs.d/nfs/statd/
H A Dsm_statd.c950 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/cmd/hal/hald/solaris/
H A Ddevinfo_usb.c105 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/lib/libvolmgt/common/
H A Dvolmgt_on_private.c492 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/stand/lib/fs/ufs/
H A Dufsops.c173 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/boot/lib/libstand/
H A Dnandfs.c639 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/uts/sun4u/opl/sys/oplmsu/
H A Doplmsu.h208 struct lower_path_table *lpath; member in struct:upper_path_table
/illumos-gate/usr/src/lib/cfgadm_plugins/fp/common/
H A Dcfga_utils.c69 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
H A Dcfga_fp.h508 fpcfga_recur_t (*fcn)(const char *lpath, void *arg));
/illumos-gate/usr/src/cmd/luxadm/
H A Dhotplug.c2657 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/cmd/print/scripts/
H A Dppdmgr1039 lpath="${1%/*/*}"
1041 "${1%/*/*/*}" "${lpath##*/}" || return 1
1065 lpath="${1%/*/*}"
1066 label_path_in_repository "${2}" "${lpath##*/}" || return 1
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare.c343 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/lib/libproc/common/
H A DPcontrol.c2883 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 Dscsi_vhci.c3163 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);

Completed in 157 milliseconds