Home
last modified time | relevance | path

Searched refs:queue_kobj (Results 1 – 6 of 6) sorted by relevance

/linux/block/
H A Dblk-sysfs.c617 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_visible()
631 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in blk_mq_queue_attr_visible()
659 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_show()
675 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_store()
746 kobject_init(&disk->queue_kobj, &blk_queue_ktype); in blk_register_queue()
747 ret = kobject_add(&disk->queue_kobj, &disk_to_dev(disk)->kobj, "queue"); in blk_register_queue()
782 kobject_uevent(&disk->queue_kobj, KOBJ_ADD); in blk_register_queue()
812 kobject_put(&disk->queue_kobj); in blk_register_queue()
859 kobject_uevent(&disk->queue_kobj, KOBJ_REMOVE); in blk_unregister_queue()
860 kobject_del(&disk->queue_kobj); in blk_unregister_queue()
H A Dbsg.c182 if (disk && disk->queue_kobj.sd) in bsg_unregister_queue()
183 sysfs_remove_link(&disk->queue_kobj, "bsg"); in bsg_unregister_queue()
223 if (q->disk && q->disk->queue_kobj.sd) { in bsg_register_queue()
224 ret = sysfs_create_link(&q->disk->queue_kobj, &bd->device.kobj, in bsg_register_queue()
H A Dblk-crypto-sysfs.c144 &disk->queue_kobj, "crypto"); in blk_crypto_sysfs_register()
H A Dblk-ia-ranges.c126 &disk->queue_kobj, "%s", in disk_register_independent_access_ranges()
H A Delevator.c462 error = kobject_add(&e->kobj, &q->disk->queue_kobj, "iosched"); in elv_register_queue()
/linux/include/linux/
H A Dblkdev.h178 struct kobject queue_kobj; /* the queue/ directory */ member