linux/fs/ceph/ioctl.c

// SPDX-License-Identifier: GPL-2.0
#include <linux/ceph/ceph_debug.h>
#include <linux/in.h>

#include "super.h"
#include "mds_client.h"
#include "ioctl.h"
#include <linux/ceph/striper.h>
#include <linux/fscrypt.h>

/*
 * ioctls
 */

/*
 * get and set the file layout
 */
static long ceph_ioctl_get_layout(struct file *file, void __user *arg)
{}

static long __validate_layout(struct ceph_mds_client *mdsc,
			      struct ceph_ioctl_layout *l)
{}

static long ceph_ioctl_set_layout(struct file *file, void __user *arg)
{}

/*
 * Set a layout policy on a directory inode. All items in the tree
 * rooted at this inode will inherit this layout on creation,
 * (It doesn't apply retroactively )
 * unless a subdirectory has its own layout policy.
 */
static long ceph_ioctl_set_layout_policy (struct file *file, void __user *arg)
{}

/*
 * Return object name, size/offset information, and location (OSD
 * number, network address) for a given file offset.
 */
static long ceph_ioctl_get_dataloc(struct file *file, void __user *arg)
{}

static long ceph_ioctl_lazyio(struct file *file)
{}

static long ceph_ioctl_syncio(struct file *file)
{}

static int vet_mds_for_fscrypt(struct file *file)
{}

static long ceph_set_encryption_policy(struct file *file, unsigned long arg)
{}

static const char *ceph_ioctl_cmd_name(const unsigned int cmd)
{}

long ceph_ioctl(struct file *file, unsigned int cmd, unsigned long arg)
{}