summaryrefslogtreecommitdiffstats
path: root/fs/sysfs/file.c
AgeCommit message (Expand)AuthorFilesLines
2021-09-14sysfs: simplify sysfs_kf_seq_showChristoph Hellwig1-9/+6
2021-09-14sysfs: refactor sysfs_add_file_mode_nsChristoph Hellwig1-13/+14
2021-09-14sysfs: split out binary attribute handling from sysfs_add_file_mode_nsChristoph Hellwig1-54/+66
2021-08-05sysfs: Rename struct bin_attribute member to f_mappingKrzysztof Wilczyński1-2/+2
2021-08-05sysfs: Invoke iomem_get_mapping() from the sysfs open callbackKrzysztof Wilczyński1-1/+1
2021-01-12sysfs: Support zapping of binary attr mmapsDaniel Vetter1-0/+11
2020-10-02sysfs: Add sysfs_emit and sysfs_emit_at to format sysfs outputJoe Perches1-0/+55
2020-06-05Merge tag 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/rdma/rdmaLinus Torvalds1-0/+1
2020-05-17sysfs: export sysfs_remove_file_self()Jack Wang1-0/+1
2020-04-20docs: filesystems: fix renamed referencesMauro Carvalho Chehab1-1/+1
2020-02-26sysfs: add sysfs_change_owner()Christian Brauner1-0/+60
2020-02-26sysfs: add sysfs_link_change_owner()Christian Brauner1-0/+41
2020-02-26sysfs: add sysfs_file_change_owner()Christian Brauner1-0/+47
2019-02-08sysfs: remove unused include of kernfs-internal.hOndrej Mosnacek1-1/+0
2019-01-18sysfs: fix blank line coding style warningStephen Martin1-0/+1
2019-01-07sysfs: convert BUG_ON to WARN_ONGreg Kroah-Hartman1-2/+4
2018-12-03sysfs: constify sysfs create/remove files harderJani Nikula1-2/+2
2018-08-15Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsiLinus Torvalds1-0/+44
2018-08-02scsi: sysfs: Introduce sysfs_{un,}break_active_protection()Bart Van Assche1-0/+44
2018-07-29sysfs: Fix regression when adding a file to an existing groupTyler Hicks1-1/+1
2018-07-20sysfs, kobject: allow creating kobject belonging to arbitrary usersDmitry Torokhov1-12/+20
2018-07-20kernfs: allow creating kernfs objects with arbitrary uid/gidDmitry Torokhov1-2/+3
2018-02-01Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/pml...Linus Torvalds1-3/+2
2018-01-23sysfs: use SPDX identifiersGreg Kroah-Hartman1-2/+1
2018-01-05sysfs: do not use print_symbol()Sergey Senozhatsky1-3/+2
2017-04-08sysfs: be careful of error returns from ops->show()NeilBrown1-2/+4
2016-08-31sysfs: 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-13kernfs: 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-25Revert "sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_ow...Greg Kroah-Hartman1-0/+92
2014-02-07sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()Tejun Heo1-92/+0
2014-02-07kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wrappersTejun Heo1-0/+23
2014-01-13Revert "kernfs, sysfs, driver-core: implement kernfs_remove_self() and its wr...Greg Kroah-Hartman1-23/+0
2014-01-13Revert "sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_ow...Greg Kroah-Hartman1-0/+92
2014-01-10sysfs, driver-core: remove unused {sysfs|device}_schedule_callback_owner()Tejun Heo1-92/+0
2014-01-10kernfs, 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-11kernfs: s/sysfs/kernfs/ in constantsTejun Heo1-1/+1
2013-12-11kernfs: s/sysfs/kernfs/ in various data structuresTejun Heo1-5/+5
2013-12-11kernfs: drop s_ prefix from kernfs_node membersTejun Heo1-8/+8
2013-12-11kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordinglyTejun Heo1-61/+61
2013-12-10sysfs: bail early from kernfs_file_mmap() to avoid spurious lockdep warningTejun Heo1-4/+8
2013-11-29sysfs, kernfs: move file core code to fs/kernfs/file.cTejun Heo1-801/+1
2013-11-29sysfs, kernfs: introduce kernfs[_find_and]_get() and kernfs_put()Tejun Heo1-18/+23