Home
last modified time | relevance | path

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

12

/linux-6.14.4/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.14.4/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.14.4/fs/xfs/
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-6.14.4/mm/kasan/
Dkasan_test_c.c345 size_t size1, size_t size2) in krealloc_more_oob_helper() argument
350 KUNIT_ASSERT_LT(test, size1, size2); in krealloc_more_oob_helper()
351 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper()
356 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper()
362 /* All offsets up to size2 must be accessible. */ in krealloc_more_oob_helper()
366 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper()
368 /* Generic mode is precise, so unaligned size2 must be inaccessible. */ in krealloc_more_oob_helper()
370 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); in krealloc_more_oob_helper()
372 /* For all modes first aligned offset after size2 must be inaccessible. */ in krealloc_more_oob_helper()
374 ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = 'x'); in krealloc_more_oob_helper()
[all …]
/linux-6.14.4/arch/mips/kernel/
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()
Dcpu-probe.c182 unsigned long size1, size2; in cpu_has_confreg() local
187 size2 = r3k_cache_size(ST0_ISC); in cpu_has_confreg()
189 return size1 != size2; in cpu_has_confreg()
/linux-6.14.4/Documentation/admin-guide/device-mapper/
Dlinear.rst31 size2=`blockdev --getsz $2`
33 $size1 $size2 linear $2 0" | dmsetup create joined
/linux-6.14.4/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.14.4/drivers/usb/core/
Dconfig.c622 int size2; in usb_parse_configuration() local
655 for ((buffer2 = buffer, size2 = size); in usb_parse_configuration()
656 size2 > 0; in usb_parse_configuration()
657 (buffer2 += header->bLength, size2 -= header->bLength)) { in usb_parse_configuration()
659 if (size2 < sizeof(struct usb_descriptor_header)) { in usb_parse_configuration()
662 cfgno, size2, str_plural(size2)); in usb_parse_configuration()
667 if ((header->bLength > size2) || (header->bLength < 2)) { in usb_parse_configuration()
745 } /* for ((buffer2 = buffer, size2 = size); ...) */ in usb_parse_configuration()
/linux-6.14.4/Documentation/admin-guide/
Dpnp.rst107 pnp_reserve_io=io1,size1[,io2,size2] ....
108 pnp_reserve_mem=mem1,size1[,mem2,size2] ....
/linux-6.14.4/drivers/net/wireless/microchip/wilc1000/
Dwlan.c1251 u32 addr, size, size2, blksz; in wilc_wlan_firmware_download() local
1291 size2 = size; in wilc_wlan_firmware_download()
1293 size2 = blksz; in wilc_wlan_firmware_download()
1295 memcpy(dma_buffer, &buffer[offset], size2); in wilc_wlan_firmware_download()
1297 dma_buffer, size2); in wilc_wlan_firmware_download()
1301 addr += size2; in wilc_wlan_firmware_download()
1302 offset += size2; in wilc_wlan_firmware_download()
1303 size -= size2; in wilc_wlan_firmware_download()
/linux-6.14.4/scripts/
Dlink-vmlinux.sh271 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
273 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/linux-6.14.4/block/partitions/
Dcmdline.c292 sector_t from2, sector_t size2) in has_overlaps() argument
295 sector_t end2 = from2 + size2; in has_overlaps()
/linux-6.14.4/arch/mips/fw/sni/
Dsniprom.c106 u32 size2; in sni_mem_init() member
/linux-6.14.4/Documentation/devicetree/bindings/mtd/
Dqcom,nandc.yaml73 It's in the form of <offset1 size1 offset2 size2 offset3 ...>
/linux-6.14.4/tools/testing/selftests/mm/
Dcharge_reserved_hugetlb.sh317 local size2="$6"
366 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \
/linux-6.14.4/drivers/pnp/
Dresource.c731 /* format is: pnp_reserve_io=io1,size1[,io2,size2] .... */
744 /* format is: pnp_reserve_mem=mem1,size1[,mem2,size2] .... */
/linux-6.14.4/Documentation/admin-guide/kdump/
Dkdump.rst276 2) range1:size1[,range2:size2,...][@offset]
286 crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
/linux-6.14.4/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.14.4/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.14.4/Documentation/driver-api/
Dipmi.rst401 regspacings=<sp1>,<sp2>,... regsizes=<size1>,<size2>,...
472 ipmi_si.regsizes=<size1>,<size2>,...
/linux-6.14.4/include/linux/
Dmemblock.h125 phys_addr_t base2, phys_addr_t size2);
/linux-6.14.4/arch/mips/include/asm/octeon/
Dcvmx-pko-defs.h2092 uint64_t size2:8; member
2098 uint64_t size2:8;
/linux-6.14.4/drivers/mtd/nand/raw/
Dqcom_nandc.c1279 * | (size1) yy (size2) xx.......| | (size1) bb (size2) **(n*4)**xx.......|
1291 * size1/size2 = function of codeword size and 'n'

12