Home
last modified time | relevance | path

Searched refs:idx (Results 1 – 18 of 18) sorted by relevance

/lib/
Dfind_bit.c84 unsigned long idx; in find_first_bit() local
86 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_bit()
87 if (addr[idx]) in find_first_bit()
88 return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); in find_first_bit()
102 unsigned long idx; in find_first_zero_bit() local
104 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_zero_bit()
105 if (addr[idx] != ~0UL) in find_first_zero_bit()
106 return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); in find_first_zero_bit()
119 unsigned long idx = (size-1) / BITS_PER_LONG; in find_last_bit() local
122 val &= addr[idx]; in find_last_bit()
[all …]
Ddynamic_debug.c60 unsigned int idx; member
691 iter->idx = 0; in ddebug_iter_first()
696 iter->idx = 0; in ddebug_iter_first()
697 return &iter->table->ddebugs[iter->idx]; in ddebug_iter_first()
710 if (++iter->idx == iter->table->num_ddebugs) { in ddebug_iter_next()
712 iter->idx = 0; in ddebug_iter_next()
720 return &iter->table->ddebugs[iter->idx]; in ddebug_iter_next()
Ddma-debug.c257 int idx = hash_fn(entry); in get_hash_bucket() local
260 spin_lock_irqsave(&dma_entry_hash[idx].lock, __flags); in get_hash_bucket()
262 return &dma_entry_hash[idx]; in get_hash_bucket()
408 int idx; in debug_dma_dump_mappings() local
410 for (idx = 0; idx < HASH_SIZE; idx++) { in debug_dma_dump_mappings()
411 struct hash_bucket *bucket = &dma_entry_hash[idx]; in debug_dma_dump_mappings()
421 type2name[entry->type], idx, in debug_dma_dump_mappings()
Dradix-tree.c132 int idx; in any_tag_set() local
133 for (idx = 0; idx < RADIX_TREE_TAG_LONGS; idx++) { in any_tag_set()
134 if (node->tags[tag][idx]) in any_tag_set()
Dvsprintf.c335 int idx, len; in num_to_str() local
347 for (idx = 0; idx < len; ++idx) in num_to_str()
348 buf[idx] = tmp[len - idx - 1]; in num_to_str()
Dtest_bpf.c5475 int idx = find_test_index(test_name); in prepare_bpf_tests() local
5477 if (idx < 0) { in prepare_bpf_tests()
5482 test_range[0] = idx; in prepare_bpf_tests()
5483 test_range[1] = idx; in prepare_bpf_tests()
/lib/fonts/
Dfonts.c129 if (MACH_IS_AMIGA && f->idx == PEARL8x8_IDX) in get_default_font()
133 if (MACH_IS_MAC && xres < 640 && f->idx == VGA6x11_IDX) in get_default_font()
Dfont_6x11.c3344 .idx = VGA6x11_IDX,
Dfont_8x8.c2576 .idx = VGA8x8_IDX,
Dfont_mini_4x6.c2151 .idx = MINI4x6_IDX,
Dfont_7x14.c4111 .idx = FONT7x14_IDX,
Dfont_6x10.c3081 .idx = FONT6x10_IDX,
Dfont_pearl_8x8.c2580 .idx = PEARL8x8_IDX,
Dfont_8x16.c4625 .idx = VGA8x16_IDX,
Dfont_10x18.c5135 .idx = FONT10x18_IDX,
Dfont_sun12x22.c6154 .idx = SUN12x22_IDX,
Dfont_acorn_8x8.c268 .idx = ACORN8x8_IDX,
Dfont_sun8x16.c266 .idx = SUN8x16_IDX,