Lines Matching +full:b +full:- +full:side

1 /* SPDX-License-Identifier: GPL-2.0-or-later */
5 * Copyright (c) 2014 - 2018 ProfitBricks GmbH. All rights reserved.
6 * Copyright (c) 2018 - 2019 1&1 IONOS Cloud GmbH. All rights reserved.
7 * Copyright (c) 2019 - 2020 1&1 IONOS SE. All rights reserved.
13 #include <linux/blk-mq.h>
27 * enum rnbd_msg_types - RNBD message types
45 * struct rnbd_msg_hdr - header of RNBD messages
74 * struct rnbd_msg_sess_info - initial session info from client to server
85 * struct rnbd_msg_sess_info_rsp - initial session info from server to client
96 * struct rnbd_msg_open - request to open a remote device.
100 * @device_name: device path on remote side
111 * struct rnbd_msg_close - request to close a remote device.
113 * @device_id: device_id on server side to identify the device
126 * struct rnbd_msg_open_rsp - response message to RNBD_MSG_OPEN
128 * @device_id: device_id on server side to identify the device
129 * @nsectors: number of sectors in the usual 512b unit
130 * @max_hw_sectors: max hardware sectors in the usual 512b unit
131 * @max_write_zeroes_sectors: max sectors for WRITE ZEROES in the 512b unit
132 * @max_discard_sectors: max. sectors that can be discarded at once in 512b
141 * @cache_policy: support write-back caching or FUA?
162 * struct rnbd_msg_io - message for I/O read/write
164 * @device_id: device_id on server side to find the right device
180 #define RNBD_OP_MASK ((1 << RNBD_OP_BITS) - 1)
183 * enum rnbd_io_flags - RNBD request types from rq_flag_bits
283 (__force unsigned long long)rq->cmd_flags); in rq_to_rnbd_flags()
287 if (op_is_sync(rq->cmd_flags)) in rq_to_rnbd_flags()
290 if (op_is_flush(rq->cmd_flags)) in rq_to_rnbd_flags()