Home
last modified time | relevance | path

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

/linux-6.1.9/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;
149 #define IOC_OPAL_TAKE_OWNERSHIP _IOW('p', 222, struct opal_key)
153 #define IOC_OPAL_REVERT_TPR _IOW('p', 226, struct opal_key)
159 #define IOC_OPAL_PSID_REVERT_TPR _IOW('p', 232, struct opal_key)
/linux-6.1.9/block/
Dsed-opal.c1393 lr = setup->session.opal_key.lr; in setup_locking_range()
1499 const struct opal_key *okey = data; in start_SIDASP_opal_session()
1518 struct opal_key *key = data; in start_admin1LSP_opal_session()
1527 const struct opal_key *okey = data; in start_PSID_opal_session()
1539 size_t keylen = session->opal_key.key_len; in start_auth_opal_session()
1542 u8 *key = session->opal_key.key; in start_auth_opal_session()
1547 session->opal_key.lr); in start_auth_opal_session()
1629 if (build_locking_range(uid, sizeof(uid), session->opal_key.lr) < 0) in erase_locking_range()
1732 cpin_uid[7] = usr->opal_key.lr + 1; in set_new_pw()
1737 if (generic_pw_cmd(usr->opal_key.key, usr->opal_key.key_len, in set_new_pw()
[all …]