Name

sysfs_create_file_ns — create an attribute file for an object with custom ns

Synopsis

int sysfs_create_file_ns (struct kobject * kobj,
 const struct attribute * attr,
 const void * ns);
 

Arguments

struct kobject * kobj

object we're creating for

const struct attribute * attr

attribute descriptor

const void * ns

namespace the new file should belong to