Home
last modified time | relevance | path

Searched refs:kobject (Results 1 – 19 of 19) sorted by relevance

/freebsd-13.1/sys/compat/linuxkpi/common/include/linux/
H A Dkobject.h41 struct kobject;
54 struct kobject { struct
55 struct kobject *parent; argument
63 extern struct kobject *mm_kobj; argument
94 kobject_put(struct kobject *kobj) in kobject_put()
101 static inline struct kobject *
102 kobject_get(struct kobject *kobj) in kobject_get()
110 struct kobject *kobject_create(void);
112 int kobject_add(struct kobject *kobj, struct kobject *parent,
115 static inline struct kobject *
[all …]
H A Dsysfs.h42 ssize_t (*show)(struct kobject *, struct attribute *, char *);
43 ssize_t (*store)(struct kobject *, struct attribute *, const char *,
49 mode_t (*is_visible)(struct kobject *,
83 struct kobject *kobj; in sysctl_handle_attr()
134 sysfs_create_file(struct kobject *kobj, const struct attribute *attr) in sysfs_create_file()
149 sysfs_remove_file(struct kobject *kobj, const struct attribute *attr) in sysfs_remove_file()
180 sysfs_create_group(struct kobject *kobj, const struct attribute_group *grp) in sysfs_create_group()
201 sysfs_remove_group(struct kobject *kobj, const struct attribute_group *grp) in sysfs_remove_group()
236 sysfs_merge_group(struct kobject *kobj, const struct attribute_group *grp) in sysfs_merge_group()
259 sysfs_create_dir(struct kobject *kobj) in sysfs_create_dir()
[all …]
H A Ddevice.h59 struct kobject kobj;
113 struct kobject kobj;
130 extern struct kobject linux_class_root;
313 static inline struct device *kobj_to_dev(struct kobject *kobj) in kobj_to_dev()
H A Dcdev.h51 struct kobject kobj;
/freebsd-13.1/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_sysfs.c72 struct kobject zko_kobj;
99 typedef ssize_t (*sysfs_show_func)(struct kobject *, struct attribute *,
118 zfs_kobj_release(struct kobject *kobj) in zfs_kobj_release()
215 zfs_kobj_add(zfs_mod_kobj_t *zkobj, struct kobject *parent, const char *name) in zfs_kobj_add()
337 pool_property_show(struct kobject *kobj, struct attribute *attr, char *buf) in pool_property_show()
369 kernel_feature_show(struct kobject *kobj, struct attribute *attr, char *buf) in kernel_feature_show()
396 zfs_kernel_features_init(zfs_mod_kobj_t *zfs_kobj, struct kobject *parent) in zfs_kernel_features_init()
443 pool_feature_show(struct kobject *kobj, struct attribute *attr, char *buf) in pool_feature_show()
499 zfs_pool_features_init(zfs_mod_kobj_t *zfs_kobj, struct kobject *parent) in zfs_pool_features_init()
560 zfs_sysfs_properties_init(zfs_mod_kobj_t *zfs_kobj, struct kobject *parent, in zfs_sysfs_properties_init()
[all …]
/freebsd-13.1/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c56 struct kobject kobj;
61 struct kobject kobj;
94 ssize_t (*show)(struct kobject *kobj,
96 ssize_t (*store)(struct kobject *kobj,
135 static ssize_t gid_attr_show(struct kobject *kobj, in gid_attr_show()
1003 struct kobject *kobj = &port->kobj; in setup_hw_stats()
1010 struct kobject *kobj = &device->dev.kobj; in setup_hw_stats()
1032 u8, struct kobject *)) in add_port() argument
1293 struct kobject *p, *t; in free_port_list_attributes()
1320 u8, struct kobject *)) in ib_device_register_sysfs() argument
[all …]
H A Dcore_priv.h75 u8, struct kobject *));
141 struct kobject *kobj, struct kobj_type *ktype,
143 void ib_port_unregister_module_stat(struct kobject *kobj);
H A Duverbs.h111 struct kobject kobj;
H A Dib_user_mad.c106 struct kobject kobj;
142 static void ib_umad_release_dev(struct kobject *kobj) in ib_umad_release_dev()
H A Dib_device.c330 u8, struct kobject *)) in ib_register_device() argument
H A Dib_uverbs_main.c184 static void ib_uverbs_release_dev(struct kobject *kobj) in ib_uverbs_release_dev()
H A Dib_cm.c176 struct kobject obj;
221 struct kobject port_obj;
3982 static ssize_t cm_show_counter(struct kobject *obj, struct attribute *attr, in cm_show_counter()
/freebsd-13.1/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib.h513 struct kobject *device_parent[MLX4_MFUNC_MAX];
518 struct kobject *kobj;
537 struct kobject *cur_port;
538 struct kobject *admin_alias_parent;
539 struct kobject *gids_parent;
540 struct kobject *pkeys_parent;
541 struct kobject *mcgs_parent;
586 struct kobject *iov_parent;
587 struct kobject *ports_parent;
588 struct kobject *dev_ports_parent[MLX4_MFUNC_MAX];
H A Dmlx4_ib_sysfs.c163 char *_name, struct kobject *_kobj, in create_sysfs_entry()
368 struct kobject kobj;
379 static void mlx4_port_release(struct kobject *kobj) in mlx4_port_release()
401 static ssize_t port_attr_show(struct kobject *kobj, in port_attr_show()
413 static ssize_t port_attr_store(struct kobject *kobj, in port_attr_store()
712 struct kobject *p, *t; in register_one_pkey_tree()
787 struct kobject *p, *t; in unregister_pkey_tree()
/freebsd-13.1/sys/compat/linuxkpi/common/src/
H A Dlinux_compat.c133 struct kobject linux_class_root;
159 struct kobject *
162 struct kobject *kobj; in kobject_create()
230 kobject_add_complete(struct kobject *kobj, struct kobject *parent) in kobject_add_complete()
253 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) in kobject_add()
270 struct kobject *kobj; in linux_kobject_release()
282 linux_kobject_kfree(struct kobject *kobj) in linux_kobject_kfree()
366 linux_class_release(struct kobject *kobj) in linux_class_release()
386 linux_dev_release(struct kobject *kobj) in linux_dev_release()
2355 linux_cdev_release(struct kobject *kobj) in linux_cdev_release()
[all …]
/freebsd-13.1/sys/dev/drm2/ttm/
H A Dttm_page_alloc_dma.c177 struct kobject kobj;
202 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release()
209 static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr, in ttm_pool_store()
243 static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr, in ttm_pool_show()
/freebsd-13.1/sys/ofed/include/rdma/
H A Drdma_vt.h192 int (*port_callback)(struct ib_device *, u8, struct kobject *);
H A Dib_verbs.h2123 struct kobject *ports_parent;
2193 u8, struct kobject *));
/freebsd-13.1/sys/dev/mlx4/mlx4_en/
H A Den.h537 struct kobject kobj;