/kernel/linux/linux-5.10/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 in test_varlen() [all...] |
/kernel/linux/linux-5.10/sound/isa/gus/ |
H A D | gus_dram.c | 17 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() local 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 in snd_gus_dram_peek() 64 insb(GUSP(gus, DRAM), buffer, size1); snd_gus_dram_peek() local [all...] |
H A D | gus_mem.c | 127 int size1; in snd_gf1_mem_find() local 155 size1 = ptr2 - ptr1; in snd_gf1_mem_find() 156 if ((int)size <= size1) { in snd_gf1_mem_find()
|
/kernel/linux/linux-6.6/sound/isa/gus/ |
H A D | gus_dram.c | 17 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() local 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 in snd_gus_dram_peek() 64 insb(GUSP(gus, DRAM), buffer, size1); snd_gus_dram_peek() local [all...] |
H A D | gus_mem.c | 134 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()
|
/kernel/linux/linux-6.6/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 in test_varlen() [all...] |
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-6.6/arch/mips/kernel/ |
H A D | cpu-r3k-probe.c | 46 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()
|
/kernel/linux/linux-6.6/mm/kasan/ |
H A D | kasan_test.c | 317 size_t size1, size_t size2) in krealloc_more_oob_helper() 322 KUNIT_ASSERT_LT(test, size1, size2); in krealloc_more_oob_helper() 323 middle = size1 + (size2 - size1) / 2; in krealloc_more_oob_helper() 325 ptr1 = kmalloc(size1, GFP_KERNEL); in krealloc_more_oob_helper() 335 ptr2[size1 - 1] = 'x'; in krealloc_more_oob_helper() 336 ptr2[size1] = 'x'; in krealloc_more_oob_helper() 352 size_t size1, size_t size2) in krealloc_less_oob_helper() 357 KUNIT_ASSERT_LT(test, size2, size1); in krealloc_less_oob_helper() 358 middle = size2 + (size1 in krealloc_less_oob_helper() 316 krealloc_more_oob_helper(struct kunit *test, size_t size1, size_t size2) krealloc_more_oob_helper() argument 351 krealloc_less_oob_helper(struct kunit *test, size_t size1, size_t size2) krealloc_less_oob_helper() argument 430 int size1 = 201; krealloc_uaf() local [all...] |
/kernel/linux/linux-5.10/kernel/kcsan/ |
H A D | encoding.h | 90 static __always_inline bool matching_access(unsigned long addr1, size_t size1, in matching_access() argument 93 unsigned long end_range1 = addr1 + size1 - 1; in matching_access()
|
/kernel/linux/linux-6.6/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()
|
/kernel/linux/linux-6.6/arch/s390/boot/ |
H A D | boot.h | 97 unsigned long addr1, unsigned long size1) in intersects() 99 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects() 96 intersects(unsigned long addr0, unsigned long size0, unsigned long addr1, unsigned long size1) intersects() argument
|
/kernel/linux/linux-5.10/drivers/pci/ |
H A D | setup-bus.c | 791 resource_size_t size1, in calculate_iosize() 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 in pbus_size_io() 789 calculate_iosize(resource_size_t size, resource_size_t min_size, resource_size_t size1, resource_size_t add_size, resource_size_t children_add_size, resource_size_t old_size, resource_size_t align) calculate_iosize() argument 996 resource_size_t min_align, align, size, size0, size1; pbus_size_mem() local [all...] |
/kernel/linux/linux-6.6/drivers/pci/ |
H A D | setup-bus.c | 787 resource_size_t size1, in calculate_iosize() 804 size = size + size1; in calculate_iosize() 881 resource_size_t size = 0, size0 = 0, size1 = 0; in pbus_size_io() local 907 size1 += r_size; in pbus_size_io() 918 size0 = calculate_iosize(size, min_size, size1, 0, 0, in pbus_size_io() 920 size1 = (!realloc_head || (realloc_head && !add_size && !children_add_size)) ? size0 : in pbus_size_io() 921 calculate_iosize(size, min_size, size1, add_size, children_add_size, in pbus_size_io() 923 if (!size0 && !size1) { in pbus_size_io() 934 if (bus->self && size1 > size0 && realloc_head) { in pbus_size_io() 935 add_to_list(realloc_head, bus->self, b_res, size1 in pbus_size_io() 785 calculate_iosize(resource_size_t size, resource_size_t min_size, resource_size_t size1, resource_size_t add_size, resource_size_t children_add_size, resource_size_t old_size, resource_size_t align) calculate_iosize() argument 991 resource_size_t min_align, align, size, size0, size1; pbus_size_mem() local [all...] |
/kernel/linux/linux-5.10/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() [all...] |
/kernel/linux/linux-6.6/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() [all...] |
/kernel/linux/linux-5.10/arch/s390/boot/ |
H A D | ipl_report.c | 25 unsigned long addr1, unsigned long size1) in intersects() 27 return addr0 + size0 > addr1 && addr1 + size1 > addr0; in intersects() 24 intersects(unsigned long addr0, unsigned long size0, unsigned long addr1, unsigned long size1) intersects() argument
|
/kernel/linux/linux-6.6/scripts/ |
H A D | link-vmlinux.sh | 269 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso_prev}) 272 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
|
/kernel/linux/linux-5.10/drivers/pnp/isapnp/ |
H A D | core.c | 548 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()
|
/kernel/linux/linux-6.6/drivers/pnp/isapnp/ |
H A D | core.c | 548 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()
|
/kernel/linux/linux-5.10/scripts/ |
H A D | link-vmlinux.sh | 396 size1=$(${CONFIG_SHELL} "${srctree}/scripts/file-size.sh" ${kallsymso_prev}) 399 if [ $size1 -ne $size2 ] || [ -n "${KALLSYMS_EXTRA_PASS}" ]; then
|
/kernel/linux/linux-5.10/lib/ |
H A D | test_kasan.c | 184 size_t size1 = 17; in kmalloc_oob_krealloc_more() local 187 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_more() 200 size_t size1 = 17; in kmalloc_oob_krealloc_less() local 203 ptr1 = kmalloc(size1, GFP_KERNEL); in kmalloc_oob_krealloc_less()
|
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko.h | 179 uint64_t size1:2; member 260 uint64_t size1:2;
|
/kernel/linux/linux-6.6/arch/mips/include/asm/octeon/ |
H A D | cvmx-pko.h | 179 uint64_t size1:2; member 260 uint64_t size1:2;
|
/kernel/linux/linux-5.10/arch/x86/lib/ |
H A D | usercopy_64.c | 31 "4: movq %[size1],%%rcx\n" in __clear_user() 39 "3: lea 0(%[size1],%[size8],8),%[size8]\n" in __clear_user() 45 : [size1] "r"(size & 7), "[size8]" (size / 8), "[dst]"(addr)); in __clear_user()
|