Home
last modified time | relevance | path

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

/block/
Dblk-mq-sysfs.c63 struct blk_mq_ctx_sysfs_entry *entry; in blk_mq_sysfs_show() local
68 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_show()
72 if (!entry->show) in blk_mq_sysfs_show()
76 res = entry->show(ctx, page); in blk_mq_sysfs_show()
84 struct blk_mq_ctx_sysfs_entry *entry; in blk_mq_sysfs_store() local
89 entry = container_of(attr, struct blk_mq_ctx_sysfs_entry, attr); in blk_mq_sysfs_store()
93 if (!entry->store) in blk_mq_sysfs_store()
97 res = entry->store(ctx, page, length); in blk_mq_sysfs_store()
105 struct blk_mq_hw_ctx_sysfs_entry *entry; in blk_mq_hw_sysfs_show() local
110 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show()
[all …]
Dblk-integrity.c226 struct integrity_sysfs_entry *entry = in integrity_attr_show() local
229 return entry->show(bi, page); in integrity_attr_show()
238 struct integrity_sysfs_entry *entry = in integrity_attr_store() local
242 if (entry->store) in integrity_attr_store()
243 ret = entry->store(bi, page, count); in integrity_attr_store()
Dbfq-wf2q.c373 struct bfq_entity *entry; in bfq_insert() local
379 entry = rb_entry(parent, struct bfq_entity, rb_node); in bfq_insert()
381 if (bfq_gt(entry->finish, entity->finish)) in bfq_insert()
1353 struct bfq_entity *entry, *first = NULL; in bfq_first_active_entity() local
1357 entry = rb_entry(node, struct bfq_entity, rb_node); in bfq_first_active_entity()
1359 if (!bfq_gt(entry->start, vtime)) in bfq_first_active_entity()
1360 first = entry; in bfq_first_active_entity()
1363 entry = rb_entry(node->rb_left, in bfq_first_active_entity()
1365 if (!bfq_gt(entry->min_start, vtime)) { in bfq_first_active_entity()
Delevator.c443 struct elv_fs_entry *entry = to_elv(attr); in elv_attr_show() local
447 if (!entry->show) in elv_attr_show()
452 error = e->type ? entry->show(e, page) : -ENOENT; in elv_attr_show()
461 struct elv_fs_entry *entry = to_elv(attr); in elv_attr_store() local
465 if (!entry->store) in elv_attr_store()
470 error = e->type ? entry->store(e, page, length) : -ENOENT; in elv_attr_store()
Dblk-rq-qos.c228 list_del_init(&curr->entry); in rq_qos_wake_function()
256 .entry = LIST_HEAD_INIT(data.wq.entry), in rq_qos_wait()
Dblk-sysfs.c694 struct queue_sysfs_entry *entry = to_queue(attr); in queue_attr_show() local
699 if (!entry->show) in queue_attr_show()
702 res = entry->show(q, page); in queue_attr_show()
711 struct queue_sysfs_entry *entry = to_queue(attr); in queue_attr_store() local
715 if (!entry->store) in queue_attr_store()
720 res = entry->store(q, page, length); in queue_attr_store()
Dbio.c71 unsigned int i, entry = -1; in bio_find_or_create_slab() local
79 if (!bslab->slab && entry == -1) in bio_find_or_create_slab()
80 entry = i; in bio_find_or_create_slab()
92 if (bio_slab_nr == bio_slab_max && entry == -1) { in bio_find_or_create_slab()
102 if (entry == -1) in bio_find_or_create_slab()
103 entry = bio_slab_nr++; in bio_find_or_create_slab()
105 bslab = &bio_slabs[entry]; in bio_find_or_create_slab()
107 snprintf(bslab->name, sizeof(bslab->name), "bio-%d", entry); in bio_find_or_create_slab()
Dkyber-iosched.c497 INIT_LIST_HEAD(&khd->domain_wait[i].wait.entry); in kyber_init_hctx()
720 if (nr < 0 && list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token()
740 if (nr >= 0 && !list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token()
948 seq_printf(m, "%d\n", !list_empty_careful(&wait->entry)); \
Dblk-mq.c1153 if (!list_empty(&wait->entry)) { in blk_mq_dispatch_wake()
1156 list_del_init(&wait->entry); in blk_mq_dispatch_wake()
1195 if (!list_empty_careful(&wait->entry)) in blk_mq_mark_tag_wait()
1202 if (!list_empty(&wait->entry)) { in blk_mq_mark_tag_wait()
1244 list_del_init(&wait->entry); in blk_mq_mark_tag_wait()
1502 (no_tag && list_empty_careful(&hctx->dispatch_wait.entry))) in blk_mq_dispatch_rq_list()
2874 INIT_LIST_HEAD(&hctx->dispatch_wait.entry); in blk_mq_alloc_hctx()
Dblk-iocost.c1423 list_del_init_careful(&wq_entry->entry); in iocg_wake_fn()
/block/partitions/
DKconfig130 requires only one entry in the primary partition table of your disk