Searched defs:guid (Results 1 - 25 of 79) sorted by relevance

1234

/illumos-gate/usr/src/boot/sys/boot/efi/libefi/
H A Defizfs.c52 efizfs_get_handle_by_guid(uint64_t guid) argument
57 if (zi->zi_pool_guid == guid) {
65 efizfs_get_guid_by_handle(EFI_HANDLE handle, uint64_t *guid) argument
69 if (guid == NULL)
73 *guid = zi->zi_pool_guid;
81 insert_zfs(EFI_HANDLE handle, uint64_t guid) argument
87 zi->zi_pool_guid = guid;
97 uint64_t guid; local
114 if (zfs_probe_dev(devname, &guid) == 0) {
115 insert_zfs(pd->pd_handle, guid);
[all...]
H A Dhandles.c103 uint64_t guid)
113 entry[idx].extra = guid;
102 efi_handle_update_dev(EFI_HANDLE h, struct devsw *dev, int unit, uint64_t guid) argument
H A Denv.c285 efi_guid_to_str(const EFI_GUID *guid, char **sp) argument
289 uuid_to_string((const uuid_t *)guid, sp, &status);
294 efi_str_to_guid(const char *s, EFI_GUID *guid) argument
298 uuid_from_string(s, (uuid_t *)guid, &status);
303 efi_name_to_guid(const char *name, EFI_GUID *guid) argument
309 *guid = efi_uuid_mapping[i].efi_guid;
313 return (efi_str_to_guid(name, guid));
317 efi_guid_to_name(EFI_GUID *guid, char **name) argument
323 rv = uuid_equal((uuid_t *)guid,
332 return (efi_guid_to_str(guid, nam
937 EFI_GUID guid; local
976 EFI_GUID guid; local
1034 char *value = NULL, *guid = NULL; local
[all...]
/illumos-gate/usr/src/uts/common/sys/ib/clients/of/sol_uverbs/
H A Dsol_uverbs_hca.h70 ib_guid_t guid; member in struct:sol_uverbs_hca
/illumos-gate/usr/src/lib/libsrpt/common/
H A Dlibsrpt.c254 char guid[32]; local
261 ret = srpt_NormalizeGuid(hca_guid, guid, sizeof (guid), &hcaguid);
278 ret = nvlist_lookup_nvlist(hcalist, guid, &hcanv);
293 ret = nvlist_add_nvlist(hcalist, guid, hcanv);
328 char guid[32]; local
334 ret = srpt_NormalizeGuid(hca_guid, guid, sizeof (guid), NULL);
358 ret = nvlist_lookup_nvlist(hcalist, guid, &hcanv);
397 char guid[3 local
456 uint64_t guid; local
[all...]
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c66 * Attempt to convert the pool guid to a name.
96 uint64_t guid; local
99 (void) nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid);
101 if (search == guid)
132 find_vdev(zpool_handle_t *zhp, uint64_t guid) argument
140 return (find_vdev_iter(nvroot, guid));
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dgpt.h43 grub_uint8_t guid[16]; member in struct:grub_gpt_header
54 grub_uint8_t guid[16]; member in struct:grub_gpt_partentry
/illumos-gate/usr/src/cmd/availdevs/
H A Davaildevs.c122 uint64_t guid; local
132 nvlist_lookup_uint64(config, ZPOOL_CONFIG_POOL_GUID, &guid) ||
144 set_uint64_prop(pool, ATTR_POOL_ID, guid);
/illumos-gate/usr/src/cmd/stmfproxy/aluaadm/
H A Daluaadm.c94 unsigned int guid[sizeof (stmfGuid)]; local
112 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[5],
113 &guid[6], &guid[7], &guid[
[all...]
/illumos-gate/usr/src/common/zfs/
H A Dzfeature_common.c67 * Every feature guid must contain exactly one colon which separates a reverse
94 zfeature_is_supported(const char *guid) argument
101 if (strcmp(guid, feature->fi_guid) == 0)
145 zfeature_register(spa_feature_t fid, const char *guid, const char *name, argument
156 ASSERT(zfeature_is_valid_guid(guid));
165 feature->fi_guid = guid;
/illumos-gate/usr/src/lib/libsip/common/
H A Dsip_gids.c131 * generate a guid (globally unique id)
140 char *guid; local
146 guid = (char *)malloc(SIP_RANDOM_LEN + 1);
147 if (guid == NULL)
164 (void) snprintf(guid, SIP_RANDOM_LEN + 1, "%u%u", random, time);
165 guidlen = strlen(guid);
172 free(guid);
178 guid[i] = r[i];
182 return (guid);
191 char *guid; local
[all...]
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c51 #define PROP_HCA_GUID "hca-guid"
319 "process_ia: invalid properties: guid 0x%016llx, "
379 "process_ia: interface %s, hca guid 0x%016llx, port %d, "
556 "guid 0x%016llx, port %d, pkey 0x%x, version %d\n",
574 "rnum %d, guid 0x%016llx, port %d, pkey 0x%x\n",
625 ib_guid_t guid; local
643 sscanf(line_buf, "%s %llx %llx", host_buf, &prefix, &guid);
646 guid &= 0xfffffffffffffff0;
648 hca_ptr->node_GUID = guid;
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_fip.c443 ib_guid_t guid; local
554 bcopy(desc_iba->ia_guid, &guid, sizeof (ib_guid_t));
555 gwi->gw_guid = ntohll(guid);
576 bcopy(desc_gwid->id_guid, &guid, sizeof (ib_guid_t));
577 gwi->gw_system_guid = ntohll(guid);
/illumos-gate/usr/src/uts/common/io/
H A Dtphci.c463 tp_decode_name(char *devnm, char **cname, char **paddr, char **guid) argument
476 *guid = tmp + 1;
485 char *cname, *paddr, *guid, *devnm;
503 /* caddr is hardcoded in the form *,<guid> */
504 if (tp_decode_name(devnm, &cname, &paddr, &guid) != 0) {
512 rval = mdi_pi_alloc(parent, cname, guid, paddr, 0, &pip);
H A Dtvhci.c504 /* set devi_addr to "g<guid>" */
509 char *guid, *addr;
512 MDI_CLIENT_GUID_PROP, &guid) != DDI_SUCCESS) {
513 cmn_err(CE_NOTE, "tvhci_initchild - no guid property");
518 (void) snprintf(addr, MAXNAMELEN, "g%s", guid);
522 ddi_prop_free(guid);
534 /* form paddr by cname@<phci_inst>,<guid> */
536 tvh_get_phci_devname(char *cname, char *guid, argument
540 cname, ddi_get_instance(pdip), guid);
545 * Return a pointer to the guid par
567 char *guid; local
[all...]
/illumos-gate/usr/src/uts/common/sys/fibre-channel/ulp/
H A Dfcp_util.h89 uint8_t guid[256]; member in struct:fc_hba_mapping_entry
/illumos-gate/usr/src/uts/common/io/scsi/adapters/iscsi/
H A Discsi_lun.c69 struct scsi_inquiry *inq, char *guid)
131 if (guid != NULL) {
132 ilp->lun_guid_size = strlen(guid) + 1;
134 (void) strcpy(ilp->lun_guid, guid);
156 (guid != NULL)) {
68 iscsi_lun_create(iscsi_sess_t *isp, uint16_t lun_num, uint8_t lun_addr_type, struct scsi_inquiry *inq, char *guid) argument
/illumos-gate/usr/src/cmd/sbdadm/
H A Dsbdadm.c167 gettext("guid in use"));
239 gettext("guid in use"));
343 delGuid.guid[j] = inGuid[j];
415 unsigned int guid[sizeof (stmfGuid)]; local
442 &guid[0], &guid[1], &guid[2], &guid[3], &guid[4], &guid[
637 print_lu_attr(stmfGuid *guid) argument
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_initialize.c58 * We pass in the guid instead of the vdev_t since the vdev may
65 uint64_t guid = *(uint64_t *)arg; local
69 vdev_t *vd = spa_lookup_by_guid(tx->tx_pool->dp_spa, guid, B_FALSE);
109 * Copy the vd's guid, this will be freed by the sync task.
111 uint64_t *guid = kmem_zalloc(sizeof (uint64_t), KM_SLEEP);
112 *guid = vd->vdev_guid;
125 guid, 2, ZFS_SPACE_CHECK_NONE, tx); local
207 uint64_t *guid = kmem_zalloc(sizeof (uint64_t), KM_SLEEP); local
208 *guid = vd->vdev_guid;
212 vdev_initialize_zap_update_sync, guid, local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/scsi_vhci/
H A Dscsi_vhci.c62 static int i_vhcilun(uintptr_t addr, uint_t display_single_guid, char *guid);
77 { "vhciguid", NULL, "list all clients or given a guid, list one client",
207 * Get client info given a guid.
534 i_vhcilun(uintptr_t addr, uint_t display_single_guid, char *guid) argument
556 if (strcmp(string_val, guid) == 0) {
/illumos-gate/usr/src/uts/common/io/ib/mgt/ibdma/
H A Dibdma.c94 static ibdma_hca_t *ibdma_hca_init(ib_guid_t guid);
96 static ibdma_hca_t *ibdma_find_hca(ib_guid_t guid);
290 ib_guid_t *guid; local
307 hca_cnt = ibt_get_hca_list(&guid);
321 (u_longlong_t)guid[hca_ndx]);
324 hca = ibdma_hca_init(guid[hca_ndx]);
327 " failed", (u_longlong_t)guid[hca_ndx]);
336 ibt_free_hca_list(guid, hca_cnt);
380 ibdma_find_hca(ib_guid_t guid) argument
388 if (hca->ih_iou_guid == guid) {
400 ibdma_hca_init(ib_guid_t guid) argument
[all...]
/illumos-gate/usr/src/uts/common/io/usb/clients/video/usbvc/
H A Dusbvc_v4l2.c729 usbvc_v4l2_guid2fcc(uint8_t *guid) argument
735 if (!memcmp((void *)guid, (void *) &y[0], 16)) {
740 if (!memcmp((void *)guid, (void *) &n, 16)) {
814 /* Find the proper format group according to compress type and guid */
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c100 uint64_t guid; local
111 if (nvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID, &guid) == 0 &&
112 guid == search_guid)
/illumos-gate/usr/src/common/devid/
H A Ddevid_scsi.c29 * Solaris devid / guid values.
530 * initialized to return a valid guid information.
550 /* First lets check if the guid is filled with spaces */
559 * saying that it has an uninitialized guid
562 /* guid filled with spaces found */
568 * now lets ensure that the guid is not filled with only
577 /* guid filled with zeros found */
1141 * Description: This routine extracts a guid string form a devid.
1142 * The common use of this guid is for a HBA driver
1145 * Arguments: devid - devid to extract guid fro
1161 char *guid = NULL; local
1204 ddi_devid_free_guid(char *guid) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libmlsvc/common/
H A Dnetdfs.c1108 if (!netdfs_guid_fromstr(info->i_guid, &info4->guid))
1141 if (!netdfs_guid_fromstr(info->i_guid, &info5->guid))
1176 if (!netdfs_guid_fromstr(info->i_guid, &info6->guid))
1370 * Converts the guid string into binary format in network byte order.
1373 netdfs_guid_fromstr(char *guid_str, netdfs_uuid_t *guid) argument
1380 bcopy(&uuid, guid, sizeof (uuid_t));
1382 guid->data1 = htonl(guid->data1);
1383 guid->data2 = htons(guid
[all...]

Completed in 195 milliseconds

1234