Searched refs:BUFLEN (Results 1 - 9 of 9) sorted by relevance

/linux-4.1.27/tools/testing/selftests/powerpc/copyloops/
H A Dvalidate.c11 #define BUFLEN (MAX_LEN+MAX_OFFSET+2*MIN_REDZONE) macro
27 memset(src, POISON, BUFLEN); do_one()
28 memset(dst, POISON, BUFLEN); do_one()
55 if (memcmp(dstp+len, redzone, dst+BUFLEN-(dstp+len))) { do_one()
68 src = memalign(BUFLEN, BUFLEN); test_copy_loop()
69 dst = memalign(BUFLEN, BUFLEN); test_copy_loop()
70 redzone = malloc(BUFLEN); test_copy_loop()
71 fill = malloc(BUFLEN); test_copy_loop()
78 memset(redzone, POISON, BUFLEN); test_copy_loop()
81 for (i = 0; i < BUFLEN; i++) test_copy_loop()
/linux-4.1.27/tools/usb/
H A Dhcd-tests.sh31 declare -i COUNT BUFLEN
34 BUFLEN=2048
50 if ! ./testusb $TEST_ARGS -s $BUFLEN -c $COUNT $* 2>/dev/null
95 BUFLEN=2048
144 BUFLEN=4096
147 BUFLEN=64
159 BUFLEN=24500
167 BUFLEN=32768
212 BUFLEN=24500
220 BUFLEN=32768
253 BUFLEN=2048
256 # modprobe g_zero qlen=$COUNT buflen=$BUFLEN loopdefault
261 echo "write $COUNT buffers of $BUFLEN bytes, read them back"
/linux-4.1.27/drivers/input/mouse/
H A Dvsxxxaa.c116 #define BUFLEN 15 /* At least 5 is needed for a full tablet packet */ macro
117 unsigned char buf[BUFLEN];
131 memmove(mouse->buf, mouse->buf + num, BUFLEN - num); vsxxxaa_drop_bytes()
138 if (mouse->count == BUFLEN) { vsxxxaa_queue_byte()
/linux-4.1.27/drivers/media/rc/
H A Digorplugusb.c34 #define BUFLEN 36 macro
35 #define MAX_PACKET (HEADERLEN + BUFLEN)
H A Dlirc_dev.c236 if (1 > d->code_length || (BUFLEN * 8) < d->code_length) { lirc_register_driver()
240 d->minor, BUFLEN * 8); lirc_register_driver()
319 buffer_size = d->buffer_size ? d->buffer_size : BUFLEN / bytes_in_key; lirc_register_driver()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
H A Dlproc_ptlrpc.c1185 #define BUFLEN (UUID_MAX + 5) macro
1194 OBD_ALLOC(kbuf, BUFLEN); lprocfs_wr_evict_client()
1199 * OBD_ALLOC() will zero kbuf, but we only copy BUFLEN - 1 lprocfs_wr_evict_client()
1204 min_t(unsigned long, BUFLEN - 1, count))) { lprocfs_wr_evict_client()
1208 tmpbuf = cfs_firststr(kbuf, min_t(unsigned long, BUFLEN - 1, count)); lprocfs_wr_evict_client()
1228 OBD_FREE(kbuf, BUFLEN); lprocfs_wr_evict_client()
1233 #undef BUFLEN macro
/linux-4.1.27/include/media/
H A Dlirc_dev.h13 #define BUFLEN 16 macro
/linux-4.1.27/drivers/crypto/
H A Domap-sham.c136 #define BUFLEN PAGE_SIZE macro
885 ctx->buflen = BUFLEN; omap_sham_init()
1249 sizeof(struct omap_sham_reqctx) + BUFLEN); omap_sham_cra_init_alg()
/linux-4.1.27/drivers/staging/media/lirc/
H A Dlirc_zilog.c1396 .buffer_size = BUFLEN / 2,

Completed in 297 milliseconds