Scroll to navigation

ISCSI_CREATE_FLASHNO(9) SCSI mid layer ISCSI_CREATE_FLASHNO(9)

NAME

iscsi_create_flashnode_conn - Add flashnode conn entry in sysfs

SYNOPSIS

struct iscsi_bus_flash_conn * iscsi_create_flashnode_conn(struct Scsi_Host * shost, struct iscsi_bus_flash_session * fnode_sess, struct iscsi_transport * transport, int dd_size);

ARGUMENTS

struct Scsi_Host * shost

pointer to host data

struct iscsi_bus_flash_session * fnode_sess

pointer to the parent flashnode session entry

struct iscsi_transport * transport

pointer to transport data

int dd_size

total size to allocate

DESCRIPTION

Adds a sysfs entry for the flashnode connection attributes

RETURN

pointer to allocated flashnode conn on success NULL on failure

AUTHORS

James Bottomley <James.Bottomley@hansenpartnership.com>

Author.

Rob Landley <rob@landley.net>

Author.

COPYRIGHT

July 2017 Kernel Hackers Manual 4.12