Lines Matching refs:uuid
34 uuid_t uuid; member
51 if (uuid_equal(&st->uuid, sw->uuid)) in __nvm_get_auth_status()
73 if (WARN_ON(!sw->uuid)) in nvm_set_auth_status()
84 memcpy(&st->uuid, sw->uuid, sizeof(st->uuid)); in nvm_set_auth_status()
1313 return sprintf(buf, "%pUb\n", sw->uuid); in unique_id_show()
1396 kfree(sw->uuid); in tb_switch_release()
1657 u32 uuid[4]; in tb_switch_set_uuid() local
1660 if (sw->uuid) in tb_switch_set_uuid()
1667 ret = tb_lc_read_uuid(sw, uuid); in tb_switch_set_uuid()
1675 uuid[0] = sw->uid & 0xffffffff; in tb_switch_set_uuid()
1676 uuid[1] = (sw->uid >> 32) & 0xffffffff; in tb_switch_set_uuid()
1677 uuid[2] = 0xffffffff; in tb_switch_set_uuid()
1678 uuid[3] = 0xffffffff; in tb_switch_set_uuid()
1681 sw->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); in tb_switch_set_uuid()
1682 if (!sw->uuid) in tb_switch_set_uuid()
1990 const uuid_t *uuid; member
2004 if (lookup->uuid) in tb_switch_match()
2005 return !memcmp(sw->uuid, lookup->uuid, sizeof(*lookup->uuid)); in tb_switch_match()
2053 struct tb_switch *tb_switch_find_by_uuid(struct tb *tb, const uuid_t *uuid) in tb_switch_find_by_uuid() argument
2060 lookup.uuid = uuid; in tb_switch_find_by_uuid()