nvmecontrol.h (253114) | nvmecontrol.h (253116) |
---|---|
1/*- 2 * Copyright (C) 2012-2013 Intel Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * | 1/*- 2 * Copyright (C) 2012-2013 Intel Corporation 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24 * SUCH DAMAGE. 25 * |
26 * $FreeBSD: head/sbin/nvmecontrol/nvmecontrol.h 253114 2013-07-09 21:31:21Z jimharris $ | 26 * $FreeBSD: head/sbin/nvmecontrol/nvmecontrol.h 253116 2013-07-09 21:33:12Z jimharris $ |
27 */ 28 29#ifndef __NVMECONTROL_H__ 30#define __NVMECONTROL_H__ 31 32#include <dev/nvme/nvme.h> 33 34#define NVME_CTRLR_PREFIX "nvme" 35#define NVME_NS_PREFIX "ns" 36 37#define DEVLIST_USAGE \ 38" nvmecontrol devlist\n" 39 40#define IDENTIFY_USAGE \ | 27 */ 28 29#ifndef __NVMECONTROL_H__ 30#define __NVMECONTROL_H__ 31 32#include <dev/nvme/nvme.h> 33 34#define NVME_CTRLR_PREFIX "nvme" 35#define NVME_NS_PREFIX "ns" 36 37#define DEVLIST_USAGE \ 38" nvmecontrol devlist\n" 39 40#define IDENTIFY_USAGE \ |
41" nvmecontrol identify | 41" nvmecontrol identify [-x [-v]] <controller id|namespace id>\n" |
42 43#define PERFTEST_USAGE \ 44" nvmecontrol perftest <-n num_threads> <-o read|write>\n" \ 45" <-s size_in_bytes> <-t time_in_seconds>\n" \ 46" <-i intr|wait> [-f refthread] [-p]\n" \ 47" <namespace id>\n" 48 49#define RESET_USAGE \ --- 25 unchanged lines hidden --- | 42 43#define PERFTEST_USAGE \ 44" nvmecontrol perftest <-n num_threads> <-o read|write>\n" \ 45" <-s size_in_bytes> <-t time_in_seconds>\n" \ 46" <-i intr|wait> [-f refthread] [-p]\n" \ 47" <namespace id>\n" 48 49#define RESET_USAGE \ --- 25 unchanged lines hidden --- |