/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | varlen.c | 22 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 …]
|
/openbmc/linux/sound/isa/gus/ |
H A D | gus_dram.c | 17 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()
|
/openbmc/openbmc/poky/scripts/esdk-tools/ |
H A D | runqemu-addptable2image | 17 size2=`expr $size / 512 / 16 / 63` 20 echo $size2 35 echo "$size2" >> /tmp/fdisk.cmds
|
/openbmc/openbmc/poky/scripts/ |
H A D | runqemu-addptable2image | 17 size2=`expr $size / 512 / 16 / 63` 20 echo $size2 35 echo "$size2" >> /tmp/fdisk.cmds
|
/openbmc/linux/mm/kasan/ |
H A D | kasan_test.c | 317 size_t size1, size_t size2) in krealloc_more_oob_helper() argument 322 KUNIT_ASSERT_LT(test, size1, size2); in krealloc_more_oob_helper() 323 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper() 328 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper() 334 /* All offsets up to size2 must be accessible. */ in krealloc_more_oob_helper() 338 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper() 340 /* Generic mode is precise, so unaligned size2 must be inaccessible. */ in krealloc_more_oob_helper() 342 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); in krealloc_more_oob_helper() 344 /* For all modes first aligned offset after size2 must be inaccessible. */ in krealloc_more_oob_helper() 346 ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); in krealloc_more_oob_helper() [all …]
|
/openbmc/qemu/target/hexagon/imported/mmvec/ |
H A D | macros.def | 553 size4u_t size2 = (EA)&(ALIGNMENT-1); 554 size4u_t size1 = LEN-size2; 556 …or_oddva(thread, insn, EA+size1, EA+fVECSIZE(), /* slot */ 1, size2, &DST.ub[size1], size2, fUSE_L… 629 size4u_t size2; 631 size2 = LEN-size1; 632 …mem_store_vector_oddva(thread, insn, EA+size1, EA+fVECSIZE(), /* slot */ 1, size2, &SRC.ub[size1],… 657 size4u_t size2; 662 size2 = LEN-size1; 663 …mem_store_vector_oddva(thread, insn, EA+size1, EA+fVECSIZE(),/* slot */ 1, size2, &SRC.ub[size1], … 688 size4u_t size2; [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | access.c | 15 int size1, size2; in access_prepare_mmu() local 21 size2 = size - size1; in access_prepare_mmu() 34 if (unlikely(size2)) { in access_prepare_mmu() 35 haddr2 = probe_access(env, vaddr + size1, size2, type, mmu_idx, ra); in access_prepare_mmu()
|
/openbmc/u-boot/board/freescale/mx53smd/ |
H A D | mx53smd.c | 23 u32 size1, size2; in dram_init() local 26 size2 = get_ram_size((void *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE); in dram_init() 28 gd->ram_size = size1 + size2; in dram_init()
|
/openbmc/linux/arch/mips/kernel/ |
H A D | cpu-r3k-probe.c | 46 unsigned long size1, size2; in cpu_has_confreg() local 51 size2 = r3k_cache_size(ST0_ISC); in cpu_has_confreg() 53 return size1 != size2; in cpu_has_confreg()
|
/openbmc/u-boot/lib/ |
H A D | lmb.c | 44 phys_addr_t base2, phys_size_t size2) in lmb_addrs_overlap() argument 47 const phys_addr_t base2_end = base2 + size2 - 1; in lmb_addrs_overlap() 53 phys_addr_t base2, phys_size_t size2) in lmb_addrs_adjacent() argument 57 else if (base1 == base2 + size2) in lmb_addrs_adjacent() 69 phys_size_t size2 = rgn->region[r2].size; in lmb_regions_adjacent() local 71 return lmb_addrs_adjacent(base1, size1, base2, size2); in lmb_regions_adjacent()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | linear.rst | 31 size2=`blockdev --getsz $2` 33 $size1 $size2 linear $2 0" | dmsetup create joined
|
/openbmc/qemu/tests/unit/ |
H A D | test-qemu-opts.c | 67 .name = "size2", 628 "size2=9007199254740992," in test_opts_parse_size() 634 g_assert_cmphex(qemu_opt_get_size(opts, "size2", 1), in test_opts_parse_size() 642 "size2=9223372036854775808," /* 8000000000000000 */ in test_opts_parse_size() 648 g_assert_cmphex(qemu_opt_get_size(opts, "size2", 1), in test_opts_parse_size() 656 "size2=18446744073709550591", /* fffffffffffffbff */ in test_opts_parse_size() 661 g_assert_cmphex(qemu_opt_get_size(opts, "size2", 1), in test_opts_parse_size() 683 opts = qemu_opts_parse(&opts_list_02, "size1=8b,size2=1.5k,size3=2M", in test_opts_parse_size() 687 g_assert_cmphex(qemu_opt_get_size(opts, "size2", 0), ==, 1536); in test_opts_parse_size() 689 opts = qemu_opts_parse(&opts_list_02, "size1=0.1G,size2=16777215T", in test_opts_parse_size() [all …]
|
/openbmc/u-boot/board/freescale/mx35pdk/ |
H A D | mx35pdk.c | 40 u32 size1, size2; in dram_init() local 43 size2 = get_ram_size((void *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE); in dram_init() 45 gd->ram_size = size1 + size2; in dram_init()
|
/openbmc/linux/kernel/kcsan/ |
H A D | encoding.h | 94 unsigned long addr2, size_t size2) in matching_access() argument 97 unsigned long end_range2 = addr2 + size2 - 1; in matching_access()
|
/openbmc/u-boot/board/freescale/mx53ard/ |
H A D | mx53ard.c | 25 u32 size1, size2; in dram_init() local 28 size2 = get_ram_size((void *)PHYS_SDRAM_2, PHYS_SDRAM_2_SIZE); in dram_init() 30 gd->ram_size = size1 + size2; in dram_init()
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | fuzz.h | 98 const uint8_t *data2, size_t size2, 118 const uint8_t *data2, size_t size2,
|
H A D | fuzz.c | 131 const uint8_t *data2, size_t size2, in LLVMFuzzerCustomCrossOver() argument 136 return fuzz_target->crossover(data1, size1, data2, size2, out, in LLVMFuzzerCustomCrossOver()
|
/openbmc/linux/drivers/usb/core/ |
H A D | config.c | 627 int size2; in usb_parse_configuration() local 660 for ((buffer2 = buffer, size2 = size); in usb_parse_configuration() 661 size2 > 0; in usb_parse_configuration() 662 (buffer2 += header->bLength, size2 -= header->bLength)) { in usb_parse_configuration() 664 if (size2 < sizeof(struct usb_descriptor_header)) { in usb_parse_configuration() 667 cfgno, size2, plural(size2)); in usb_parse_configuration() 672 if ((header->bLength > size2) || (header->bLength < 2)) { in usb_parse_configuration() 750 } /* for ((buffer2 = buffer, size2 = size); ...) */ in usb_parse_configuration()
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | mem_helper.c | 127 uint16_t size2; member 181 int size1, size2, exc; in access_prepare_nf() local 186 size2 = size - size1; in access_prepare_nf() 191 access->size2 = size2; in access_prepare_nf() 199 if (unlikely(size2)) { in access_prepare_nf() 204 exc = s390_probe_access(env, vaddr2, size2, access_type, mmu_idx, in access_prepare_nf() 244 if (unlikely(desta->size2)) { in access_memset() 246 desta->size2, desta->mmu_idx, ra); in access_memset() 298 int len = desta->size1 + desta->size2; in access_memmove() 300 assert(len == srca->size1 + srca->size2); in access_memmove() [all …]
|
/openbmc/u-boot/lib/efi/ |
H A D | efi_stub.c | 251 void *ptr1, int size1, void *ptr2, int size2) in add_entry_addr() argument 256 hdr->size = size1 + size2; in add_entry_addr() 261 memcpy((void *)(hdr + 1) + size1, ptr2, size2); in add_entry_addr()
|
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/ |
H A D | wlan.c | 1086 u32 addr, size, size2, blksz; in wilc_wlan_firmware_download() local 1117 size2 = size; in wilc_wlan_firmware_download() 1119 size2 = blksz; in wilc_wlan_firmware_download() 1121 memcpy(dma_buffer, &buffer[offset], size2); in wilc_wlan_firmware_download() 1123 dma_buffer, size2); in wilc_wlan_firmware_download() 1127 addr += size2; in wilc_wlan_firmware_download() 1128 offset += size2; in wilc_wlan_firmware_download() 1129 size -= size2; in wilc_wlan_firmware_download()
|
/openbmc/linux/Documentation/admin-guide/ |
H A D | pnp.rst | 107 pnp_reserve_io=io1,size1[,io2,size2] .... 108 pnp_reserve_mem=mem1,size1[,mem2,size2] ....
|
/openbmc/linux/scripts/ |
H A D | link-vmlinux.sh | 270 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso}) 272 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
|
/openbmc/linux/block/partitions/ |
H A D | cmdline.c | 289 sector_t from2, sector_t size2) in has_overlaps() argument 292 sector_t end2 = from2 + size2; in has_overlaps()
|
/openbmc/u-boot/test/lib/ |
H A D | lmb.c | 15 phys_addr_t base2, phys_size_t size2, in check_lmb() argument 31 ut_asserteq(lmb->reserved.region[1].size, size2); in check_lmb() 41 base2, size2, base3, size3) \ argument 43 num_reserved, base1, size1, base2, size2, base3, \
|