Lines Matching refs:kobject
23 static void nfs_kset_release(struct kobject *kobj) in nfs_kset_release()
30 const struct kobject *kobj) in nfs_netns_object_child_ns_type()
73 static ssize_t nfs_netns_identifier_show(struct kobject *kobj, in nfs_netns_identifier_show()
78 kobject); in nfs_netns_identifier_show()
95 static ssize_t nfs_netns_identifier_store(struct kobject *kobj, in nfs_netns_identifier_store()
101 kobject); in nfs_netns_identifier_store()
120 static void nfs_netns_client_release(struct kobject *kobj) in nfs_netns_client_release()
124 kobject); in nfs_netns_client_release()
129 static const void *nfs_netns_client_namespace(const struct kobject *kobj) in nfs_netns_client_namespace()
131 return container_of(kobj, struct nfs_netns_client, kobject)->net; in nfs_netns_client_namespace()
150 static void nfs_netns_object_release(struct kobject *kobj) in nfs_netns_object_release()
158 static const void *nfs_netns_namespace(const struct kobject *kobj) in nfs_netns_namespace()
169 static struct nfs_netns_client *nfs_netns_client_alloc(struct kobject *parent, in nfs_netns_client_alloc()
177 p->kobject.kset = nfs_kset; in nfs_netns_client_alloc()
186 if (kobject_init_and_add(&p->kobject, &nfs_netns_client_type, in nfs_netns_client_alloc()
190 kobject_put(&p->kobject); in nfs_netns_client_alloc()
202 kobject_uevent(&clp->kobject, KOBJ_ADD); in nfs_netns_sysfs_setup()
211 kobject_uevent(&clp->kobject, KOBJ_REMOVE); in nfs_netns_sysfs_destroy()
212 kobject_del(&clp->kobject); in nfs_netns_sysfs_destroy()
213 kobject_put(&clp->kobject); in nfs_netns_sysfs_destroy()
232 shutdown_show(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_show()
241 shutdown_store(struct kobject *kobj, struct kobj_attribute *attr, in shutdown_store()
288 &clnt->cl_sysfs->kobject, name); in nfs_sysfs_link_rpc_client()
295 static void nfs_sysfs_sb_release(struct kobject *kobj) in nfs_sysfs_sb_release()
300 static const void *nfs_netns_server_namespace(const struct kobject *kobj) in nfs_netns_server_namespace()