#include "qedf.h"
inline bool qedf_is_vport(struct qedf_ctx *qedf)
{ … }
static struct qedf_ctx *qedf_get_base_qedf(struct qedf_ctx *qedf)
{ … }
static ssize_t fcoe_mac_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static ssize_t fka_period_show(struct device *dev,
struct device_attribute *attr, char *buf)
{ … }
static DEVICE_ATTR_RO(fcoe_mac);
static DEVICE_ATTR_RO(fka_period);
static struct attribute *qedf_host_attrs[] = …;
static const struct attribute_group qedf_host_attr_group = …;
const struct attribute_group *qedf_host_groups[] = …;
extern const struct qed_fcoe_ops *qed_ops;
void qedf_capture_grc_dump(struct qedf_ctx *qedf)
{ … }
static ssize_t
qedf_sysfs_read_grcdump(struct file *filep, struct kobject *kobj,
struct bin_attribute *ba, char *buf, loff_t off,
size_t count)
{ … }
static ssize_t
qedf_sysfs_write_grcdump(struct file *filep, struct kobject *kobj,
struct bin_attribute *ba, char *buf, loff_t off,
size_t count)
{ … }
static struct bin_attribute sysfs_grcdump_attr = …;
static struct sysfs_bin_attrs bin_file_entries[] = …;
void qedf_create_sysfs_ctx_attr(struct qedf_ctx *qedf)
{ … }
void qedf_remove_sysfs_ctx_attr(struct qedf_ctx *qedf)
{ … }