/freebsd-current/stand/efi/libefi/ |
H A D | efizfs.c | 52 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 88 zi->zi_pool_guid = guid; 99 uint64_t guid; local 114 guid = 0; 115 if (zfs_probe_dev(devname, &guid, fals [all...] |
/freebsd-current/libexec/rc/rc.d/ |
H A D | opensm | 22 for guid in `ibstat | grep "Port GUID" | cut -d ':' -f2`; do 23 [ -z "${rc_quiet}" ] && echo "Starting ${guid} opensm." 24 ${command} ${command_args} -g ${guid} >> /dev/null
|
/freebsd-current/lib/libefivar/ |
H A D | efivar.c | 78 { "ffffffff-ffff-ffff-ffff-ffffffffffff", "zzignore-this-guid", Z }, 92 uuid_from_string(guid_tbl[i].uuid_str, &guid_tbl[i].guid, 145 efi_append_variable(efi_guid_t guid, const char *name, argument 149 return efi_set_variable(guid, name, data, data_size, 154 efi_del_variable(efi_guid_t guid, const char *name) argument 158 return efi_set_variable(guid, name, NULL, 0, 0); 162 efi_get_variable(efi_guid_t guid, const char *name, argument 176 var.vendor = guid; 193 efi_get_variable_attributes(efi_guid_t guid, const char *name, argument 198 return efi_get_variable(guid, nam 202 efi_get_variable_size(efi_guid_t guid, const char *name, size_t *size) argument 213 efi_get_next_variable_name(efi_guid_t **guid, char **name) argument 296 efi_guid_is_zero(const efi_guid_t *guid) argument 304 efi_guid_to_name(efi_guid_t *guid, char **name) argument 331 efi_guid_to_str(const efi_guid_t *guid, char **sp) argument 342 efi_name_to_guid(const char *name, efi_guid_t *guid) argument 357 efi_set_variable(efi_guid_t guid, const char *name, uint8_t *data, size_t data_size, uint32_t attributes) argument 382 efi_str_to_guid(const char *s, efi_guid_t *guid) argument [all...] |
H A D | efivar.h | 67 int efi_append_variable(efi_guid_t guid, const char *name, 69 int efi_del_variable(efi_guid_t guid, const char *name); 70 int efi_get_variable(efi_guid_t guid, const char *name, 72 int efi_get_variable_attributes(efi_guid_t guid, const char *name, 74 int efi_get_variable_size(efi_guid_t guid, const char *name, size_t *size); 75 int efi_get_next_variable_name(efi_guid_t **guid, char **name); 78 int efi_guid_to_name(efi_guid_t *guid, char **name); 79 int efi_guid_to_symbol(efi_guid_t *guid, char **symbol); 80 int efi_guid_to_str(const efi_guid_t *guid, char **sp); 81 int efi_name_to_guid(const char *name, efi_guid_t *guid); 92 efi_guid_t guid; member in struct:uuid_table [all...] |
/freebsd-current/lib/libdevdctl/ |
H A D | guid.h | 51 * value INVALID_GUID that does not equal any valid guid. 55 * refuses to return a guid of 0. So this class uses 0 as the value 57 * guid, the implementation of this class must change. 63 /* Default constructor: an Invalid guid */ 65 /* Construct a guid from a provided integer */ 66 Guid(uint64_t guid); 67 /* Construct a guid from a string in base 8, 10, or 16 */ 68 Guid(const std::string &guid); 71 /* Test the validity of this guid. */ 97 Guid::Guid(uint64_t guid) argument [all...] |
H A D | Makefile | 7 guid.h 12 guid.cc
|
/freebsd-current/contrib/ofed/opensm/opensm/ |
H A D | osm_db_pack.c | 46 static inline void pack_guid(uint64_t guid, char *p_guid_str) argument 48 sprintf(p_guid_str, "0x%016" PRIx64, guid); 102 static inline void pack_neighbor(uint64_t guid, uint8_t portnum, char *p_str) argument 104 sprintf(p_str, "0x%016" PRIx64 ":%u", guid, portnum); 107 static inline int unpack_neighbor(char *p_str, uint64_t *guid, argument 119 if (guid) 120 *guid = strtoull(p_num, NULL, 0); 152 p_guid_elem->guid = unpack_guid(p_key); 160 int osm_db_guid2lid_get(IN osm_db_domain_t * p_g2l, IN uint64_t guid, argument 167 pack_guid(guid, guid_st 182 osm_db_guid2lid_set(IN osm_db_domain_t * p_g2l, IN uint64_t guid, IN uint16_t min_lid, IN uint16_t max_lid) argument 194 osm_db_guid2lid_delete(IN osm_db_domain_t * p_g2l, IN uint64_t guid) argument 227 osm_db_guid2mkey_get(IN osm_db_domain_t * p_g2m, IN uint64_t guid, OUT uint64_t * p_mkey) argument 244 osm_db_guid2mkey_set(IN osm_db_domain_t * p_g2m, IN uint64_t guid, IN uint64_t mkey) argument 256 osm_db_guid2mkey_delete(IN osm_db_domain_t * p_g2m, IN uint64_t guid) argument 326 osm_db_neighbor_delete(IN osm_db_domain_t * p_neighbor, IN uint64_t guid, IN uint8_t portnum) argument [all...] |
H A D | osm_ucast_file.c | 58 static uint16_t remap_lid(osm_opensm_t * p_osm, uint16_t lid, ib_net64_t guid) argument 64 p_port = osm_get_port_by_guid(&p_osm->subn, guid); 67 "cannot find port guid 0x%016" PRIx64 68 " , will use the same lid\n", cl_ntoh64(guid)); 110 uint16_t lid, ib_net64_t guid, 171 q = strstr(p, " guid 0x"); 184 "cannot parse switch guid: \'%s\'\n", 231 /* additionally try to extract guid */ 236 "cannot find port guid " 246 "cannot parse port guid " 109 add_lid_hops(osm_opensm_t * p_osm, osm_switch_t * p_sw, uint16_t lid, ib_net64_t guid, uint8_t hops[], unsigned len) argument 269 ib_net64_t guid; local [all...] |
/freebsd-current/contrib/ofed/opensm/include/opensm/ |
H A D | osm_db_pack.h | 45 * guid2lid - key is a guid and data is a lid. 105 uint64_t guid; member in struct:osm_db_guid_elem 112 * guid 121 * Provides back a list of guid elements. 133 * [out] A quick list of guid elements of type osm_db_guid_elem_t 151 * Get a lid range by given guid. 155 int osm_db_guid2lid_get(IN osm_db_domain_t * p_g2l, IN uint64_t guid, 162 * guid 163 * [in] The guid to look for 184 * Set a lid range for the given guid 421 uint64_t guid; member in struct:osm_db_neighbor_elem [all...] |
H A D | osm_perfmgr_db.h | 162 perfmgr_db_err_t perfmgr_db_create_entry(perfmgr_db_t * db, uint64_t guid, 165 perfmgr_db_err_t perfmgr_db_delete_entry(perfmgr_db_t * db, uint64_t guid); 171 perfmgr_db_err_t perfmgr_db_add_err_reading(perfmgr_db_t * db, uint64_t guid, 174 perfmgr_db_err_t perfmgr_db_get_prev_err(perfmgr_db_t * db, uint64_t guid, 177 perfmgr_db_err_t perfmgr_db_clear_prev_err(perfmgr_db_t * db, uint64_t guid, 180 perfmgr_db_err_t perfmgr_db_add_dc_reading(perfmgr_db_t * db, uint64_t guid, 185 perfmgr_db_err_t perfmgr_db_get_prev_dc(perfmgr_db_t * db, uint64_t guid, 189 perfmgr_db_err_t perfmgr_db_clear_prev_dc(perfmgr_db_t * db, uint64_t guid, 192 perfmgr_db_err_t perfmgr_db_mark_active(perfmgr_db_t *db, uint64_t guid, 201 void perfmgr_db_print_by_guid(perfmgr_db_t * db, uint64_t guid, FIL [all...] |
H A D | osm_prefix_route.h | 55 ib_net64_t guid; /* zero means "any" */ member in struct:__anon5818
|
H A D | osm_partition.h | 202 IN ib_net64_t guid) 204 return (cl_map_get(&p_prtn->full_guid_tbl, guid) != NULL) || 205 (cl_map_get(&p_prtn->part_guid_tbl, guid) != NULL); 213 * guid 201 osm_prtn_is_guid(IN const osm_prtn_t * p_prtn, IN ib_net64_t guid) argument
|
/freebsd-current/usr.sbin/efivar/ |
H A D | efivar.c | 54 { "guid", no_argument, NULL, 'g' }, 64 { "raw-guid", no_argument, NULL, 'R' }, 84 "\t[--print] [--print-decimal] [--raw-guid] [--utf8] [--write]\n" 116 breakdown_name(char *name, efi_guid_t *guid, char **vname) argument 126 rep_errx(1, "Invalid guid in: %s", name); 133 if (efi_name_to_guid(name, guid) >= 0) 157 efi_guid_t guid; local 161 breakdown_name(name, &guid, &vname); 163 if (efi_append_variable(guid, vname, data, datalen, attrib) < 0) 171 efi_guid_t guid; local 182 efi_guid_t guid; local 205 pretty_guid(efi_guid_t *guid, char **gname) argument 219 print_var(efi_guid_t *guid, char *name) argument 278 efi_guid_t guid; local 289 efi_guid_t *guid = NULL; local [all...] |
/freebsd-current/contrib/ofed/opensm/include/vendor/ |
H A D | osm_vendor_mtl_hca_guid.h | 38 * Provides interface over VAPI for obtaining the local ports guids or from guid 64 ib_net64_t guid; member in struct:_osm_ca_info 72 * guid 123 * Given the vendor obj and a guid 124 * return the ca id and port number that have that guid 130 IN ib_net64_t const guid, 139 * guid 140 * [in] The guid to search for. 146 * [out] Pointer to a port number arg to be filled with the port number with the given guid. 150 * IB_INVALID_GUID if the guid i [all...] |
H A D | osm_vendor_mlx_hca.h | 57 IN ib_net64_t const guid,
|
/freebsd-current/contrib/ofed/opensm/complib/ |
H A D | cl_nodenamemap.c | 59 static int map_name(void *cxt, uint64_t guid, char *p) argument 71 item->guid = guid; 73 cl_qmap_insert(map, item->guid, (cl_map_item_t *) item); 131 item = (name_map_item_t *) cl_qmap_remove(map, item->guid); 184 uint64_t guid; local 193 guid = strtoull(p, &e, 0); 215 if (create(cxt, guid, p)) {
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_011_neg.ksh | 67 typeset guid=$(get_config $TESTPOOL1 pool_guid) 70 target=$guid 71 log_note "Import by guid."
|
/freebsd-current/tests/sys/cddl/zfs/tests/cli_root/zpool_import/ |
H A D | zpool_import_011_neg.ksh | 75 typeset guid=$(get_config $TESTPOOL1 pool_guid) 78 target=$guid 79 log_note "Import by guid."
|
H A D | zpool_import_missing_002_pos.ksh | 110 guid=$(get_config $TESTPOOL1 pool_guid $DEVICE_DIR) 111 log_note "*** Testing $typestr tvd guid $guid opts '${opts}'" 134 try_import $action $guid "$opts"
|
H A D | zpool_import_missing_001_pos.ksh | 130 guid=$(get_config $TESTPOOL1 pool_guid $DEVICE_DIR) 131 log_note "*** Testing $typestr tvd guid $guid opts '${opts}'" 156 perform_inner_test $action "${opts}" $guid
|
/freebsd-current/contrib/ofed/opensm/include/complib/ |
H A D | cl_nodenamemap.h | 47 uint64_t guid; member in struct:_name_map_item
|
/freebsd-current/sys/contrib/openzfs/lib/libzfs/ |
H A D | libzfs_import.c | 47 pool_active(libzfs_handle_t *hdl, const char *name, uint64_t guid, argument 65 *isactive = (theguid == guid); 107 pool_active_libzfs(void *handle, const char *name, uint64_t guid, argument 110 return (pool_active((libzfs_handle_t *)handle, name, guid, isactive)); 153 uint64_t state, guid, l2cache; local 166 /* Skip labels which do not have a valid guid. */ 168 &guid) != 0 || guid == 0) { 223 find_guid(nvlist_t *nv, uint64_t guid) argument 228 if (fnvlist_lookup_uint64(nv, ZPOOL_CONFIG_GUID) == guid) 260 uint64_t guid = fnvlist_lookup_uint64(list[i], local 285 uint64_t guid = 0, vdev_guid; local [all...] |
/freebsd-current/contrib/ofed/infiniband-diags/src/ |
H A D | ibcacheedit.c | 96 uint64_t *guid, 123 (*guid) = strtoull(guid_str, 0, 0); 176 port->guid = node->guid; 186 if (node->guid == guids->before) { 188 node->guid = guids->after; 221 if (node->guid != guids->searchguid) 228 * switches, so update switch guid too 230 if (node->guid == guids->before) { 231 node->guid 95 parse_guidbeforeafter(char *arg, uint64_t *guid, uint64_t *before, uint64_t *after) argument [all...] |
/freebsd-current/contrib/ofed/libibnetdisc/ |
H A D | ibnetdisc.h | 72 uint64_t guid; member in struct:ibnd_node 108 uint64_t guid; member in struct:ibnd_port 217 uint64_t guid); 231 uint64_t guid); 250 IBND_EXPORT int ibnd_is_xsigo_guid(uint64_t guid); 251 IBND_EXPORT int ibnd_is_xsigo_tca(uint64_t guid); 252 IBND_EXPORT int ibnd_is_xsigo_hca(uint64_t guid);
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/fault/ |
H A D | auto_replace_002_pos.ksh | 76 typeset guid=$3 81 vdev_guids=( $(zpool get -H -o value guid $pool all-vdevs) ) 83 if [ "${vdev_guids[$index]}" != "${guid}" ]; then 84 log_note "new vdev[$((index-2))]: ${vdev_guids[$index]}, replacing ${guid}" 113 vdev_guid=$(zpool get guid -H -o value $TESTPOOL $SD_DEVICE_ID) 114 log_note original vdev guid ${vdev_guid}
|