linux/fs/smb/client/cifs_ioctl.h

/* SPDX-License-Identifier: LGPL-2.1 */
/*
 *
 *   Structure definitions for io control for cifs/smb3
 *
 *   Copyright (c) 2015 Steve French <[email protected]>
 *
 */

struct smb_mnt_fs_info {} __packed;

struct smb_mnt_tcon_info {} __packed;

struct smb_snapshot_array {} __packed;

/* query_info flags */
#define PASSTHRU_QUERY_INFO
#define PASSTHRU_FSCTL
#define PASSTHRU_SET_INFO
struct smb_query_info {} __packed;

/*
 * Dumping the commonly used 16 byte (e.g. CCM and GCM128) keys still supported
 * for backlevel compatibility, but is not sufficient for dumping the less
 * frequently used GCM256 (32 byte) keys (see the newer "CIFS_DUMP_FULL_KEY"
 * ioctl for dumping decryption info for GCM256 mounts)
 */
struct smb3_key_debug_info {} __packed;

/*
 * Dump variable-sized keys
 */
struct smb3_full_key_debug_info {} __packed;

struct smb3_notify {} __packed;

struct smb3_notify_info {} __packed;

#define CIFS_IOCTL_MAGIC
#define CIFS_IOC_COPYCHUNK_FILE
#define CIFS_IOC_SET_INTEGRITY
#define CIFS_IOC_GET_MNT_INFO
#define CIFS_ENUMERATE_SNAPSHOTS
#define CIFS_QUERY_INFO
#define CIFS_DUMP_KEY
#define CIFS_IOC_NOTIFY
#define CIFS_DUMP_FULL_KEY
#define CIFS_IOC_NOTIFY_INFO
#define CIFS_IOC_GET_TCON_INFO
#define CIFS_IOC_SHUTDOWN

/*
 * Flags for going down operation
 */
#define CIFS_GOING_FLAGS_DEFAULT
#define CIFS_GOING_FLAGS_LOGFLUSH
#define CIFS_GOING_FLAGS_NOLOGFLUSH

static inline bool cifs_forced_shutdown(struct cifs_sb_info *sbi)
{}