/openbmc/linux/sound/isa/gus/ |
H A D | gus_dram.c | 17 unsigned int size1, size2; in snd_gus_dram_poke() local 28 outsb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_poke() 30 address += size1; in snd_gus_dram_poke() 33 size2 = size1; in snd_gus_dram_poke() 37 size -= size1; in snd_gus_dram_poke() 38 _buffer += size1; in snd_gus_dram_poke() 55 unsigned int size1, size2; in snd_gus_dram_peek() local 67 address += size1; in snd_gus_dram_peek() 70 size2 = size1; in snd_gus_dram_peek() 76 size -= size1; in snd_gus_dram_peek() [all …]
|
H A D | gus_mem.c | 134 int size1; in snd_gf1_mem_find() local 162 size1 = ptr2 - ptr1; in snd_gf1_mem_find() 163 if ((int)size <= size1) { in snd_gf1_mem_find()
|
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/ |
H A D | varlen.c | 21 const int size1 = sizeof(str1); in test_varlen() local 37 memcpy(bss->buf_in1, str1, size1); in test_varlen() 43 CHECK_VAL(bss->payload1_len1, size1); 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() 49 CHECK_VAL(data->payload2_len1, size1); in test_varlen() 51 CHECK_VAL(data->total2, size1 + size2); in test_varlen() 55 CHECK_VAL(data->payload3_len1, size1); in test_varlen() 57 CHECK_VAL(data->total3, size1 + size2); in test_varlen() 61 CHECK_VAL(data->payload4_len1, size1); in test_varlen() [all …]
|
/openbmc/qemu/target/i386/tcg/ |
H A D | access.c | 15 int size1, size2; in access_prepare_mmu() local 20 size1 = MIN(size, -(vaddr | TARGET_PAGE_MASK)), in access_prepare_mmu() 21 size2 = size - size1; in access_prepare_mmu() 26 ret->size1 = size1; in access_prepare_mmu() 31 haddr1 = probe_access(env, vaddr, size1, type, mmu_idx, ra); in access_prepare_mmu() 36 if (haddr2 == haddr1 + size1) { in access_prepare_mmu() 37 ret->size1 = size; in access_prepare_mmu() 67 assert(offset <= ac->size1 - len); in access_ptr() 70 if (likely(offset <= ac->size1 - len)) { in access_ptr() 79 if (likely(offset >= ac->size1)) { in access_ptr() [all …]
|
H A D | access.h | 13 uint16_t size1; member
|
/openbmc/u-boot/arch/arm/mach-omap2/omap3/ |
H A D | emif4.c | 129 unsigned int size0 = 0, size1 = 0; in dram_init() local 138 size1 = get_sdr_cs_size(CS1); in dram_init() 140 gd->ram_size = size0 + size1; in dram_init() 146 unsigned int size0 = 0, size1 = 0; in dram_init_banksize() local 149 size1 = get_sdr_cs_size(CS1); in dram_init_banksize() 154 gd->bd->bi_dram[1].size = size1; in dram_init_banksize()
|
H A D | sdrc.c | 199 unsigned int size0 = 0, size1 = 0; in dram_init() local 211 size1 = get_sdr_cs_size(CS1); in dram_init() 213 gd->ram_size = size0 + size1; in dram_init() 220 unsigned int size0 = 0, size1 = 0; in dram_init_banksize() local 223 size1 = get_sdr_cs_size(CS1); in dram_init_banksize() 228 gd->bd->bi_dram[1].size = size1; in dram_init_banksize()
|
/openbmc/qemu/target/hexagon/imported/mmvec/ |
H A D | macros.def | 554 size4u_t size1 = LEN-size2; 630 if (size1>LEN) size1 = LEN; 631 size2 = LEN-size1; 656 size4u_t size1 = ALIGNMENT-((EA)&(ALIGNMENT-1)); 661 if (size1>LEN) size1 = LEN; 662 size2 = LEN-size1; 663 …em_store_vector_oddva(thread, insn, EA+size1, EA+fVECSIZE(),/* slot */ 1, size2, &SRC.ub[size1], &… 687 size4u_t size1 = ALIGNMENT-((EA)&(ALIGNMENT-1)); 692 if (size1>LEN) size1 = LEN; 693 size2 = LEN-size1; [all …]
|
/openbmc/linux/arch/mips/kernel/ |
H A D | cpu-r3k-probe.c | 46 unsigned long size1, size2; in cpu_has_confreg() local 49 size1 = r3k_cache_size(ST0_ISC); in cpu_has_confreg() 53 return size1 != size2; in cpu_has_confreg()
|
/openbmc/linux/Documentation/admin-guide/device-mapper/ |
H A D | linear.rst | 30 size1=`blockdev --getsz $1` 32 echo "0 $size1 linear $1 0 33 $size1 $size2 linear $2 0" | dmsetup create joined
|
/openbmc/u-boot/board/freescale/mx53smd/ |
H A D | mx53smd.c | 23 u32 size1, size2; in dram_init() local 25 size1 = get_ram_size((void *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE); in dram_init() 28 gd->ram_size = size1 + size2; in dram_init()
|
/openbmc/qemu/tests/qtest/fuzz/ |
H A D | fuzz.h | 97 size_t(*crossover)(const uint8_t *data1, size_t size1, 117 size_t LLVMFuzzerCustomCrossOver(const uint8_t *data1, size_t size1,
|
H A D | fuzz.c | 130 size_t LLVMFuzzerCustomCrossOver(const uint8_t *data1, size_t size1, in LLVMFuzzerCustomCrossOver() argument 136 return fuzz_target->crossover(data1, size1, data2, size2, out, in LLVMFuzzerCustomCrossOver()
|
/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() 325 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper() 335 ptr2[size1 - 1] = 'x'; in krealloc_more_oob_helper() 336 ptr2[size1] = '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() 360 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper() 430 int size1 = 201; in krealloc_uaf() local [all …]
|
/openbmc/linux/kernel/kcsan/ |
H A D | encoding.h | 93 static __always_inline bool matching_access(unsigned long addr1, size_t size1, in matching_access() argument 96 unsigned long end_range1 = addr1 + size1 - 1; in matching_access()
|
/openbmc/linux/arch/s390/boot/ |
H A D | boot.h | 97 unsigned long addr1, unsigned long size1) in intersects() argument 99 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
|
/openbmc/u-boot/lib/ |
H A D | lmb.c | 43 static long lmb_addrs_overlap(phys_addr_t base1, phys_size_t size1, in lmb_addrs_overlap() argument 46 const phys_addr_t base1_end = base1 + size1 - 1; in lmb_addrs_overlap() 52 static long lmb_addrs_adjacent(phys_addr_t base1, phys_size_t size1, in lmb_addrs_adjacent() argument 55 if (base2 == base1 + size1) in lmb_addrs_adjacent() 67 phys_size_t size1 = rgn->region[r1].size; in lmb_regions_adjacent() local 71 return lmb_addrs_adjacent(base1, size1, base2, size2); in lmb_regions_adjacent()
|
/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() 260 memcpy(hdr + 1, ptr1, size1); in add_entry_addr() 261 memcpy((void *)(hdr + 1) + size1, ptr2, size2); in add_entry_addr()
|
/openbmc/u-boot/board/freescale/mx35pdk/ |
H A D | mx35pdk.c | 40 u32 size1, size2; in dram_init() local 42 size1 = get_ram_size((void *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE); in dram_init() 45 gd->ram_size = size1 + size2; in dram_init()
|
/openbmc/linux/drivers/pnp/isapnp/ |
H A D | core.c | 548 unsigned short size1 = in isapnp_parse_name() local 550 isapnp_peek(name, size1); in isapnp_parse_name() 551 name[size1] = '\0'; in isapnp_parse_name() 552 *size -= size1; in isapnp_parse_name() 555 while (size1 > 0 && name[--size1] == ' ') in isapnp_parse_name() 556 name[size1] = '\0'; in isapnp_parse_name()
|
/openbmc/u-boot/board/freescale/mx53ard/ |
H A D | mx53ard.c | 25 u32 size1, size2; in dram_init() local 27 size1 = get_ram_size((void *)PHYS_SDRAM_1, PHYS_SDRAM_1_SIZE); in dram_init() 30 gd->ram_size = size1 + size2; in dram_init()
|
/openbmc/linux/drivers/pci/ |
H A D | setup-bus.c | 787 resource_size_t size1, in calculate_iosize() argument 804 size = size + size1; in calculate_iosize() 879 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local 905 size1 += r_size; in pbus_size_io() 916 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io() 921 if (!size0 && !size1) { in pbus_size_io() 932 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io() 937 (unsigned long long) size1 - size0); in pbus_size_io() 1074 if (!size0 && !size1) { in pbus_size_mem() 1084 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_mem() [all …]
|
/openbmc/linux/scripts/ |
H A D | link-vmlinux.sh | 269 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso_prev}) 272 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
|
/openbmc/linux/drivers/scsi/csiostor/ |
H A D | csio_scsi.c | 266 if (wrp.size1 >= size) { in csio_scsi_cmd() 277 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_cmd() 278 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_cmd() 491 if (likely(wrp.size1 >= size)) { in csio_scsi_read() 501 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_read() 502 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_read() 528 if (likely(wrp.size1 >= size)) { in csio_scsi_write() 539 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_write() 684 if (wrp.size1 >= size) { in csio_scsi_abrt_cls() 694 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_abrt_cls() [all …]
|
/openbmc/qemu/target/s390x/tcg/ |
H A D | mem_helper.c | 126 uint16_t size1; member 181 int size1, size2, exc; in access_prepare_nf() local 186 size2 = size - size1; in access_prepare_nf() 190 access->size1 = size1; in access_prepare_nf() 257 if (unlikely(offset >= access->size1)) { in access_get_byte() 258 offset -= access->size1; in access_get_byte() 277 if (unlikely(offset >= access->size1)) { in access_set_byte() 278 offset -= access->size1; in access_set_byte() 298 int len = desta->size1 + desta->size2; in access_memmove() 300 assert(len == srca->size1 + srca->size2); in access_memmove() [all …]
|