Home
last modified time | relevance | path

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

12

/openbmc/linux/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()
56 CHECK_VAL(data->payload3_len2, size2); in test_varlen()
57 CHECK_VAL(data->total3, size1 + size2); in test_varlen()
62 CHECK_VAL(data->payload4_len2, size2); in test_varlen()
[all …]
/openbmc/linux/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()
/openbmc/openbmc/poky/scripts/
H A Drunqemu-addptable2image17 size2=`expr $size / 512 / 16 / 63`
20 echo $size2
35 echo "$size2" >> /tmp/fdisk.cmds
/openbmc/openbmc/poky/scripts/esdk-tools/
H A Drunqemu-addptable2image17 size2=`expr $size / 512 / 16 / 63`
20 echo $size2
35 echo "$size2" >> /tmp/fdisk.cmds
/openbmc/linux/arch/mips/kernel/
H A Dcpu-r3k-probe.c46 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/board/freescale/mx53smd/
H A Dmx53smd.c23 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/mm/kasan/
H A Dkasan_test.c317 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()
338 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper()
352 size_t size1, size_t size2) in krealloc_less_oob_helper() argument
357 KUNIT_ASSERT_LT(test, size2, size1); in krealloc_less_oob_helper()
358 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper()
363 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_less_oob_helper()
370 ptr2[size2 - 1] = 'x'; in krealloc_less_oob_helper()
[all …]
/openbmc/qemu/tests/qtest/fuzz/
H A Dfuzz.h98 const uint8_t *data2, size_t size2,
118 const uint8_t *data2, size_t size2,
H A Dfuzz.c131 const uint8_t *data2, size_t size2, in LLVMFuzzerCustomCrossOver() argument
136 return fuzz_target->crossover(data1, size1, data2, size2, out, in LLVMFuzzerCustomCrossOver()
/openbmc/qemu/target/i386/tcg/
H A Daccess.c15 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/linux/kernel/kcsan/
H A Dencoding.h94 unsigned long addr2, size_t size2) in matching_access() argument
97 unsigned long end_range2 = addr2 + size2 - 1; in matching_access()
/openbmc/qemu/target/hexagon/imported/mmvec/
H A Dmacros.def553 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/u-boot/lib/
H A Dlmb.c44 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/u-boot/board/freescale/mx35pdk/
H A Dmx35pdk.c40 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/Documentation/admin-guide/device-mapper/
H A Dlinear.rst31 size2=`blockdev --getsz $2`
33 $size1 $size2 linear $2 0" | dmsetup create joined
/openbmc/u-boot/board/freescale/mx53ard/
H A Dmx53ard.c25 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/u-boot/lib/efi/
H A Defi_stub.c251 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/usb/core/
H A Dconfig.c627 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()
/openbmc/linux/scripts/
H A Dlink-vmlinux.sh270 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
272 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/openbmc/qemu/target/s390x/tcg/
H A Dmem_helper.c127 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()
244 if (unlikely(desta->size2)) { in access_memset()
298 int len = desta->size1 + desta->size2; in access_memmove()
300 assert(len == srca->size1 + srca->size2); in access_memmove()
311 if (unlikely(srca->size2)) { in access_memmove()
317 if (likely(desta->size2)) { in access_memmove()
[all …]
/openbmc/u-boot/test/lib/
H A Dlmb.c15 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, \
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c1086 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/block/partitions/
H A Dcmdline.c289 sector_t from2, sector_t size2) in has_overlaps() argument
292 sector_t end2 = from2 + size2; in has_overlaps()
/openbmc/linux/arch/mips/fw/sni/
H A Dsniprom.c106 u32 size2; in sni_mem_init() member
/openbmc/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh315 local size2="$6"
364 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \

12