/freebsd-13-stable/sys/compat/linuxkpi/common/include/linux/ |
H A D | kobject.h | 47 void (*release)(struct kobject *kobj); 73 ssize_t (*show)(struct kobject *kobj, struct kobj_attribute *attr, 75 ssize_t (*store)(struct kobject *kobj, struct kobj_attribute *attr, 80 kobject_init(struct kobject *kobj, const struct kobj_type *ktype) argument 83 kref_init(&kobj->kref); 84 INIT_LIST_HEAD(&kobj->entry); 85 kobj->ktype = ktype; 86 kobj->oidp = NULL; 92 kobject_put(struct kobject *kobj) argument 95 if (kobj) 100 kobject_get(struct kobject *kobj) argument 115 struct kobject *kobj; local 128 struct kobject *kobj; local 146 kobject_name(const struct kobject *kobj) argument 157 kobject_uevent_env(struct kobject *kobj, int action, char *envp[]) argument [all...] |
H A D | sysfs.h | 82 struct kobject *kobj; local 89 kobj = arg1; 91 if (kobj->ktype == NULL || kobj->ktype->sysfs_ops == NULL) 96 ops = kobj->ktype->sysfs_ops; 98 len = ops->show(kobj, attr, buf); 123 len = ops->store(kobj, attr, buf, len); 133 sysfs_create_file(struct kobject *kobj, const struct attribute *attr) argument 137 oid = SYSCTL_ADD_OID(NULL, SYSCTL_CHILDREN(kobj->oidp), OID_AUTO, 138 attr->name, CTLTYPE_STRING|CTLFLAG_RW|CTLFLAG_MPSAFE, kobj, 148 sysfs_remove_file(struct kobject *kobj, const struct attribute *attr) argument 156 sysfs_create_files(struct kobject *kobj, const struct attribute * const *attrs) argument 170 sysfs_remove_files(struct kobject *kobj, const struct attribute * const *attrs) argument 179 sysfs_create_group(struct kobject *kobj, const struct attribute_group *grp) argument 200 sysfs_remove_group(struct kobject *kobj, const struct attribute_group *grp) argument 208 sysfs_create_groups(struct kobject *kobj, const struct attribute_group **grps) argument 224 sysfs_remove_groups(struct kobject *kobj, const struct attribute_group **grps) argument 235 sysfs_merge_group(struct kobject *kobj, const struct attribute_group *grp) argument 243 sysfs_unmerge_group(struct kobject *kobj, const struct attribute_group *grp) argument 258 sysfs_create_dir(struct kobject *kobj) argument 273 sysfs_remove_dir(struct kobject *kobj) argument [all...] |
H A D | cdev.h | 51 struct kobject kobj; member in struct:linux_cdev 64 kobject_init(&cdev->kobj, &linux_cdev_static_ktype); 75 kobject_init(&cdev->kobj, &linux_cdev_ktype); 83 kobject_put(&p->kobj); 106 kobject_name(&cdev->kobj)); 110 kobject_get(cdev->kobj.parent); 131 kobject_name(&cdev->kobj), MINOR(dev)); 135 kobject_get(cdev->kobj.parent); 142 kobject_put(&cdev->kobj);
|
H A D | device.h | 56 struct kobject kobj; member in class:__anon8801 110 struct kobject kobj; member in struct:device 230 kobject_get(&dev->kobj); 239 return kobject_name(&dev->kobj); 243 kobject_set_name(&(_dev)->kobj, (_fmt), ##__VA_ARGS__) 250 kobject_put(&dev->kobj); 258 kobject_init(&class->kobj, &linux_class_ktype); 259 kobject_set_name(&class->kobj, class->name); 260 kobject_add(&class->kobj, &linux_class_root, class->name); 269 kobject_put(&class->kobj); 272 kobj_to_dev(struct kobject *kobj) argument [all...] |
H A D | miscdevice.h | 61 kobject_set_name(&misc->cdev->kobj, misc->name);
|
/freebsd-13-stable/sys/mips/broadcom/ |
H A D | bhnd_nexusvar.h | 36 #include <sys/kobj.h>
|
/freebsd-13-stable/sys/dev/bhnd/ |
H A D | bhnd_erom_types.h | 38 #include <sys/kobj.h>
|
/freebsd-13-stable/sys/dev/ofw/ |
H A D | ofwvar.h | 58 #include <sys/kobj.h>
|
/freebsd-13-stable/sys/powerpc/include/ |
H A D | platformvar.h | 57 #include <sys/kobj.h>
|
/freebsd-13-stable/sys/kgssapi/ |
H A D | gss_release_buffer.c | 35 #include <sys/kobj.h>
|
H A D | gss_create_empty_oid_set.c | 35 #include <sys/kobj.h>
|
H A D | gss_release_oid_set.c | 35 #include <sys/kobj.h>
|
H A D | gss_test_oid_set_member.c | 35 #include <sys/kobj.h>
|
H A D | gss_wrap_size_limit.c | 35 #include <sys/kobj.h>
|
H A D | gss_release_cred.c | 35 #include <sys/kobj.h>
|
H A D | gss_add_oid_set_member.c | 35 #include <sys/kobj.h>
|
/freebsd-13-stable/sys/rpc/rpcsec_gss/ |
H A D | rpcsec_gss_misc.c | 33 #include <sys/kobj.h>
|
/freebsd-13-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-13-stable/sys/compat/linuxkpi/common/src/ |
H A D | linux_compat.c | 136 kobject_set_name_vargs(struct kobject *kobj, const char *fmt, va_list args) argument 144 old = kobj->name; 166 kobj->name = name; 179 kobject_set_name(struct kobject *kobj, const char *fmt, ...) argument 185 error = kobject_set_name_vargs(kobj, fmt, args); 192 kobject_add_complete(struct kobject *kobj, struct kobject *parent) argument 197 kobj->parent = parent; 198 error = sysfs_create_dir(kobj); 199 if (error == 0 && kobj->ktype && kobj 215 kobject_add(struct kobject *kobj, struct kobject *parent, const char *fmt, ...) argument 232 struct kobject *kobj; local 244 linux_kobject_kfree(struct kobject *kobj) argument 250 linux_kobject_kfree_name(struct kobject *kobj) argument 269 linux_class_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 283 linux_class_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 298 linux_class_release(struct kobject *kobj) argument 318 linux_dev_release(struct kobject *kobj) argument 331 linux_dev_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 345 linux_dev_store(struct kobject *kobj, struct attribute *attr, const char *buf, size_t count) argument 391 kobject_init_and_add(struct kobject *kobj, const struct kobj_type *ktype, struct kobject *parent, const char *fmt, ...) argument 2213 linux_cdev_release(struct kobject *kobj) argument 2226 linux_cdev_static_release(struct kobject *kobj) argument [all...] |
/freebsd-13-stable/sys/dev/extres/syscon/ |
H A D | syscon.h | 35 #include <sys/kobj.h>
|
/freebsd-13-stable/sys/cddl/contrib/opensolaris/uts/common/ctf/ |
H A D | ctf_subr.c | 30 #include <sys/kobj.h>
|
/freebsd-13-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-13-stable/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); 323 dataset_property_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 325 zfs_prop_t prop = zfs_name_to_prop(kobject_name(kobj)); 337 pool_property_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 339 zpool_prop_t prop = zpool_name_to_prop(kobject_name(kobj)); 369 kernel_feature_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 443 pool_feature_show(struct kobject *kobj, struct attribute *attr, char *buf) argument 447 if (zfeature_lookup_guid(kobject_name(kobj), &fid) != 0) 617 parent = &(((struct module *)(THIS_MODULE))->mkobj).kobj; [all...] |
/freebsd-13-stable/lib/librpcsec_gss/ |
H A D | rpcsec_gss_conf.c | 56 char *kobj; member in struct:mech_info 184 char *name, *oid, *lib, *kobj; local 207 kobj = strsep(&p, "\t\n "); 208 if (!name || !oid || !lib || !kobj) 221 info->kobj = strdup(kobj);
|
/freebsd-13-stable/sys/dev/extres/phy/ |
H A D | phy.h | 32 #include <sys/kobj.h>
|