---
name: "iscsi_create_flashnode_sess"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/iscsi_create_flashnode_sess"
---

# iscsi\_create\_flashnode\_sess(9)

Add flashnode session entry in sysfs

## NAME

iscsi\_create\_flashnode\_sess - Add flashnode session entry in sysfs

## SYNOPSIS

**struct iscsi\_bus\_flash\_session \* iscsi\_create\_flashnode\_sess(struct Scsi\_Host \*** *shost***, int** *index***, struct iscsi\_transport \*** *transport***, int** *dd\_size***);**

## ARGUMENTS

*shost*

pointer to host data

*index*

index of flashnode to add in sysfs

*transport*

pointer to transport data

*dd\_size*

total size to allocate

## DESCRIPTION

Adds a sysfs entry for the flashnode session attributes

## RETURN

pointer to allocated flashnode sess on success **NULL** on failure

## AUTHORS

**James Bottomley** \<James.Bottomley@hansenpartnership.com\>

Author.

**Rob Landley** \<rob@landley.net\>

Author.

## COPYRIGHT
