Scroll to navigation

nvme_init_set_features_bp_write_protect(2) libnvme API manual nvme_init_set_features_bp_write_protect(2)

NAME

nvme_init_set_features_bp_write_protect - Initialize passthru command for Boot Partition Write Protection Config

SYNOPSIS

void nvme_init_set_features_bp_write_protect (struct libnvme_passthru_cmd *cmd , bool sv , __u8 bp0wps , __u8 bp1wps );

ARGUMENTS

Passthru command to use
Save value across power states
Boot Partition 0 Write Protection State (BP0WPS)
Boot Partition 1 Write Protection State (BP1WPS)

DESCRIPTION

Initializes the passthru command buffer for the Set Features command with FID value NVME_FEAT_FID_BP_WRITE_PROTECT

nvme_init_set_features_bp_write_protect October 2026