kobject_add 262 arch/arm64/kernel/cpuinfo.c rc = kobject_add(&info->kobj, &dev->kobj, "regs"); kobject_add 346 arch/powerpc/platforms/powernv/opal-dump.c rc = kobject_add(&dump->kobj, NULL, "0x%x-0x%x", type, id); kobject_add 219 arch/powerpc/platforms/powernv/opal-elog.c rc = kobject_add(&elog->kobj, NULL, "0x%llx", id); kobject_add 1286 arch/x86/kernel/cpu/mce/amd.c err = kobject_add(&b->blocks->kobj, b->kobj, b->blocks->kobj.name); kobject_add 1292 arch/x86/kernel/cpu/mce/amd.c err = kobject_add(&pos->kobj, b->kobj, pos->kobj.name); kobject_add 1321 arch/x86/kernel/cpu/mce/amd.c err = kobject_add(b->kobj, &dev->kobj, name); kobject_add 260 block/blk-mq-sysfs.c ret = kobject_add(&hctx->kobj, q->mq_kobj, "%u", hctx->queue_num); kobject_add 265 block/blk-mq-sysfs.c ret = kobject_add(&ctx->kobj, &hctx->kobj, "cpu%u", ctx->cpu); kobject_add 330 block/blk-mq-sysfs.c ret = kobject_add(q->mq_kobj, kobject_get(&dev->kobj), "%s", "mq"); kobject_add 972 block/blk-sysfs.c ret = kobject_add(&q->kobj, kobject_get(&dev->kobj), "%s", "queue"); kobject_add 493 block/elevator.c error = kobject_add(&e->kobj, &q->kobj, "%s", "iosched"); kobject_add 329 crypto/pcrypt.c ret = kobject_add(&pinst->kobj, NULL, "%s", name); kobject_add 1772 drivers/base/core.c retval = kobject_add(&dir->kobj, parent_kobj, "%s", class->name); kobject_add 2153 drivers/base/core.c error = kobject_add(&dev->kobj, dev->kobj.parent, NULL); kobject_add 127 drivers/firmware/efi/runtime-map.c ret = kobject_add(&entry->kobj, NULL, "%d", nr); kobject_add 190 drivers/firmware/memmap.c if (kobject_add(&entry->kobj, NULL, "%d", map_entries_nr++)) kobject_add 106 drivers/firmware/turris-mox-rwtm.c if (kobject_add(rwtm_to_kobj(rwtm), firmware_kobj, "turris-mox-rwtm")) { kobject_add 99 drivers/md/bcache/stats.c int ret = kobject_add(&acc->total.kobj, parent, kobject_add 101 drivers/md/bcache/stats.c ret = ret ?: kobject_add(&acc->five_minute.kobj, parent, kobject_add 103 drivers/md/bcache/stats.c ret = ret ?: kobject_add(&acc->hour.kobj, parent, kobject_add 105 drivers/md/bcache/stats.c ret = ret ?: kobject_add(&acc->day.kobj, parent, kobject_add 1377 drivers/md/bcache/super.c if (kobject_add(&dc->disk.kobj, &part_to_dev(bdev->bd_part)->kobj, kobject_add 1458 drivers/md/bcache/super.c if (kobject_add(&d->kobj, &disk_to_dev(d->disk)->kobj, "bcache")) kobject_add 2075 drivers/md/bcache/super.c if (kobject_add(&c->kobj, bcache_kobj, "%pU", c->sb.set_uuid) || kobject_add 2076 drivers/md/bcache/super.c kobject_add(&c->internal, &c->kobj, "internal")) kobject_add 2298 drivers/md/bcache/super.c if (kobject_add(&ca->kobj, kobject_add 2342 drivers/md/md.c if ((err = kobject_add(&rdev->kobj, &mddev->kobj, "dev-%s", b))) kobject_add 5519 drivers/md/md.c error = kobject_add(&mddev->kobj, &disk_to_dev(disk)->kobj, "%s", "md"); kobject_add 139 drivers/of/kobj.c rc = kobject_add(&np->kobj, parent, "%s", name); kobject_add 314 drivers/uio/uio.c ret = kobject_add(&map->kobj, idev->map_dir, "map%d", mi); kobject_add 343 drivers/uio/uio.c ret = kobject_add(&portio->kobj, idev->portio_dir, kobject_add 853 fs/btrfs/sysfs.c ret = kobject_add(&rkobj->kobj, &space_info->kobj, "%s", kobject_add 96 include/linux/kobject.h int kobject_add(struct kobject *kobj, struct kobject *parent, kobject_add 293 kernel/irq/irqdesc.c if (kobject_add(&desc->kobj, irq_kobj_base, "%d", irq)) kobject_add 704 kernel/livepatch/core.c return kobject_add(&func->kobj, &obj->kobj, "%s,%lu", kobject_add 782 kernel/livepatch/core.c ret = kobject_add(&obj->kobj, &patch->kobj, "%s", name); kobject_add 851 kernel/livepatch/core.c ret = kobject_add(&patch->kobj, klp_root_kobj, "%s", patch->mod->name); kobject_add 447 lib/kobject.c EXPORT_SYMBOL(kobject_add); kobject_add 800 lib/kobject.c retval = kobject_add(kobj, parent, "%s", name); kobject_add 348 sound/hda/hdac_sysfs.c err = kobject_add(kobj, parent, "%02x", nid);