Searched refs:devid (Results 1 - 25 of 67) sorted by relevance

123

/osnet-11/usr/src/lib/libdevid/
H A Dinc.flg29 find_files "s.*" usr/src/common/devid
H A DMakefile.com26 OBJECTS= deviceid.o devid.o devid_scsi.o devid_smp.o
31 SRCS = ../deviceid.c $(SRC)/common/devid/devid.c \
32 $(SRC)/common/devid/devid_scsi.c \
33 $(SRC)/common/devid/devid_smp.c
51 pics/devid.o: $(SRC)/common/devid/devid.c
52 $(COMPILE.c) -o $@ $(SRC)/common/devid/devid
[all...]
H A Dlibdevid.h34 #include <devid.h>
47 uchar_t *inq83, size_t inq83_len, ddi_devid_t *devid);
51 ddi_devid_t *devid);
53 extern char *devid_to_guid(ddi_devid_t devid);
H A Ddeviceid.c208 * Convert the specified devid/minor_name into a devid_nmlist_t array
221 ddi_devid_t devid,
255 /* translate devid/minor_name to /devices paths */
256 again: if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, NULL) != 0)
260 if (modctl(MODDEVID2PATHS, devid, minor_name, 0, &lens, paths) != 0) {
286 * iterate over all the devtspectype resolutions of the devid and
219 devid_deviceid_to_nmlist( char *search_path, ddi_devid_t devid, char *minor_name, devid_nmlist_t **retlist) argument
/osnet-11/usr/src/grub/grub2/grub-core/fs/zfs/
H A Dzfsinfo.c96 char *devid = 0; local
118 devid = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_DEVID);
120 if (!devid)
123 grub_printf_ (N_("Devid: %s\n"), devid);
125 grub_free (devid);
175 char **devid)
194 *devid = 0;
200 *devid = grub_zfs_nvlist_lookup_string (nvlist, ZPOOL_CONFIG_DEVID);
225 get_bootpath (child, devguid, bootpath, devid);
229 if (*bootpath || *devid)
174 get_bootpath(char *nvlist, grub_uint64_t devguid, char **bootpath, char **devid) argument
332 char *bootpath = 0, *devid = 0; local
429 char *bootpath = 0, *devid = 0; local
[all...]
/osnet-11/usr/src/lib/libdiskmgt/common/
H A Dpath.c183 ddi_devid_t devid; local
188 if (devid_str_decode(dp->name, &devid, NULL) != 0) {
195 if (pp->disks[i]->devid != NULL &&
196 devid_compare(pp->disks[i]->devid, devid) == 0) {
206 devid_free(devid);
221 ddi_devid_t devid; local
226 if (devid_str_decode(dp->name, &devid, NULL) != 0) {
233 if (pp->disks[i]->devid != NULL &&
234 devid_compare(pp->disks[i]->devid, devi
[all...]
H A Dpartition.h39 #include <devid.h>
H A Dfindevs.c37 #include <devid.h>
54 #define DEVICE_ID_PROP "devid"
103 static disk_t *get_disk_by_deviceid(disk_t *listp, char *devid);
115 static int have_disk(struct search_args *args, char *devid,
456 * by kernel name or devid.
894 diskp->devid = NULL;
900 (void) devid_str_decode(deviceid, &(diskp->devid), NULL);
1138 ddi_devid_t devid; local
1144 if (devid_get(fd, &devid) == 0) {
1151 devid_str_encode(devid, mino
1266 ddi_devid_t devid; local
[all...]
H A Dcache.c266 if (dp->devid != NULL) {
267 devid_free(dp->devid);
825 if (oldp->devid != NULL) {
826 if (newp->devid != NULL &&
827 devid_compare(oldp->devid, newp->devid) == 0) {
833 if (newp->devid == NULL) {
/osnet-11/usr/src/lib/fm/topo/libtopo/common/
H A Ddev.c135 char *devid = NULL, *tpl0id = NULL; local
145 /* Get devid, if present */
146 err = nvlist_lookup_string(nvl, FM_FMRI_DEV_ID, &devid);
171 /* device-id part, topo_fmristr_build does nothing if devid is NULL */
173 buf, buflen, devid, ":" FM_FMRI_DEV_ID "=", NULL);
183 * there is a devid component so we continue to do that
187 * dev:///<devid-and-tpl0>//pci@0,0/...
189 * where <devid-and-tpl0> =
190 * [:devid=<devid>][
236 char *cur, *devid = NULL, *tpl0id = NULL; local
382 char *devid; local
[all...]
/osnet-11/usr/src/lib/fm/libdisklog/common/
H A Dlibdisklog.h57 char devid[MAXNAMELEN]; member in struct:dl_logging_args
/osnet-11/usr/src/grub/grub-0.97/netboot/
H A Dconfig.c54 dev->devid.bus_type = PCI_BUS_TYPE;
55 dev->devid.vendor_id = htons(state->dev.vendor);
56 dev->devid.device_id = htons(state->dev.dev_id);
103 dev->devid.bus_type = ISA_BUS_TYPE;
H A Ddev.h49 struct dev_id devid; /* device ID string (sent to DHCP server) */ member in struct:dev
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_se_notify.c200 do_mdnotify(char *se_subclass, uint32_t tag, set_t setno, md_dev64_t devid) argument
222 NOTIFY_MD(md_tag, setno, devid, ev_type);
324 md_dev64_t devid
333 do_mdnotify(se_subclass, tag, setno, devid);
365 (uint64_t)devid);
371 devname = obj2devname(tag, setno, devid);
H A Dmeta_print.c365 * meta_print_devid: print out the devid information, given a mddevid_t list.
384 char *devid = ""; local
419 devid = "-";
423 devid = devid_str_encode(did, NULL);
430 reloc, devid) < 0)
436 devid_str_free(devid);
H A Dmeta_set_tkr.c57 ddi_devid_t devid; local
86 if (p->dd_dnp->devid != NULL && r->r_devid != NULL) {
87 (void) devid_str_decode(p->dd_dnp->devid,
88 &devid, NULL);
89 if ((devid_compare(devid, r->r_devid) == 0) ||
93 devid_free(devid);
327 ddi_devid_t devid = NULL; local
366 /* if devid_str_decode fails, make sure devid is null */
367 if (devid_str_decode(dnp->devid, &devid, NUL
[all...]
H A Dmeta_namespace.c244 if ((nm.devid = (uintptr_t)malloc(nm.devid_size)) == NULL) {
249 (void) free((void *)(uintptr_t)nm.devid);
253 return ((void *)(uintptr_t)nm.devid);
257 * set the devid.
285 * the initial add so that the correct devid is picked up.
288 * get the devid. If the wrong side is used then it would
289 * be possible to get the wrong devid in the namespace, hence
297 * on the devid.
396 * The arguments, minorname and devid, are only used with the partial
408 ddi_devid_t devid, /* onl
400 add_name( mdsetname_t *sp, side_t sideno, mdkey_t key, char *dname, minor_t mnum, char *bname, char *minorname, ddi_devid_t devid, md_error_t *ep ) argument
[all...]
H A Dmeta_check.c43 #include <devid.h>
57 ddi_devid_t devid; member in struct:dev_list
483 ddi_devid_t devid /* device id */
490 dnlp->devid = devid;
500 * Differentiate between matching on name/dev_t and devid. In the latter
542 * Case 2 - Both devices have a devid
544 * devices have a devid then the compare will is all
547 * Case 3 - One or more devices does not have a devid
591 * use its devid
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/ses/common/
H A Dses_dev.c28 #include <devid.h>
375 ses_di_node_add(di_node_t node, char *devid, ses_cbdata_t *cbp) argument
384 * NOTE: if there is no devid, then we can end up with duplicate
387 if (devid) {
388 /* Check for duplicate using devid search. */
392 devid_str_compare(dnode->sdn_devid, devid) == 0) {
394 "already there %s\n", devid);
407 if (devid) {
408 dnode->sdn_devid = topo_mod_strdup(mod, devid);
438 devid
[all...]
/osnet-11/usr/src/lib/libipmi/common/
H A Dipmi_fru.c55 uint8_t count, devid; local
60 devid = fru_loc->_devid_or_slaveaddr._logical._is_fl_devid;
67 cmd.ic_data = &devid;
86 cmd_data_in.ifr_devid = devid;
H A Dipmi_user.c188 ipmi_deviceid_t *devid; local
208 if ((devid = ipmi_get_deviceid(ihp)) == NULL)
211 if (!ipmi_is_sun_ilom(devid))
/osnet-11/usr/src/lib/libstmf/common/
H A Dlibstmf.h172 /* devid code set and name types */
219 stmfDevid devid[1]; member in struct:_stmfDevidList
309 stmfDevid devid; member in struct:_stmfTargetProperties
364 int stmfDevidFromIscsiName(char *iscsiName, stmfDevid *devid);
365 int stmfDevidFromWwn(uchar_t wwn[8], stmfDevid *devid);
413 int stmfOfflineTarget(stmfDevid *devid);
416 int stmfOnlineTarget(stmfDevid *devid);
/osnet-11/usr/src/lib/fm/topo/modules/common/disk/common/
H A Ddisk_common.c37 #include <devid.h>
103 * group: io properties: devfs-path, devid
180 /* create/set the devfs-path and devid in the io group */
197 "set devid error %s\n", topo_strerror(err));
555 * declares the disk node with given the device devid.
556 * The devid should be the resulted value from from devid_str_encode().
565 const char *devid)
576 (devid_str_compare(dnode->ddn_devid, (char *)devid) == 0)) {
578 "found disk matching devid %s", devid);
564 disk_declare_devid(topo_mod_t *mod, tnode_t *parent, topo_list_t *listp, const char *devid) argument
994 dev_di_node_add(di_node_t node, char *devid, disk_cbdata_t *cbp) argument
[all...]
/osnet-11/usr/src/lib/fm/topo/modules/common/bay/common/
H A Dbay_subr.c26 #include <devid.h>
316 * Get the devid property from the disk node matching the path passed in.
326 char *devid = NULL; local
337 dnode, DEVID_PROP_NAME, &devid);
339 topo_mod_dprintf(mod, "%s: no devid "
352 /* find the child matching the phy and grab the devid prop */
372 if (devid != NULL) {
373 topo_mod_dprintf(mod, "%s: devid for %s:%d: %s\n", f,
374 bp->hba_nm, bp->phy, devid);
375 return (topo_mod_strdup(mod, devid));
[all...]
/osnet-11/usr/src/lib/storage/libg_fc/common/
H A Dio.c61 #include <devid.h>
728 * Retrieves a devid from a device path.
735 * devid: ptr to ddi_devid_t struct
738 * On success, devid points to device tree handle to devid
739 * di_fini on root will invalidate devid pointer
746 g_devid_get(char *devpath, ddi_devid_t *devid, di_node_t root, argument
756 if (devpath == NULL || devid == NULL || drvr_name == NULL) {
764 *devid = NULL;
795 *devid
[all...]

Completed in 80 milliseconds

123