#define pr_fmt(fmt) …
#include <linux/slab.h>
#include <generated/utsrelease.h>
#include "nvmet.h"
struct nvmet_subsys *nvmet_disc_subsys;
static u64 nvmet_genctr;
static void __nvmet_disc_changed(struct nvmet_port *port,
struct nvmet_ctrl *ctrl)
{ … }
void nvmet_port_disc_changed(struct nvmet_port *port,
struct nvmet_subsys *subsys)
{ … }
static void __nvmet_subsys_disc_changed(struct nvmet_port *port,
struct nvmet_subsys *subsys,
struct nvmet_host *host)
{ … }
void nvmet_subsys_disc_changed(struct nvmet_subsys *subsys,
struct nvmet_host *host)
{ … }
void nvmet_referral_enable(struct nvmet_port *parent, struct nvmet_port *port)
{ … }
void nvmet_referral_disable(struct nvmet_port *parent, struct nvmet_port *port)
{ … }
static void nvmet_format_discovery_entry(struct nvmf_disc_rsp_page_hdr *hdr,
struct nvmet_port *port, char *subsys_nqn, char *traddr,
u8 type, u32 numrec)
{ … }
static void nvmet_set_disc_traddr(struct nvmet_req *req, struct nvmet_port *port,
char *traddr)
{ … }
static size_t discovery_log_entries(struct nvmet_req *req)
{ … }
static void nvmet_execute_disc_get_log_page(struct nvmet_req *req)
{ … }
static void nvmet_execute_disc_identify(struct nvmet_req *req)
{ … }
static void nvmet_execute_disc_set_features(struct nvmet_req *req)
{ … }
static void nvmet_execute_disc_get_features(struct nvmet_req *req)
{ … }
u16 nvmet_parse_discovery_cmd(struct nvmet_req *req)
{ … }
int __init nvmet_init_discovery(void)
{ … }
void nvmet_exit_discovery(void)
{ … }