Home
last modified time | relevance | path

Searched refs:read_size (Results 1 – 22 of 22) sorted by relevance

/linux-3.4.99/drivers/sbus/char/
Dflash.c29 unsigned long read_size; /* Size of read area */ member
45 size = flash.read_size; in flash_mmap()
54 size = flash.read_size; in flash_mmap()
90 if (file->f_pos > flash.read_size) in flash_llseek()
91 file->f_pos = flash.read_size; in flash_llseek()
94 file->f_pos = flash.read_size; in flash_llseek()
111 if (count > flash.read_size - p) in flash_read()
112 count = flash.read_size - p; in flash_read()
175 flash.read_size = resource_size(&op->resource[0]); in flash_probe()
187 flash.read_base, flash.read_size, in flash_probe()
/linux-3.4.99/drivers/net/wireless/iwmc3200wifi/
Dsdio.c111 unsigned long buf_size, read_size; in iwm_sdio_isr() local
134 read_size = sdio_readb(func, IWM_SDIO_INTR_GET_SIZE_ADDR + 1, &ret); in iwm_sdio_isr()
135 read_size = read_size << 8; in iwm_sdio_isr()
149 while (buf_size < read_size) in iwm_sdio_isr()
158 rx_info->rx_size = read_size; in iwm_sdio_isr()
162 ret = sdio_memcpy_fromio(func, skb_put(skb, read_size), in iwm_sdio_isr()
163 IWM_SDIO_DATA_ADDR, read_size); in iwm_sdio_isr()
/linux-3.4.99/arch/powerpc/platforms/pseries/
Ddtl.c267 long int rc, n_read, n_req, read_size; in dtl_file_read() local
305 read_size = dtl->buf_entries - i; in dtl_file_read()
308 read_size * sizeof(struct dtl_entry)); in dtl_file_read()
313 n_req -= read_size; in dtl_file_read()
314 n_read += read_size; in dtl_file_read()
315 buf += read_size * sizeof(struct dtl_entry); in dtl_file_read()
/linux-3.4.99/drivers/net/wimax/i2400m/
Dusb-rx.c196 int usb_pipe, read_size, rx_size, do_autopm; in i2400mu_rx() local
218 rx_size, &read_size, 200); in i2400mu_rx()
222 if (read_size == 0) in i2400mu_rx()
224 skb_put(rx_skb, read_size); in i2400mu_rx()
262 skb_put(rx_skb, read_size); in i2400mu_rx()
279 rx_size, read_size, rx_skb->len, in i2400mu_rx()
/linux-3.4.99/drivers/staging/iio/Documentation/
Dgeneric_buffer.c145 ssize_t read_size; in main() local
294 read_size = read(fp, in main()
297 if (read_size == -EAGAIN) { in main()
301 for (i = 0; i < read_size/scan_size; i++) in main()
/linux-3.4.99/drivers/uwb/i1480/dfu/
Dusb.c153 size_t itr, read_size = i1480->buf_size; in i1480_usb_read() local
158 BUG_ON(read_size > 512); in i1480_usb_read()
161 read_size = 4; in i1480_usb_read()
163 for (itr = 0; itr < size; itr += read_size) { in i1480_usb_read()
165 size_t itr_size = min(read_size, size - itr); in i1480_usb_read()
/linux-3.4.99/tools/perf/util/
Dtrace-event-parse.c1913 unsigned long long read_size(void *ptr, int size) in read_size() function
1939 return read_size(data + field->offset, field->size); in raw_field_value()
1995 return read_size(data + *offset, *size); in __parse_common()
2087 val = read_size(data + arg->field.field->offset, in eval_num_arg()
2114 val = read_size(data + larg->field.field->offset + in eval_num_arg()
2333 ip = read_size(data + ip_field->offset, ip_field->size); in make_bprint_args()
2386 val = read_size(bptr, ls); in make_bprint_args()
2444 addr = read_size(data + field->offset, field->size); in get_bprint_format()
2686 val = read_size(next->data + field->offset, field->size); in get_return_for_leaf()
2761 rettime = read_size(ret_rec->data + field->offset, field->size); in print_graph_entry_leaf()
[all …]
Dtrace-event.h263 unsigned long long read_size(void *ptr, int size);
/linux-3.4.99/sound/usb/usx2y/
Dusb_stream.c149 free_pages((unsigned long)s, get_order(s->read_size)); in usb_stream_free()
161 int read_size = sizeof(struct usb_stream); in usb_stream_new() local
183 read_size += packets * USB_STREAM_URBDEPTH * in usb_stream_new()
189 if (read_size >= 256*PAGE_SIZE || write_size >= 256*PAGE_SIZE) { in usb_stream_new()
194 pg = get_order(read_size); in usb_stream_new()
202 sk->s->read_size = read_size; in usb_stream_new()
Dus122l.c155 if (offset < PAGE_ALIGN(s->read_size)) in usb_stream_hwdep_vm_fault()
158 offset -= PAGE_ALIGN(s->read_size); in usb_stream_hwdep_vm_fault()
249 read = offset < s->read_size; in usb_stream_hwdep_mmap()
255 read ? s->read_size : s->write_size); in usb_stream_hwdep_mmap()
257 if (size > PAGE_ALIGN(read ? s->read_size : s->write_size)) { in usb_stream_hwdep_mmap()
259 read ? s->read_size : s->write_size); in usb_stream_hwdep_mmap()
Dusb_stream.h39 unsigned read_size; member
/linux-3.4.99/include/linux/
Damifd.h34 unsigned int read_size; /* raw read size for one track */ member
Dperf_event.h926 u16 read_size; member
/linux-3.4.99/drivers/s390/net/
Dclaw.c362 privptr->p_env->read_size = CLAW_FRAME_SIZE; in claw_probe()
514 privptr->p_env->read_size=DEF_PACK_BUFSIZE; in claw_open()
519 privptr->p_env->read_size=CLAW_FRAME_SIZE; in claw_open()
587 if (privptr->p_env->read_size < PAGE_SIZE) { in claw_open()
919 if (privptr->p_env->read_size < PAGE_SIZE) { in claw_release()
1584 if (privptr->p_env->read_size < PAGE_SIZE) { in init_ccw_bk()
1585 claw_reads_perpage = PAGE_SIZE / privptr->p_env->read_size; in init_ccw_bk()
1591 DIV_ROUND_UP(privptr->p_env->read_size, PAGE_SIZE); in init_ccw_bk()
1604 DIV_ROUND_UP(privptr->p_env->read_size, PAGE_SIZE); in init_ccw_bk()
1814 if (privptr->p_env->read_size < PAGE_SIZE) { in init_ccw_bk()
[all …]
Dclaw.h298 __u16 read_size; /* read buffer size */ member
/linux-3.4.99/drivers/staging/android/
Dbinder.h73 signed long read_size; /* bytes to read */ member
Dbinder.c2689 bwr.read_size, bwr.read_buffer); in binder_ioctl()
2700 if (bwr.read_size > 0) { in binder_ioctl()
2701 …ret = binder_thread_read(proc, thread, (void __user *)bwr.read_buffer, bwr.read_size, &bwr.read_co… in binder_ioctl()
2713 bwr.read_consumed, bwr.read_size); in binder_ioctl()
/linux-3.4.99/drivers/block/
Damiflop.c592 custom.dsklen = unit[drive].type->read_size/sizeof(short) | DSKLEN_DMAEN; in raw_read()
593 custom.dsklen = unit[drive].type->read_size/sizeof(short) | DSKLEN_DMAEN; in raw_read()
728 end = raw + unit[drive].type->read_size; in amiga_read()
1043 end = raw + unit[drive].type->read_size; in dos_read()
1527 if (copy_to_user(argp, raw_buf, p->type->read_size)) in fd_locked_ioctl()
1530 return p->type->read_size; in fd_locked_ioctl()
/linux-3.4.99/tools/perf/util/scripting-engines/
Dtrace-event-perl.c313 val = read_size(data + field->offset, field->size); in perl_process_tracepoint()
Dtrace-event-python.c283 val = read_size(data + field->offset, field->size); in python_process_event()
/linux-3.4.99/fs/cifs/
Dfile.c2515 static ssize_t cifs_read(struct file *file, char *read_data, size_t read_size, in cifs_read() argument
2555 read_size > total_read; in cifs_read()
2557 current_read_size = min_t(uint, read_size - total_read, rsize); in cifs_read()
/linux-3.4.99/kernel/events/
Dcore.c954 event->read_size = size; in perf_event__read_size()
975 size += event->read_size; in perf_event__header_size()
3154 if (count < event->read_size) in perf_read_hw()
4240 .size = sizeof(read_event) + event->read_size, in perf_event_read_event()