Home
last modified time | relevance | path

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

12

/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()
56 CHECK_VAL(data->payload3_len2, size2); in test_varlen()
57 CHECK_VAL(data->total3, size1 + size2); in test_varlen()
62 CHECK_VAL(data->payload4_len2, size2); in test_varlen()
[all …]
/linux/sound/isa/gus/
H A 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/fs/xfs/
H A Dxfs_exchrange.c331 loff_t size1, size2, tmp; in xfs_exchange_range_checks() local
341 size2 = i_size_read(inode2); in xfs_exchange_range_checks()
353 size2 - fxr->file2_offset); in xfs_exchange_range_checks()
379 fxr->file2_offset + fxr->length > size2)) in xfs_exchange_range_checks()
409 else if (fxr->file2_offset + fxr->length == size2) in xfs_exchange_range_checks()
430 if (fxr->file2_offset + blen < size2) in xfs_exchange_range_checks()
521 loff_t size1, size2; in xfs_exchrange_check_rtalign() local
524 size2 = i_size_read(VFS_I(ip2)); in xfs_exchrange_check_rtalign()
533 size2 - fxr->file2_offset); in xfs_exchrange_check_rtalign()
546 else if (fxr->file2_offset + length == size2) in xfs_exchrange_check_rtalign()
[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.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/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/mm/kasan/
H A Dkasan_test.c313 size_t size1, size_t size2) in krealloc_more_oob_helper() argument
318 KUNIT_ASSERT_LT(test, size1, size2); in krealloc_more_oob_helper()
319 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper()
324 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper()
334 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper()
348 size_t size1, size_t size2) in krealloc_less_oob_helper() argument
353 KUNIT_ASSERT_LT(test, size2, size1); in krealloc_less_oob_helper()
354 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper()
359 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_less_oob_helper()
366 ptr2[size2 - 1] = 'x'; in krealloc_less_oob_helper()
[all …]
/linux/Documentation/admin-guide/device-mapper/
H A Dlinear.rst31 size2=`blockdev --getsz $2`
33 $size1 $size2 linear $2 0" | dmsetup create joined
/linux/drivers/usb/core/
H A 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/scripts/
H A Dlink-vmlinux.sh269 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
271 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c1081 u32 addr, size, size2, blksz; in wilc_wlan_firmware_download() local
1112 size2 = size; in wilc_wlan_firmware_download()
1114 size2 = blksz; in wilc_wlan_firmware_download()
1116 memcpy(dma_buffer, &buffer[offset], size2); in wilc_wlan_firmware_download()
1118 dma_buffer, size2); in wilc_wlan_firmware_download()
1122 addr += size2; in wilc_wlan_firmware_download()
1123 offset += size2; in wilc_wlan_firmware_download()
1124 size -= size2; in wilc_wlan_firmware_download()
/linux/block/partitions/
H A Dcmdline.c289 sector_t from2, sector_t size2) in has_overlaps() argument
292 sector_t end2 = from2 + size2; in has_overlaps()
/linux/arch/mips/fw/sni/
H A Dsniprom.c106 u32 size2; in sni_mem_init() member
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh317 local size2="$6"
366 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \
/linux/Documentation/admin-guide/
H A Dpnp.rst107 pnp_reserve_io=io1,size1[,io2,size2] ....
108 pnp_reserve_mem=mem1,size1[,mem2,size2] ....
/linux/drivers/scsi/csiostor/
H A 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()
H A Dcsio_wr.h330 uint32_t size2; member
/linux/Documentation/devicetree/bindings/mtd/
H A Dqcom,nandc.yaml61 It's in the form of <offset1 size1 offset2 size2 offset3 ...>
/linux/security/apparmor/
H A 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/include/linux/
H A Dmemblock.h125 phys_addr_t base2, phys_addr_t size2);
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper.c666 min_pkt.s.size2 = 59; in __cvmx_helper_global_setup_pko()
/linux/mm/
H A Dmemblock.c185 phys_addr_t size2) in memblock_addrs_overlap() argument
187 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap()
/linux/Documentation/admin-guide/kdump/
H A Dkdump.rst276 2) range1:size1[,range2:size2,...][@offset]
286 crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko-defs.h2092 uint64_t size2:8; member
2098 uint64_t size2:8;
/linux/drivers/gpu/drm/omapdrm/dss/
H A 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()

12