Lines Matching refs:uuid
35 uuid_t uuid; member
52 if (uuid_equal(&st->uuid, sw->uuid)) in __nvm_get_auth_status()
74 if (WARN_ON(!sw->uuid)) in nvm_set_auth_status()
85 memcpy(&st->uuid, sw->uuid, sizeof(st->uuid)); in nvm_set_auth_status()
978 return sprintf(buf, "%pUb\n", sw->uuid); in unique_id_show()
1038 kfree(sw->uuid); in tb_switch_release()
1269 u32 uuid[4]; in tb_switch_set_uuid() local
1272 if (sw->uuid) in tb_switch_set_uuid()
1281 tb_sw_read(sw, uuid, TB_CFG_SWITCH, cap + 3, 4); in tb_switch_set_uuid()
1289 uuid[0] = sw->uid & 0xffffffff; in tb_switch_set_uuid()
1290 uuid[1] = (sw->uid >> 32) & 0xffffffff; in tb_switch_set_uuid()
1291 uuid[2] = 0xffffffff; in tb_switch_set_uuid()
1292 uuid[3] = 0xffffffff; in tb_switch_set_uuid()
1295 sw->uuid = kmemdup(uuid, sizeof(uuid), GFP_KERNEL); in tb_switch_set_uuid()
1555 const uuid_t *uuid; member
1569 if (lookup->uuid) in tb_switch_match()
1570 return !memcmp(sw->uuid, lookup->uuid, sizeof(*lookup->uuid)); in tb_switch_match()
1618 struct tb_switch *tb_switch_find_by_uuid(struct tb *tb, const uuid_t *uuid) in tb_switch_find_by_uuid() argument
1625 lookup.uuid = uuid; in tb_switch_find_by_uuid()