Home
last modified time | relevance | path

Searched refs:tag_index (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/tools/testing/radix-tree/
Dmultiorder.c85 int tag_index[TAG_ENTRIES] = {0, 4, 16, 40, 64, 72, 128}; in multiorder_tagged_iteration() local
95 xa_set_mark(xa, tag_index[i], XA_MARK_1); in multiorder_tagged_iteration()
101 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
110 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
114 assert((xas.xa_index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration()
116 assert((item->index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration()
129 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
137 for (k = i; index[k] < tag_index[i]; k++) in multiorder_tagged_iteration()
141 assert((xas.xa_index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration()
143 assert((item->index | mask) == (tag_index[i] | mask)); in multiorder_tagged_iteration()
[all …]
/Linux-v5.10/drivers/scsi/
Dhpsa.c6923 static inline int bad_tag(struct ctlr_info *h, u32 tag_index, in bad_tag() argument
6926 if (unlikely(tag_index >= h->nr_cmds)) { in bad_tag()
6947 u32 tag_index; in process_indexed_cmd() local
6950 tag_index = raw_tag >> DIRECT_LOOKUP_SHIFT; in process_indexed_cmd()
6951 if (!bad_tag(h, tag_index, raw_tag)) { in process_indexed_cmd()
6952 c = h->cmd_pool + tag_index; in process_indexed_cmd()