/linux-master/tools/testing/selftests/bpf/ |
H A D | urandom_read.c | 19 #define BUF_SIZE 256 macro 36 char buf[BUF_SIZE]; 40 read(fd, buf, BUF_SIZE); 43 urand_read_without_sema(i, count, BUF_SIZE); 44 STAP_PROBE3(urand, read_with_sema, i, count, BUF_SIZE); 47 urandlib_read_without_sema(i, count, BUF_SIZE); 48 urandlib_read_with_sema(i, count, BUF_SIZE);
|
/linux-master/tools/testing/selftests/net/ |
H A D | tcp_inq.c | 29 #define BUF_SIZE 8192 macro 68 buf = malloc(BUF_SIZE); 77 r = send(fd, buf, BUF_SIZE, 0); 81 if (r != BUF_SIZE) 157 buf = malloc(BUF_SIZE); 159 iov[0].iov_len = BUF_SIZE / 2; 170 if (inq != BUF_SIZE - iov[0].iov_len) {
|
/linux-master/sound/parisc/ |
H A D | harmony.h | 64 #define BUF_SIZE PAGE_SIZE macro 66 #define MAX_BUF_SIZE (MAX_BUFS * BUF_SIZE) 71 #define GRAVEYARD_BUFSZ (GRAVEYARD_BUFS*BUF_SIZE) 73 #define SILENCE_BUFSZ (SILENCE_BUFS*BUF_SIZE)
|
H A D | harmony.c | 264 .period_bytes_min = BUF_SIZE, 265 .period_bytes_max = BUF_SIZE, 285 .period_bytes_min = BUF_SIZE, 286 .period_bytes_max = BUF_SIZE, 615 BUF_SIZE*GRAVEYARD_BUFS, 625 BUF_SIZE*SILENCE_BUFS,
|
/linux-master/arch/um/drivers/ |
H A D | slip_common.h | 5 #define BUF_SIZE 1500 macro 8 #define ENC_BUF_SIZE (2 * BUF_SIZE + 2)
|
H A D | slirp_user.c | 123 .mtu = BUF_SIZE, 124 .max_packet = BUF_SIZE,
|
H A D | slip_user.c | 250 .mtu = BUF_SIZE, 251 .max_packet = BUF_SIZE,
|
/linux-master/lib/ |
H A D | test_printf.c | 30 #define BUF_SIZE 256 macro 54 memset(alloced_buffer, FILL_CHAR, BUF_SIZE + 2*PAD_SIZE); 71 if (memchr_inv(test_buffer, FILL_CHAR, BUF_SIZE + PAD_SIZE)) { 92 if (memchr_inv(test_buffer + bufsize, FILL_CHAR, BUF_SIZE + PAD_SIZE - bufsize)) { 112 if (elen >= BUF_SIZE) { 127 failed_tests += do_test(BUF_SIZE, expect, elen, fmt, ap); 129 /* Since elen < BUF_SIZE, we have 1 <= rand <= BUF_SIZE. */ 619 size = scnprintf(cmp_buf, BUF_SIZE, "%#lx(", flags); 621 size += scnprintf(cmp_buf + size, BUF_SIZE [all...] |
H A D | test_scanf.c | 20 #define BUF_SIZE 1024 macro 198 snprintf(test_buffer, BUF_SIZE, gen_fmt, expect_val); \ 361 append_delim(test_buffer, &pos, BUF_SIZE, \ 362 fmt_buffer, &fmt_pos, BUF_SIZE, \ 365 append_fmt(test_buffer, &pos, BUF_SIZE, gen_fmt, expect[i]); \ 366 append_fmt(fmt_buffer, &fmt_pos, BUF_SIZE, "%%%s", scan_fmt); \ 389 append_delim(test_buffer, &pos, BUF_SIZE, \ 390 fmt_buffer, &fmt_pos, BUF_SIZE, field_sep);\ 392 val_len = append_fmt(test_buffer, &pos, BUF_SIZE, gen_fmt, \ 394 append_fmt(fmt_buffer, &fmt_pos, BUF_SIZE, \ [all...] |
/linux-master/drivers/input/joystick/ |
H A D | joydump.c | 23 #define BUF_SIZE 256 macro 64 buf = kmalloc_array(BUF_SIZE, sizeof(struct joydump), GFP_KERNEL); 83 while (i < BUF_SIZE && t < timeout) {
|
/linux-master/tools/perf/util/ |
H A D | perf_event_attr_fprintf.c | 241 #define BUF_SIZE 1024 macro 243 #define p_hex(val) snprintf(buf, BUF_SIZE, "%#"PRIx64, (uint64_t)(val)) 244 #define p_unsigned(val) snprintf(buf, BUF_SIZE, "%"PRIu64, (uint64_t)(val)) 245 #define p_signed(val) snprintf(buf, BUF_SIZE, "%"PRId64, (int64_t)(val)) 246 #define p_sample_type(val) __p_sample_type(buf, BUF_SIZE, val) 247 #define p_branch_sample_type(val) __p_branch_sample_type(buf, BUF_SIZE, val) 248 #define p_read_format(val) __p_read_format(buf, BUF_SIZE, val) 249 #define p_type_id(val) __p_type_id(buf, BUF_SIZE, val) 250 #define p_config_id(val) __p_config_id(buf, BUF_SIZE, attr->type, val) 265 char buf[BUF_SIZE]; [all...] |
/linux-master/drivers/tty/ |
H A D | ehv_bytechan.c | 41 #define BUF_SIZE 2048 macro 52 u8 buf[BUF_SIZE]; /* transmit circular buffer */ 419 CIRC_CNT_TO_END(bc->head, bc->tail, BUF_SIZE), 426 bc->tail = (bc->tail + len) & (BUF_SIZE - 1); 428 count = CIRC_CNT(bc->head, bc->tail, BUF_SIZE); 433 if (CIRC_CNT(bc->head, bc->tail, BUF_SIZE)) 481 len = CIRC_SPACE_TO_END(bc->head, bc->tail, BUF_SIZE); 486 bc->head = (bc->head + len) & (BUF_SIZE - 1); 548 count = CIRC_SPACE(bc->head, bc->tail, BUF_SIZE);
|
/linux-master/samples/watch_queue/ |
H A D | watch_test.c | 30 #define BUF_SIZE 256 macro 164 if (ioctl(fd, IOC_WATCH_QUEUE_SET_SIZE, BUF_SIZE) == -1) {
|
/linux-master/drivers/platform/chrome/ |
H A D | cros_usbpd_logger.c | 26 #define BUF_SIZE 80 macro 56 i = vsnprintf(buf + pos, BUF_SIZE - pos, fmt, args); 87 char buf[BUF_SIZE + 1];
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | mcg.c | 903 #define BUF_SIZE 256 macro 905 char buf[BUF_SIZE]; 909 len += scnprintf(buf + len, BUF_SIZE - len, 916 len += scnprintf(buf + len, BUF_SIZE - len, 919 len += scnprintf(buf + len, BUF_SIZE - len, 923 len += scnprintf(buf + len, BUF_SIZE - len, 930 len += scnprintf(buf + len, BUF_SIZE - len, 934 len += scnprintf(buf + len, BUF_SIZE - len, 942 len += scnprintf(buf + len, BUF_SIZE - len, 946 len += scnprintf(buf + len, BUF_SIZE [all...] |
/linux-master/drivers/media/rc/ |
H A D | iguanair.c | 17 #define BUF_SIZE 152 macro 60 #define MAX_OUT_PACKET (sizeof(struct send_packet) + BUF_SIZE) 241 if (ir->bufsize > BUF_SIZE) { 244 ir->bufsize = BUF_SIZE;
|
H A D | imon.c | 43 #define BUF_SIZE 128 macro
|
/linux-master/scripts/kconfig/lxdialog/ |
H A D | dialog.h | 26 #define BUF_SIZE (10*1024) macro
|
/linux-master/drivers/media/usb/airspy/ |
H A D | airspy.c | 125 #define BUF_SIZE 128 macro 979 s->buf = kzalloc(BUF_SIZE, GFP_KERNEL); 982 buf = kzalloc(BUF_SIZE, GFP_KERNEL); 1001 buf, BUF_SIZE); 1007 buf[BUF_SIZE - 1] = '\0';
|
/linux-master/tools/mm/ |
H A D | page_owner_sort.c | 632 #define BUF_SIZE (128 * 1024) macro 806 buf = malloc(BUF_SIZE); 807 ext_buf = malloc(BUF_SIZE); 814 int buf_len = read_block(buf, ext_buf, BUF_SIZE, fin);
|
/linux-master/drivers/atm/ |
H A D | solos-pci.c | 57 #define BUF_SIZE 2048 macro 470 if (size > (BUF_SIZE - sizeof(*header))) { 1091 data = card->dma_bounce + (BUF_SIZE * port); 1144 if (pktlen > (BUF_SIZE - sizeof(*header))) { 1252 card->buffer_size = BUF_SIZE; 1281 BUF_SIZE, GFP_KERNEL);
|
H A D | iphase.h | 542 #define BUF_SIZE 0x42 macro
|
H A D | iphase.c | 1481 writew(iadev->rx_buf_sz, iadev->reass_reg+BUF_SIZE);
|
/linux-master/drivers/media/usb/hackrf/ |
H A D | hackrf.c | 140 #define BUF_SIZE 24 macro 141 u8 buf[BUF_SIZE]; 1351 u8 u8tmp, buf[BUF_SIZE]; 1382 buf, BUF_SIZE); 1388 buf[BUF_SIZE - 1] = '\0';
|
/linux-master/drivers/scsi/ |
H A D | scsi_transport_sas.c | 1236 #define BUF_SIZE 64 macro 1240 char *buffer = kzalloc(BUF_SIZE, GFP_KERNEL), *msdata; 1248 error = scsi_mode_sense(sdev, 1, 0x19, 0, buffer, BUF_SIZE, 30*HZ, 3, 1257 if (msdata - buffer > BUF_SIZE - 8)
|