Home
last modified time | relevance | path

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

/block/
Dblk-mq-sysfs.c55 struct blk_mq_hw_ctx_sysfs_entry *entry; in blk_mq_hw_sysfs_show() local
60 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_show()
64 if (!entry->show) in blk_mq_hw_sysfs_show()
68 res = entry->show(hctx, page); in blk_mq_hw_sysfs_show()
77 struct blk_mq_hw_ctx_sysfs_entry *entry; in blk_mq_hw_sysfs_store() local
82 entry = container_of(attr, struct blk_mq_hw_ctx_sysfs_entry, attr); in blk_mq_hw_sysfs_store()
86 if (!entry->store) in blk_mq_hw_sysfs_store()
90 res = entry->store(hctx, page, length); in blk_mq_hw_sysfs_store()
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.c355 struct bfq_entity *entry; in bfq_insert() local
361 entry = rb_entry(parent, struct bfq_entity, rb_node); in bfq_insert()
363 if (bfq_gt(entry->finish, entity->finish)) in bfq_insert()
1335 struct bfq_entity *entry, *first = NULL; in bfq_first_active_entity() local
1339 entry = rb_entry(node, struct bfq_entity, rb_node); in bfq_first_active_entity()
1341 if (!bfq_gt(entry->start, vtime)) in bfq_first_active_entity()
1342 first = entry; in bfq_first_active_entity()
1345 entry = rb_entry(node->rb_left, in bfq_first_active_entity()
1347 if (!bfq_gt(entry->min_start, vtime)) { in bfq_first_active_entity()
Dblk-rq-qos.c222 list_del_init(&curr->entry); in rq_qos_wake_function()
250 .entry = LIST_HEAD_INIT(data.wq.entry), in rq_qos_wait()
Delevator.c453 struct elv_fs_entry *entry = to_elv(attr); in elv_attr_show() local
457 if (!entry->show) in elv_attr_show()
462 error = e->type ? entry->show(e, page) : -ENOENT; in elv_attr_show()
471 struct elv_fs_entry *entry = to_elv(attr); in elv_attr_store() local
475 if (!entry->store) in elv_attr_store()
480 error = e->type ? entry->store(e, page, length) : -ENOENT; in elv_attr_store()
Dblk-sysfs.c704 struct queue_sysfs_entry *entry = to_queue(attr); in queue_attr_show() local
709 if (!entry->show) in queue_attr_show()
712 res = entry->show(q, page); in queue_attr_show()
721 struct queue_sysfs_entry *entry = to_queue(attr); in queue_attr_store() local
725 if (!entry->store) in queue_attr_store()
730 res = entry->store(q, page, length); in queue_attr_store()
Dblk-ia-ranges.c53 struct blk_ia_range_sysfs_entry *entry = in blk_ia_range_sysfs_show() local
58 return entry->show(iar, buf); in blk_ia_range_sysfs_show()
Dkyber-iosched.c502 INIT_LIST_HEAD(&khd->domain_wait[i].wait.entry); in kyber_init_hctx()
724 if (nr < 0 && list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token()
744 if (nr >= 0 && !list_empty_careful(&wait->wait.entry)) { in kyber_get_domain_token()
952 seq_printf(m, "%d\n", !list_empty_careful(&wait->entry)); \
Dblk-mq.c1114 struct llist_node *entry = llist_reverse_order(llist_del_all(list)); in blk_complete_reqs() local
1117 llist_for_each_entry_safe(rq, next, entry, ipi_list) in blk_complete_reqs()
1801 if (!list_empty(&wait->entry)) { in blk_mq_dispatch_wake()
1804 list_del_init(&wait->entry); in blk_mq_dispatch_wake()
1844 if (!list_empty_careful(&wait->entry)) in blk_mq_mark_tag_wait()
1855 if (!list_empty(&wait->entry)) { in blk_mq_mark_tag_wait()
1897 list_del_init(&wait->entry); in blk_mq_mark_tag_wait()
2164 (no_tag && list_empty_careful(&hctx->dispatch_wait.entry))) in blk_mq_dispatch_rq_list()
3737 INIT_LIST_HEAD(&hctx->dispatch_wait.entry); in blk_mq_alloc_hctx()
Dblk-iocost.c1464 list_del_init_careful(&wq_entry->entry); in iocg_wake_fn()
/block/partitions/
DKconfig132 requires only one entry in the primary partition table of your disk