summaryrefslogtreecommitdiffstats
path: root/plugins/zns/zns.h
blob: a92de69c5214bda6ebf30f598ce4219c87891346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#undef CMD_INC_FILE
#define CMD_INC_FILE plugins/zns/zns

#if !defined(ZNS_NVME) || defined(CMD_HEADER_MULTI_READ)
#define ZNS_NVME

#include "cmd.h"

PLUGIN(NAME("zns", "Zoned Namespace Command Set"),
	COMMAND_LIST(
		ENTRY("id-ctrl", "Retrieve ZNS controller identification", id_ctrl)
		ENTRY("id-ns", "Retrieve ZNS namespace identification", id_ns)
		ENTRY("zone-mgmt-recv", "Sends the zone management receive command", zone_mgmt_recv)
		ENTRY("zone-mgmt-send", "Sends the zone management send command", zone_mgmt_send)
		ENTRY("report-zones", "Retrieve the Report Zones report", report_zones)
		ENTRY("close-zone", "Closes one or more zones", close_zone)
		ENTRY("finish-zone", "Finishes one or more zones", finish_zone)
		ENTRY("open-zone", "Opens one or more zones", open_zone)
		ENTRY("reset-zone", "Resets one or more zones", reset_zone)
		ENTRY("offline-zone", "Offlines one or more zones", offline_zone)
		ENTRY("set-zone-desc", "Attaches zone descriptor extension data", set_zone_desc)
		ENTRY("zone-append", "Writes data and metadata (if applicable), appended to the end of the requested zone", zone_append)
		ENTRY("changed-zone-list", "Retrieves the changed zone list log", changed_zone_list)
	)
);

#endif

#include "define_cmd.h"