Home
last modified time | relevance | path

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

12

/openbmc/linux/sound/isa/gus/
H A Dgus_dram.c17 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 Dgus_mem.c134 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 Dvarlen.c21 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 Daccess.c15 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 Daccess.h13 uint16_t size1; member
/openbmc/u-boot/arch/arm/mach-omap2/omap3/
H A Demif4.c129 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 Dsdrc.c199 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 Dmacros.def554 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 Dcpu-r3k-probe.c46 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 Dlinear.rst30 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 Dmx53smd.c23 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 Dfuzz.h97 size_t(*crossover)(const uint8_t *data1, size_t size1,
117 size_t LLVMFuzzerCustomCrossOver(const uint8_t *data1, size_t size1,
H A Dfuzz.c130 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 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()
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 Dencoding.h93 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 Dboot.h97 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 Dlmb.c43 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 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()
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 Dmx35pdk.c40 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 Dcore.c548 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 Dmx53ard.c25 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 Dsetup-bus.c787 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 Dlink-vmlinux.sh269 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 Dcsio_scsi.c266 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 Dmem_helper.c126 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 …]

12