Home
last modified time | relevance | path

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

/Linux-v5.10/include/uapi/linux/
Dsed-opal.h47 struct opal_key { struct
55 struct opal_key key; argument
65 struct opal_key opal_key; member
98 struct opal_key key;
104 struct opal_key key;
110 struct opal_key key;
124 struct opal_key key;
137 #define IOC_OPAL_TAKE_OWNERSHIP _IOW('p', 222, struct opal_key)
141 #define IOC_OPAL_REVERT_TPR _IOW('p', 226, struct opal_key)
147 #define IOC_OPAL_PSID_REVERT_TPR _IOW('p', 232, struct opal_key)
/Linux-v5.10/block/
Dsed-opal.c1353 lr = setup->session.opal_key.lr; in setup_locking_range()
1459 const struct opal_key *okey = data; in start_SIDASP_opal_session()
1478 struct opal_key *key = data; in start_admin1LSP_opal_session()
1487 const struct opal_key *okey = data; in start_PSID_opal_session()
1499 size_t keylen = session->opal_key.key_len; in start_auth_opal_session()
1502 u8 *key = session->opal_key.key; in start_auth_opal_session()
1507 session->opal_key.lr); in start_auth_opal_session()
1589 if (build_locking_range(uid, sizeof(uid), session->opal_key.lr) < 0) in erase_locking_range()
1692 cpin_uid[7] = usr->opal_key.lr + 1; in set_new_pw()
1697 if (generic_pw_cmd(usr->opal_key.key, usr->opal_key.key_len, in set_new_pw()
[all …]