Searched defs:devpath (Results 1 - 25 of 104) sorted by relevance

12345

/illumos-gate/usr/src/lib/libsocket/socket/
H A Dsocket.c109 char *devpath; local
127 &devpath, &prototype) == -1) {
131 fd = _so_socket(family, type, protocol, devpath, version);
132 free(devpath);
/illumos-gate/usr/src/lib/sun_sas/common/
H A DSun_sasRefreshAdapterConfiguration.c42 char *devpath, fulldevpath[MAXPATHLEN]; local
54 if ((devpath = di_devfs_path(node)) == NULL) {
59 devpath);
61 if ((strstr(fulldevpath, wa->devpath)) != NULL) {
64 di_devfs_path_free(devpath);
67 di_devfs_path_free(devpath);
120 wa.devpath = hba_ptr->device_path;
H A DSun_sasRefreshInformation.c39 char *devpath, fulldevpath[MAXPATHLEN]; local
51 if ((devpath = di_devfs_path(node)) == NULL) {
56 devpath);
58 if ((strstr(fulldevpath, wa->devpath)) != NULL) {
66 di_devfs_path_free(devpath);
69 di_devfs_path_free(devpath);
127 wa.devpath = hba_ptr->device_path;
H A DSun_sasScsiReportLUNs.c33 SendScsiReportLUNs(const char *devpath, void *responseBuffer, argument
57 status = send_uscsi_cmd(devpath, &ucmd_buf);
H A DSun_sasScsiReadCapacity.c33 SendScsiReadCapacity(const char *devpath, void *responseBuffer, argument
57 status = send_uscsi_cmd(devpath, &ucmd_buf);
H A DSun_sasScsiInquiry.c36 SendScsiInquiry(const char *devpath, HBA_UINT8 cdb1, HBA_UINT8 cdb2, argument
62 status = send_uscsi_cmd(devpath, &ucmd_buf);
H A DSun_sasSendSMPPassThru.c37 SendSMPPassThru(const char *devpath, void *reqframe, HBA_UINT32 *reqsize, argument
57 if ((fd = open(devpath, O_RDONLY | O_NONBLOCK)) == -1) {
59 "open devpath %s failed due to %s",
60 devpath, strerror(errno));
H A Dsun_sas.c384 send_uscsi_cmd(const char *devpath, struct uscsi_cmd *ucmd) argument
395 if ((fd = open(devpath, O_RDONLY | O_NDELAY)) == -1) {
397 "open devpath %s failed: %s", devpath, strerror(errno));
410 "ioctl send uscsi to devpath: %s failed: %s",
411 devpath, strerror(errno));
H A Dsun_sas.h171 char *devpath; member in struct:walkarg
286 extern HBA_STATUS send_uscsi_cmd(const char *devpath, struct uscsi_cmd *ucmd);
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_fm.c37 const char *devpath, const char *minor_name, const char *devid,
95 char *devpath, const char *error_class, uint64_t ena,
123 * If path_instance is zero then use the devpath provided by the
129 devpath = mdi_pi_pathname_by_instance(path_instance);
149 fm_dev_ereport_postv(dip, eqdip, devpath, minor_name, devid, tpl0,
94 scsi_fm_ereport_post(struct scsi_device *sd, int path_instance, char *devpath, const char *error_class, uint64_t ena, char *devid, char *tpl0, int sflag, nvlist_t *pl, ...) argument
/illumos-gate/usr/src/lib/libdevinfo/
H A Ddevinfo_dim.c121 char *devpath = (char *)di_devlink_path(dl); local
123 if (devpath)
124 *devp = strdup(devpath);
/illumos-gate/usr/src/cmd/fm/modules/common/fabric-xlate/
H A Dfx_epkt.c153 char *devpath, *rppath = NULL; local
245 devpath = fab_find_addr(hdl, nvl, epkt.addr);
246 if (devpath) {
247 rppath = fab_find_rppath_by_devpath(hdl, devpath);
248 fmd_hdl_strfree(hdl, devpath);
/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Ddevpath.c41 EFI_DEVICE_PATH *devpath; local
45 (void **)&devpath);
47 devpath = NULL;
48 return (devpath);
54 EFI_DEVICE_PATH *devpath; local
58 (void **)&devpath);
60 devpath = NULL;
61 return (devpath);
65 efi_devpath_name(EFI_DEVICE_PATH *devpath) argument
70 if (devpath
93 efi_devpath_last_node(EFI_DEVICE_PATH *devpath) argument
104 efi_devpath_trim(EFI_DEVICE_PATH *devpath) argument
125 efi_devpath_handle(EFI_DEVICE_PATH *devpath) argument
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Daudio_link.c178 char devpath[PATH_MAX + 1]; local
203 (void) snprintf(devpath, sizeof (devpath), "%s:%s", tmp, mn);
279 (void) strlcpy(devpath, newpath, sizeof (devpath));
280 if (devfsadm_enumerate_int(devpath, 0, &buf, rules, 1)) {
/illumos-gate/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_acpi.c72 char *devpath; local
/illumos-gate/usr/src/cmd/xhci/
H A Dxhci_portsc.c299 char devpath[PATH_MAX]; local
351 if (snprintf(devpath, sizeof (devpath), "/devices/%s",
352 xp_devpath) >= sizeof (devpath))
357 xp_path = devpath;
/illumos-gate/usr/src/psm/stand/boot/sparc/common/
H A Dramdisk.c249 create_ramdisk(char *ramdisk_name, size_t size, char **devpath) argument
297 if (devpath != NULL) {
300 *devpath = strdup(tdevpath);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Ddev.c136 char *devpath = NULL; local
156 err = nvlist_lookup_string(nvl, FM_FMRI_DEV_PATH, &devpath);
157 if (err != 0 || devpath == NULL)
180 * device-path part; the devpath should always start with a /
192 topo_fmristr_build(&size, buf, buflen, devpath,
239 char *devpath; local
257 * an empty devpath string.
272 * If not a colon then it must be the / that begins the devpath.
278 * Look ahead to the "/" that starts the devpath. If not
281 eos = devpath
378 char *devpath = NULL; local
458 char *devpath = NULL; local
539 char *devpath = NULL; local
586 char *devpath = NULL; local
[all...]
/illumos-gate/usr/src/cmd/fcinfo/
H A DprintAttrs.c307 printLUNInfo(struct scsi_inquiry *inq, HBA_UINT32 scsiLUN, char *devpath) { argument
335 fprintf(stdout, gettext("\t OS Device Name: %s\n"), devpath);
/illumos-gate/usr/src/cmd/hal/utils/
H A Dfsutils.c38 dos_to_dev(char *path, char **devpath, int *num) argument
49 *devpath = strdup(path);
51 return (*devpath != NULL);
/illumos-gate/usr/src/cmd/cdrw/
H A Dmain.c198 char *devpath; local
201 devpath = (char *)my_zalloc(PATH_MAX);
202 if (lookup_device(tgtdev, devpath)) {
203 target = get_device(tgtdev, devpath);
205 free(devpath);
/illumos-gate/usr/src/lib/storage/libg_fc/common/hdrs/
H A Dg_state.h154 char *devpath; member in struct:mplist_struct
/illumos-gate/usr/src/lib/storage/libg_fc/common/
H A Dio.c732 * devpath: Valid block device path.
746 g_devid_get(char *devpath, ddi_devid_t *devid, di_node_t root, argument
756 if (devpath == NULL || devid == NULL || drvr_name == NULL) {
771 if (strstr(devpath, DEV_PREFIX)) {
772 strcat(rootpath, devpath + strlen(DEV_PREFIX) - 1);
773 if (strchr(devpath, ':')) {
/illumos-gate/usr/src/uts/common/os/
H A Dretire_store.c318 e_ddi_retire_persist(char *devpath) argument
325 STORE_DBG((CE_NOTE, "e_ddi_retire_persist: entered: %s", devpath));
328 new_rsp->rst_devpath = new_path = i_ddi_strdup(devpath, KM_SLEEP);
339 if (strcmp(devpath, rsp->rst_devpath) == 0) {
347 ": %s", devpath));
362 STORE_DBG((CE_NOTE, "store: New, added to list, dirty: %s", devpath));
368 e_ddi_retire_unpersist(char *devpath) argument
375 STORE_DBG((CE_NOTE, "e_ddi_retire_unpersist: entered: %s", devpath));
382 if (strcmp(devpath, rsp->rst_devpath) != 0)
389 devpath));
404 e_ddi_device_retired(char *devpath) argument
[all...]
/illumos-gate/usr/src/lib/libdevid/
H A Ddeviceid.c201 char *devpath = (char *)di_devlink_path(dl); local
203 if (strncmp(devpath, cbip->cbi_search_path,
205 if (nmlist_add(cbip->cbi_nlhp, devpath) == NULL) {

Completed in 264 milliseconds

12345