tag | line | file | source code |
dirent | 2284 | drivers/char/tpqic02.c | static int tape_qic02_readdir(struct inode * inode, struct file * filp, struct dirent * dp, int count) |
dirent | 28 | fs/ext/dir.c | static int ext_readdir(struct inode *, struct file *, struct dirent *, int); |
dirent | 65 | fs/ext/dir.c | struct dirent * dirent, int count) |
dirent | 101 | fs/ext/dir.c | put_fs_byte(c,i+dirent->d_name); |
dirent | 105 | fs/ext/dir.c | put_fs_long(de->inode,&dirent->d_ino); |
dirent | 106 | fs/ext/dir.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 107 | fs/ext/dir.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 31 | fs/ext2/dir.c | static int ext2_readdir (struct inode *, struct file *, struct dirent *, int); |
dirent | 92 | fs/ext2/dir.c | struct dirent * dirent, int count) |
dirent | 142 | fs/ext2/dir.c | memcpy_tofs (dirent->d_name, de->name, |
dirent | 144 | fs/ext2/dir.c | put_fs_long (de->inode, &dirent->d_ino); |
dirent | 145 | fs/ext2/dir.c | put_fs_byte (0, de->name_len + dirent->d_name); |
dirent | 146 | fs/ext2/dir.c | put_fs_word (de->name_len, &dirent->d_reclen); |
dirent | 225 | fs/hpfs/hpfs.h | unsigned char dirent[2028]; /* one or more dirents */ |
dirent | 273 | fs/hpfs/hpfs.h | return (void *) dnode->dirent; |
dirent | 186 | fs/hpfs/hpfs_fs.c | struct dirent *dirent, int count); |
dirent | 247 | fs/hpfs/hpfs_fs.c | static void write_one_dirent(struct dirent *dirent, const unsigned char *name, |
dirent | 1330 | fs/hpfs/hpfs_fs.c | struct dirent *dirent, int likely_story) |
dirent | 1346 | fs/hpfs/hpfs_fs.c | write_one_dirent(dirent, ".", 1, inode->i_ino, lc); |
dirent | 1351 | fs/hpfs/hpfs_fs.c | write_one_dirent(dirent, "..", 2, |
dirent | 1371 | fs/hpfs/hpfs_fs.c | write_one_dirent(dirent, de->name, namelen, ino, lc); |
dirent | 1386 | fs/hpfs/hpfs_fs.c | static void write_one_dirent(struct dirent *dirent, const unsigned char *name, |
dirent | 1391 | fs/hpfs/hpfs_fs.c | put_fs_long(ino, &dirent->d_ino); |
dirent | 1392 | fs/hpfs/hpfs_fs.c | put_fs_word(namelen, &dirent->d_reclen); |
dirent | 1399 | fs/hpfs/hpfs_fs.c | put_fs_byte(t, &dirent->d_name[n]); |
dirent | 1402 | fs/hpfs/hpfs_fs.c | memcpy_tofs(dirent->d_name, name, namelen); |
dirent | 1404 | fs/hpfs/hpfs_fs.c | put_fs_byte(0, &dirent->d_name[namelen]); |
dirent | 25 | fs/isofs/dir.c | static int isofs_readdir(struct inode *, struct file *, struct dirent *, int); |
dirent | 67 | fs/isofs/dir.c | struct dirent * dirent, int count) |
dirent | 148 | fs/isofs/dir.c | put_fs_byte('.',dirent->d_name); |
dirent | 156 | fs/isofs/dir.c | put_fs_byte('.',dirent->d_name); |
dirent | 157 | fs/isofs/dir.c | put_fs_byte('.',dirent->d_name+1); |
dirent | 210 | fs/isofs/dir.c | put_fs_byte(dpnt[j],j+dirent->d_name); /* And save it */ |
dirent | 231 | fs/isofs/dir.c | put_fs_long(inode_number, &dirent->d_ino); |
dirent | 232 | fs/isofs/dir.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 233 | fs/isofs/dir.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 21 | fs/minix/dir.c | static int minix_readdir(struct inode *, struct file *, struct dirent *, int); |
dirent | 58 | fs/minix/dir.c | struct dirent * dirent, int count) |
dirent | 85 | fs/minix/dir.c | put_fs_byte(c,i+dirent->d_name); |
dirent | 89 | fs/minix/dir.c | put_fs_long(de->inode,&dirent->d_ino); |
dirent | 90 | fs/minix/dir.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 91 | fs/minix/dir.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 23 | fs/msdos/dir.c | struct dirent *dirent,int count); |
dirent | 58 | fs/msdos/dir.c | struct dirent *dirent,int count) |
dirent | 72 | fs/msdos/dir.c | put_fs_byte(*walk,dirent->d_name+i++); |
dirent | 73 | fs/msdos/dir.c | put_fs_long(MSDOS_ROOT_INO,&dirent->d_ino); |
dirent | 74 | fs/msdos/dir.c | put_fs_byte(0,dirent->d_name+i); |
dirent | 75 | fs/msdos/dir.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 87 | fs/msdos/dir.c | put_fs_byte(c,i+dirent->d_name); |
dirent | 90 | fs/msdos/dir.c | put_fs_byte('.',i+dirent->d_name); |
dirent | 96 | fs/msdos/dir.c | put_fs_byte(c,i+dirent->d_name); |
dirent | 104 | fs/msdos/dir.c | put_fs_long(ino,&dirent->d_ino); |
dirent | 105 | fs/msdos/dir.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 106 | fs/msdos/dir.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 23 | fs/nfs/dir.c | static int nfs_readdir(struct inode *, struct file *, struct dirent *, int); |
dirent | 87 | fs/nfs/dir.c | struct dirent *dirent, int count) |
dirent | 152 | fs/nfs/dir.c | memcpy_tofs(dirent->d_name, entry->name, i + 1); |
dirent | 153 | fs/nfs/dir.c | put_fs_long(entry->fileid, &dirent->d_ino); |
dirent | 154 | fs/nfs/dir.c | put_fs_word(i, &dirent->d_reclen); |
dirent | 123 | fs/pipe.c | static int pipe_readdir(struct inode * inode, struct file * file, struct dirent * de, int count) |
dirent | 16 | fs/proc/base.c | static int proc_readbase(struct inode *, struct file *, struct dirent *, int); |
dirent | 133 | fs/proc/base.c | struct dirent * dirent, int count) |
dirent | 155 | fs/proc/base.c | put_fs_long(ino, &dirent->d_ino); |
dirent | 156 | fs/proc/base.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 157 | fs/proc/base.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 160 | fs/proc/base.c | put_fs_byte(de->name[i], i+dirent->d_name); |
dirent | 16 | fs/proc/fd.c | static int proc_readfd(struct inode *, struct file *, struct dirent *, int); |
dirent | 127 | fs/proc/fd.c | struct dirent * dirent, int count) |
dirent | 150 | fs/proc/fd.c | put_fs_long(fd, &dirent->d_ino); |
dirent | 151 | fs/proc/fd.c | put_fs_word(i, &dirent->d_reclen); |
dirent | 152 | fs/proc/fd.c | put_fs_byte(0, i+dirent->d_name); |
dirent | 154 | fs/proc/fd.c | put_fs_byte('.', i+dirent->d_name); |
dirent | 188 | fs/proc/fd.c | put_fs_long(ino, &dirent->d_ino); |
dirent | 189 | fs/proc/fd.c | put_fs_word(i, &dirent->d_reclen); |
dirent | 190 | fs/proc/fd.c | put_fs_byte(0, i+dirent->d_name); |
dirent | 192 | fs/proc/fd.c | put_fs_byte('0'+(fd % 10), i+dirent->d_name); |
dirent | 38 | fs/proc/net.c | struct dirent *, int); |
dirent | 167 | fs/proc/net.c | struct dirent * dirent, int count) |
dirent | 181 | fs/proc/net.c | put_fs_long(ino, &dirent->d_ino); |
dirent | 182 | fs/proc/net.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 183 | fs/proc/net.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 186 | fs/proc/net.c | put_fs_byte(de->name[i], i+dirent->d_name); |
dirent | 17 | fs/proc/root.c | static int proc_readroot(struct inode *, struct file *, struct dirent *, int); |
dirent | 134 | fs/proc/root.c | struct dirent * dirent, int count) |
dirent | 149 | fs/proc/root.c | put_fs_long(de->low_ino, &dirent->d_ino); |
dirent | 150 | fs/proc/root.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 151 | fs/proc/root.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 154 | fs/proc/root.c | put_fs_byte(de->name[i], i+dirent->d_name); |
dirent | 173 | fs/proc/root.c | put_fs_long((pid << 16)+2, &dirent->d_ino); |
dirent | 174 | fs/proc/root.c | put_fs_word(i, &dirent->d_reclen); |
dirent | 175 | fs/proc/root.c | put_fs_byte(0, i+dirent->d_name); |
dirent | 177 | fs/proc/root.c | put_fs_byte('0'+(pid % 10), i+dirent->d_name); |
dirent | 19 | fs/read_write.c | asmlinkage int sys_readdir(unsigned int fd, struct dirent * dirent, unsigned int count) |
dirent | 30 | fs/read_write.c | error = verify_area(VERIFY_WRITE, dirent, sizeof (*dirent)); |
dirent | 32 | fs/read_write.c | error = file->f_op->readdir(inode,file,dirent,count); |
dirent | 28 | fs/sysv/dir.c | static int sysv_readdir(struct inode *, struct file *, struct dirent *, int); |
dirent | 65 | fs/sysv/dir.c | struct dirent * dirent, int count) |
dirent | 92 | fs/sysv/dir.c | put_fs_byte(c,i+dirent->d_name); |
dirent | 99 | fs/sysv/dir.c | put_fs_long(de->inode,&dirent->d_ino); |
dirent | 100 | fs/sysv/dir.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 101 | fs/sysv/dir.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 23 | fs/xiafs/dir.c | static int xiafs_readdir(struct inode *, struct file *, struct dirent *, int); |
dirent | 66 | fs/xiafs/dir.c | struct file * filp, struct dirent * dirent, int count) |
dirent | 99 | fs/xiafs/dir.c | put_fs_byte(de->d_name[i],i+dirent->d_name); |
dirent | 100 | fs/xiafs/dir.c | put_fs_byte(0,i+dirent->d_name); |
dirent | 101 | fs/xiafs/dir.c | put_fs_long(de->d_ino,&dirent->d_ino); |
dirent | 102 | fs/xiafs/dir.c | put_fs_word(i,&dirent->d_reclen); |
dirent | 287 | include/linux/fs.h | int (*readdir) (struct inode *, struct file *, struct dirent *, int); |
dirent | 55 | net/socket.c | struct dirent *dirent, int count); |
dirent | 275 | net/socket.c | sock_readdir(struct inode *inode, struct file *file, struct dirent *dirent, |