1nvme_set_features_write_protectl2i(b9n)vme API mannvumael_set_features_write_protect2(9)
2
3
4
6 nvme_set_features_write_protect2 - Set write protect feature
7
9 int nvme_set_features_write_protect2 (int fd , __u32 nsid , enum
10 nvme_feat_nswpcfg_state state , bool save , __u32 *result );
11
13 fd File descriptor of nvme device
14
15 nsid Namespace ID
16
17 state Write Protection State
18
19 save Save value across power states
20
21 result The command completion result from CQE dword0
22
24 The nvme command status if a response was received (see enum nvme_sta‐
25 tus_field) or -1 with errno set otherwise.
26
27
28
29October 2023 nvme_set_features_wrintvem_ep_rsoette_cfte2atures_write_protect2(9)