Home
last modified time | relevance | path

Searched refs:size2 (Results 1 – 19 of 19) 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/tools/testing/selftests/mm/
H A Dpfnmap.c149 size_t size2; in FIXTURE_TEARDOWN()
161 self->size2 = 0; in TEST_F()
168 munmap(self->addr2, self->size2); in TEST_F()
208 self->size2 = self->pagesize; in TEST_F()
219 self->size2 = self->size1; in TEST_F()
220 self->addr2 = mmap(NULL, self->size2, PROT_READ, MAP_ANON | MAP_PRIVATE, in TEST_F()
225 ret = mremap(self->addr1, self->size1, self->size2, in TEST_F()
246 self->size2 = self->size1 + self->pagesize; in TEST_F()
247 self->addr2 = mremap(self->addr1, self->size1, self->size2, MREMAP_MAYMOVE); in TEST_F()
111 size_t size2; FIXTURE() local
H A Dcharge_reserved_hugetlb.sh343 local size2="$6"
396 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test2" "$size2" \
/linux/fs/xfs/
H A Dxfs_exchrange.c347 loff_t size2 = i_size_read(inode2); in xfs_exchange_range_checks()
361 if (fxr->file1_offset > size1 || fxr->file2_offset > size2) in xfs_exchange_range_checks()
371 size2 - fxr->file2_offset); in xfs_exchange_range_checks()
377 fxr->file2_offset + fxr->length > size2) in xfs_exchange_range_checks()
421 else if (fxr->file2_offset + fxr->length == size2) in xfs_exchange_range_checks()
422 blen = ALIGN(size2, alloc_unit) - fxr->file2_offset; in xfs_exchange_range_checks()
442 if (fxr->file2_offset + blen < size2) in xfs_exchange_range_checks()
556 loff_t size1, size2; in xfs_exchrange_check_rtalign()
559 size2 = i_size_read(VFS_I(ip2)); in xfs_exchrange_check_rtalign()
568 size2 in xfs_exchrange_check_rtalign()
344 loff_t size2 = i_size_read(inode2); xfs_exchange_range_checks() local
533 loff_t size1, size2; xfs_exchrange_check_rtalign() local
[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/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/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/Documentation/admin-guide/device-mapper/
H A Dlinear.rst31 size2=`blockdev --getsz $2`
33 $size1 $size2 linear $2 0" | dmsetup create joined
/linux/scripts/
H A Dlink-vmlinux.sh269 size2=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
275 if [ $size1 -ne $size2 ] || kallsymso_changed || \
/linux/arch/mips/fw/sni/
H A Dsniprom.c106 u32 size2; in sni_mem_init() member
/linux/drivers/net/wireless/microchip/wilc1000/
H A Dwlan.c1260 u32 addr, size, size2, blksz; in wilc_wlan_firmware_download() local
1299 size2 = min(size, blksz); in wilc_wlan_firmware_download()
1301 memcpy(dma_buffer, &buffer[offset], size2); in wilc_wlan_firmware_download()
1303 dma_buffer, size2); in wilc_wlan_firmware_download()
1307 addr += size2; in wilc_wlan_firmware_download()
1308 offset += size2; in wilc_wlan_firmware_download()
1309 size -= size2; in wilc_wlan_firmware_download()
/linux/drivers/scsi/csiostor/
H A Dcsio_wr.c912 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
913 q->pidx = (uint16_t)(ALIGN(wrp->size2, CSIO_QCREDIT_SZ) / in csio_wr_get()
921 wrp->size2 = 0; in csio_wr_get()
964 CSIO_DB_ASSERT(data_len <= wrp->size2); in csio_wr_copy_to_wrp()
H A Dcsio_wr.h330 uint32_t size2; member
/linux/security/apparmor/
H A Dpolicy_unpack.c557 int c, size2 = aa_unpack_strdup(e, &str, NULL); in unpack_strs_table() local
561 c = process_strs_entry(str, size2, multi); in unpack_strs_table()
575 table[i].size = size2; in unpack_strs_table()
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko-defs.h2092 uint64_t size2:8; member
2098 uint64_t size2:8;
/linux/mm/
H A Dmemblock.c200 phys_addr_t size2) in memblock_addrs_overlap() argument
202 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap()
/linux/Documentation/driver-api/
H A Dipmi.rst398 regspacings=<sp1>,<sp2>,... regsizes=<size1>,<size2>,...
469 ipmi_si.regsizes=<size1>,<size2>,...
/linux/Documentation/admin-guide/
H A Dkernel-parameters.txt1066 crashkernel=range1:size1[,range2:size2,...][@offset]
6588 Format: <base1>,<size1>[,<base2>,<size2>,...]