Home
last modified time | relevance | path

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

/block/
Dblk-mq-sysfs.c35 struct blk_mq_ctx_sysfs_entry *entry; in blk_mq_sysfs_show() local
40 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_show()
44 if (!entry->show) in blk_mq_sysfs_show()
50 res = entry->show(ctx, page); in blk_mq_sysfs_show()
58 struct blk_mq_ctx_sysfs_entry *entry; in blk_mq_sysfs_store() local
63 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_store()
67 if (!entry->store) in blk_mq_sysfs_store()
73 res = entry->store(ctx, page, length); in blk_mq_sysfs_store()
81 struct blk_mq_hw_ctx_sysfs_entry *entry; in blk_mq_hw_sysfs_show() local
86 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show()
[all …]
Dblk-integrity.c250 struct integrity_sysfs_entry *entry = in integrity_attr_show() local
253 return entry->show(bi, page); in integrity_attr_show()
262 struct integrity_sysfs_entry *entry = in integrity_attr_store() local
266 if (entry->store) in integrity_attr_store()
267 ret = entry->store(bi, page, count); in integrity_attr_store()
Delevator.c354 struct list_head *entry; in elv_dispatch_sort() local
366 list_for_each_prev(entry, &q->queue_head) { in elv_dispatch_sort()
367 struct request *pos = list_entry_rq(entry); in elv_dispatch_sort()
387 list_add(&rq->queuelist, entry); in elv_dispatch_sort()
750 struct elv_fs_entry *entry = to_elv(attr); in elv_attr_show() local
754 if (!entry->show) in elv_attr_show()
759 error = e->type ? entry->show(e, page) : -ENOENT; in elv_attr_show()
768 struct elv_fs_entry *entry = to_elv(attr); in elv_attr_store() local
772 if (!entry->store) in elv_attr_store()
777 error = e->type ? entry->store(e, page, length) : -ENOENT; in elv_attr_store()
Dblk-sysfs.c515 struct queue_sysfs_entry *entry = to_queue(attr); in queue_attr_show() local
520 if (!entry->show) in queue_attr_show()
527 res = entry->show(q, page); in queue_attr_show()
536 struct queue_sysfs_entry *entry = to_queue(attr); in queue_attr_store() local
540 if (!entry->store) in queue_attr_store()
549 res = entry->store(q, page, length); in queue_attr_store()
Dbio.c77 unsigned int i, entry = -1; in bio_find_or_create_slab() local
85 if (!bslab->slab && entry == -1) in bio_find_or_create_slab()
86 entry = i; in bio_find_or_create_slab()
98 if (bio_slab_nr == bio_slab_max && entry == -1) { in bio_find_or_create_slab()
108 if (entry == -1) in bio_find_or_create_slab()
109 entry = bio_slab_nr++; in bio_find_or_create_slab()
111 bslab = &bio_slabs[entry]; in bio_find_or_create_slab()
113 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); in bio_find_or_create_slab()
/block/partitions/
DKconfig129 requires only one entry in the primary partition table of your disk