Home
last modified time | relevance | path

Searched refs:p_mkey_str (Results 1 – 1 of 1) sorted by relevance

/freebsd/contrib/ofed/opensm/opensm/
H A Dosm_db_pack.c92 static inline void pack_mkey(uint64_t mkey, char *p_mkey_str) in pack_mkey() argument
94 sprintf(p_mkey_str, "0x%016" PRIx64, mkey); in pack_mkey()
97 static inline uint64_t unpack_mkey(char *p_mkey_str) in unpack_mkey() argument
99 return strtoull(p_mkey_str, NULL, 0); in unpack_mkey()
231 char *p_mkey_str; in osm_db_guid2mkey_get() local
234 p_mkey_str = osm_db_lookup(p_g2m, guid_str); in osm_db_guid2mkey_get()
235 if (!p_mkey_str) in osm_db_guid2mkey_get()
239 *p_mkey = unpack_mkey(p_mkey_str); in osm_db_guid2mkey_get()