Searched refs:kobj_type (Results 1 – 25 of 118) sorted by relevance
12345
/linux/fs/xfs/ |
A D | xfs_sysfs.h | 10 extern struct kobj_type xfs_mp_ktype; /* xfs_mount */ 11 extern struct kobj_type xfs_dbg_ktype; /* debug */ 12 extern struct kobj_type xfs_log_ktype; /* xlog */ 13 extern struct kobj_type xfs_stats_ktype; /* stats */ 31 struct kobj_type *ktype, in xfs_sysfs_init()
|
A D | xfs_sysfs.c | 71 struct kobj_type xfs_mp_ktype = { 243 struct kobj_type xfs_dbg_ktype = { 300 struct kobj_type xfs_stats_ktype = { 385 struct kobj_type xfs_log_ktype = { 539 static struct kobj_type xfs_error_cfg_ktype = { 545 static struct kobj_type xfs_error_ktype = {
|
/linux/include/linux/ |
A D | kobject.h | 69 struct kobj_type *ktype; 93 extern void kobject_init(struct kobject *kobj, struct kobj_type *ktype); 99 struct kobj_type *ktype, struct kobject *parent, 137 struct kobj_type { struct 220 static inline struct kobj_type *get_ktype(struct kobject *kobj) in get_ktype()
|
/linux/Documentation/translations/zh_CN/core-api/ |
A D | kobject.rst | 112 void kobject_init(struct kobject *kobj, struct kobj_type *ktype); 114 ktype是正确创建kobject的必要条件,因为每个kobject都必须有一个相关的kobj_type。 143 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, 256 因此,让我们引入结构体kobj_type:: 258 struct kobj_type { 269 类型)。每个kobject都需要有一个相关的kobj_type结构;当你调用 273 当然,kobj_type结构中的release字段是指向这种类型的kobject的release()
|
/linux/lib/ |
A D | kobject.c | 68 struct kobj_type *t = get_ktype(kobj); in populate_dir() 85 const struct kobj_type *ktype = get_ktype(kobj); in create_dir() 349 void kobject_init(struct kobject *kobj, struct kobj_type *ktype) in kobject_init() 464 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, in kobject_init_and_add() 605 const struct kobj_type *ktype; in __kobject_del() 682 struct kobj_type *t = get_ktype(kobj); in kobject_cleanup() 764 static struct kobj_type dynamic_kobj_ktype = { 941 static struct kobj_type kset_ktype = {
|
/linux/drivers/cpufreq/ |
A D | cpufreq_governor.h | 128 struct kobj_type kobj_type; member
|
A D | cpufreq_governor.c | 449 gov->kobj_type.sysfs_ops = &governor_sysfs_ops; in cpufreq_dbs_governor_init() 450 ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, in cpufreq_dbs_governor_init()
|
/linux/drivers/md/bcache/ |
A D | bcache.h | 1000 extern struct kobj_type bch_cached_dev_ktype; 1001 extern struct kobj_type bch_flash_dev_ktype; 1002 extern struct kobj_type bch_cache_set_ktype; 1003 extern struct kobj_type bch_cache_set_internal_ktype; 1004 extern struct kobj_type bch_cache_ktype;
|
/linux/fs/orangefs/ |
A D | orangefs-sysfs.c | 898 static struct kobj_type orangefs_ktype = { 935 static struct kobj_type acache_orangefs_ktype = { 972 static struct kobj_type capcache_orangefs_ktype = { 1009 static struct kobj_type ccache_orangefs_ktype = { 1046 static struct kobj_type ncache_orangefs_ktype = { 1076 static struct kobj_type pc_orangefs_ktype = { 1099 static struct kobj_type stats_orangefs_ktype = {
|
/linux/block/ |
A D | blk-mq-sysfs.c | 158 static struct kobj_type blk_mq_ktype = { 162 static struct kobj_type blk_mq_ctx_ktype = { 166 static struct kobj_type blk_mq_hw_ktype = {
|
A D | blk-ia-ranges.c | 83 static struct kobj_type blk_ia_range_ktype = { 102 static struct kobj_type blk_ia_ranges_ktype = {
|
/linux/fs/nfs/ |
A D | sysfs.c | 34 static struct kobj_type nfs_netns_object_type = { 146 static struct kobj_type nfs_netns_client_type = {
|
/linux/drivers/dma/ioat/ |
A D | sysfs.c | 75 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type) in ioat_kobject_add() 162 struct kobj_type ioat_ktype = {
|
A D | dma.h | 200 extern struct kobj_type ioat_ktype; 404 void ioat_kobject_add(struct ioatdma_device *ioat_dma, struct kobj_type *type);
|
/linux/drivers/block/rnbd/ |
A D | rnbd-srv-sysfs.c | 36 static struct kobj_type dev_ktype = { 189 static struct kobj_type rnbd_srv_sess_dev_ktype = {
|
/linux/net/sunrpc/ |
A D | sysfs.c | 39 static struct kobj_type rpc_sysfs_object_type = { 434 static struct kobj_type rpc_sysfs_client_type = { 440 static struct kobj_type rpc_sysfs_xprt_switch_type = { 447 static struct kobj_type rpc_sysfs_xprt_type = {
|
/linux/drivers/infiniband/ulp/rtrs/ |
A D | rtrs-srv-sysfs.c | 24 static struct kobj_type ktype = { 225 static struct kobj_type ktype_stats = {
|
/linux/drivers/edac/ |
A D | edac_device_sysfs.c | 217 static struct kobj_type ktype_device_ctrl = { 399 static struct kobj_type ktype_instance_ctrl = { 497 static struct kobj_type ktype_block_ctrl = {
|
A D | edac_pci_sysfs.c | 145 static struct kobj_type ktype_pci_instance = { 327 static struct kobj_type ktype_edac_pci_main_kobj = {
|
/linux/mm/ |
A D | cma_sysfs.c | 67 static struct kobj_type cma_ktype = {
|
/linux/arch/ia64/kernel/ |
A D | topology.c | 285 static struct kobj_type cache_ktype = { 290 static struct kobj_type cache_ktype_percpu_entry = {
|
/linux/drivers/cpuidle/ |
A D | sysfs.c | 203 static struct kobj_type ktype_cpuidle = { 449 static struct kobj_type ktype_state_cpuidle = { 595 static struct kobj_type ktype_driver_cpuidle = {
|
/linux/Documentation/core-api/ |
A D | kobject.rst | 121 void kobject_init(struct kobject *kobj, struct kobj_type *ktype); 124 must have an associated kobj_type. After calling kobject_init(), to 159 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, 297 kobj_type:: 299 struct kobj_type { 311 kobj_type structure; a pointer to that structure must be specified when you 314 The release field in struct kobj_type is, of course, a pointer to the
|
/linux/drivers/dma-buf/ |
A D | dma-buf-sysfs-stats.c | 115 static struct kobj_type dma_buf_ktype = {
|
/linux/drivers/md/ |
A D | dm-sysfs.c | 121 static struct kobj_type dm_ktype = {
|
Completed in 54 milliseconds
12345