| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | varlen.c | 22 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/drivers/gpu/drm/amd/display/dc/dml2/dml21/src/inc/ |
| H A D | dml2_debug.h | 57 #define _LOG_3D_ARRAY(field, size0, size1, size2, format) do { \ argument 63 for (int _k = 0; _k < (int) size2; _k++) { \ 65 if (_k + 1 == (int) size2) \ 155 …ine DML_LOG_DEBUG_3D_ARRAY_BOOL(field, size0, size1, size2) _LOG_3D_ARRAY(field, size0, size1, siz… argument 156 …ine DML_LOG_DEBUG_3D_ARRAY_UINT(field, size0, size1, size2) _LOG_3D_ARRAY(field, size0, size1, siz… argument 157 …fine DML_LOG_DEBUG_3D_ARRAY_INT(field, size0, size1, size2) _LOG_3D_ARRAY(field, size0, size1, siz… argument 158 …e DML_LOG_DEBUG_3D_ARRAY_DOUBLE(field, size0, size1, size2) _LOG_3D_ARRAY(field, size0, size1, siz… argument 177 #define DML_LOG_DEBUG_3D_ARRAY_BOOL(field, size0, size1, size2) ((void)0) argument 178 #define DML_LOG_DEBUG_3D_ARRAY_UINT(field, size0, size1, size2) ((void)0) argument 179 #define DML_LOG_DEBUG_3D_ARRAY_INT(field, size0, size1, size2) ((void)0) argument [all …]
|
| /linux/sound/isa/gus/ |
| H A D | gus_dram.c | 16 unsigned int size1, size2; in snd_gus_dram_poke() local 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() local 66 size2 = size1; in snd_gus_dram_peek() 67 while (size2--) in snd_gus_dram_peek()
|
| /linux/tools/testing/selftests/mm/ |
| H A D | pfnmap.c | 111 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 D | charge_reserved_hugetlb.sh | 317 local size2="$6" 366 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \
|
| /linux/fs/xfs/ |
| H A D | xfs_exchrange.c | 344 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/arch/mips/kernel/ |
| H A D | cpu-r3k-probe.c | 45 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 D | cpu-probe.c | 185 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/kernel/kcsan/ |
| H A D | encoding.h | 94 unsigned long addr2, size_t size2) in matching_access() argument 97 unsigned long end_range2 = addr2 + size2 - 1; in matching_access()
|
| /linux/tools/perf/util/ |
| H A D | bpf-utils.c | 202 __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/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() 391 ptr2 = krealloc(ptr1, size2, GFP_KERNEL); in krealloc_more_oob_helper() 401 ptr2[size2 - 1] = 'x'; in krealloc_more_oob_helper() 405 KUNIT_EXPECT_KASAN_FAIL(test, ptr2[size2] = 'x'); in krealloc_more_oob_helper() 409 ptr2[round_up(size2, KASAN_GRANULE_SIZE)] = '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() [all …]
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | linear.rst | 31 size2=`blockdev --getsz $2` 33 $size1 $size2 linear $2 0" | dmsetup create joined
|
| /linux/drivers/usb/core/ |
| H A D | config.c | 669 int size2; in usb_parse_configuration() local 702 for ((buffer2 = buffer, size2 = size); in usb_parse_configuration() 703 size2 > 0; in usb_parse_configuration() 704 (buffer2 += header->bLength, size2 -= header->bLength)) { in usb_parse_configuration() 706 if (size2 < sizeof(struct usb_descriptor_header)) { in usb_parse_configuration() 709 cfgno, size2, str_plural(size2)); in usb_parse_configuration() 714 if ((header->bLength > size2) || (header->bLength < 2)) { in usb_parse_configuration()
|
| /linux/scripts/ |
| H A D | link-vmlinux.sh | 268 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso}) 270 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
|
| /linux/block/partitions/ |
| H A D | cmdline.c | 292 sector_t from2, sector_t size2) in has_overlaps() argument 295 sector_t end2 = from2 + size2; in has_overlaps()
|
| /linux/arch/mips/fw/sni/ |
| H A D | sniprom.c | 106 u32 size2; in sni_mem_init() member
|
| /linux/drivers/net/wireless/microchip/wilc1000/ |
| H A D | wlan.c | 1251 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/Documentation/admin-guide/ |
| H A D | pnp.rst | 107 pnp_reserve_io=io1,size1[,io2,size2] .... 108 pnp_reserve_mem=mem1,size1[,mem2,size2] ....
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_wr.c | 913 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 D | csio_wr.h | 330 uint32_t size2; member
|
| /linux/security/apparmor/ |
| H A D | policy_unpack.c | 486 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/include/linux/ |
| H A D | memblock.h | 148 phys_addr_t base2, phys_addr_t size2);
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper.c | 666 min_pkt.s.size2 = 59; in __cvmx_helper_global_setup_pko()
|
| /linux/mm/ |
| H A D | memblock.c | 199 phys_addr_t size2) in memblock_addrs_overlap() argument 201 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap()
|
| /linux/Documentation/admin-guide/kdump/ |
| H A D | kdump.rst | 272 2) range1:size1[,range2:size2,...][@offset] 282 crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
|