| /linux/sound/isa/gus/ |
| H A D | gus_dram.c | 16 unsigned int size1, size2; in snd_gus_dram_poke() 20 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_poke() 21 if (copy_from_user(buffer, _buffer, size1)) in snd_gus_dram_poke() 27 outsb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_poke() 28 address += size1; in snd_gus_dram_poke() 31 size2 = size1; in snd_gus_dram_poke() 35 size -= size1; in snd_gus_dram_poke() 36 _buffer += size1; in snd_gus_dram_poke() 52 unsigned int size1, size2; in snd_gus_dram_peek() 56 size1 in snd_gus_dram_peek() 17 unsigned int size1, size2; snd_gus_dram_poke() local 55 unsigned int size1, size2; snd_gus_dram_peek() local [all...] |
| H A D | gus_mem.c | 123 int size1; in snd_gf1_mem_share() 151 size1 = ptr2 - ptr1; in snd_gf1_mem_find() 152 if ((int)size <= size1) { in snd_gf1_mem_find() 134 int size1; snd_gf1_mem_find() local
|
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | varlen.c | 21 const int size1 = sizeof(str1); in test_varlen() local 37 memcpy(bss->buf_in1, str1, size1); in test_varlen() 43 CHECK_VAL(bss->payload1_len1, size1); 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() 49 CHECK_VAL(data->payload2_len1, size1); 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() 55 CHECK_VAL(data->payload3_len1, size1); in test_varlen() 57 CHECK_VAL(data->total3, size1 + size2); in test_varlen() [all …]
|
| /linux/tools/testing/selftests/mm/ |
| H A D | pfnmap.c | 109 size_t size1; in FIXTURE() local 131 self->size1 = self->pagesize * 2; in FIXTURE_SETUP() 132 self->addr1 = mmap(NULL, self->size1, PROT_READ, MAP_SHARED, in FIXTURE_SETUP() 141 if (test_read_access(self->addr1, self->size1, self->pagesize)) in FIXTURE_SETUP() 153 munmap(self->addr1, self->size1); in FIXTURE_TEARDOWN() 204 self->size2 = self->size1; in TEST_F() 210 ret = mremap(self->addr1, self->size1, self->size2, in TEST_F() 220 ret = mremap(self->addr1, self->size1, self->size1 - self->pagesize, 0); 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() [all …]
|
| H A D | charge_reserved_hugetlb.sh | 311 local size1="$1" 349 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test1" "$size1" \
|
| /linux/Documentation/admin-guide/device-mapper/ |
| H A D | linear.rst | 30 size1=`blockdev --getsz $1` 32 echo "0 $size1 linear $1 0 33 $size1 $size2 linear $2 0" | dmsetup create joined
|
| /linux/fs/xfs/ |
| H A D | xfs_exchrange.c | 342 loff_t size1 = i_size_read(inode1); in xfs_exchange_range_checks() local 358 if (fxr->file1_offset > size1 || fxr->file2_offset > size2) in xfs_exchange_range_checks() 367 fxr->length = max_t(int64_t, size1 - fxr->file1_offset, in xfs_exchange_range_checks() 373 if (fxr->file1_offset + fxr->length > size1 || in xfs_exchange_range_checks() 416 if (fxr->file1_offset + fxr->length == size1) in xfs_exchange_range_checks() 417 blen = ALIGN(size1, alloc_unit) - fxr->file1_offset; in xfs_exchange_range_checks() 442 if (fxr->file1_offset + blen < size1) in xfs_exchange_range_checks() 530 loff_t size1, size2; in xfs_exchrange_check_rtalign() local 532 size1 = i_size_read(VFS_I(ip1)); in xfs_exchrange_check_rtalign() 541 length = max_t(int64_t, size1 - fxr->file1_offset, in xfs_exchrange_check_rtalign() [all …]
|
| /linux/tools/perf/util/ |
| H A D | bpf-utils.c | 202 __u32 count1, count2, size1, size2; in get_bpf_prog_info_linear() local 217 size1 = bpf_prog_info_read_offset_u32(&info, desc->size_offset); 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() 231 ptr += roundup(count1 * size1, sizeof(__u64)); in get_bpf_prog_info_linear()
|
| /linux/arch/mips/kernel/ |
| H A D | cpu-r3k-probe.c | 45 unsigned long size1, size2; in cpu_has_confreg() local 48 size1 = 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 188 size1 = r3k_cache_size(ST0_ISC); in cpu_has_confreg() 192 return size1 != size2; in cpu_has_confreg()
|
| /linux/drivers/pci/ |
| H A D | setup-bus.c | 1042 resource_size_t size1, in calculate_iosize() argument 1059 size = size + size1; in calculate_iosize() 1131 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local 1160 size1 += r_size; in pbus_size_io() 1171 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io() 1177 size1 = size0; in pbus_size_io() 1179 size1 = calculate_iosize(size, min_size, size1, add_size, in pbus_size_io() 1184 if (!size0 && !size1) { in pbus_size_io() 1194 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io() 1196 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io() [all …]
|
| /linux/kernel/kcsan/ |
| H A D | encoding.h | 93 static __always_inline bool matching_access(unsigned long addr1, size_t size1, in matching_access() argument 96 unsigned long end_range1 = addr1 + size1 - 1; in matching_access()
|
| /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() 388 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper() 398 ptr2[size1 - 1] = 'x'; in krealloc_more_oob_helper() 399 ptr2[size1] = '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() 423 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper() [all …]
|
| /linux/arch/s390/boot/ |
| H A D | boot.h | 129 unsigned long addr1, unsigned long size1) in intersects() argument 131 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
|
| /linux/drivers/pnp/isapnp/ |
| H A D | core.c | 549 unsigned short size1 = in isapnp_parse_name() local 551 isapnp_peek(name, size1); in isapnp_parse_name() 552 name[size1] = '\0'; in isapnp_parse_name() 553 *size -= size1; in isapnp_parse_name() 556 while (size1 > 0 && name[--size1] == ' ') in isapnp_parse_name() 557 name[size1] = '\0'; in isapnp_parse_name()
|
| /linux/drivers/scsi/csiostor/ |
| H A D | csio_scsi.c | 266 if (wrp.size1 >= size) { in csio_scsi_cmd() 277 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_cmd() 278 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_cmd() 491 if (likely(wrp.size1 >= size)) { in csio_scsi_read() 501 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_read() 502 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_read() 528 if (likely(wrp.size1 >= size)) { in csio_scsi_write() 538 memcpy(wrp.addr1, tmpwr, wrp.size1); in csio_scsi_write() 539 memcpy(wrp.addr2, tmpwr + wrp.size1, size - wrp.size1); in csio_scsi_write() 684 if (wrp.size1 >= size) { in csio_scsi_abrt_cls() [all …]
|
| H A D | csio_wr.h | 328 uint32_t size1; member
|
| /linux/scripts/ |
| H A D | link-vmlinux.sh | 264 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso}) 270 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
|
| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pko.h | 179 uint64_t size1:2; member 260 uint64_t size1:2;
|
| H A D | cvmx-pko-defs.h | 2093 uint64_t size1:8; member 2097 uint64_t size1:8;
|
| /linux/drivers/pnp/ |
| H A D | resource.c | 731 /* format is: pnp_reserve_io=io1,size1[,io2,size2] .... */ 744 /* format is: pnp_reserve_mem=mem1,size1[,mem2,size2] .... */
|
| /linux/drivers/edac/ |
| H A D | amd64_edac.c | 1109 int dimm, size0, size1; in dct_debug_display_dimm_sizes() local 1148 size1 = 0; in dct_debug_display_dimm_sizes() 1150 size1 = pvt->ops->dbam_to_cs(pvt, ctrl, in dct_debug_display_dimm_sizes() 1156 dimm * 2 + 1, size1); in dct_debug_display_dimm_sizes() 1336 int dimm, size0, size1, cs0, cs1, cs_mode; in umc_debug_display_dimm_sizes() local 1347 size1 = umc_addr_mask_to_cs_size(pvt, ctrl, cs_mode, cs1); in umc_debug_display_dimm_sizes() 1351 cs1, size1); in umc_debug_display_dimm_sizes()
|
| /linux/include/linux/ |
| H A D | memblock.h | 147 unsigned long memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1,
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | qcom_nandc.c | 1279 * | (size1) yy (size2) xx.......| | (size1) bb (size2) **(n*4)**xx.......| 1291 * size1/size2 = function of codeword size and 'n'
|
| /linux/arch/mips/cavium-octeon/executive/ |
| H A D | cvmx-helper.c | 665 min_pkt.s.size1 = 59; in __cvmx_helper_global_setup_pko()
|