Home
last modified time | relevance | path

Searched refs:BUFFER_SIZE (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/tools/testing/selftests/arm64/mte/
A Dcheck_tags_inclusion.c18 #define BUFFER_SIZE (5 * MT_GRANULE_SIZE) macro
26 memset(ptr, '1', BUFFER_SIZE); in verify_mte_pointer_validity()
30 ptr, ptr + BUFFER_SIZE, mode); in verify_mte_pointer_validity()
38 ptr[BUFFER_SIZE] = '2'; in verify_mte_pointer_validity()
65 ptr = mte_insert_tags(ptr, BUFFER_SIZE); in check_single_included_tags()
97 ptr = mte_insert_tags(ptr, BUFFER_SIZE); in check_multiple_included_tags()
128 ptr = (char *)mte_insert_tags(ptr, BUFFER_SIZE); in check_all_included_tags()
144 ptr = mte_allocate_memory(BUFFER_SIZE, mem_type, 0, false); in check_none_included_tags()
153 ptr = (char *)mte_insert_tags(ptr, BUFFER_SIZE); in check_none_included_tags()
162 memset(ptr, '1', BUFFER_SIZE); in check_none_included_tags()
[all …]
A Dcheck_child_memory.c18 #define BUFFER_SIZE (5 * MT_GRANULE_SIZE) macro
/linux-6.3-rc2/tools/testing/selftests/iommu/
A Diommufd.c46 BUFFER_SIZE = PAGE_SIZE * 16; in setup_sizes()
539 memset(ranges, 0, BUFFER_SIZE); in TEST_F()
566 memset(ranges, 0, BUFFER_SIZE); in TEST_F()
591 .length = BUFFER_SIZE, in TEST_F()
598 .length = BUFFER_SIZE, in TEST_F()
664 .length = BUFFER_SIZE, in TEST_F()
734 tmp2 = malloc(BUFFER_SIZE); in check_access_rw()
1240 .length = BUFFER_SIZE, in TEST_F()
1454 BUFFER_SIZE - _cmd_len)); \
1566 .size = BUFFER_SIZE, in TEST_F()
[all …]
A Diommufd_fail_nth.c44 BUFFER_SIZE = 2*1024*1024; in setup_buffer()
46 buffer = mmap(0, BUFFER_SIZE, PROT_READ | PROT_WRITE, in setup_buffer()
263 ranges[0].last = BUFFER_SIZE + 16 * 1024 * 600 - 1; in TEST_FAIL_NTH()
268 if (_test_ioctl_ioas_map(self->fd, ioas_id, buffer, BUFFER_SIZE, &iova, in TEST_FAIL_NTH()
288 if (_test_ioctl_ioas_unmap(self->fd, ioas_id, iova, BUFFER_SIZE, in TEST_FAIL_NTH()
292 _test_ioctl_ioas_unmap(self->fd, ioas_id, iova, BUFFER_SIZE, NULL); in TEST_FAIL_NTH()
479 if (_test_ioctl_ioas_map(self->fd, ioas_id, buffer, BUFFER_SIZE, &iova, in TEST_FAIL_NTH()
496 .length = BUFFER_SIZE, in TEST_FAIL_NTH()
538 if (_test_ioctl_ioas_map(self->fd, ioas_id, buffer, BUFFER_SIZE, &iova, in TEST_FAIL_NTH()
555 .length = BUFFER_SIZE, in TEST_FAIL_NTH()
A Diommufd_utils.h20 static unsigned long BUFFER_SIZE; variable
256 .check_refs = { .length = BUFFER_SIZE, in teardown_iommufd()
/linux-6.3-rc2/drivers/input/serio/
A Dgscps2.c86 #define BUFFER_SIZE 0x0f macro
99 } buffer[BUFFER_SIZE+1];
240 ps2port->append = ((ps2port->append+1) & BUFFER_SIZE); in gscps2_interrupt()
264 ps2port->act = ((ps2port->act+1) & BUFFER_SIZE); in gscps2_interrupt()
/linux-6.3-rc2/drivers/net/ethernet/i825xx/
A Dether1.c57 #define BUFFER_SIZE 0x10000 macro
254 unsigned char *buffer = kmalloc (BUFFER_SIZE, GFP_KERNEL); in ether1_ramtest()
255 int i, ret = BUFFER_SIZE; in ether1_ramtest()
263 memset (buffer, byte, BUFFER_SIZE); in ether1_ramtest()
264 ether1_writebuffer (dev, buffer, 0, BUFFER_SIZE); in ether1_ramtest()
265 memset (buffer, byte ^ 0xff, BUFFER_SIZE); in ether1_ramtest()
266 ether1_readbuffer (dev, buffer, 0, BUFFER_SIZE); in ether1_ramtest()
268 for (i = 0; i < BUFFER_SIZE; i++) { in ether1_ramtest()
292 printk (" - 0x%04X\n", BUFFER_SIZE); in ether1_ramtest()
/linux-6.3-rc2/Documentation/sparc/
A Dadi.rst182 #define BUFFER_SIZE 32*1024*1024UL
213 if ((shmid = shmget(2, BUFFER_SIZE,
226 if (mprotect(shmaddr, BUFFER_SIZE, PROT_READ|PROT_WRITE|PROT_ADI)) {
235 end = shmaddr + BUFFER_SIZE;
254 for (i = 0; i < BUFFER_SIZE; i++) {
263 for (i = 0; i < BUFFER_SIZE; i++)
270 if (mprotect(shmaddr, BUFFER_SIZE, PROT_READ|PROT_WRITE)) {
/linux-6.3-rc2/drivers/media/usb/pvrusb2/
A Dpvrusb2-ioread.c17 #define BUFFER_SIZE PAGE_ALIGN(0x4000) macro
47 cp->buffer_storage[idx] = kmalloc(BUFFER_SIZE,GFP_KERNEL); in pvr2_ioread_init()
219 BUFFER_SIZE); in pvr2_ioread_setup()
/linux-6.3-rc2/drivers/net/arcnet/
A Darc-rimi.c60 #define BUFFER_SIZE (512) macro
61 #define MIRROR_SIZE (BUFFER_SIZE * 4)
A Dcom90xx.c79 #define BUFFER_SIZE (512) macro
80 #define MIRROR_SIZE (BUFFER_SIZE * 4)
/linux-6.3-rc2/tools/testing/selftests/drivers/s390x/uvdevice/
A Dtest_uvdevice.c20 #define BUFFER_SIZE 0x200 macro
24 uint8_t buffer[BUFFER_SIZE]; in FIXTURE()
/linux-6.3-rc2/fs/cramfs/
A Dinode.c172 #define BUFFER_SIZE (BLKS_PER_BUF*PAGE_SIZE) macro
174 static unsigned char read_buffers[READ_BUFFERS][BUFFER_SIZE];
207 if (blk_offset > BUFFER_SIZE || in cramfs_blkdev_read()
208 blk_offset + len > BUFFER_SIZE) in cramfs_blkdev_read()
/linux-6.3-rc2/drivers/block/
A Dataflop.c353 #define BUFFER_SIZE (BufferSize[DriveType]) macro
806 FILL( TrackBuffer+BUFFER_SIZE-p, 0x4e ); in do_format()
1274 dma_cache_maintenance( paddr, BUFFER_SIZE, 1 ); in fd_writetrack()
1310 dma_wd.fdc_acces_seccount = BUFFER_SIZE/512; in fd_writetrack()
2110 DMABuffer = atari_stram_alloc(BUFFER_SIZE+512, "ataflop"); in atari_floppy_init()
/linux-6.3-rc2/sound/core/
A Dpcm_param_trace.h24 HW_PARAM_ENTRY(BUFFER_SIZE), \
/linux-6.3-rc2/drivers/mmc/core/
A Dmmc_test.c32 #define BUFFER_SIZE (PAGE_SIZE << BUFFER_ORDER) macro
146 u8 scratch[BUFFER_SIZE];
641 for (i = 0; i < BUFFER_SIZE / 512; i++) { in __mmc_test_prepare()
940 memset(test->scratch, 0, BUFFER_SIZE); in mmc_test_transfer()
942 sg_copy_from_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
964 if ((sectors * 512) > BUFFER_SIZE) in mmc_test_transfer()
987 sg_copy_to_buffer(sg, sg_len, test->scratch, BUFFER_SIZE); in mmc_test_transfer()
3104 test->buffer = kzalloc(BUFFER_SIZE, GFP_KERNEL);
/linux-6.3-rc2/drivers/gpu/drm/amd/pm/powerplay/smumgr/
A Dsmu10_smumgr.c37 #define BUFFER_SIZE 80000 macro
/linux-6.3-rc2/drivers/usb/host/
A Doxu210hp-hcd.c377 #define BUFFER_SIZE 512 macro
384 u8 buffer[BUFFER_SIZE];
385 } __aligned(BUFFER_SIZE);
914 if (len > BUFFER_SIZE * BUFFER_NUM) { in oxu_buf_alloc()
922 n_blocks = (len + BUFFER_SIZE - 1) / BUFFER_SIZE; in oxu_buf_alloc()
944 qtd->qtd_buffer_len = BUFFER_SIZE * a_blocks; in oxu_buf_alloc()
966 / BUFFER_SIZE; in oxu_buf_free()
/linux-6.3-rc2/drivers/net/xen-netback/
A Dxenbus.c103 #define BUFFER_SIZE 32 macro
112 char write[BUFFER_SIZE]; in xenvif_write_io_ring()
/linux-6.3-rc2/Documentation/sound/designs/
A Dtracepoints.rst153 hw_interval_param: pcmC0D0p 000/023 BUFFER_SIZE 0 0 [0 4294967295] 0 1 [0 4294967295]

Completed in 45 milliseconds