/illumos-gate/usr/src/test/nvme-tests/tests/ioctl/ |
H A D | nvme_ioctl_util.c | 79 char name[128], *mpath, path[PATH_MAX]; in nvme_ioctl_test_find_nsid() local 103 mpath = di_devfs_minor_path(minor); in nvme_ioctl_test_find_nsid() 104 if (mpath == NULL) { in nvme_ioctl_test_find_nsid() 109 if (snprintf(path, sizeof (path), "/devices%s", mpath) >= in nvme_ioctl_test_find_nsid() 112 "%s: snprintf buffer would have overflowed", mpath); in nvme_ioctl_test_find_nsid() 114 di_devfs_path_free(mpath); in nvme_ioctl_test_find_nsid()
|
/illumos-gate/usr/src/uts/sun4u/opl/io/oplmsu/ |
H A D | oplmsu.c | 1280 struct msu_path *mpath; in oplmsu_dr_attach() local 1287 mpath = (struct msu_path *)kmem_zalloc((size_t)len, KM_SLEEP); in oplmsu_dr_attach() 1288 mpath->num = 1; in oplmsu_dr_attach() 1289 mdev = (struct msu_dev *)(mpath + 1); in oplmsu_dr_attach() 1293 if ((oplmsu_config_del(mpath)) == 0) { in oplmsu_dr_attach() 1298 kmem_free(mpath, (size_t)len); in oplmsu_dr_attach() 1312 struct msu_path *mpath; in oplmsu_dr_detach() local 1419 mpath = (struct msu_path *)kmem_zalloc((size_t)len, KM_SLEEP); in oplmsu_dr_detach() 1420 mpath->num = 1; in oplmsu_dr_detach() 1421 mdev = (struct msu_dev *)(mpath + 1); in oplmsu_dr_detach() [all …]
|
/illumos-gate/usr/src/cmd/ahciem/ |
H A D | ahciem.c | 156 char *driver, *mpath, *fullpath; in ahciem_devinfo() local 183 if ((mpath = di_devfs_minor_path(m)) == NULL) { in ahciem_devinfo() 188 if (asprintf(&fullpath, "/devices/%s", mpath) == -1) { in ahciem_devinfo() 189 warn("failed to construct /devices path from %s", mpath); in ahciem_devinfo()
|
/illumos-gate/usr/src/uts/i86pc/io/ |
H A D | consplat.c | 413 static char mpath[MAXPATHLEN]; in plat_mousepath() local 422 if (plat_devpath("mouse8042", mpath) == NULL) in plat_mousepath() 425 return (mpath); in plat_mousepath()
|
/illumos-gate/usr/src/lib/storage/libg_fc/ |
H A D | Makefile.com | 34 mpath.o
|
/illumos-gate/usr/src/cmd/fs.d/ufs/df/ |
H A D | df.c | 73 static char *mpath(char *); 366 if (isblk && strcmp(mpath(cp), "") != 0) { in main() 551 (void) printf(" %s\n", mpath(file)); in dfreedev() 685 mpath(char *file) in mpath() function
|
/illumos-gate/usr/src/lib/libbsm/common/ |
H A D | devalloc.c | 1506 char apath[MAXPATHLEN], mpath[MAXPATHLEN]; in da_update_device() local 1552 if (snprintf(mpath, sizeof (mpath), "%s%s", rootdir, in da_update_device() 1553 TMPMAP) >= sizeof (mpath)) in da_update_device() 1555 mpathp = mpath; in da_update_device()
|
/illumos-gate/usr/src/lib/libdevinfo/ |
H A D | devinfo_devlink.h | 375 static void walk_cache_minor(di_devlink_handle_t hdp, const char *mpath,
|
H A D | devinfo_devlink.c | 3688 walk_cache_minor(di_devlink_handle_t hdp, const char *mpath, link_desc_t *linkp) in walk_cache_minor() argument 3692 assert(mpath); in walk_cache_minor() 3694 if ((cmnp = lookup_minor(hdp, mpath, NULL, TYPE_CACHE)) != NULL) { in walk_cache_minor() 3697 dprintf(DBG_ERR, "lookup minor failed: %s\n", mpath); in walk_cache_minor()
|
/illumos-gate/usr/src/test/zfs-tests/include/ |
H A D | blkdev.shlib | 127 egrep mpath >/dev/null
|
/illumos-gate/usr/src/lib/libzfs/common/ |
H A D | libzfs_pool.c | 3323 char *mpath = zpool_vdev_name(zhp->zpool_hdl, zhp, in find_vdev_entry() local 3329 boolean_t result = (strcmp(mpath, spath) == 0); in find_vdev_entry() 3333 free(mpath); in find_vdev_entry() 3338 free(mpath); in find_vdev_entry()
|