aboutsummaryrefslogtreecommitdiffstats
path: root/lib/kobject.c
AgeCommit message (Expand)AuthorFilesLines
2024-02-08Revert "kobject: Remove redundant checks for whether ktype is NULL"Greg Kroah-Hartman1-10/+14
2023-08-19kobject: Remove redundant checks for whether ktype is NULLZhen Lei1-14/+10
2023-08-19kobject: Add sanity check for kset->kobj.ktype in kset_register()Zhen Lei1-0/+5
2023-08-05kobject: Add helper kobj_ns_type_is_valid()Zhen Lei1-17/+16
2023-06-05kobject: Use return value of strreplace()Andy Shevchenko1-2/+1
2023-03-17kobject: align stacktrace levels to logging messageThomas Weißschuh1-3/+3
2023-03-17kobject: define common logging prefixThomas Weißschuh1-13/+15
2023-02-08kobject: make dynamic_kobj_ktype and kset_ktype constThomas Weißschuh1-2/+2
2023-01-11kobject: Fix slab-out-of-bounds in fill_kobj_path()Wang Hai1-2/+10
2022-12-16Merge tag 'driver-core-6.2-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-11/+18
2022-11-22kobject: make kobject_namespace take a const *Greg Kroah-Hartman1-3/+3
2022-11-22kobject: make kobject_get_ownership() take a constant kobject *Greg Kroah-Hartman1-2/+2
2022-11-18treewide: use get_random_u32_below() instead of deprecated functionJason A. Donenfeld1-1/+1
2022-10-25kset: fix memory leak when kset_register() returns errorYang Yingliang1-1/+8
2022-10-22kobject: modify kobject_get_path() to take a const *Greg Kroah-Hartman1-5/+5
2022-10-11treewide: use prandom_u32_max() when possible, part 1Jason A. Donenfeld1-1/+1
2022-04-05kobject: kobj_type: remove default_attrsGreg Kroah-Hartman1-32/+0
2021-12-27driver core: make kobj_type constant.Wedson Almeida Filho1-4/+4
2021-09-14kobject: unexport kobject_create() in kobject.hQu Wenruo1-1/+1
2020-09-07kobject: Drop unneeded conditional in __kobject_del()Andy Shevchenko1-3/+0
2020-08-28kobject: Restore old behaviour of kobject_del(NULL)Andy Shevchenko1-1/+5
2020-07-10kobject: Avoid premature parent object freeing in kobject_cleanup()Heikki Krogerus1-10/+23
2020-06-07Merge tag 'driver-core-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/...Linus Torvalds1-7/+7
2020-05-25kobject: send KOBJ_REMOVE uevent when the object is removed from sysfsGreg Kroah-Hartman1-7/+7
2020-04-20docs: filesystems: fix renamed referencesMauro Carvalho Chehab1-2/+2
2019-06-19lib : kobject: fix refcount imblance on kobject_renameLin Yi1-1/+3
2019-05-03kobject: clean up the kobject add documentation a bit moreGreg Kroah-Hartman1-2/+6
2019-05-02kobject: Fix kernel-doc comment first lineTobin C. Harding1-21/+22
2019-05-02kobject: Remove docstring reference to ksetTobin C. Harding1-3/+2
2019-05-01kobject: fix dereference before null check on kobjColin Ian King1-1/+2
2019-04-28kobject: Improve doc clarity kobject_init_and_add()Tobin C. Harding1-3/+6
2019-04-28kobject: Improve docs for kobject_add/delTobin C. Harding1-5/+12
2019-04-25kobject: Add support for default attribute groups to kobj_typeKimberly Brown1-0/+14
2019-01-22kobject: make kset_get_ownership() 'static'Eric Biggers1-1/+1
2018-12-06kref/kobject: Improve documentationEzequiel Garcia1-1/+1
2018-08-18Merge tag 'driver-core-4.19-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-1/+1
2018-07-20kobject: kset_create_and_add() - fetch ownership info from parentDmitry Torokhov1-1/+8
2018-07-20sysfs, kobject: allow creating kobject belonging to arbitrary usersDmitry Torokhov1-0/+19
2018-07-07kobject: Replace strncpy with memcpyGuenter Roeck1-1/+1
2018-04-23kobject: don't use WARN for registration failuresDmitry Vyukov1-6/+5
2018-03-15lib/kobject: Join string literals backAndy Shevchenko1-21/+18
2018-02-01Merge tag 'driver-core-4.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel...Linus Torvalds1-3/+1
2018-01-23kobject: Export kobj_ns_grab_current() and kobj_ns_drop()Bart Van Assche1-0/+2
2017-12-07kobject: Remove redundant license textGreg Kroah-Hartman1-3/+0
2017-12-07kobject: add SPDX identifiers to all kobject filesGreg Kroah-Hartman1-0/+1
2017-03-22kobject: Export kobject_get_unless_zero()Jan Kara1-1/+4
2016-02-09kobject: export kset_find_obj() for module useGabriel Somlo1-0/+1
2015-11-06lib/kobject.c: use kvasprintf_const for formatting ->nameRasmus Villemoes1-8/+22
2015-10-04kobject: move EXPORT_SYMBOL() macros next to corresponding definitionsGabriel Somlo1-7/+5
2015-07-17include, lib: add __printf attributes to several function prototypesNicolas Iooss1-2/+3
2015-06-30Merge branch 'for-linus-4.2' of git://git.kernel.org/pub/scm/linux/kernel/git...Linus Torvalds1-0/+1
2015-06-25lib/kobject.c: use strreplace()Rasmus Villemoes1-8/+5
2015-06-19lib: export symbol kobject_move()Anand Jain1-0/+1
2015-03-25kobject: WARN as tip when call kobject_get() to a kobject not initializedEthan Zhao1-1/+6
2014-11-07kobject: fix NULL pointer derefernce in kobj_child_ns_opsPankaj Dubey1-1/+1
2014-02-07sysfs, kobject: add sysfs wrapper for kernfs_enable_ns()Tejun Heo1-1/+1
2014-01-30Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mas...Linus Torvalds1-0/+1
2014-01-28kobject: export kobj_sysfs_opsJeff Mahoney1-0/+1
2014-01-08kobject: Fix source code comment spellingBart Van Assche1-1/+1
2014-01-04Revert "kobject: introduce kobj_completion"Greg Kroah-Hartman1-50/+0
2013-12-11kernfs: s/sysfs_dirent/kernfs_node/ and rename its friends accordinglyTejun Heo1-1/+1
2013-12-08kobject: fix memory leak in kobject_set_name_vargsMaurizio Lombardi1-1/+3
2013-12-07kobject: remove kset from sysfs immediately in kset_unregister()Bjorn Helgaas1-0/+1
2013-12-07kobject: delay kobject release for random timeBjorn Helgaas1-3/+6
2013-11-29sysfs, kernfs: introduce kernfs_create_dir[_ns]()Tejun Heo1-1/+1
2013-11-27sysfs: drop kobj_ns_type handling, take #2Tejun Heo1-5/+22
2013-11-07Revert "sysfs: drop kobj_ns_type handling"Linus Torvalds1-4/+1
2013-10-11kobject: show debug info on delayed kobject releaseFengguang Wu1-1/+1
2013-10-03kobject: grab an extra reference on kobject->sd to allow duplicate deletesTejun Heo1-0/+12
2013-09-29Merge 3.12-rc3 into driver-core-nextGreg Kroah-Hartman1-4/+1
2013-09-27sysfs: Allow mounting without CONFIG_NETEric W. Biederman1-4/+1
2013-09-26kobject: introduce kobj_completionJeff Mahoney1-0/+50
2013-09-26sysfs: drop kobj_ns_type handlingTejun Heo1-1/+4
2013-09-26sysfs: remove ktype->namespace() invocations in directory codeTejun Heo1-4/+24
2013-09-07Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/ebi...Linus Torvalds1-0/+15
2013-08-28sysfs: Restrict mounting sysfsEric W. Biederman1-0/+15
2013-07-25kobject: delayed kobject release: help find buggy driversRussell King1-3/+19
2013-06-07kobject: sanitize argument for format stringKees Cook1-1/+1
2013-05-07kref: minor cleanupAnatol Pomozov1-1/+1
2013-04-13kobject: fix kset_find_obj() race with concurrent last kobject_put()Linus Torvalds1-1/+8
2012-05-07kobject: fix the uncorrect commentZhi Yong Wu1-1/+1
2012-05-02Merge 3.4-rc5 into driver-core-nextGreg Kroah-Hartman1-7/+7
2012-04-23lib/kobject.c : Remove redundant check in create_diryan1-7/+5
2012-04-10kobject: provide more diagnostic info for kobject_add_internal() failuresDan Williams1-7/+7
2012-03-07lib: reduce the use of module.h wherever possiblePaul Gortmaker1-1/+1
2011-12-21kobject: remove kset_find_obj_hinted()Kay Sievers1-37/+0
2011-06-12Delay struct net freeing while there's a sysfs instance refering to itAl Viro1-17/+9
2010-10-22kobject: Introduce kset_find_obj_hinted.Robin Holt1-0/+39
2010-05-21sysfs: Comment sysfs directory tagging logicSerge E. Hallyn1-0/+11
2010-05-21sysfs: Implement sysfs tagged directory support.Eric W. Biederman1-0/+1
2010-05-21kobj: Add basic infrastructure for dealing with namespaces.Eric W. Biederman1-0/+103
2010-03-07Driver core: Constify struct sysfs_ops in struct kobj_typeEmese Revfy1-1/+1
2010-03-07kobject: Constify struct kset_uevent_opsEmese Revfy1-2/+2
2009-06-15kobject: make kset_create check kobject_set_name return valueDave Young1-1/+6
2009-04-20driver: dont update dev_name via device_add pathKay Sievers1-0/+3
2009-03-24driver core: get rid of struct device's bus_id string arrayKay Sievers1-1/+1
2008-10-16kobject: Cleanup kobject_rename and !CONFIG_SYSFSEric W. Biederman1-2/+15
2008-10-16kobject: Fix kobject_rename and !CONFIG_SYSFSEric W. Biederman1-13/+5
2008-08-21kobject: Replace ALL occurrences of '/' with '!' instead of only the first one.Ingo Oeser1-2/+1
2008-07-25Example use of WARN()Arjan van de Ven1-6/+3
2008-07-21kobject: replace '/' with '!' in nameKay Sievers1-2/+8
2008-06-10PCI: ACPI PCI slot detection driverAlex Chiang1-0/+1
2008-04-30kobject: do not copy vargs, just pass them aroundKay Sievers1-20/+8
2008-04-30lib: replace remaining __FUNCTION__ occurrencesHarvey Harrison1-8/+8
2008-04-19Kobject: Replace list_for_each() with list_for_each_entry().Robert P. J. Day1-8/+2
2008-04-19kobject: catch kobjects that are not initializedGreg Kroah-Hartman1-1/+8
2008-03-04kobject: properly initialize ksetsGreg Kroah-Hartman1-6/+5
2008-02-02kobject: kerneldoc comment fixDave Young1-1/+1
2008-01-24Kobject: fix coding style issues in kobject c filesGreg Kroah-Hartman1-75/+64
2008-01-24Driver core: change sysdev classes to use dynamic kobject namesKay Sievers1-9/+5
2008-01-24Kobject: remove kobject_unregister() as no one uses it anymoreGreg Kroah-Hartman1-17/+0
2008-01-24Kobject: convert remaining kobject_unregister() to kobject_put()Greg Kroah-Hartman1-2/+2
2008-01-24Kobject: auto-cleanup on final unrefKay Sievers1-74/+96
2008-01-24Kset: remove kset_add functionGreg Kroah-Hartman1-12/+1
2008-01-24Kobject: remove kobject_register()Greg Kroah-Hartman1-18/+0
2008-01-24Kobject: rename kobject_init_ng() to kobject_init()Greg Kroah-Hartman1-7/+7
2008-01-24Kobject: remove kobject_init() as no one uses it anymoreGreg Kroah-Hartman1-8/+3
2008-01-24Kobject: rename kobject_add_ng() to kobject_add()Greg Kroah-Hartman1-7/+7
2008-01-24Kobject: remove kobject_add() as no one uses it anymoreGreg Kroah-Hartman1-14/+8
2008-01-24Kobject: drop child->parent ref at unregistrationAlan Stern1-3/+4
2008-01-24kobject: clean up debugging messagesGreg Kroah-Hartman1-8/+15
2008-01-24kobject: grab the kset reference in kobject_add, not kobject_initGreg Kroah-Hartman1-3/+3
2008-01-24kobject: remove subsystem_(un)register functionsGreg Kroah-Hartman1-13/+0
2008-01-24Driver Core: kill subsys_attribute and default sysfs opsKay Sievers1-21/+0
2008-01-24Driver Core: switch all dynamic ksets to kobj_sysfs_opsKay Sievers1-4/+6
2008-01-24Driver Core: add kobj_attribute handlingKay Sievers1-0/+29
2008-01-24kobject: get rid of kobject_kset_add_dirGreg Kroah-Hartman1-32/+5
2008-01-24kobject: get rid of kobject_add_dirGreg Kroah-Hartman1-12/+0
2008-01-24kobject: add kobject_create_and_add functionGreg Kroah-Hartman1-18/+63
2008-01-24kset: add kset_create_and_add functionGreg Kroah-Hartman1-1/+91
2008-01-24kobject: add kobject_init_and_add functionGreg Kroah-Hartman1-0/+27
2008-01-24kobject: add kobject_add_ng functionGreg Kroah-Hartman1-0/+66
2008-01-24kobject: add kobject_init_ng functionGreg Kroah-Hartman1-0/+42
2008-01-24kobject: make kobject_cleanup be staticGreg Kroah-Hartman1-5/+4
2008-01-24kobject: fix up kobject_set_name to use kvasprintfGreg Kroah-Hartman1-39/+32
2008-01-24kobject: remove incorrect comment in kobject_renameGreg Kroah-Hartman1-2/+0
2007-12-17kobject: fix the documentation of how kobject_set_name worksGreg Kroah-Hartman1-6/+6
2007-11-28kobject: two typo fixesJohannes Berg1-2/+2
2007-10-30kobject: check for duplicate names in kobject_renameGreg Kroah-Hartman1-0/+13
2007-10-12kobject: update the copyrightsGreg Kroah-Hartman1-0/+2
2007-10-12driver core: remove subsystem_init()Greg Kroah-Hartman1-5/+0
2007-10-12sysfs: move sysfs file poll implementation to sysfs_open_direntTejun Heo1-1/+0
2007-10-12sysfs: Remove first pass at shadow directory supportEric W. Biederman1-38/+6
2007-10-12kobject: remove the static array for the nameGreg Kroah-Hartman1-40/+39
2007-10-12Driver core: remove subsys_get()Greg Kroah-Hartman1-1/+1
2007-10-12Driver core: remove subsys_put()Greg Kroah-Hartman1-1/+1
2007-07-11sysfs: make kobj point to sysfs_dirent instead of dentryTejun Heo1-5/+5
2007-07-11Driver core: add missing kset ueventKay Sievers1-1/+8
2007-06-08kobject: use the proper printk level for kobject errorGreg Kroah-Hartman1-5/+5
2007-05-02remove "struct subsystem" as it is no longer neededGreg Kroah-Hartman1-61/+8
2007-04-27kobject: Comment and warning fixes to kobject.cEric W. Biederman1-3/+10
2007-04-27kobject core: remove rwsem from struct subsystemGreg Kroah-Hartman1-3/+1
2007-04-27kobject: kobject_add() reference leakCornelia Huck1-0/+1
2007-04-27Driver core: notify userspace of network device renamesJean Tourrilhes1-0/+30
2007-04-27kobject: kobject_shadow_add cleanupDmitriy Monakhov1-2/+2
2007-04-27driver core: fix namespace issue with devices assigned to classesKay Sievers1-2/+10
2007-03-09kobject: new_device->kref wasn't putted after error in kobject_move()Dmitriy Monakhov1-0/+2
2007-02-19Merge master.kernel.org:/pub/scm/linux/kernel/git/gregkh/pci-2.6Linus Torvalds1-0/+1
2007-02-16PCI/sysfs/kobject kernel-doc fixesRandy Dunlap1-0/+1
2007-02-16kobject: kobj->k_name verification fixMartin Stoilov1-1/+1
2007-02-11[PATCH] Numerous fixes to kernel-doc info in source files.Robert P. J. Day1-2/+3
2007-02-07sysfs: Shadow directory supportEric W. Biederman1-5/+37
2007-02-07kobject: kobject_put cleanupMariusz Kozlowski1-4/+2
2007-02-07driver core: Allow device_move(dev, NULL).Cornelia Huck1-3/+3
2007-02-07Kobject: make kobject apis more robust in handling NULL pointersGreg Kroah-Hartman1-0/+19
2006-12-07[PATCH] kernel core: replace kmalloc+memset with kzallocBurman Yan1-2/+1
2006-12-01driver core: Introduce device_move(): move a device to a new parent.Cornelia Huck1-0/+50
2006-10-11Input: add missing exports to fix modular buildDmitry Torokhov1-0/+1
2006-09-25kobject: must_check fixesRandy Dunlap1-1/+8
2006-06-21[PATCH] kobject: make people pay attention to kobject_add errorsGreg Kroah-Hartman1-3/+3
2006-05-21[PATCH] kobject: quiet errors in kobject_addGreg Kroah-Hartman1-3/+3
2006-04-27[PATCH] Kobject: possible cleanupsAdrian Bunk1-5/+2
2006-04-14[PATCH] sysfs: Allow sysfs attribute files to be pollableNeilBrown1-0/+1
2006-03-20[PATCH] kobject_add_dirJun'ichi Nomura1-0/+38
2006-03-20[PATCH] Kobject: provide better warning messages when people do stupid thingsGreg Kroah-Hartman1-8/+14
2006-02-06[PATCH] kobject: don't oops on null kobject.nameChuck Ebbert1-0/+4
2006-02-06[PATCH] kobject_add() must have a valid name in order to succeed.Greg Kroah-Hartman1-0/+5
2006-01-04[PATCH] driver core: replace "hotplug" by "uevent"Kay Sievers1-2/+2
2005-10-30[PATCH] fix missing includesTim Schmielau1-0/+1
2005-10-28[PATCH] gfp_t: lib/*Al Viro1-1/+1
2005-06-20[PATCH] Make kobject's name be const char *Dmitry Torokhov1-1/+1
2005-05-01[PATCH] DocBook: fix some descriptionsMartin Waitz1-2/+1
2005-04-18[PATCH] kobject/hotplug split - kobject add/removekay.sievers@vrfy.org1-4/+3
2005-04-16Linux-2.6.12-rc2v2.6.12-rc2Linus Torvalds1-0/+544