Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 25 of 46) sorted by relevance

12

/OK3568_Linux_fs/kernel/tools/testing/selftests/bpf/prog_tests/
H A Dvarlen.c22 const int size2 = sizeof(str2); in test_varlen() local
38 memcpy(bss->buf_in2, str2, size2); in test_varlen()
44 CHECK_VAL(bss->payload1_len2, size2); in test_varlen()
45 CHECK_VAL(bss->total1, size1 + size2); in test_varlen()
46 CHECK(memcmp(bss->payload1, exp_str, size1 + size2), "content_check", in test_varlen()
50 CHECK_VAL(data->payload2_len2, size2); in test_varlen()
51 CHECK_VAL(data->total2, size1 + size2); in test_varlen()
52 CHECK(memcmp(data->payload2, exp_str, size1 + size2), "content_check", in test_varlen()
56 CHECK_VAL(data->payload3_len2, size2); in test_varlen()
57 CHECK_VAL(data->total3, size1 + size2); in test_varlen()
[all …]
/OK3568_Linux_fs/kernel/sound/isa/gus/
H A Dgus_dram.c17 unsigned int size1, size2; in snd_gus_dram_poke() local
33 size2 = size1; in snd_gus_dram_poke()
34 while (size2--) in snd_gus_dram_poke()
55 unsigned int size1, size2; in snd_gus_dram_peek() local
70 size2 = size1; in snd_gus_dram_peek()
71 while (size2--) in snd_gus_dram_peek()
/OK3568_Linux_fs/kernel/lib/
H A Dtest_kasan.c261 size_t size1, size_t size2) in krealloc_more_oob_helper() argument
266 KUNIT_ASSERT_LT(test, size1, size2); in krealloc_more_oob_helper()
267 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper()
272 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper()
279 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper()
283 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); in krealloc_more_oob_helper()
287 ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); in krealloc_more_oob_helper()
293 size_t size1, size_t size2) in krealloc_less_oob_helper() argument
298 KUNIT_ASSERT_LT(test, size2, size1); in krealloc_less_oob_helper()
299 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper()
[all …]
/OK3568_Linux_fs/yocto/poky/scripts/
H A Drunqemu-addptable2image17 size2=`expr $size / 512 / 16 / 63`
20 echo $size2
35 echo "$size2" >> /tmp/fdisk.cmds
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/lib/gcc/aarch64-none-linux-gnu/10.3.1/plugin/include/
H A Dtree-ssa-alias.h186 unsigned HOST_WIDE_INT size2) in ranges_overlap_p() argument
188 if (size1 == 0 || size2 == 0) in ranges_overlap_p()
191 && (size2 == (unsigned HOST_WIDE_INT)-1 in ranges_overlap_p()
192 || pos1 < (pos2 + (HOST_WIDE_INT) size2))) in ranges_overlap_p()
H A Dpoly-int.h2560 const T3 &pos2, const T4 &size2)
2563 return maybe_ne (size2, POLY_INT_TYPE (T4) (0));
2564 if (maybe_in_range_p (pos1, pos2, size2))
2576 const T3 &pos2, const T4 &size2)
2594 && known_size_p (size2)
2600 size2_span::cast (size2)));
2610 const T3 &pos2, const T4 &size2)
2618 && known_size_p (size2)
2620 && known_le (size1, size2)
2622 size_span::cast (size2) - size_span::cast (size1)));
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/lib/gcc/arm-none-linux-gnueabihf/10.3.1/plugin/include/
H A Dtree-ssa-alias.h186 unsigned HOST_WIDE_INT size2) in ranges_overlap_p() argument
188 if (size1 == 0 || size2 == 0) in ranges_overlap_p()
191 && (size2 == (unsigned HOST_WIDE_INT)-1 in ranges_overlap_p()
192 || pos1 < (pos2 + (HOST_WIDE_INT) size2))) in ranges_overlap_p()
H A Dpoly-int.h2560 const T3 &pos2, const T4 &size2)
2563 return maybe_ne (size2, POLY_INT_TYPE (T4) (0));
2564 if (maybe_in_range_p (pos1, pos2, size2))
2576 const T3 &pos2, const T4 &size2)
2594 && known_size_p (size2)
2600 size2_span::cast (size2)));
2610 const T3 &pos2, const T4 &size2)
2618 && known_size_p (size2)
2620 && known_le (size1, size2)
2622 size_span::cast (size2) - size_span::cast (size1)));
/OK3568_Linux_fs/u-boot/board/freescale/mx53smd/
H A Dmx53smd.c24 u32 size1, size2; in dram_init() local
27 size2 = get_ram_size((void *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE); in dram_init()
29 gd->ram_size = size1 + size2; in dram_init()
/OK3568_Linux_fs/u-boot/lib/
H A Dlmb.c45 phys_size_t size1, phys_addr_t base2, phys_size_t size2) in lmb_addrs_overlap() argument
47 return ((base1 < (base2+size2)) && (base2 < (base1+size1))); in lmb_addrs_overlap()
51 phys_addr_t base2, phys_size_t size2) in lmb_addrs_adjacent() argument
55 else if (base1 == base2 + size2) in lmb_addrs_adjacent()
67 phys_size_t size2 = rgn->region[r2].size; in lmb_regions_adjacent() local
69 return lmb_addrs_adjacent(base1, size1, base2, size2); in lmb_regions_adjacent()
/OK3568_Linux_fs/kernel/arch/mips/kernel/
H A Dcpu-r3k-probe.c45 unsigned long size1, size2; in cpu_has_confreg() local
50 size2 = r3k_cache_size(ST0_ISC); in cpu_has_confreg()
52 return size1 != size2; in cpu_has_confreg()
/OK3568_Linux_fs/kernel/kernel/kcsan/
H A Dencoding.h87 unsigned long addr2, size_t size2) in matching_access() argument
90 unsigned long end_range2 = addr2 + size2 - 1; in matching_access()
/OK3568_Linux_fs/u-boot/board/freescale/mx35pdk/
H A Dmx35pdk.c41 u32 size1, size2; in dram_init() local
44 size2 = get_ram_size((void *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE); in dram_init()
46 gd->ram_size = size1 + size2; in dram_init()
/OK3568_Linux_fs/kernel/Documentation/admin-guide/device-mapper/
H A Dlinear.rst31 size2=`blockdev --getsz $2`
33 $size1 $size2 linear $2 0" | dmsetup create joined
/OK3568_Linux_fs/u-boot/board/freescale/mx53ard/
H A Dmx53ard.c26 u32 size1, size2; in dram_init() local
29 size2 = get_ram_size((void *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE); in dram_init()
31 gd->ram_size = size1 + size2; in dram_init()
/OK3568_Linux_fs/u-boot/drivers/power/
H A Dcharge_animation.c91 int size1, size2; in regulators_parse_assigned_mem_state() local
97 list2 = dev_read_prop(dev, "regulator-off-in-mem", &size2); in regulators_parse_assigned_mem_state()
106 size2 = size2 / sizeof(*list2); in regulators_parse_assigned_mem_state()
109 calloc(size1 + size2, sizeof(*pdata->regulators_mem)); in regulators_parse_assigned_mem_state()
123 for (i = 0; i < size2; i++, mem++) { in regulators_parse_assigned_mem_state()
/OK3568_Linux_fs/kernel/drivers/usb/core/
H A Dconfig.c615 int size2; in usb_parse_configuration() local
648 for ((buffer2 = buffer, size2 = size); in usb_parse_configuration()
649 size2 > 0; in usb_parse_configuration()
650 (buffer2 += header->bLength, size2 -= header->bLength)) { in usb_parse_configuration()
652 if (size2 < sizeof(struct usb_descriptor_header)) { in usb_parse_configuration()
655 cfgno, size2, plural(size2)); in usb_parse_configuration()
660 if ((header->bLength > size2) || (header->bLength < 2)) { in usb_parse_configuration()
/OK3568_Linux_fs/u-boot/lib/efi/
H A Defi_stub.c254 void *ptr1, int size1, void *ptr2, int size2) in add_entry_addr() argument
259 hdr->size = size1 + size2; in add_entry_addr()
264 memcpy((void *)(hdr + 1) + size1, ptr2, size2); in add_entry_addr()
/OK3568_Linux_fs/kernel/block/partitions/
H A Dcmdline.c61 sector_t from2, sector_t size2) in has_overlaps() argument
64 sector_t end2 = from2 + size2; in has_overlaps()
/OK3568_Linux_fs/kernel/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c817 u32 addr, size, size2, blksz; in wilc_wlan_firmware_download() local
835 size2 = size; in wilc_wlan_firmware_download()
837 size2 = blksz; in wilc_wlan_firmware_download()
839 memcpy(dma_buffer, &buffer[offset], size2); in wilc_wlan_firmware_download()
841 dma_buffer, size2); in wilc_wlan_firmware_download()
845 addr += size2; in wilc_wlan_firmware_download()
846 offset += size2; in wilc_wlan_firmware_download()
847 size -= size2; in wilc_wlan_firmware_download()
/OK3568_Linux_fs/app/forlinx/flapp/src/keyboard/pinyin/share/
H A Ddictbuilder.cpp93 size_t size2 = utf16_strlen(((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzs() local
94 if (size1 < size2) in cmp_lemma_entry_hzs()
96 else if (size1 > size2) in cmp_lemma_entry_hzs()
125 size_t size2 = utf16_strlen(((const LemmaEntry*)p2)->hanzi_str); in cmp_lemma_entry_hzspys() local
126 if (size1 < size2) in cmp_lemma_entry_hzspys()
128 else if (size1 > size2) in cmp_lemma_entry_hzspys()
/OK3568_Linux_fs/kernel/scripts/
H A Dlink-vmlinux.sh423 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
425 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/OK3568_Linux_fs/kernel/arch/mips/fw/sni/
H A Dsniprom.c110 u32 size2; in sni_mem_init() member
/OK3568_Linux_fs/kernel/tools/testing/selftests/vm/
H A Dcharge_reserved_hugetlb.sh308 local size2="$6"
357 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \
/OK3568_Linux_fs/kernel/sound/soc/rockchip/
H A Drockchip_vad.c105 int size1, size2; in chunk_sort() local
108 size2 = CHUNK_SIZE - size1; in chunk_sort()
111 memcpy_fromio(&tbuf[0], pos + size1, size2); in chunk_sort()
112 memcpy_fromio(&tbuf[size2], pos, size1); in chunk_sort()

12