/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | kobject.h | 45 void (*release)(struct kobject *kobj); 71 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, 73 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr, 78 kobject_init(struct kobject *kobj, const struct kobj_type *ktype) argument 81 kref_init(&kobj->kref); 82 INIT_LIST_HEAD(&kobj->entry); 83 kobj->ktype = ktype; 84 kobj->oidp = NULL; 90 kobject_put(struct kobject *kobj) argument 93 if (kobj) 98 kobject_get(struct kobject *kobj) argument 113 struct kobject *kobj; local 126 struct kobject *kobj; local 144 kobject_name(const struct kobject *kobj) argument [all...] |
H A D | sysfs.h | 83 struct kobject *kobj; local 90 kobj = arg1; 92 if (kobj->ktype == NULL || kobj->ktype->sysfs_ops == NULL) 97 ops = kobj->ktype->sysfs_ops; 99 len = ops->show(kobj, attr, buf); 124 len = ops->store(kobj, attr, buf, len); 134 sysfs_create_file(struct kobject *kobj, const struct attribute *attr) argument 138 oid = SYSCTL_ADD_OID(NULL, SYSCTL_CHILDREN(kobj->oidp), OID_AUTO, 139 attr->name, CTLTYPE_STRING|CTLFLAG_RW|CTLFLAG_MPSAFE, kobj, 149 sysfs_remove_file(struct kobject *kobj, const struct attribute *attr) argument 157 sysfs_create_files(struct kobject *kobj, const struct attribute * const *attrs) argument 171 sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attrs) argument 180 sysfs_create_group(struct kobject *kobj, const struct attribute_group *grp) argument 201 sysfs_remove_group(struct kobject *kobj, const struct attribute_group *grp) argument 209 sysfs_create_groups(struct kobject *kobj, const struct attribute_group **grps) argument 225 sysfs_remove_groups(struct kobject *kobj, const struct attribute_group **grps) argument 236 sysfs_merge_group(struct kobject *kobj, const struct attribute_group *grp) argument 244 sysfs_unmerge_group(struct kobject *kobj, const struct attribute_group *grp) argument 259 sysfs_create_dir(struct kobject *kobj) argument 274 sysfs_remove_dir(struct kobject *kobj) argument [all...] |
H A D | cdev.h | 50 struct kobject kobj; member in struct:linux_cdev 63 kobject_init(&cdev->kobj, &linux_cdev_static_ktype); 74 kobject_init(&cdev->kobj, &linux_cdev_ktype); 82 kobject_put(&p->kobj); 105 kobject_name(&cdev->kobj)); 109 kobject_get(cdev->kobj.parent); 130 kobject_name(&cdev->kobj), MINOR(dev)); 134 kobject_get(cdev->kobj.parent); 145 kobject_put(&cdev->kobj);
|
H A D | device.h | 54 struct kobject kobj; member in class:__anon1 107 struct kobject kobj; member in struct:device 225 kobject_get(&dev->kobj); 234 return kobject_name(&dev->kobj); 238 kobject_set_name(&(_dev)->kobj, (_fmt), ##__VA_ARGS__) 245 kobject_put(&dev->kobj); 253 kobject_init(&class->kobj, &linux_class_ktype); 254 kobject_set_name(&class->kobj, class->name); 255 kobject_add(&class->kobj, &linux_class_root, class->name); 264 kobject_put(&class->kobj); 267 kobj_to_dev(struct kobject *kobj) argument [all...] |
H A D | miscdevice.h | 61 kobject_set_name(&misc->cdev->kobj, misc->name);
|
/freebsd-11-stable/sys/dev/ofw/ |
H A D | ofwvar.h | 56 #include <sys/kobj.h>
|
/freebsd-11-stable/sys/powerpc/include/ |
H A D | platformvar.h | 55 #include <sys/kobj.h>
|
H A D | mmuvar.h | 51 * kobj inheritance e.g. 56 #include <sys/kobj.h>
|
/freebsd-11-stable/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss_misc.c | 31 #include <sys/kobj.h>
|
/freebsd-11-stable/sys/kgssapi/ |
H A D | gss_release_buffer.c | 33 #include <sys/kobj.h>
|
H A D | gss_create_empty_oid_set.c | 33 #include <sys/kobj.h>
|
H A D | gss_release_oid_set.c | 33 #include <sys/kobj.h>
|
H A D | gss_test_oid_set_member.c | 33 #include <sys/kobj.h>
|
H A D | gss_wrap_size_limit.c | 33 #include <sys/kobj.h>
|
H A D | gss_release_cred.c | 33 #include <sys/kobj.h>
|
H A D | gss_add_oid_set_member.c | 33 #include <sys/kobj.h>
|
H A D | gss_canonicalize_name.c | 33 #include <sys/kobj.h>
|
H A D | gss_delete_sec_context.c | 33 #include <sys/kobj.h>
|
H A D | gss_display_status.c | 33 #include <sys/kobj.h>
|
/freebsd-11-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_sysfs.c | 55 struct kobject kobj; member in struct:gid_attr_group 60 struct kobject kobj; member in struct:ib_port 93 ssize_t (*show)(struct kobject *kobj, 95 ssize_t (*store)(struct kobject *kobj, 103 static ssize_t port_attr_show(struct kobject *kobj, argument 108 struct ib_port *p = container_of(kobj, struct ib_port, kobj); 120 static ssize_t gid_attr_show(struct kobject *kobj, argument 125 struct ib_port *p = container_of(kobj, struct gid_attr_group, 126 kobj) 640 ib_port_release(struct kobject *kobj) argument 663 ib_port_gid_attr_release(struct kobject *kobj) argument 786 show_hw_stats(struct kobject *kobj, struct attribute *attr, char *buf) argument 811 show_stats_lifespan(struct kobject *kobj, struct attribute *attr, char *buf) argument 830 set_stats_lifespan(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 857 free_hsag(struct kobject *kobj, struct attribute_group *attr_group) argument 952 struct kobject *kobj = &port->kobj; local 959 struct kobject *kobj = &device->dev.kobj; local [all...] |
/freebsd-11-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 129 kobject_set_name_vargs(struct kobject *kobj, const char *fmt, va_list args) argument 137 old = kobj->name; 159 kobj->name = name; 172 kobject_set_name(struct kobject *kobj, const char *fmt, ...) argument 178 error = kobject_set_name_vargs(kobj, fmt, args); 185 kobject_add_complete(struct kobject *kobj, struct kobject *parent) argument 190 kobj->parent = parent; 191 error = sysfs_create_dir(kobj); 192 if (error == 0 && kobj->ktype && kobj 209 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) argument 226 struct kobject *kobj; local 238 linux_kobject_kfree(struct kobject *kobj) argument 244 linux_kobject_kfree_name(struct kobject *kobj) argument 263 linux_class_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 277 linux_class_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 292 linux_class_release(struct kobject *kobj) argument 312 linux_dev_release(struct kobject *kobj) argument 325 linux_dev_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 339 linux_dev_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 385 kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...) argument 2155 linux_cdev_release(struct kobject *kobj) argument 2168 linux_cdev_static_release(struct kobject *kobj) argument [all...] |
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/ |
H A D | kobj.h | 34 #include_next <sys/kobj.h>
|
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
H A D | ctf_subr.c | 30 #include <sys/kobj.h>
|
/freebsd-11-stable/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-11-stable/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);
|