Home
last modified time | relevance | path

Searched refs:read (Results 1 – 25 of 871) sorted by relevance

12345678910>>...35

/linux-2.4.37.9/arch/parisc/kernel/
Dperf_asm.S88 ;* arg0 : rdr to be read *
95 ;* arg0 : rdr to be read *
112 ; read(shift in) the RDR.
171 ; RDR 2 read sequence
183 ; RDR 3 read sequence
195 ; RDR 4 read sequence
207 ; RDR 5 read sequence
219 ; RDR 6 read sequence
231 ; RDR 7 read sequence
243 ; RDR 8 read sequence
[all …]
/linux-2.4.37.9/drivers/char/
Dmem.c81 ssize_t read; in read_mem() local
88 read = 0; in read_mem()
101 read += sz; in read_mem()
107 read += count; in read_mem()
108 *ppos = p + read; in read_mem()
109 return read; in read_mem()
220 ssize_t read = 0; in read_kmem() local
225 read = count; in read_kmem()
227 read = (unsigned long) high_memory - p; in read_kmem()
231 if (p < PAGE_SIZE && read > 0) { in read_kmem()
[all …]
/linux-2.4.37.9/Documentation/filesystems/
Dadfs.txt18 Owner read
20 Other read
29 Owner read -> -r--r--r--
31 Owner read and filetype UnixExec -> ---x--x--x
35 Other read -> -r--r--r--
37 Other read and filetype UnixExec -> ---x--x--x
41 Hence, with the default masks, if a file is owner read/write, and
51 wish that either read bits give read access to the file for all, but
Dufs.txt18 default value, supported os read-only
21 supported os read-write
24 supported as read-write
27 supported as read-write
31 supported as read-only
35 supported as read-only
39 supported as read-only
/linux-2.4.37.9/Documentation/input/
Djoystick-api.txt16 (JS_EVENT_INIT) that you can read to check the initial state of the
28 read (fd, &e, sizeof(struct js_event));
39 If the read is successful, it will return sizeof(struct js_event), unless
40 you wanted to read more than one event per read as described in section 3.1.
88 don't read a 0 when the joystick is `dead', or if it doesn't span the
126 If you open the device in blocking mode, a read will block (that is,
127 wait) forever until an event is generated and effectively read. There
131 a) use select to wait until there's data to be read on fd, or
141 If read returns -1 when reading in O_NONBLOCK mode, this isn't
143 are no events pending to be read on the driver queue. You should read
[all …]
/linux-2.4.37.9/fs/hfs/
Dfile.c36 read: hfs_file_read,
146 hfs_s32 read, left, pos, size; in hfs_file_read() local
168 if ((read = hfs_do_read(inode, HFS_I(inode)->fork, pos, in hfs_file_read()
170 *ppos = pos + read; in hfs_file_read()
174 return read; in hfs_file_read()
296 hfs_s32 size, chars, offset, block, blocks, read = 0; in hfs_do_read() local
403 if (!read) in hfs_do_read()
404 read = -EFAULT; in hfs_do_read()
411 read += chars; in hfs_do_read()
426 if (!read) { in hfs_do_read()
[all …]
/linux-2.4.37.9/include/asm-cris/
Dsemaphore-helper.h12 #define read(a) ((a)->counter) macro
32 if (read(&sem->waking) > 0) { in waking_non_zero()
47 if (read(&sem->waking) > 0) { in waking_non_zero_interruptible()
64 if (read(&sem->waking) <= 0) in waking_non_zero_trylock()
/linux-2.4.37.9/Documentation/
Drtc.txt20 The interrupts are reported via /dev/rtc (major 10, minor 135, read only
24 the last read. Status information is reported through the pseudo-file
29 A user process can monitor these interrupts by doing a read(2) or a
36 the number of interrupts received since the last read to determine if
38 typical 486-33 running a tight read loop on /dev/rtc will start to suffer
39 occasional interrupt pileup (i.e. > 1 IRQ event since last read) for
41 of the value you read, especially at frequencies above that of the
117 /* This read will block */
118 retval = read(fd, &data, sizeof(unsigned long));
120 perror("read");
[all …]
Dnbd.txt9 wants to read /dev/nd0, it sends a request over TCP to the server, which
10 will reply with the data read. This can be used for stations with
35 asked to read from block device, it sends packet of following form
39 __u32 from; position in bytes to read from / write at
40 __u32 len; number of bytes to be read / written
42 __u32 type; 0 = read
54 ... in case of read operation with no error,
/linux-2.4.37.9/fs/
Dread_write.c34 read: generic_file_read,
196 ssize_t (*read)(struct file *, char *, size_t, loff_t *); in sys_read() local
198 if (file->f_op && (read = file->f_op->read) != NULL) in sys_read()
199 ret = read(file, buf, count, &file->f_pos); in sys_read()
310 fn = (type == VERIFY_WRITE ? file->f_op->read : in do_readv_writev()
359 (file->f_op->readv || file->f_op->read)) in sys_readv()
396 ssize_t (*read)(struct file *, char *, size_t, loff_t *); in sys_pread() local
409 if (!file->f_op || !(read = file->f_op->read)) in sys_pread()
413 ret = read(file, buf, count, &pos); in sys_pread()
Dpipe.c43 ssize_t size, read, ret; in pipe_read() local
47 read = 0; in pipe_read()
100 read += chars; in pipe_read()
126 ret = read; in pipe_read()
130 if (read) in pipe_read()
131 ret = read; in pipe_read()
393 read: pipe_read,
403 read: bad_pipe_r,
413 read: pipe_read,
423 read: pipe_read,
[all …]
/linux-2.4.37.9/arch/mips/boot/
Daddinitrd.c61 if (read (fd_vmlinux, &efile, sizeof efile) != sizeof efile) in main()
63 if (read (fd_vmlinux, &eaout, sizeof eaout) != sizeof eaout) in main()
65 if (read (fd_vmlinux, esecs, sizeof esecs) != sizeof esecs) in main()
117 if ((i = read (fd_vmlinux, buf, sizeof buf)) <= 0) in main()
125 while ((i = read (fd_initrd, buf, sizeof buf)) > 0) in main()
/linux-2.4.37.9/arch/m68k/ifpsp060/
DCHANGES33 1) "movep" emulation where data was being read from memory
50 If {i,d}mem_{read,write}_{byte,word,long}() returns
58 ADDR should cause a "segmentation violation", the memory read
72 a {i,d}mem_{read,write}_{byte,word,long}() "call-out",
78 For instruction read access errors, the info stacked is:
87 bit 24 = 1 (read)
100 For data read/write access errors, the info stacked is:
109 bit 24 = x (read; 1 if read, 0 if write)
110 bit 23 = x (write; 1 if write, 0 if read)
/linux-2.4.37.9/arch/cris/drivers/
Deeprom.c161 read: eeprom_read,
508 int read=0; in eeprom_read() local
559 read = read_from_eeprom( buf, count); in eeprom_read()
561 if(read > 0) in eeprom_read()
563 *off = p + read; in eeprom_read()
568 return read; in eeprom_read()
814 int i, read=0; in read_from_eeprom() local
837 while( (read < count)) in read_from_eeprom()
839 if (put_user(i2c_inbyte(), &buf[read++])) in read_from_eeprom()
850 if(read < count) in read_from_eeprom()
[all …]
/linux-2.4.37.9/arch/cris/boot/tools/
Dbuild.c148 if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) in main()
162 i=read(id,buf,sizeof buf); in main()
177 if (read(id,buf,MINIX_HEADER) != MINIX_HEADER) in main()
191 for (i=0 ; (c=read(id,buf,sizeof buf))>0 ; i+=c ) in main()
235 if (read(id,buf,GCC_HEADER) != GCC_HEADER) in main()
265 if ((n=read(id, buf, l)) != l) { in main()
/linux-2.4.37.9/drivers/mtd/maps/
Dnora.c77 return mymtd->read(mymtd, from + (unsigned long)mtd->priv, len, retlen, buf); in nora_mtd_read()
116 read: nora_mtd_read,
131 read: nora_mtd_read,
146 read: nora_mtd_read,
161 read: nora_mtd_read,
/linux-2.4.37.9/arch/sparc64/boot/
Dpiggyback.c60 if (read(image,buffer,512) != 512) die(argv[1]); in main()
66 if (read(image,buffer,512) != 512) die(argv[1]); in main()
80 if (read(image,buffer,1024) != 1024) die(argv[1]); in main()
104 while ((i = read (tail,buffer,1024)) > 0) in main()
/linux-2.4.37.9/Documentation/i2c/
Ddev-interface56 /* res contains the read word */
67 if (read(file,buf,1) != 1) {
70 /* buf[0] contains the read byte */
97 Do combined read/write transaction without stop in between.
105 The function will write or read data to or from that buffers depending
115 You can do plain i2c transactions by using read(2) and write(2) calls.
132 All these transactions return -1 on failure; you can read errno to see
134 'read' transactions return the read value, except for read_block, which
135 returns the number of values read. The block buffers need not be longer
/linux-2.4.37.9/arch/arm/lib/
Decard.S23 @ Purpose: call an expansion card loader to read bytes.
25 @ Returns: byte read
38 @ Returns: byte read
/linux-2.4.37.9/drivers/pci/
Dcompat.c60 PCI_OP(read, byte, char *)
61 PCI_OP(read, word, short *)
62 PCI_OP(read, dword, int *)
/linux-2.4.37.9/fs/proc/
Dproc_misc.c236 read: seq_read,
266 read: seq_read,
286 read: seq_read,
300 read: seq_read,
427 .read = seq_read,
505 ssize_t read; in read_profile() local
513 read = 0; in read_profile()
517 buf++; p++; count--; read++; in read_profile()
522 read += count; in read_profile()
523 *ppos = n + read; in read_profile()
[all …]
/linux-2.4.37.9/arch/sparc/boot/
Dpiggyback.c96 if (read(image,buffer,512) != 512) die(argv[1]); in main()
101 if (read(image,buffer,512) != 512) die(argv[1]); in main()
112 if (read(image,buffer,1024) != 1024) die(argv[1]); in main()
132 while ((i = read (tail,buffer,1024)) > 0) in main()
/linux-2.4.37.9/Documentation/usb/
Dhiddev.txt56 course. If you need to write one, read on.
60 This description should be read in conjunction with the HID
64 The hiddev API uses a read() interface, and a set of ioctl() calls.
67 read():
87 HIDIOCGVERSION - int (read)
100 HIDIOCGDEVINFO - struct hiddev_devinfo (read)
103 HIDIOCGSTRING - struct struct hiddev_string_descriptor (read/write)
127 HIDIOCGREPORTINFO - struct hiddev_report_info (read/write)
139 HIDIOCGFIELDINFO - struct hiddev_field_info (read/write)
146 HIDIOCGUCODE - struct hiddev_usage_ref (read/write)
[all …]
/linux-2.4.37.9/arch/mips/ddb5xxx/ddb5477/
Dpci_ops.c268 MAKE_PCI_OPS(extpci, read, byte, u8 *, &ext_pci_swap)
269 MAKE_PCI_OPS(extpci, read, word, u16 *, &ext_pci_swap)
270 MAKE_PCI_OPS(extpci, read, dword, u32 *, &ext_pci_swap)
272 MAKE_PCI_OPS(iopci, read, byte, u8 *, &io_pci_swap)
273 MAKE_PCI_OPS(iopci, read, word, u16 *, &io_pci_swap)
274 MAKE_PCI_OPS(iopci, read, dword, u32 *, &io_pci_swap)
/linux-2.4.37.9/drivers/cdrom/
Dgscd.c462 int found, read; in wait_drv_ready() local
467 read = inb(GSCDPORT(0)); in wait_drv_ready()
468 read &= 0x0f; in wait_drv_ready()
469 } while (read != found); in wait_drv_ready()
472 printk("Wait for: %d\n", read); in wait_drv_ready()
475 return read; in wait_drv_ready()
690 char read; in cmd_info_in() local
700 read = inb(GSCDPORT(2)); in cmd_info_in()
702 *pb = read; in cmd_info_in()

12345678910>>...35