Home
last modified time | relevance | path

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

/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()
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 …]
/linux/sound/isa/gus/
H A Dgus_dram.c16 unsigned int size1, size2; in snd_gus_dram_poke()
31 size2 = size1; in snd_gus_dram_poke()
32 while (size2--) in snd_gus_dram_poke()
52 unsigned int size1, size2; in snd_gus_dram_peek()
66 size2 = size1; in snd_gus_dram_peek()
67 while (size2--) in snd_gus_dram_peek()
17 unsigned int size1, size2; snd_gus_dram_poke() local
55 unsigned int size1, size2; snd_gus_dram_peek() local
/linux/tools/testing/selftests/mm/
H A Dpfnmap.c111 size_t size2; in FIXTURE() local
144 self->size2 = 0; in FIXTURE_SETUP()
151 munmap(self->addr2, self->size2); in FIXTURE_TEARDOWN()
193 self->size2 = self->pagesize; in TEST_F()
204 self->size2 = self->size1; in TEST_F()
205 self->addr2 = mmap(NULL, self->size2, PROT_READ, MAP_ANON | MAP_PRIVATE, in TEST_F()
210 ret = mremap(self->addr1, self->size1, self->size2, in TEST_F()
231 self->size2 = self->size1 + self->pagesize; in TEST_F()
232 self->addr2 = mremap(self->addr1, self->size1, self->size2, MREMAP_MAYMOVE); in TEST_F()
H A Dcharge_reserved_hugetlb.sh317 local size2="$6"
366 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \
/linux/fs/xfs/
H A Dxfs_exchrange.c344 loff_t size2 = i_size_read(inode2); in xfs_exchange_range_checks() local
358 if (fxr->file1_offset > size1 || fxr->file2_offset > size2) in xfs_exchange_range_checks()
368 size2 - fxr->file2_offset); in xfs_exchange_range_checks()
374 fxr->file2_offset + fxr->length > size2) in xfs_exchange_range_checks()
418 else if (fxr->file2_offset + fxr->length == size2) in xfs_exchange_range_checks()
419 blen = ALIGN(size2, alloc_unit) - fxr->file2_offset; in xfs_exchange_range_checks()
439 if (fxr->file2_offset + blen < size2) in xfs_exchange_range_checks()
530 loff_t size1, size2; in xfs_exchrange_check_rtalign() local
533 size2 = i_size_read(VFS_I(ip2)); in xfs_exchrange_check_rtalign()
542 size2 - fxr->file2_offset); in xfs_exchrange_check_rtalign()
[all …]
/linux/mm/kasan/
H A Dkasan_test_c.c380 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()
391 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper()
397 /* All offsets up to size2 must be accessible. */ in krealloc_more_oob_helper()
401 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper()
403 /* Generic mode is precise, so unaligned size2 must be inaccessible. */ in krealloc_more_oob_helper()
405 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); in krealloc_more_oob_helper()
407 /* For all modes first aligned offset after size2 must be inaccessible. */ in krealloc_more_oob_helper()
409 ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); in krealloc_more_oob_helper()
[all …]
/linux/arch/mips/kernel/
H A Dcpu-r3k-probe.c45 unsigned long size1, size2; in cpu_has_confreg() local
50 size2 = r3k_cache_size(ST0_ISC); in cpu_has_confreg()
52 return size1 != size2; in cpu_has_confreg()
H A Dcpu-probe.c185 unsigned long size1, size2; in cpu_has_confreg() local
190 size2 = 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 Dlinear.rst31 size2=`blockdev --getsz $2`
33 $size1 $size2 linear $2 0" | dmsetup create joined
/linux/tools/perf/util/
H A Dbpf-utils.c202 __u32 count1, count2, size1, size2; in get_bpf_prog_info_linear() local
218 size2 = bpf_prog_info_read_offset_u32(&info_linear->info, 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()
/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()
/linux/scripts/
H A Dlink-vmlinux.sh268 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
270 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c1251 u32 addr, size, size2, blksz; in wilc_wlan_firmware_download() local
1290 size2 = min(size, blksz); in wilc_wlan_firmware_download()
1292 memcpy(dma_buffer, &buffer[offset], size2); in wilc_wlan_firmware_download()
1294 dma_buffer, size2); in wilc_wlan_firmware_download()
1298 addr += size2; in wilc_wlan_firmware_download()
1299 offset += size2; in wilc_wlan_firmware_download()
1300 size -= size2; in wilc_wlan_firmware_download()
/linux/arch/mips/fw/sni/
H A Dsniprom.c106 u32 size2; in sni_mem_init() member
/linux/drivers/pnp/
H A Dresource.c731 /* format is: pnp_reserve_io=io1,size1[,io2,size2] .... */
744 /* format is: pnp_reserve_mem=mem1,size1[,mem2,size2] .... */
/linux/security/apparmor/
H A Dpolicy_unpack.c486 int c, j, pos, size2 = aa_unpack_strdup(e, &str, NULL); in unpack_trans_table() local
490 if (!size2) in unpack_trans_table()
498 for (c = j = 0; j < size2 - 1; j++) { in unpack_trans_table()
/linux/drivers/scsi/csiostor/
H A Dcsio_wr.h330 uint32_t size2; member
/linux/include/linux/
H A Dmemblock.h148 phys_addr_t base2, phys_addr_t size2);
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko-defs.h2092 uint64_t size2:8; member
2098 uint64_t size2:8;
/linux/drivers/mtd/nand/raw/
H A Dqcom_nandc.c1279 * | (size1) yy (size2) xx.......| | (size1) bb (size2) **(n*4)**xx.......|
1291 * size1/size2 = function of codeword size and 'n'
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper.c666 min_pkt.s.size2 = 59; in __cvmx_helper_global_setup_pko()
/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddsi.c2197 enum fifo_size size1, enum fifo_size size2, in dsi_config_tx_fifo() argument
2206 dsi->vc[1].tx_fifo_size = size2; in dsi_config_tx_fifo()
2230 enum fifo_size size1, enum fifo_size size2, in dsi_config_rx_fifo() argument
2239 dsi->vc[1].rx_fifo_size = size2; in dsi_config_rx_fifo()
/linux/mm/
H A Dmemblock.c199 phys_addr_t size2) in memblock_addrs_overlap() argument
201 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap()
/linux/net/core/
H A Dpktgen.c847 * "size1,weight_1 size2,weight_2 ... size_n,weight_n" for example. in get_imix_entries()
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt981 crashkernel=range1:size1[,range2:size2,...][@offset]
6340 Format: <base1>,<size1>[,<base2>,<size2>,...]