Home
last modified time | relevance | path

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

12

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
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-6.6.21/sound/isa/gus/
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()
/linux-6.6.21/arch/mips/kernel/
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()
Dcpu-probe.c183 unsigned long size1, size2; in cpu_has_confreg() local
188 size2 = r3k_cache_size(ST0_ISC); in cpu_has_confreg()
190 return size1 != size2; in cpu_has_confreg()
/linux-6.6.21/mm/kasan/
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()
342 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); in krealloc_more_oob_helper()
346 ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = '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()
[all …]
/linux-6.6.21/kernel/kcsan/
Dencoding.h94 unsigned long addr2, size_t size2) in matching_access() argument
97 unsigned long end_range2 = addr2 + size2 - 1; in matching_access()
/linux-6.6.21/Documentation/admin-guide/device-mapper/
Dlinear.rst31 size2=`blockdev --getsz $2`
33 $size1 $size2 linear $2 0" | dmsetup create joined
/linux-6.6.21/drivers/usb/core/
Dconfig.c615 int size2; in usb_parse_configuration() local
648 for ((buffer2 = buffer, size2 = size); in usb_parse_configuration()
649 size2 > 0; in usb_parse_configuration()
650 (buffer2 += header->bLength, size2 -= header->bLength)) { in usb_parse_configuration()
652 if (size2 < sizeof(struct usb_descriptor_header)) { in usb_parse_configuration()
655 cfgno, size2, plural(size2)); in usb_parse_configuration()
660 if ((header->bLength > size2) || (header->bLength < 2)) { in usb_parse_configuration()
/linux-6.6.21/scripts/
Dlink-vmlinux.sh270 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
272 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/linux-6.6.21/drivers/net/wireless/microchip/wilc1000/
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()
/linux-6.6.21/block/partitions/
Dcmdline.c314 sector_t from2, sector_t size2) in has_overlaps() argument
317 sector_t end2 = from2 + size2; in has_overlaps()
/linux-6.6.21/arch/mips/fw/sni/
Dsniprom.c106 u32 size2; in sni_mem_init() member
/linux-6.6.21/tools/testing/selftests/mm/
Dcharge_reserved_hugetlb.sh315 local size2="$6"
364 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \
/linux-6.6.21/Documentation/admin-guide/
Dpnp.rst107 pnp_reserve_io=io1,size1[,io2,size2] ....
108 pnp_reserve_mem=mem1,size1[,mem2,size2] ....
/linux-6.6.21/drivers/scsi/csiostor/
Dcsio_wr.c913 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
914 q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / in csio_wr_get()
922 wrp->size2 = 0; in csio_wr_get()
965 CSIO_DB_ASSERT(data_len <= wrp->size2); in csio_wr_copy_to_wrp()
Dcsio_wr.h330 uint32_t size2; member
/linux-6.6.21/Documentation/devicetree/bindings/mtd/
Dqcom,nandc.yaml61 It's in the form of <offset1 size1 offset2 size2 offset3 ...>
/linux-6.6.21/security/apparmor/
Dpolicy_unpack.c485 int c, j, pos, size2 = aa_unpack_strdup(e, &str, NULL); in unpack_trans_table() local
489 if (!size2) in unpack_trans_table()
497 for (c = j = 0; j < size2 - 1; j++) { in unpack_trans_table()
/linux-6.6.21/include/linux/
Dmemblock.h122 phys_addr_t base2, phys_addr_t size2);
/linux-6.6.21/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c666 min_pkt.s.size2 = 59; in __cvmx_helper_global_setup_pko()
/linux-6.6.21/mm/
Dmemblock.c185 phys_addr_t size2) in memblock_addrs_overlap() argument
187 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap()
/linux-6.6.21/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h2092 uint64_t size2:8; member
2098 uint64_t size2:8;
/linux-6.6.21/Documentation/admin-guide/kdump/
Dkdump.rst296 2) range1:size1[,range2:size2,...][@offset]
306 crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
/linux-6.6.21/drivers/gpu/drm/omapdrm/dss/
Ddsi.c1649 enum fifo_size size1, enum fifo_size size2, in dsi_config_tx_fifo() argument
1657 dsi->vc[1].tx_fifo_size = size2; in dsi_config_tx_fifo()
1681 enum fifo_size size1, enum fifo_size size2, in dsi_config_rx_fifo() argument
1689 dsi->vc[1].rx_fifo_size = size2; in dsi_config_rx_fifo()
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/
Ddsi.c2196 enum fifo_size size1, enum fifo_size size2, in dsi_config_tx_fifo() argument
2205 dsi->vc[1].tx_fifo_size = size2; in dsi_config_tx_fifo()
2229 enum fifo_size size1, enum fifo_size size2, in dsi_config_rx_fifo() argument
2238 dsi->vc[1].rx_fifo_size = size2; in dsi_config_rx_fifo()

12