nvme.h (f21c4769d0de00f4873792f8e6f2d1c04c8cd898) | nvme.h (f4b9e6c90c572519041f4c5d9c4c3dd50aff42d4) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2011-2014, Intel Corporation. 4 */ 5 6#ifndef _NVME_H 7#define _NVME_H 8 --- 609 unchanged lines hidden (view full) --- 618void nvme_wait_freeze(struct nvme_ctrl *ctrl); 619int nvme_wait_freeze_timeout(struct nvme_ctrl *ctrl, long timeout); 620void nvme_start_freeze(struct nvme_ctrl *ctrl); 621 622#define NVME_QID_ANY -1 623struct request *nvme_alloc_request(struct request_queue *q, 624 struct nvme_command *cmd, blk_mq_req_flags_t flags); 625void nvme_cleanup_cmd(struct request *req); | 1/* SPDX-License-Identifier: GPL-2.0 */ 2/* 3 * Copyright (c) 2011-2014, Intel Corporation. 4 */ 5 6#ifndef _NVME_H 7#define _NVME_H 8 --- 609 unchanged lines hidden (view full) --- 618void nvme_wait_freeze(struct nvme_ctrl *ctrl); 619int nvme_wait_freeze_timeout(struct nvme_ctrl *ctrl, long timeout); 620void nvme_start_freeze(struct nvme_ctrl *ctrl); 621 622#define NVME_QID_ANY -1 623struct request *nvme_alloc_request(struct request_queue *q, 624 struct nvme_command *cmd, blk_mq_req_flags_t flags); 625void nvme_cleanup_cmd(struct request *req); |
626blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req, 627 struct nvme_command *cmd); | 626blk_status_t nvme_setup_cmd(struct nvme_ns *ns, struct request *req); |
628int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, 629 void *buf, unsigned bufflen); 630int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, 631 union nvme_result *result, void *buffer, unsigned bufflen, 632 unsigned timeout, int qid, int at_head, 633 blk_mq_req_flags_t flags, bool poll); 634int nvme_set_features(struct nvme_ctrl *dev, unsigned int fid, 635 unsigned int dword11, void *buffer, size_t buflen, --- 208 unchanged lines hidden --- | 627int nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, 628 void *buf, unsigned bufflen); 629int __nvme_submit_sync_cmd(struct request_queue *q, struct nvme_command *cmd, 630 union nvme_result *result, void *buffer, unsigned bufflen, 631 unsigned timeout, int qid, int at_head, 632 blk_mq_req_flags_t flags, bool poll); 633int nvme_set_features(struct nvme_ctrl *dev, unsigned int fid, 634 unsigned int dword11, void *buffer, size_t buflen, --- 208 unchanged lines hidden --- |