/lib/ |
D | find_bit.c | 100 unsigned long idx; in find_first_bit() local 102 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_bit() 103 if (addr[idx]) in find_first_bit() 104 return min(idx * BITS_PER_LONG + __ffs(addr[idx]), size); in find_first_bit() 118 unsigned long idx; in find_first_zero_bit() local 120 for (idx = 0; idx * BITS_PER_LONG < size; idx++) { in find_first_zero_bit() 121 if (addr[idx] != ~0UL) in find_first_zero_bit() 122 return min(idx * BITS_PER_LONG + ffz(addr[idx]), size); in find_first_zero_bit() 135 unsigned long idx = (size-1) / BITS_PER_LONG; in find_last_bit() local 138 val &= addr[idx]; in find_last_bit() [all …]
|
D | iov_iter.c | 328 int idx = i->idx; in sanity() local 334 if (unlikely(idx != ((next - 1) & (pipe->buffers - 1)))) in sanity() 337 p = &pipe->bufs[idx]; in sanity() 341 if (idx != (next & (pipe->buffers - 1))) in sanity() 346 printk(KERN_ERR "idx = %d, offset = %zd\n", i->idx, i->iov_offset); in sanity() 349 for (idx = 0; idx < pipe->buffers; idx++) in sanity() 351 pipe->bufs[idx].ops, in sanity() 352 pipe->bufs[idx].page, in sanity() 353 pipe->bufs[idx].offset, in sanity() 354 pipe->bufs[idx].len); in sanity() [all …]
|
D | test_kmod.c | 180 unsigned int idx) in kmod_test_done_check() argument 190 dev_info(test_dev->dev, "Last thread to run: %u\n", idx); in kmod_test_done_check() 295 unsigned int idx; in tally_up_work() local 303 for (idx=0; idx < config->num_threads; idx++) { in tally_up_work() 304 info = &test_dev->info[idx]; in tally_up_work() 319 static int try_one_request(struct kmod_test_device *test_dev, unsigned int idx) in try_one_request() argument 321 struct kmod_test_device_info *info = &test_dev->info[idx]; in try_one_request() 326 info->thread_idx = idx; in try_one_request() 329 KBUILD_MODNAME, idx); in try_one_request() 333 dev_err(test_dev->dev, "Setting up thread %u failed\n", idx); in try_one_request() [all …]
|
D | test_firmware.c | 36 u8 idx; member 636 req->idx, req->rc); in test_fw_run_batch_request() 642 req->idx, req->fw->size); in test_fw_run_batch_request() 681 req->idx = i; in trigger_batched_requests_store() 686 "%s-%u", KBUILD_MODNAME, req->idx); in trigger_batched_requests_store() 688 pr_err("Setting up thread %u failed\n", req->idx); in trigger_batched_requests_store() 736 if (!req->idx) in trigger_batched_cb() 783 req->idx = i; in trigger_batched_requests_async_store() 849 u8 idx; in read_firmware_show() local 854 idx = test_fw_config->read_fw_idx; in read_firmware_show() [all …]
|
D | dynamic_debug.c | 62 unsigned int idx; member 731 iter->idx = 0; in ddebug_iter_first() 736 iter->idx = 0; in ddebug_iter_first() 737 return &iter->table->ddebugs[iter->idx]; in ddebug_iter_first() 750 if (++iter->idx == iter->table->num_ddebugs) { in ddebug_iter_next() 752 iter->idx = 0; in ddebug_iter_next() 760 return &iter->table->ddebugs[iter->idx]; in ddebug_iter_next()
|
D | radix-tree.c | 164 unsigned idx; in any_tag_set() local 165 for (idx = 0; idx < RADIX_TREE_TAG_LONGS; idx++) { in any_tag_set() 166 if (node->tags[tag][idx]) in any_tag_set()
|
D | vsprintf.c | 346 int idx, len; in num_to_str() local 361 for (idx = 0; idx < width; idx++) in num_to_str() 362 buf[idx] = ' '; in num_to_str() 367 for (idx = 0; idx < len; ++idx) in num_to_str() 368 buf[idx + width] = tmp[len - idx - 1]; in num_to_str()
|
D | test_xarray.c | 1163 static noinline void check_move_small(struct xarray *xa, unsigned long idx) in check_move_small() argument 1169 xa_store_index(xa, idx, GFP_KERNEL); in check_move_small() 1172 for (i = 0; i < idx * 4; i++) { in check_move_small() 1174 if (i <= idx) in check_move_small() 1177 if (i == 0 || i == idx) in check_move_small() 1188 if (i <= idx) in check_move_small() 1191 if (i == 0 || i == idx) in check_move_small() 1207 xa_erase_index(xa, idx); in check_move_small()
|
D | test_bpf.c | 6753 int idx = find_test_index(test_name); in prepare_bpf_tests() local 6755 if (idx < 0) { in prepare_bpf_tests() 6760 test_range[0] = idx; in prepare_bpf_tests() 6761 test_range[1] = idx; in prepare_bpf_tests()
|
/lib/fonts/ |
D | fonts.c | 119 if (MACH_IS_AMIGA && f->idx == PEARL8x8_IDX) in get_default_font() 123 if (MACH_IS_MAC && xres < 640 && f->idx == VGA6x11_IDX) in get_default_font()
|
D | font_6x10.c | 3081 .idx = FONT6x10_IDX,
|
D | font_mini_4x6.c | 2151 .idx = MINI4x6_IDX,
|
D | font_8x8.c | 2578 .idx = VGA8x8_IDX,
|
D | font_acorn_8x8.c | 266 .idx = ACORN8x8_IDX,
|
D | font_7x14.c | 4113 .idx = FONT7x14_IDX,
|
D | font_pearl_8x8.c | 2582 .idx = PEARL8x8_IDX,
|
D | font_6x11.c | 3346 .idx = VGA6x11_IDX,
|
D | font_sun8x16.c | 266 .idx = SUN8x16_IDX,
|
D | font_ter16x32.c | 2062 .idx = TER16x32_IDX,
|
D | font_10x18.c | 5137 .idx = FONT10x18_IDX,
|
D | font_sun12x22.c | 6156 .idx = SUN12x22_IDX,
|
D | font_8x16.c | 4627 .idx = VGA8x16_IDX,
|
/lib/lz4/ |
D | lz4hc_compress.c | 81 U32 idx = hc4->nextToUpdate; in LZ4HC_Insert() local 83 while (idx < target) { in LZ4HC_Insert() 84 U32 const h = LZ4HC_hashPtr(base + idx); in LZ4HC_Insert() 85 size_t delta = idx - hashTable[h]; in LZ4HC_Insert() 90 DELTANEXTU16(idx) = (U16)delta; in LZ4HC_Insert() 92 hashTable[h] = idx; in LZ4HC_Insert() 93 idx++; in LZ4HC_Insert()
|
/lib/zstd/ |
D | zstd_opt.h | 220 U32 idx = zc->nextToUpdate3; in ZSTD_insertAndFindFirstIndexHash3() local 224 while (idx < target) { in ZSTD_insertAndFindFirstIndexHash3() 225 hashTable3[ZSTD_hash3Ptr(base + idx, hashLog3)] = idx; in ZSTD_insertAndFindFirstIndexHash3() 226 idx++; in ZSTD_insertAndFindFirstIndexHash3()
|
D | compress.c | 1728 U32 idx = zc->nextToUpdate; in ZSTD_updateTree() local 1730 while (idx < target) in ZSTD_updateTree() 1731 idx += ZSTD_insertBt1(zc, base + idx, mls, iend, nbCompares, 0); in ZSTD_updateTree() 1759 U32 idx = zc->nextToUpdate; in ZSTD_updateTree_extDict() local 1761 while (idx < target) in ZSTD_updateTree_extDict() 1762 idx += ZSTD_insertBt1(zc, base + idx, mls, iend, nbCompares, 1); in ZSTD_updateTree_extDict() 1804 U32 idx = zc->nextToUpdate; in ZSTD_insertAndFindFirstIndex() local 1806 while (idx < target) { /* catch up */ in ZSTD_insertAndFindFirstIndex() 1807 size_t const h = ZSTD_hashPtr(base + idx, hashLog, mls); in ZSTD_insertAndFindFirstIndex() 1808 NEXT_IN_CHAIN(idx, chainMask) = hashTable[h]; in ZSTD_insertAndFindFirstIndex() [all …]
|