• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/sysfs/

Lines Matching refs:attribute

69  *	kobject's show() method to fill the buffer with this attribute's 
116 * sysfs_read_file - read an attribute.
122 * Userspace wants to read an attribute file. The attribute descriptor
129 * all the data the object has to offer for that attribute.
188 * @dentry: dentry to the attribute
192 * Get the correct pointers for the kobject and the attribute we're
193 * dealing with, then call the store() method for the attribute,
218 * sysfs_write_file - write an attribute.
350 /* every kobject with an attribute needs a ktype assigned */
354 WARN(1, KERN_ERR "missing sysfs attribute operations for "
420 /* Sysfs attribute files are pollable. The idea is that you read
429 * it, and it is not possible to test an attribute from userspace
504 const struct attribute *attr, int type, mode_t amode)
528 int sysfs_add_file(struct sysfs_dirent *dir_sd, const struct attribute *attr,
536 * sysfs_create_file - create an attribute file for an object.
538 * @attr: attribute descriptor.
541 int sysfs_create_file(struct kobject * kobj, const struct attribute * attr)
549 int sysfs_create_files(struct kobject *kobj, const struct attribute **ptr)
563 * sysfs_add_file_to_group - add an attribute file to a pre-existing group.
565 * @attr: attribute descriptor.
569 const struct attribute *attr, const char *group)
590 * sysfs_chmod_file - update the modified mode value on an object attribute.
592 * @attr: attribute descriptor.
596 int sysfs_chmod_file(struct kobject *kobj, const struct attribute *attr,
622 * sysfs_remove_file - remove an object attribute.
624 * @attr: attribute descriptor.
626 * Hash the attribute name and kill the victim.
629 void sysfs_remove_file(struct kobject * kobj, const struct attribute * attr)
634 void sysfs_remove_files(struct kobject * kobj, const struct attribute **ptr)
642 * sysfs_remove_file_from_group - remove an attribute file from a group.
644 * @attr: attribute descriptor.
648 const struct attribute *attr, const char *group)
696 * sysfs attribute methods must not unregister themselves or their parent