Searched refs:fpos (Results 1 - 25 of 28) sorted by relevance

12

/asus-wl-520gu-7.0.1.45/src/linux/linux/scripts/lxdialog/
H A Dtextbox.c40 int i, x, y, cur_x, cur_y, fpos, key = 0; local
150 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
156 if (fpos > bytes_read) { /* Yes, we have to read it in */
183 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
189 if (fpos < file_size) { /* Yes, we have to read it in */
330 int i, fpos; local
340 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
346 if (fpos > bytes_read) { /* Not beginning of file yet */
353 if (fpos < BUF_SIZE / 2 + bytes_read) {
361 page = buf + fpos
492 int i = 0, fpos; local
543 int fpos, percent; local
[all...]
/asus-wl-520gu-7.0.1.45/src/router/config/
H A Dtextbox.c40 int i, x, y, cur_x, cur_y, fpos, key = 0; local
150 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
156 if (fpos > bytes_read) { /* Yes, we have to read it in */
183 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
189 if (fpos < file_size) { /* Yes, we have to read it in */
330 int i, fpos; local
340 if ((fpos = lseek (fd, 0, SEEK_CUR)) == -1) {
346 if (fpos > bytes_read) { /* Not beginning of file yet */
353 if (fpos < BUF_SIZE / 2 + bytes_read) {
361 page = buf + fpos
492 int i = 0, fpos; local
543 int fpos, percent; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/proc/
H A Dkcore.c312 static ssize_t read_kcore(struct file *file, char *buffer, size_t buflen, loff_t *fpos) argument
322 if (buflen == 0 || *fpos >= size) {
328 if (buflen > size - *fpos)
329 buflen = size - *fpos;
332 if (*fpos < elf_buflen) {
335 tsz = elf_buflen - *fpos;
346 if (copy_to_user(buffer, elf_buf + *fpos, tsz)) {
352 *fpos += tsz;
364 if (*fpos < PAGE_SIZE + elf_buflen) {
366 tsz = PAGE_SIZE + elf_buflen - *fpos;
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/mips/au1000/common/
H A Ddma.c99 int au1000_dma_read_proc(char *buf, char **start, off_t fpos, argument
112 if (fpos >= len) {
117 *start = buf + fpos;
118 if ((len -= fpos) > length)
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/smbfs/
H A Dcache.c77 * dget, but require that fpos and parent matches what the dentry contains.
81 smb_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos) argument
88 (unsigned long)dent->d_fsdata == fpos) {
103 if ((unsigned long)dent->d_fsdata == fpos) {
167 newdent->d_fsdata = (void *) ctl.fpos;
194 if (!ctl.filled && (ctl.fpos == filp->f_pos)) {
204 ctl.fpos += 1;
H A Ddir.c130 ctl.fpos = filp->f_pos + (SMB_DIRCACHE_START - 2);
131 ctl.ofs = ctl.fpos / SMB_DIRCACHE_SIZE;
132 ctl.idx = ctl.fpos % SMB_DIRCACHE_SIZE;
185 ctl.fpos = 2;
194 ctl.head.end = ctl.fpos - 1;
H A Dproto.h40 extern struct dentry *smb_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Di8k.c448 static int i8k_get_info(char *buffer, char **start, off_t fpos, int length) argument
494 static ssize_t i8k_read(struct file *f, char *buffer, size_t len, loff_t *fpos) argument
504 if (*fpos >= n) {
508 if ((*fpos + len) >= n) {
509 len = n - *fpos;
516 *fpos += len;
H A Dtoshiba.c301 int tosh_get_info(char *buffer, char **start, off_t fpos, int length) argument
H A Dh8.c351 static int h8_get_info(char *buf, char **start, off_t fpos, int length) argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/adfs/
H A Ddir_fplus.c87 adfs_fplus_setpos(struct adfs_dir *dir, unsigned int fpos) argument
92 if (fpos <= le32_to_cpu(h->bigdirentries)) {
93 dir->pos = fpos;
H A Dadfs.h49 int (*setpos)(struct adfs_dir *dir, unsigned int fpos);
H A Ddir_f.c377 adfs_f_setpos(struct adfs_dir *dir, unsigned int fpos) argument
379 if (fpos >= ADFS_NUM_DIR_ENTRIES)
382 dir->pos = 5 + fpos * 26;
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/
H A Ddir.c337 ncp_dget_fpos(struct dentry *dentry, struct dentry *parent, unsigned long fpos) argument
344 (unsigned long)dent->d_fsdata == fpos) {
359 if ((unsigned long)dent->d_fsdata == fpos) {
450 ctl.fpos = filp->f_pos + (NCP_DIRCACHE_START - 2);
451 ctl.ofs = ctl.fpos / NCP_DIRCACHE_SIZE;
452 ctl.idx = ctl.fpos % NCP_DIRCACHE_SIZE;
509 ctl.fpos = 2;
520 ctl.head.end = ctl.fpos - 1;
593 newdent->d_fsdata = (void *) ctl.fpos;
619 if (!ctl.filled && (ctl.fpos
[all...]
H A Dncplib_kernel.h197 unsigned long end; /* last valid fpos in cache */
217 unsigned long fpos, ofs; member in struct:ncp_cache_control
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dsmb_fs.h133 unsigned long end; /* last valid fpos in cache */
153 unsigned long fpos, ofs; member in struct:smb_cache_control
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dsmb_fs.h133 unsigned long end; /* last valid fpos in cache */
153 unsigned long fpos, ofs; member in struct:smb_cache_control
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/macintosh/
H A Dapm_emu.c386 static int apm_emu_get_info(char *buf, char **start, off_t fpos, int length) argument
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-mips/
H A Dau1000_dma.h122 extern int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-mips/
H A Dau1000_dma.h122 extern int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm/
H A Dau1000_dma.h122 extern int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm/
H A Dau1000_dma.h122 extern int au1000_dma_read_proc(char *buf, char **start, off_t fpos,
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/kernel/
H A Dioport.c608 _sparc_io_get_info(char *buf, char **start, off_t fpos, int length, int *eof, argument
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/sound/
H A Dnec_vrc5477.c1715 static int proc_vrc5477_ac97_dump (char *buf, char **start, off_t fpos, argument
1794 if (fpos >=len){
1799 *start = buf + fpos;
1800 if ((len -= fpos) > length)
H A Dau1000.c1966 static int proc_au1000_dump(char *buf, char **start, off_t fpos, argument
1992 if (fpos >= len) {
1997 *start = buf + fpos;
1998 if ((len -= fpos) > length)

Completed in 148 milliseconds

12