/freebsd-current/sys/compat/linuxkpi/common/src/ |
H A D | linux_kobject.c | 33 static void kset_join(struct kobject *kobj); 34 static void kset_leave(struct kobject *kobj); 35 static void kset_kfree(struct kobject *kobj); 40 struct kobject *kobj; local 42 kobj = kzalloc(sizeof(*kobj), GFP_KERNEL); 43 if (kobj == NULL) 45 kobject_init(kobj, &linux_kfree_type); 47 return (kobj); 52 kobject_set_name_vargs(struct kobject *kobj, cons argument 95 kobject_set_name(struct kobject *kobj, const char *fmt, ...) argument 108 kobject_add_complete(struct kobject *kobj) argument 139 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) argument 156 kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...) argument 178 struct kobject *kobj; local 191 linux_kobject_kfree(struct kobject *kobj) argument 201 linux_kobject_kfree_name(struct kobject *kobj) argument 209 lkpi_kobj_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 221 lkpi_kobj_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 271 kset_join(struct kobject *kobj) argument 287 kset_leave(struct kobject *kobj) argument 348 kset_kfree(struct kobject *kobj) argument [all...] |
H A D | linux_compat.c | 182 linux_class_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 190 error = dattr->show(container_of(kobj, struct class, kobj), 196 linux_class_store(struct kobject *kobj, struct attribute *attr, const char *buf, argument 205 error = dattr->store(container_of(kobj, struct class, kobj), 211 linux_class_release(struct kobject *kobj) argument 215 class = container_of(kobj, struct class, kobj); 231 linux_dev_release(struct kobject *kobj) argument 244 linux_dev_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 258 linux_dev_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 2224 linux_cdev_release(struct kobject *kobj) argument 2237 linux_cdev_static_release(struct kobject *kobj) argument [all...] |
/freebsd-current/sys/compat/linuxkpi/common/include/linux/ |
H A D | kobject.h | 49 void (*release)(struct kobject *kobj); 79 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, 81 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr, 92 struct kobject kobj; member in struct:kset 97 kobject_init(struct kobject *kobj, const struct kobj_type *ktype) argument 100 kref_init(&kobj->kref); 101 INIT_LIST_HEAD(&kobj->entry); 102 kobj->ktype = ktype; 103 kobj->oidp = NULL; 109 kobject_put(struct kobject *kobj) argument 117 kobject_get(struct kobject *kobj) argument 133 struct kobject *kobj; local 151 kobject_name(const struct kobject *kobj) argument 162 kobject_uevent_env(struct kobject *kobj, int action, char *envp[]) argument 180 to_kset(struct kobject *kobj) argument 192 struct kobject *kobj; local [all...] |
H A D | sysfs.h | 85 struct kobject *kobj; local 92 kobj = arg1; 94 if (kobj->ktype == NULL || kobj->ktype->sysfs_ops == NULL) 99 ops = kobj->ktype->sysfs_ops; 101 len = ops->show(kobj, attr, buf); 126 len = ops->store(kobj, attr, buf, len); 136 sysfs_create_file(struct kobject *kobj, const struct attribute *attr) argument 140 oid = SYSCTL_ADD_OID(NULL, SYSCTL_CHILDREN(kobj->oidp), OID_AUTO, 141 attr->name, CTLTYPE_STRING|CTLFLAG_RW|CTLFLAG_MPSAFE, kobj, 151 sysfs_remove_file(struct kobject *kobj, const struct attribute *attr) argument 168 sysfs_remove_link(struct kobject *kobj, const char *name) argument 174 sysfs_create_files(struct kobject *kobj, const struct attribute * const *attrs) argument 188 sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attrs) argument 197 sysfs_create_group(struct kobject *kobj, const struct attribute_group *grp) argument 218 sysfs_remove_group(struct kobject *kobj, const struct attribute_group *grp) argument 226 sysfs_create_groups(struct kobject *kobj, const struct attribute_group **grps) argument 242 sysfs_remove_groups(struct kobject *kobj, const struct attribute_group **grps) argument 253 sysfs_merge_group(struct kobject *kobj, const struct attribute_group *grp) argument 261 sysfs_unmerge_group(struct kobject *kobj, const struct attribute_group *grp) argument 276 sysfs_create_dir(struct kobject *kobj) argument 291 sysfs_remove_dir(struct kobject *kobj) argument [all...] |
H A D | cdev.h | 49 struct kobject kobj; member in struct:linux_cdev 64 kobject_init(&cdev->kobj, &linux_cdev_static_ktype); 72 kobject_put(&p->kobj); 95 kobject_name(&cdev->kobj)); 99 kobject_get(cdev->kobj.parent); 120 kobject_name(&cdev->kobj), MINOR(dev)); 124 kobject_get(cdev->kobj.parent); 131 kobject_put(&cdev->kobj);
|
H A D | device.h | 61 struct kobject kobj; member in class:__anon4 117 struct kobject kobj; member in struct:device 322 kobject_get(&dev->kobj); 331 return kobject_name(&dev->kobj); 335 kobject_set_name(&(_dev)->kobj, (_fmt), ##__VA_ARGS__) 342 kobject_put(&dev->kobj); 352 kobject_init(&class->kobj, &linux_class_ktype); 353 kobject_set_name(&class->kobj, class->name); 354 kobject_add(&class->kobj, &linux_class_root, class->name); 363 kobject_put(&class->kobj); 366 kobj_to_dev(struct kobject *kobj) argument [all...] |
H A D | miscdevice.h | 59 kobject_set_name(&misc->cdev->kobj, misc->name);
|
/freebsd-current/sys/dev/bhnd/ |
H A D | bhnd_erom_types.h | 37 #include <sys/kobj.h>
|
/freebsd-current/sys/powerpc/include/ |
H A D | platformvar.h | 55 #include <sys/kobj.h>
|
/freebsd-current/sys/dev/ofw/ |
H A D | ofwvar.h | 56 #include <sys/kobj.h>
|
/freebsd-current/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss_misc.c | 30 #include <sys/kobj.h>
|
/freebsd-current/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sysfs.c | 54 struct kobject kobj; member in struct:gid_attr_group 59 struct kobject kobj; member in struct:ib_port 92 ssize_t (*show)(struct kobject *kobj, 94 ssize_t (*store)(struct kobject *kobj, 102 static ssize_t port_attr_show(struct kobject *kobj, argument 107 struct ib_port *p = container_of(kobj, struct ib_port, kobj); 115 static ssize_t port_attr_store(struct kobject *kobj, argument 121 struct ib_port *p = container_of(kobj, struct ib_port, kobj); 133 gid_attr_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 667 ib_port_release(struct kobject *kobj) argument 690 ib_port_gid_attr_release(struct kobject *kobj) argument 813 show_hw_stats(struct kobject *kobj, struct attribute *attr, char *buf) argument 843 show_stats_lifespan(struct kobject *kobj, struct attribute *attr, char *buf) argument 870 set_stats_lifespan(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 905 free_hsag(struct kobject *kobj, struct attribute_group *attr_group) argument 1001 struct kobject *kobj = &port->kobj; local 1008 struct kobject *kobj = &device->dev.kobj; local 1403 ib_port_register_module_stat(struct ib_device *device, u8 port_num, struct kobject *kobj, struct kobj_type *ktype, const char *name) argument 1432 ib_port_unregister_module_stat(struct kobject *kobj) argument [all...] |
/freebsd-current/sys/kgssapi/ |
H A D | gss_create_empty_oid_set.c | 32 #include <sys/kobj.h>
|
H A D | gss_release_buffer.c | 32 #include <sys/kobj.h>
|
H A D | gss_release_oid_set.c | 32 #include <sys/kobj.h>
|
H A D | gss_wrap_size_limit.c | 32 #include <sys/kobj.h>
|
H A D | gss_test_oid_set_member.c | 32 #include <sys/kobj.h>
|
H A D | gss_delete_sec_context.c | 33 #include <sys/kobj.h>
|
/freebsd-current/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
H A D | ctf_subr.c | 30 #include <sys/kobj.h>
|
/freebsd-current/sys/contrib/dev/athk/ath10k/ |
H A D | thermal.c | 172 ret = sysfs_create_link(&ar->dev->kobj, &cdev->device.kobj, 206 sysfs_remove_link(&ar->dev->kobj, "cooling_device"); 217 sysfs_remove_link(&ar->dev->kobj, "cooling_device");
|
/freebsd-current/sys/dev/syscon/ |
H A D | syscon.h | 33 #include <sys/kobj.h>
|
/freebsd-current/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_sysfs.c | 159 sysfs_remove_file((_dentry)->kobj, &(_dentry)->dentry.attr); \ 181 vdentry->kobj = _kobj; 190 ret = sysfs_create_file(vdentry->kobj, &vdentry->dentry.attr); 368 struct kobject kobj; member in struct:mlx4_port 379 static void mlx4_port_release(struct kobject *kobj) argument 381 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); 401 static ssize_t port_attr_show(struct kobject *kobj, argument 406 struct mlx4_port *p = container_of(kobj, struct mlx4_port, kobj); 413 port_attr_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t size) argument [all...] |
/freebsd-current/sys/contrib/openzfs/module/os/linux/zfs/ |
H A D | zfs_sysfs.c | 118 zfs_kobj_release(struct kobject *kobj) argument 120 zfs_mod_kobj_t *zkobj = container_of(kobj, zfs_mod_kobj_t, zko_kobj); 329 dataset_property_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 331 zfs_prop_t prop = zfs_name_to_prop(kobject_name(kobj)); 343 vdev_property_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 345 vdev_prop_t prop = vdev_name_to_prop(kobject_name(kobj)); 357 pool_property_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 359 zpool_prop_t prop = zpool_name_to_prop(kobject_name(kobj)); 389 kernel_feature_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 463 pool_feature_show(struct kobject *kobj, struc argument [all...] |
/freebsd-current/lib/librpcsec_gss/ |
H A D | rpcsec_gss_conf.c | 54 char *kobj; member in struct:mech_info 182 char *name, *oid, *lib, *kobj; local 205 kobj = strsep(&p, "\t\n "); 206 if (!name || !oid || !lib || !kobj) 219 info->kobj = strdup(kobj);
|
/freebsd-current/sys/arm/include/ |
H A D | platformvar.h | 51 #include <sys/kobj.h>
|