Home
last modified time | relevance | path

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

/freebsd-14.2/sys/compat/linuxkpi/common/include/linux/
H A Dkobject.h42 struct kobject;
56 struct kobject { struct
57 struct kobject *parent; argument
65 extern struct kobject *mm_kobj; argument
96 kobject_put(struct kobject *kobj) in kobject_put()
103 static inline struct kobject *
104 kobject_get(struct kobject *kobj) in kobject_get()
112 struct kobject *kobject_create(void);
114 int kobject_add(struct kobject *kobj, struct kobject *parent,
117 static inline struct kobject *
[all …]
H A Dsysfs.h41 ssize_t (*show)(struct kobject *, struct attribute *, char *);
42 ssize_t (*store)(struct kobject *, struct attribute *, const char *,
48 mode_t (*is_visible)(struct kobject *,
85 struct kobject *kobj; in sysctl_handle_attr()
136 sysfs_create_file(struct kobject *kobj, const struct attribute *attr) in sysfs_create_file()
151 sysfs_remove_file(struct kobject *kobj, const struct attribute *attr) in sysfs_remove_file()
159 sysfs_create_link(struct kobject *kobj __unused, in sysfs_create_link()
160 struct kobject *target __unused, const char *name __unused) in sysfs_create_link()
168 sysfs_remove_link(struct kobject *kobj, const char *name) in sysfs_remove_link()
276 sysfs_create_dir(struct kobject *kobj) in sysfs_create_dir()
[all …]
H A Ddevice.h61 struct kobject kobj;
116 struct kobject kobj;
135 extern struct kobject linux_class_root;
368 static inline struct device *kobj_to_dev(struct kobject *kobj) in kobj_to_dev()
H A Dcdev.h49 struct kobject kobj;
/freebsd-14.2/sys/compat/linuxkpi/common/src/
H A Dlinux_kobject.c33 struct kobject *
36 struct kobject *kobj; in kobject_create()
91 kobject_set_name(struct kobject *kobj, const char *fmt, ...) in kobject_set_name()
104 kobject_add_complete(struct kobject *kobj, struct kobject *parent) in kobject_add_complete()
127 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) in kobject_add()
143 struct kobject *parent, const char *fmt, ...) in kobject_init_and_add()
164 struct kobject *kobj; in linux_kobject_release()
167 kobj = container_of(kref, struct kobject, kref); in linux_kobject_release()
176 linux_kobject_kfree(struct kobject *kobj) in linux_kobject_kfree()
186 linux_kobject_kfree_name(struct kobject *kobj) in linux_kobject_kfree_name()
[all …]
H A Dlinux_compat.c151 struct kobject linux_class_root;
186 linux_class_show(struct kobject *kobj, struct attribute *attr, char *buf) in linux_class_show()
200 linux_class_store(struct kobject *kobj, struct attribute *attr, const char *buf, in linux_class_store()
215 linux_class_release(struct kobject *kobj) in linux_class_release()
235 linux_dev_release(struct kobject *kobj) in linux_dev_release()
248 linux_dev_show(struct kobject *kobj, struct attribute *attr, char *buf) in linux_dev_show()
262 linux_dev_store(struct kobject *kobj, struct attribute *attr, const char *buf, in linux_dev_store()
2228 linux_cdev_release(struct kobject *kobj) in linux_cdev_release()
2231 struct kobject *parent; in linux_cdev_release()
2241 linux_cdev_static_release(struct kobject *kobj) in linux_cdev_static_release()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/zfs/
H A Dzfs_sysfs.c70 struct kobject zko_kobj;
99 typedef ssize_t (*sysfs_show_func)(struct kobject *, struct attribute *,
127 zfs_kobj_release(struct kobject *kobj) in zfs_kobj_release()
230 zfs_kobj_add(zfs_mod_kobj_t *zkobj, struct kobject *parent, const char *name) in zfs_kobj_add()
352 vdev_property_show(struct kobject *kobj, struct attribute *attr, char *buf) in vdev_property_show()
366 pool_property_show(struct kobject *kobj, struct attribute *attr, char *buf) in pool_property_show()
425 zfs_kernel_features_init(zfs_mod_kobj_t *zfs_kobj, struct kobject *parent) in zfs_kernel_features_init()
472 pool_feature_show(struct kobject *kobj, struct attribute *attr, char *buf) in pool_feature_show()
528 zfs_pool_features_init(zfs_mod_kobj_t *zfs_kobj, struct kobject *parent) in zfs_pool_features_init()
589 zfs_sysfs_properties_init(zfs_mod_kobj_t *zfs_kobj, struct kobject *parent, in zfs_sysfs_properties_init()
[all …]
/freebsd-14.2/sys/contrib/openzfs/config/
H A Dkernel-sysfs.m44 dnl # In cdb4f26a63c391317e335e6e683a614358e70aeb ("kobject: kobj_type: remove default_attrs")
9 dnl # This was added in aa30f47cf666111f6bbfd15f290a27e8a7b9d854 ("kobject: Add support for default…
14 #include <linux/kobject.h>
H A Dkernel-blkdev.m4302 #include <linux/kobject.h>
305 struct kobject *disk_kobj;
/freebsd-14.2/sys/ofed/drivers/infiniband/core/
H A Dib_sysfs.c54 struct kobject kobj;
59 struct kobject kobj;
92 ssize_t (*show)(struct kobject *kobj,
94 ssize_t (*store)(struct kobject *kobj,
133 static ssize_t gid_attr_show(struct kobject *kobj, in gid_attr_show()
1001 struct kobject *kobj = &port->kobj; in setup_hw_stats()
1008 struct kobject *kobj = &device->dev.kobj; in setup_hw_stats()
1030 u8, struct kobject *)) in add_port() argument
1291 struct kobject *p, *t; in free_port_list_attributes()
1318 u8, struct kobject *)) in ib_device_register_sysfs() argument
[all …]
H A Dcore_priv.h76 u8, struct kobject *));
144 struct kobject *kobj, struct kobj_type *ktype,
146 void ib_port_unregister_module_stat(struct kobject *kobj);
H A Dib_user_mad.c104 struct kobject kobj;
140 static void ib_umad_release_dev(struct kobject *kobj) in ib_umad_release_dev()
H A Dib_device.c328 u8, struct kobject *)) in ib_register_device() argument
H A Dib_cm.c174 struct kobject obj;
219 struct kobject port_obj;
3981 static ssize_t cm_show_counter(struct kobject *obj, struct attribute *attr, in cm_show_counter()
/freebsd-14.2/sys/dev/mlx4/mlx4_ib/
H A Dmlx4_ib.h508 struct kobject *device_parent[MLX4_MFUNC_MAX];
513 struct kobject *kobj;
532 struct kobject *cur_port;
533 struct kobject *admin_alias_parent;
534 struct kobject *gids_parent;
535 struct kobject *pkeys_parent;
536 struct kobject *mcgs_parent;
581 struct kobject *iov_parent;
582 struct kobject *ports_parent;
583 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-14.2/sys/dev/drm2/ttm/
H A Dttm_page_alloc_dma.c175 struct kobject kobj;
200 static void ttm_pool_kobj_release(struct kobject *kobj) in ttm_pool_kobj_release()
207 static ssize_t ttm_pool_store(struct kobject *kobj, struct attribute *attr, in ttm_pool_store()
241 static ssize_t ttm_pool_show(struct kobject *kobj, struct attribute *attr, in ttm_pool_show()
/freebsd-14.2/sys/contrib/openzfs/module/os/linux/spl/
H A Dspl-generic.c591 struct kobject *disk_kobj = bdev_kobj(bdev); in spl_signal_kobj_evt()
593 struct kobject *disk_kobj = &part_to_dev(bdev->bd_part)->kobj; in spl_signal_kobj_evt()
/freebsd-14.2/sys/dev/ice/
H A Dirdma_di_if.m33 * @brief RDMA client kobject driver interface
H A Dirdma_if.m33 * @brief RDMA client kobject interface
/freebsd-14.2/sys/ofed/include/rdma/
H A Drdma_vt.h190 int (*port_callback)(struct ib_device *, u8, struct kobject *);
H A Dib_verbs.h2404 struct kobject *ports_parent;
2476 u8, struct kobject *));
/freebsd-14.2/sys/dev/mlx4/mlx4_en/
H A Den.h537 struct kobject kobj;