summaryrefslogtreecommitdiff
path: root/fs/sysfs/file.c
AgeCommit message (Expand)AuthorFilesLines
2021-03-07sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs outputJoe Perches1-0/+55
2018-09-05scsi: sysfs: Introduce sysfs_{un,}break_active_protection()Bart Van Assche1-0/+44
2017-04-12sysfs: be careful of error returns from ops->show()NeilBrown1-2/+4
2016-09-07sysfs: correctly handle read offset on PREALLOC attrsKonstantin Khlebnikov1-1/+7
2015-10-04sysfs: correctly handle short reads on PREALLOC attrs.NeilBrown1-1/+3
2015-06-01fs: sysfs: don't pass count == 0 to bin file readersVladimir Zapolskiy1-1/+1
2015-02-14kernfs: remove KERNFS_STATIC_NAMETejun Heo1-1/+1
2014-11-07sysfs/kernfs: make read requests on pre-alloc files use the buffer.NeilBrown1-4/+28
2014-11-07sysfs/kernfs: allow attributes to request write buffer be pre-allocated.NeilBrown1-7/+24
2014-11-07fs: sysfs: return EGBIG on write if offset is larger than file sizeVladimir Zapolskiy1-1/+1
2014-05-20sysfs: make sure read buffer is zeroedTejun Heo1-1/+2
2014-04-16sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()Tejun Heo1-92/+0
2014-03-26Revert "sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_ow...Greg Kroah-Hartman1-0/+92
2014-02-08sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()Tejun Heo1-92/+0
2014-02-08kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappersTejun Heo1-0/+23
2014-01-14Revert "kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wr...Greg Kroah-Hartman1-23/+0
2014-01-14Revert "sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_ow...Greg Kroah-Hartman1-0/+92
2014-01-11sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()Tejun Heo1-92/+0
2014-01-11kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappersTejun Heo1-0/+23
2013-12-17kernfs: mark static names with KERNFS_STATIC_NAMETejun Heo1-2/+2
2013-12-12kernfs: s/sysfs/kernfs/ in constantsTejun Heo1-1/+1
2013-12-12kernfs: s/sysfs/kernfs/ in various data structuresTejun Heo1-5/+5
2013-12-12kernfs: drop s_ prefix from kernfs_node membersTejun Heo1-8/+8
2013-12-12kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordinglyTejun Heo1-61/+61
2013-12-11sysfs: bail early from kernfs_file_mmap() to avoid spurious lockdep warningTejun Heo1-4/+8
2013-11-30sysfs, kernfs: move file core code to fs/kernfs/file.cTejun Heo1-801/+1
2013-11-30sysfs, kernfs: introduce kernfs[_find_and]_get() and kernfs_put()Tejun Heo1-18/+23
2013-11-30sysfs, kernfs: revamp sysfs_dirent active_ref lockdep annotationTejun Heo1-11/+24
2013-11-30sysfs, kernfs: introduce kernfs_notify()Tejun Heo1-11/+22
2013-11-30sysfs, kernfs: add kernfs_ops->seq_{start|next|stop}()Tejun Heo1-11/+28
2013-11-30sysfs, kernfs: remove sysfs_add_one()Tejun Heo1-1/+1
2013-11-30sysfs, kernfs: introduce kernfs_create_file[_ns]()Tejun Heo1-11/+42
2013-11-30sysfs, kernfs: remove SYSFS_KOBJ_BIN_ATTRTejun Heo1-15/+8
2013-11-30sysfs, kernfs: add sysfs_dirent->s_attr.sizeTejun Heo1-0/+6
2013-11-30sysfs, kernfs: introduce kernfs_opsTejun Heo1-34/+112
2013-11-30sysfs, kernfs: move sysfs_open_file to include/linux/kernfs.hTejun Heo1-11/+0
2013-11-30sysfs, kernfs: prepare open, release, poll paths for kernfsTejun Heo1-17/+7
2013-11-30sysfs, kernfs: prepare mmap path for kernfsTejun Heo1-30/+39
2013-11-30sysfs, kernfs: prepare write path for kernfsTejun Heo1-53/+50
2013-11-30sysfs, kernfs: prepare read path for kernfsTejun Heo1-65/+126
2013-11-30sysfs, kernfs: replace sysfs_dirent->s_dir.kobj and ->s_attr.[bin_]attr with ...Tejun Heo1-13/+13
2013-11-28Merge branch 'driver-core-linus' into driver-core-nextGreg Kroah-Hartman1-2/+20
2013-11-28sysfs, kernfs: introduce kernfs_setattr()Tejun Heo1-8/+5
2013-11-28sysfs, kernfs: introduce kernfs_remove[_by_name[_ns]]()Tejun Heo1-3/+3
2013-11-23sysfs: use a separate locking class for open files depending on mmapTejun Heo1-2/+20
2013-11-01sysfs: use generic_file_llseek() for sysfs_file_operationsTejun Heo1-1/+1
2013-10-30sysfs: return correct error code on unimplemented mmap()Vladimir Zapolskiy1-1/+0
2013-10-30sysfs: merge sysfs_elem_bin_attr into sysfs_elem_attrTejun Heo1-4/+4
2013-10-25sysfs: fix sysfs_write_file for bin fileMing Lei1-3/+2
2013-10-14sysfs/bin: Fix size handling overflow for bin_attributeBenjamin Herrenschmidt1-1/+1