| /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() 52 CHECK(memcmp(data->payload2, exp_str, size1 + size2), "content_check", in test_varlen() 55 CHECK_VAL(data->payload3_len1, size1); in test_varlen() 57 CHECK_VAL(data->total3, size1 + size2); in test_varlen() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | pfnmap.c | 147 size_t size1; 156 self->size1 = DEV_MEM_NPAGES * self->pagesize; in FIXTURE_TEARDOWN() 157 self->addr1 = mmap(NULL, self->size1, PROT_READ, MAP_SHARED, 170 munmap(self->addr1, self->size1); in TEST_F() 219 self->size2 = self->size1; in TEST_F() 225 ret = mremap(self->addr1, self->size1, self->size2, in TEST_F() 235 ret = mremap(self->addr1, self->size1, self->size1 - self->pagesize, 0); 246 self->size2 = self->size1 + self->pagesize; in TEST_F() 247 self->addr2 = mremap(self->addr1, self->size1, sel in TEST_F() 109 size_t size1; FIXTURE() local [all...] |
| H A D | charge_reserved_hugetlb.sh | 320 local size1="$1" 358 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test1" "$size1" \
|
| /linux/arch/mips/kernel/ |
| H A D | cpu-r3k-probe.c | 45 unsigned long size1, size2; in cpu_has_confreg() local 48 size1 = r3k_cache_size(ST0_ISC); in cpu_has_confreg() 52 return size1 != size2; in cpu_has_confreg()
|
| H A D | cpu-probe.c | 185 unsigned long size1, size2; in cpu_has_confreg() local 188 size1 = r3k_cache_size(ST0_ISC); in cpu_has_confreg() 192 return size1 != size2; in cpu_has_confreg()
|
| /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
|
| /linux/tools/perf/util/ |
| H A D | bpf-utils.c | 202 __u32 count1, count2, size1, size2; in get_bpf_prog_info_linear() local 217 size1 = bpf_prog_info_read_offset_u32(&info, desc->size_offset); in get_bpf_prog_info_linear() 220 if (size1 != size2) { in get_bpf_prog_info_linear() 221 pr_warning("%s: mismatch in rec size %u vs %u\n", __func__, size1, size2); in get_bpf_prog_info_linear() 231 ptr += roundup(count1 * size1, sizeof(__u64)); in get_bpf_prog_info_linear()
|
| /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()
|
| /linux/drivers/pci/ |
| H A D | setup-bus.c | 996 resource_size_t size1, in calculate_iosize() argument 1013 size = size + size1; in calculate_iosize() 1076 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local 1105 size1 += r_size; in pbus_size_io() 1116 size0 = calculate_iosize(size, realloc_head ? 0 : add_size, size1, 0, 0, in pbus_size_io() 1122 size1 = size0; in pbus_size_io() 1124 size1 = calculate_iosize(size, 0, size1, add_size, in pbus_size_io() 1129 if (!size0 && !size1) { in pbus_size_io() 1139 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io() 1142 size1 - size0, min_align); in pbus_size_io() [all …]
|
| /linux/drivers/pnp/isapnp/ |
| H A D | core.c | 549 unsigned short size1 = in isapnp_parse_name() local 551 isapnp_peek(name, size1); in isapnp_parse_name() 552 name[size1] = '\0'; in isapnp_parse_name() 553 *size -= size1; in isapnp_parse_name() 556 while (size1 > 0 && name[--size1] == ' ') in isapnp_parse_name() 557 name[size1] = '\0'; in isapnp_parse_name()
|
| /linux/mm/kasan/ |
| H A D | kasan_test_c.c | 380 size_t size1, size_t size2) in krealloc_more_oob_helper() argument 385 KUNIT_ASSERT_LT(test, size1, size2); in krealloc_more_oob_helper() 386 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper() 388 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper() 398 ptr2[size1 - 1] = 'x'; in krealloc_more_oob_helper() 399 ptr2[size1] = 'x'; in krealloc_more_oob_helper() 415 size_t size1, size_t size2) in krealloc_less_oob_helper() argument 420 KUNIT_ASSERT_LT(test, size2, size1); in krealloc_less_oob_helper() 421 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper() 423 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper() [all …]
|
| /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() 538 memcpy(wrp.addr1, tmpwr, wrp.size1); 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() [all …]
|
| H A D | csio_wr.c | 910 wrp->size1 = (uint32_t)((uintptr_t)q->vwrap - (uintptr_t)cwr); in csio_wr_get() 912 wrp->size2 = req_sz - wrp->size1; in csio_wr_get() 919 wrp->size1 = req_sz; in csio_wr_get() 956 nbytes = ((wrp->size1 - wr_off) >= data_len) ? in csio_wr_copy_to_wrp() 957 data_len : (wrp->size1 - wr_off); in csio_wr_copy_to_wrp()
|
| H A D | csio_wr.h | 328 uint32_t size1; member
|
| /linux/scripts/ |
| H A D | link-vmlinux.sh | 252 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso}) 258 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
|
| /linux/sound/isa/gus/ |
| H A D | gus_mem.c | 123 int size1; in snd_gf1_mem_find() local 151 size1 = ptr2 - ptr1; in snd_gf1_mem_find() 152 if ((int)size <= size1) { in snd_gf1_mem_find()
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pko.h | 179 uint64_t size1:2; member 260 uint64_t size1:2;
|
| H A D | cvmx-pko-defs.h | 2093 uint64_t size1:8; member 2097 uint64_t size1:8;
|
| /linux/drivers/accel/ethosu/ |
| H A D | ethosu_gem.c | 109 u16 size1; member 172 len *= dma_st->size1; in dma_length() 628 st.dma.size1 = param; in ethosu_gem_cmdstream_copy_and_validate()
|
| /linux/drivers/edac/ |
| H A D | amd64_edac.c | 1109 int dimm, size0, size1; in dct_debug_display_dimm_sizes() local 1148 size1 = 0; in dct_debug_display_dimm_sizes() 1150 size1 = pvt->ops->dbam_to_cs(pvt, ctrl, in dct_debug_display_dimm_sizes() 1156 dimm * 2 + 1, size1); in dct_debug_display_dimm_sizes() 1336 int dimm, size0, size1, cs0, cs1, cs_mode; in umc_debug_display_dimm_sizes() local 1347 size1 = umc_addr_mask_to_cs_size(pvt, ctrl, cs_mode, cs1); in umc_debug_display_dimm_sizes() 1351 cs1, size1); in umc_debug_display_dimm_sizes()
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper.c | 665 min_pkt.s.size1 = 59; in __cvmx_helper_global_setup_pko()
|
| /linux/mm/ |
| H A D | memblock.c | 199 memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1, phys_addr_t base2, in memblock_addrs_overlap() 202 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap() 198 memblock_addrs_overlap(phys_addr_t base1,phys_addr_t size1,phys_addr_t base2,phys_addr_t size2) memblock_addrs_overlap() argument
|
| /linux/drivers/firewire/ |
| H A D | core-cdev.c | 317 void *data0, size_t size0, void *data1, size_t size1) in queue_event() argument 322 event->v[1].size = size1; in queue_event()
|
| /linux/drivers/gpu/drm/omapdrm/dss/ |
| H A D | dsi.c | 1649 enum fifo_size size1, enum fifo_size size2, in dsi_config_tx_fifo() argument 1656 dsi->vc[0].tx_fifo_size = size1; in dsi_config_tx_fifo() 1681 enum fifo_size size1, enum fifo_size size2, in dsi_config_rx_fifo() argument 1688 dsi->vc[0].rx_fifo_size = size1; in dsi_config_rx_fifo()
|
| /linux/drivers/video/fbdev/omap2/omapfb/dss/ |
| H A D | dsi.c | 2197 enum fifo_size size1, enum fifo_size size2, in dsi_config_tx_fifo() argument 2205 dsi->vc[0].tx_fifo_size = size1; in dsi_config_tx_fifo() 2230 enum fifo_size size1, enum fifo_size size2, in dsi_config_rx_fifo() argument 2238 dsi->vc[0].rx_fifo_size = size1; in dsi_config_rx_fifo()
|