Home
last modified time | relevance | path

Searched refs:kobject_init_and_add (Results 1 – 25 of 25) sorted by relevance

/linux-4.19.296/fs/exofs/
Dsys.c162 retval = kobject_init_and_add(s_kobj, &uuid_ktype, in exofs_sysfs_sb_add()
182 retval = kobject_init_and_add(d_kobj, &odev_ktype, in exofs_sysfs_odev_add()
/linux-4.19.296/fs/xfs/
Dxfs_sysfs.h39 return kobject_init_and_add(&kobj->kobject, ktype, parent, "%s", name); in xfs_sysfs_init()
/linux-4.19.296/fs/orangefs/
Dorangefs-sysfs.c1101 rc = kobject_init_and_add(orangefs_obj, in orangefs_sysfs_init()
1118 rc = kobject_init_and_add(acache_orangefs_obj, in orangefs_sysfs_init()
1136 rc = kobject_init_and_add(capcache_orangefs_obj, in orangefs_sysfs_init()
1153 rc = kobject_init_and_add(ccache_orangefs_obj, in orangefs_sysfs_init()
1169 rc = kobject_init_and_add(ncache_orangefs_obj, in orangefs_sysfs_init()
1186 rc = kobject_init_and_add(pc_orangefs_obj, in orangefs_sysfs_init()
1203 rc = kobject_init_and_add(stats_orangefs_obj, in orangefs_sysfs_init()
/linux-4.19.296/drivers/edac/
Dedac_device_sysfs.c258 err = kobject_init_and_add(&edac_dev->kobj, &ktype_device_ctrl, in edac_device_register_sysfs_main_kobj()
535 err = kobject_init_and_add(&block->kobj, &ktype_block_ctrl, in edac_device_create_block()
634 err = kobject_init_and_add(&instance->kobj, &ktype_instance_ctrl, in edac_device_create_instance()
Dedac_pci_sysfs.c174 err = kobject_init_and_add(&pci->kobj, &ktype_pci_instance, in edac_pci_create_instance_kobj()
370 err = kobject_init_and_add(edac_pci_top_main_kobj, in edac_pci_main_kobj_setup()
/linux-4.19.296/drivers/cpuidle/
Dsysfs.c467 ret = kobject_init_and_add(&kobj->kobj, &ktype_state_cpuidle, in cpuidle_add_state_sysfs()
599 ret = kobject_init_and_add(&kdrv->kobj, &ktype_driver_cpuidle, in cpuidle_add_driver_sysfs()
693 error = kobject_init_and_add(&kdev->kobj, &ktype_cpuidle, &cpu_dev->kobj, in cpuidle_add_sysfs()
/linux-4.19.296/fs/nilfs2/
Dsysfs.c92 err = kobject_init_and_add(kobj, &nilfs_##name##_ktype, parent, \
199 err = kobject_init_and_add(&root->snapshot_kobj, in nilfs_sysfs_create_snapshot_group()
204 err = kobject_init_and_add(&root->snapshot_kobj, in nilfs_sysfs_create_snapshot_group()
998 err = kobject_init_and_add(&nilfs->ns_dev_kobj, &nilfs_dev_ktype, NULL, in nilfs_sysfs_create_device_group()
/linux-4.19.296/fs/ext4/
Dsysfs.c384 err = kobject_init_and_add(&sbi->s_kobj, &ext4_sb_ktype, ext4_root, in ext4_register_sysfs()
429 ret = kobject_init_and_add(ext4_feat, &ext4_feat_ktype, in ext4_init_sysfs()
/linux-4.19.296/include/linux/
Dkobject.h99 int kobject_init_and_add(struct kobject *kobj,
/linux-4.19.296/drivers/pci/
Dslot.c314 err = kobject_init_and_add(&slot->kobj, &pci_slot_ktype, NULL, in pci_create_slot()
/linux-4.19.296/fs/f2fs/
Dsysfs.c659 ret = kobject_init_and_add(&f2fs_feat, &f2fs_feat_ktype, in f2fs_init_sysfs()
685 err = kobject_init_and_add(&sbi->s_kobj, &f2fs_sb_ktype, NULL, in f2fs_register_sysfs()
/linux-4.19.296/lib/
Dkobject.c444 int kobject_init_and_add(struct kobject *kobj, struct kobj_type *ktype, in kobject_init_and_add() function
458 EXPORT_SYMBOL_GPL(kobject_init_and_add);
/linux-4.19.296/block/
Dblk-integrity.c441 if (kobject_init_and_add(&disk->integrity_kobj, &integrity_ktype, in blk_integrity_add()
/linux-4.19.296/drivers/s390/char/
Dsclp_sd.c508 rc = kobject_init_and_add(&sd_file->kobj, &sclp_sd_file_ktype, NULL, in sclp_sd_file_create()
/linux-4.19.296/drivers/cpufreq/
Dcpufreq_governor.c453 ret = kobject_init_and_add(&dbs_data->attr_set.kobj, &gov->kobj_type, in cpufreq_dbs_governor_init()
Dcpufreq.c1108 ret = kobject_init_and_add(&policy->kobj, &ktype_cpufreq, in cpufreq_policy_alloc()
/linux-4.19.296/fs/ocfs2/
Dfilecheck.c193 ret = kobject_init_and_add(&entry->fs_kobj, &ocfs2_ktype_filecheck, in ocfs2_filecheck_create_sysfs()
/linux-4.19.296/fs/gfs2/
Dsys.c659 error = kobject_init_and_add(&sdp->sd_kobj, &gfs2_ktype, NULL, in gfs2_sys_fs_add()
/linux-4.19.296/drivers/parisc/
Dpdc_stable.c993 err = kobject_init_and_add(&entry->kobj, &ktype_pdcspath, NULL, in pdcs_register_pathentries()
/linux-4.19.296/drivers/lightnvm/
Dpblk-sysfs.c701 ret = kobject_init_and_add(&pblk->kobj, &pblk_ktype, in pblk_sysfs_init()
/linux-4.19.296/fs/dlm/
Dlockspace.c640 error = kobject_init_and_add(&ls->ls_kobj, &dlm_ktype, NULL, in new_lockspace()
/linux-4.19.296/drivers/misc/cxl/
Dsysfs.c628 rc = kobject_init_and_add(&cr->kobj, &afu_config_record_type, in cxl_sysfs_afu_new_cr()
/linux-4.19.296/fs/btrfs/
Dsysfs.c816 error = kobject_init_and_add(&fs_devs->fsid_kobj, in btrfs_sysfs_add_fsid()
Dextent-tree.c3918 ret = kobject_init_and_add(&space_info->kobj, &space_info_ktype, in create_space_info()
/linux-4.19.296/drivers/base/
Dbus.c660 error = kobject_init_and_add(&priv->kobj, &driver_ktype, NULL, in bus_add_driver()