Home
last modified time | relevance | path

Searched refs:size1 (Results 1 – 25 of 29) sorted by relevance

12

/linux/sound/isa/gus/
H A Dgus_dram.c17 unsigned int size1, size2; in snd_gus_dram_poke() local
21 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_poke()
22 if (copy_from_user(buffer, _buffer, size1)) in snd_gus_dram_poke()
28 outsb(GUSP(gus, DRAM), buffer, size1); in snd_gus_dram_poke()
30 address += size1; in snd_gus_dram_poke()
33 size2 = size1; in snd_gus_dram_poke()
37 size -= size1; in snd_gus_dram_poke()
38 _buffer += size1; in snd_gus_dram_poke()
55 unsigned int size1, size2; in snd_gus_dram_peek() local
59 size1 = size > sizeof(buffer) ? sizeof(buffer) : size; in snd_gus_dram_peek()
[all …]
H A Dgus_mem.c134 int size1; in snd_gf1_mem_find() local
162 size1 = ptr2 - ptr1; in snd_gf1_mem_find()
163 if ((int)size <= size1) { in snd_gf1_mem_find()
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dvarlen.c21 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/fs/xfs/
H A Dxfs_exchrange.c342 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/arch/mips/kernel/
H A Dcpu-r3k-probe.c45 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 Dcpu-probe.c182 unsigned long size1, size2; in cpu_has_confreg() local
185 size1 = r3k_cache_size(ST0_ISC); in cpu_has_confreg()
189 return size1 != size2; in cpu_has_confreg()
/linux/Documentation/admin-guide/device-mapper/
H A Dlinear.rst30 size1=`blockdev --getsz $1`
32 echo "0 $size1 linear $1 0
33 $size1 $size2 linear $2 0" | dmsetup create joined
/linux/kernel/kcsan/
H A Dencoding.h93 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/drivers/pnp/isapnp/
H A Dcore.c548 unsigned short size1 = in isapnp_parse_name() local
550 isapnp_peek(name, size1); in isapnp_parse_name()
551 name[size1] = '\0'; in isapnp_parse_name()
552 *size -= size1; in isapnp_parse_name()
555 while (size1 > 0 && name[--size1] == ' ') in isapnp_parse_name()
556 name[size1] = '\0'; in isapnp_parse_name()
/linux/mm/kasan/
H A 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()
353 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper()
363 ptr2[size1 - 1] = 'x'; in krealloc_more_oob_helper()
364 ptr2[size1] = 'x'; in krealloc_more_oob_helper()
380 size_t size1, size_t size2) in krealloc_less_oob_helper() argument
385 KUNIT_ASSERT_LT(test, size2, size1); in krealloc_less_oob_helper()
386 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper()
388 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper()
[all …]
/linux/arch/s390/boot/
H A Dboot.h124 unsigned long addr1, unsigned long size1) in intersects() argument
126 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/linux/drivers/scsi/csiostor/
H A Dcsio_scsi.c266 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 Dcsio_wr.c911 wrp->size1 = (uint32_t)((uintptr_t)q->vwrap - (uintptr_t)cwr); in csio_wr_get()
913 wrp->size2 = req_sz - wrp->size1; in csio_wr_get()
920 wrp->size1 = req_sz; in csio_wr_get()
957 nbytes = ((wrp->size1 - wr_off) >= data_len) ? in csio_wr_copy_to_wrp()
958 data_len : (wrp->size1 - wr_off); in csio_wr_copy_to_wrp()
H A Dcsio_wr.h328 uint32_t size1; member
/linux/scripts/
H A Dlink-vmlinux.sh267 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso})
273 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pko.h179 uint64_t size1:2; member
260 uint64_t size1:2;
H A Dcvmx-pko-defs.h2093 uint64_t size1:8; member
2097 uint64_t size1:8;
/linux/tools/testing/selftests/mm/
H A Dcharge_reserved_hugetlb.sh311 local size1="$1"
349 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test1" "$size1" \
/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/edac/
H A Damd64_edac.c1108 int dimm, size0, size1; in dct_debug_display_dimm_sizes() local
1147 size1 = 0; in dct_debug_display_dimm_sizes()
1149 size1 = pvt->ops->dbam_to_cs(pvt, ctrl, in dct_debug_display_dimm_sizes()
1155 dimm * 2 + 1, size1); in dct_debug_display_dimm_sizes()
1322 int dimm, size0, size1, cs0, cs1, cs_mode; in umc_debug_display_dimm_sizes() local
1333 size1 = umc_addr_mask_to_cs_size(pvt, ctrl, cs_mode, cs1); in umc_debug_display_dimm_sizes()
1337 cs1, size1); in umc_debug_display_dimm_sizes()
/linux/include/linux/
H A Dmemblock.h124 unsigned long memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1,
/linux/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper.c665 min_pkt.s.size1 = 59; in __cvmx_helper_global_setup_pko()
/linux/mm/
H A Dmemblock.c181 memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1, phys_addr_t base2, in memblock_addrs_overlap() argument
184 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap()
/linux/drivers/firewire/
H A Dcore-cdev.c313 void *data0, size_t size0, void *data1, size_t size1) in queue_event() argument
318 event->v[1].size = size1; in queue_event()
/linux/drivers/gpu/drm/omapdrm/dss/
H A Ddsi.c1649 enum fifo_size size1, enum fifo_size size2, in dsi_config_tx_fifo() argument
1656 dsi->vc[0].tx_fifo_size = size1; in dsi_config_tx_fifo()
1681 enum fifo_size size1, enum fifo_size size2, in dsi_config_rx_fifo() argument
1688 dsi->vc[0].rx_fifo_size = size1; in dsi_config_rx_fifo()

12