Searched refs:queue_kobj (Results 1 – 6 of 6) sorted by relevance
/linux/block/ |
H A D | blk-sysfs.c | 617 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 D | bsg.c | 182 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 D | blk-crypto-sysfs.c | 144 &disk->queue_kobj, "crypto"); in blk_crypto_sysfs_register()
|
H A D | blk-ia-ranges.c | 126 &disk->queue_kobj, "%s", in disk_register_independent_access_ranges()
|
H A D | elevator.c | 462 error = kobject_add(&e->kobj, &q->disk->queue_kobj, "iosched"); in elv_register_queue()
|
/linux/include/linux/ |
H A D | blkdev.h | 178 struct kobject queue_kobj; /* the queue/ directory */ member
|