Home
last modified time | relevance | path

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

/linux-6.6.21/block/
Dblk-sysfs.c676 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_visible()
690 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in blk_mq_queue_attr_visible()
718 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_show()
735 struct gendisk *disk = container_of(kobj, struct gendisk, queue_kobj); in queue_attr_store()
793 kobject_init(&disk->queue_kobj, &blk_queue_ktype); in blk_register_queue()
794 ret = kobject_add(&disk->queue_kobj, &disk_to_dev(disk)->kobj, "queue"); in blk_register_queue()
830 kobject_uevent(&disk->queue_kobj, KOBJ_ADD); in blk_register_queue()
860 kobject_put(&disk->queue_kobj); in blk_register_queue()
907 kobject_uevent(&disk->queue_kobj, KOBJ_REMOVE); in blk_unregister_queue()
908 kobject_del(&disk->queue_kobj); in blk_unregister_queue()
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()
Dblk-crypto-sysfs.c144 &disk->queue_kobj, "crypto"); in blk_crypto_sysfs_register()
Dblk-ia-ranges.c126 &disk->queue_kobj, "%s", in disk_register_independent_access_ranges()
Delevator.c470 error = kobject_add(&e->kobj, &q->disk->queue_kobj, "iosched"); in elv_register_queue()
/linux-6.6.21/include/linux/
Dblkdev.h165 struct kobject queue_kobj; /* the queue/ directory */ member