Home
last modified time | relevance | path

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

12

/linux-5.19.10/sound/isa/gus/
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 …]
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-5.19.10/tools/testing/selftests/bpf/prog_tests/
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-5.19.10/arch/mips/kernel/
Dcpu-r3k-probe.c46 unsigned long size1, size2; in cpu_has_confreg() local
49 size1 = r3k_cache_size(ST0_ISC); in cpu_has_confreg()
53 return size1 != size2; in cpu_has_confreg()
Dcpu-probe.c183 unsigned long size1, size2; in cpu_has_confreg() local
186 size1 = r3k_cache_size(ST0_ISC); in cpu_has_confreg()
190 return size1 != size2; in cpu_has_confreg()
/linux-5.19.10/Documentation/admin-guide/device-mapper/
Dlinear.rst30 size1=`blockdev --getsz $1`
32 echo "0 $size1 linear $1 0
33 $size1 $size2 linear $2 0" | dmsetup create joined
/linux-5.19.10/lib/
Dtest_kasan.c284 size_t size1, size_t size2) in krealloc_more_oob_helper() argument
289 KUNIT_ASSERT_LT(test, size1, size2); in krealloc_more_oob_helper()
290 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper()
292 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper()
299 ptr2[size1 - 1] = 'x'; in krealloc_more_oob_helper()
300 ptr2[size1] = 'x'; in krealloc_more_oob_helper()
316 size_t size1, size_t size2) in krealloc_less_oob_helper() argument
321 KUNIT_ASSERT_LT(test, size2, size1); in krealloc_less_oob_helper()
322 middle = size2 + (size1 - size2) / 2; in krealloc_less_oob_helper()
324 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_less_oob_helper()
[all …]
/linux-5.19.10/kernel/kcsan/
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-5.19.10/drivers/pci/
Dsetup-bus.c791 resource_size_t size1, in calculate_iosize() argument
808 size = size + size1; in calculate_iosize()
885 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local
912 size1 += r_size; in pbus_size_io()
923 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io()
925 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 : in pbus_size_io()
926 calculate_iosize(size, min_size, size1, add_size, children_add_size, in pbus_size_io()
928 if (!size0 && !size1) { in pbus_size_io()
939 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io()
940 add_to_list(realloc_head, bus->self, b_res, size1-size0, in pbus_size_io()
[all …]
/linux-5.19.10/drivers/pnp/isapnp/
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-5.19.10/arch/x86/lib/
Dusercopy_64.c39 _ASM_EXTABLE_TYPE_REG(0b, 2b, EX_TYPE_UCOPY_LEN8, %[size1]) in __clear_user()
43 : [size1] "r"(size & 7), "[size8]" (size / 8), "[dst]"(addr)); in __clear_user()
/linux-5.19.10/arch/s390/boot/
Dipl_report.c25 unsigned long addr1, unsigned long size1) in intersects() argument
27 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects()
/linux-5.19.10/drivers/scsi/csiostor/
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 …]
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()
Dcsio_wr.h328 uint32_t size1; member
/linux-5.19.10/scripts/
Dlink-vmlinux.sh305 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso_prev})
308 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
/linux-5.19.10/arch/mips/include/asm/octeon/
Dcvmx-pko.h179 uint64_t size1:2; member
260 uint64_t size1:2;
Dcvmx-pko-defs.h2093 uint64_t size1:8; member
2097 uint64_t size1:8;
/linux-5.19.10/tools/testing/selftests/vm/
Dcharge_reserved_hugetlb.sh309 local size1="$1"
347 write_hugetlbfs_and_get_usage "hugetlb_cgroup_test1" "$size1" \
/linux-5.19.10/Documentation/admin-guide/
Dpnp.rst107 pnp_reserve_io=io1,size1[,io2,size2] ....
108 pnp_reserve_mem=mem1,size1[,mem2,size2] ....
/linux-5.19.10/drivers/edac/
Damd64_edac.c1397 int dimm, size0, size1, cs0, cs1, cs_mode; in debug_display_dimm_sizes_df() local
1408 size1 = pvt->ops->dbam_to_cs(pvt, ctrl, cs_mode, cs1); in debug_display_dimm_sizes_df()
1412 cs1, size1); in debug_display_dimm_sizes_df()
2800 int dimm, size0, size1; in debug_display_dimm_sizes() local
2842 size1 = 0; in debug_display_dimm_sizes()
2844 size1 = pvt->ops->dbam_to_cs(pvt, ctrl, in debug_display_dimm_sizes()
2850 dimm * 2 + 1, size1); in debug_display_dimm_sizes()
/linux-5.19.10/arch/mips/cavium-octeon/executive/
Dcvmx-helper.c665 min_pkt.s.size1 = 59; in __cvmx_helper_global_setup_pko()
/linux-5.19.10/mm/
Dmemblock.c174 static unsigned long __init_memblock memblock_addrs_overlap(phys_addr_t base1, phys_addr_t size1, in memblock_addrs_overlap() argument
177 return ((base1 < (base2 + size2)) && (base2 < (base1 + size1))); in memblock_addrs_overlap()
/linux-5.19.10/Documentation/admin-guide/kdump/
Dkdump.rst296 2) range1:size1[,range2:size2,...][@offset]
306 crashkernel=<range1>:<size1>[,<range2>:<size2>,...][@offset]
/linux-5.19.10/drivers/firewire/
Dcore-cdev.c273 void *data0, size_t size0, void *data1, size_t size1) in queue_event() argument
280 event->v[1].size = size1; in queue_event()

12