taglinefilesource code
de61fs/ext/dir.cstruct ext_dir_entry * de;
de74fs/ext/dir.cde = (struct ext_dir_entry *) (offset + bh->b_data);
de76fs/ext/dir.coffset += de->rec_len;
de77fs/ext/dir.cfilp->f_pos += de->rec_len;
de78fs/ext/dir.cif (de->inode) {
de79fs/ext/dir.cfor (i = 0; i < de->name_len; i++)
de80fs/ext/dir.cif (c = de->name[i])
de85fs/ext/dir.cput_fs_long(de->inode,&dirent->d_ino);
de93fs/ext/dir.cde = (struct ext_dir_entry *) ((char *) de + de->rec_len);
de58fs/ext/namei.cstatic int ext_match(int len,const char * name,struct ext_dir_entry * de)
de62fs/ext/namei.cif (!de || !de->inode || len > EXT_NAME_LEN)
de65fs/ext/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
de69fs/ext/namei.cif (len < EXT_NAME_LEN && len != de->name_len)
de75fs/ext/namei.c:"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len)
de99fs/ext/namei.cstruct ext_dir_entry * de;
de122fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
de124fs/ext/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data) {
de133fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
de137fs/ext/namei.cif (ext_match(namelen,name,de)) {
de138fs/ext/namei.c*res_dir = de;
de140fs/ext/namei.cif (offset + de->rec_len < dir->i_size)
de142fs/ext/namei.c((char *) de + de->rec_len);
de147fs/ext/namei.coffset += de->rec_len;
de149fs/ext/namei.c*prev_dir = de;
de150fs/ext/namei.cde = (struct ext_dir_entry *) ((char *) de + de->rec_len);
de161fs/ext/namei.cstruct ext_dir_entry * de;
de171fs/ext/namei.cif (!(bh = ext_find_entry(dir,name,len,&de,NULL,NULL))) {
de175fs/ext/namei.cino = de->inode;
de202fs/ext/namei.cstruct ext_dir_entry * de, * de1;
de223fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
de225fs/ext/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data && offset < dir->i_size) {
de239fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
de249fs/ext/namei.cde->inode = 0;
de250fs/ext/namei.cde->rec_len = BLOCK_SIZE
de252fs/ext/namei.cde->name_len = 0;
de253fs/ext/namei.coffset += de->rec_len;
de254fs/ext/namei.cdir->i_size += de->rec_len;
de269fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
de272fs/ext/namei.cde->inode=0;
de273fs/ext/namei.cde->rec_len = rec_len;
de275fs/ext/namei.cdir->i_size += de->rec_len;
de279fs/ext/namei.cif (!de->inode && de->rec_len >= rec_len) {
de280fs/ext/namei.cif (de->rec_len > rec_len
de281fs/ext/namei.c&& de->rec_len - rec_len >= EXT_DIR_MIN_SIZE) {
de286fs/ext/namei.cde1 = (struct ext_dir_entry *) ((char *) de + rec_len);
de288fs/ext/namei.cde1->rec_len = de->rec_len - rec_len;
de290fs/ext/namei.cde->rec_len = rec_len;
de293fs/ext/namei.cde->name_len = namelen;
de295fs/ext/namei.cde->name[i]=/*(i<namelen)?*/get_fs_byte(name+i)/*:0*/;
de297fs/ext/namei.c*res_dir = de;
de300fs/ext/namei.coffset += de->rec_len;
de301fs/ext/namei.cde = (struct ext_dir_entry *) ((char *) de + de->rec_len);
de312fs/ext/namei.cstruct ext_dir_entry * de;
de325fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
de333fs/ext/namei.cde->inode = inode->i_ino;
de345fs/ext/namei.cstruct ext_dir_entry * de;
de349fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
de384fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
de392fs/ext/namei.cde->inode = inode->i_ino;
de404fs/ext/namei.cstruct ext_dir_entry * de;
de406fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
de439fs/ext/namei.cde = (struct ext_dir_entry *) dir_block->b_data;
de440fs/ext/namei.cde->inode=inode->i_ino;
de441fs/ext/namei.cde->rec_len=16;
de442fs/ext/namei.cde->name_len=1;
de443fs/ext/namei.cstrcpy(de->name,".");
de445fs/ext/namei.cde = (struct ext_dir_entry *) ((char *) de + de->rec_len);
de446fs/ext/namei.cde->inode = dir->i_ino;
de447fs/ext/namei.cde->rec_len=16;
de448fs/ext/namei.cde->name_len=2;
de449fs/ext/namei.cstrcpy(de->name,"..");
de455fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
de462fs/ext/namei.cde->inode = inode->i_ino;
de481fs/ext/namei.cstruct ext_dir_entry * de, * de1;
de489fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
de490fs/ext/namei.cde1 = (struct ext_dir_entry *) ((char *) de + de->rec_len);
de491fs/ext/namei.cif (de->inode != inode->i_ino || !de1->inode || 
de492fs/ext/namei.cstrcmp(".",de->name) || strcmp("..",de1->name)) {
de497fs/ext/namei.coffset = de->rec_len + de1->rec_len;
de498fs/ext/namei.cde = (struct ext_dir_entry *) ((char *) de1 + de1->rec_len);
de500fs/ext/namei.cif ((void *) de >= (void *) (bh->b_data+BLOCK_SIZE)) {
de509fs/ext/namei.cde = (struct ext_dir_entry *) bh->b_data;
de511fs/ext/namei.cif (de->inode) {
de515fs/ext/namei.coffset += de->rec_len;
de516fs/ext/namei.cde = (struct ext_dir_entry *) ((char *) de + de->rec_len);
de522fs/ext/namei.cstatic inline void ext_merge_entries (struct ext_dir_entry * de,
de526fs/ext/namei.cde->rec_len += nde->rec_len;
de528fs/ext/namei.cpde->rec_len += de->rec_len;
de536fs/ext/namei.cstruct ext_dir_entry * de, * pde, * nde;
de539fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
de544fs/ext/namei.cif (!(inode = iget(dir->i_dev, de->inode)))
de567fs/ext/namei.cde->inode = 0;
de568fs/ext/namei.cde->name_len = 0;
de569fs/ext/namei.cext_merge_entries (de, pde, nde);
de589fs/ext/namei.cstruct ext_dir_entry * de, * pde, * nde;
de593fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,&pde,&nde);
de596fs/ext/namei.cif (!(inode = iget(dir->i_dev, de->inode)))
de610fs/ext/namei.cde->inode = 0;
de611fs/ext/namei.cde->name_len = 0;
de612fs/ext/namei.cext_merge_entries (de, pde, nde);
de627fs/ext/namei.cstruct ext_dir_entry * de;
de662fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
de671fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
de679fs/ext/namei.cde->inode = inode->i_ino;
de689fs/ext/namei.cstruct ext_dir_entry * de;
de697fs/ext/namei.cbh = ext_find_entry(dir,name,len,&de,NULL,NULL);
de704fs/ext/namei.cbh = ext_add_entry(dir,name,len,&de);
de710fs/ext/namei.cde->inode = oldinode->i_ino;
de55fs/minix/dir.cstruct minix_dir_entry * de;
de68fs/minix/dir.cde = (struct minix_dir_entry *) (offset + bh->b_data);
de72fs/minix/dir.cif (de->inode) {
de74fs/minix/dir.cif (c = de->name[i])
de79fs/minix/dir.cput_fs_long(de->inode,&dirent->d_ino);
de86fs/minix/dir.cde++;
de32fs/minix/namei.cstatic int minix_match(int len,const char * name,struct minix_dir_entry * de)
de36fs/minix/namei.cif (!de || !de->inode || len > MINIX_NAME_LEN)
de39fs/minix/namei.cif (!len && (de->name[0]=='.') && (de->name[1]=='\0'))
de41fs/minix/namei.cif (len < MINIX_NAME_LEN && de->name[len])
de47fs/minix/namei.c:"0" (0),"S" ((long) name),"D" ((long) de->name),"c" (len)
de66fs/minix/namei.cstruct minix_dir_entry * de;
de84fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
de86fs/minix/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data) {
de94fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
de96fs/minix/namei.cif (minix_match(namelen,name,de)) {
de97fs/minix/namei.c*res_dir = de;
de100fs/minix/namei.cde++;
de111fs/minix/namei.cstruct minix_dir_entry * de;
de121fs/minix/namei.cif (!(bh = minix_find_entry(dir,name,len,&de))) {
de125fs/minix/namei.cino = de->inode;
de150fs/minix/namei.cstruct minix_dir_entry * de;
de169fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
de171fs/minix/namei.cif ((char *)de >= BLOCK_SIZE+bh->b_data) {
de181fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
de184fs/minix/namei.cde->inode=0;
de189fs/minix/namei.cif (!de->inode) {
de192fs/minix/namei.cde->name[i]=(i<namelen)?get_fs_byte(name+i):0;
de194fs/minix/namei.c*res_dir = de;
de197fs/minix/namei.cde++;
de209fs/minix/namei.cstruct minix_dir_entry * de;
de222fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
de230fs/minix/namei.cde->inode = inode->i_ino;
de242fs/minix/namei.cstruct minix_dir_entry * de;
de246fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
de281fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
de289fs/minix/namei.cde->inode = inode->i_ino;
de301fs/minix/namei.cstruct minix_dir_entry * de;
de303fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
de332fs/minix/namei.cde = (struct minix_dir_entry *) dir_block->b_data;
de333fs/minix/namei.cde->inode=inode->i_ino;
de334fs/minix/namei.cstrcpy(de->name,".");
de335fs/minix/namei.cde++;
de336fs/minix/namei.cde->inode = dir->i_ino;
de337fs/minix/namei.cstrcpy(de->name,"..");
de343fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
de350fs/minix/namei.cde->inode = inode->i_ino;
de368fs/minix/namei.cstruct minix_dir_entry * de;
de376fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
de377fs/minix/namei.cif (de[0].inode != inode->i_ino || !de[1].inode || 
de378fs/minix/namei.cstrcmp(".",de[0].name) || strcmp("..",de[1].name)) {
de383fs/minix/namei.cde += 2;
de385fs/minix/namei.cif ((void *) de >= (void *) (bh->b_data+BLOCK_SIZE)) {
de394fs/minix/namei.cde = (struct minix_dir_entry *) bh->b_data;
de396fs/minix/namei.cif (de->inode) {
de400fs/minix/namei.cde++;
de412fs/minix/namei.cstruct minix_dir_entry * de;
de415fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
de420fs/minix/namei.cif (!(inode = iget(dir->i_dev, de->inode)))
de443fs/minix/namei.cde->inode = 0;
de463fs/minix/namei.cstruct minix_dir_entry * de;
de467fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
de470fs/minix/namei.cif (!(inode = iget(dir->i_dev, de->inode)))
de484fs/minix/namei.cde->inode = 0;
de499fs/minix/namei.cstruct minix_dir_entry * de;
de534fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
de543fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
de551fs/minix/namei.cde->inode = inode->i_ino;
de561fs/minix/namei.cstruct minix_dir_entry * de;
de569fs/minix/namei.cbh = minix_find_entry(dir,name,len,&de);
de576fs/minix/namei.cbh = minix_add_entry(dir,name,len,&de);
de582fs/minix/namei.cde->inode = oldinode->i_ino;
de73fs/msdos/dir.cstruct msdos_dir_entry *de;
de91fs/msdos/dir.cwhile ((ino = msdos_get_entry(inode,&filp->f_pos,&bh,&de)) > -1) {
de92fs/msdos/dir.cif (de->name[0] && ((unsigned char *) (de->name))[0] !=
de93fs/msdos/dir.cDELETED_FLAG && !(de->attr & ATTR_VOLUME)) {
de95fs/msdos/dir.cif (!(c = de->name[i])) break;
de101fs/msdos/dir.cif (de->ext[0] && de->ext[0] != ' ') {
de105fs/msdos/dir.cif (!(c = de->ext[i2])) break;
de113fs/msdos/dir.cif (!strcmp(de->name,MSDOS_DOT))
de115fs/msdos/dir.celse if (!strcmp(de->name,MSDOS_DOTDOT))
de212fs/msdos/misc.cstruct msdos_dir_entry **de)
de228fs/msdos/misc.c*de = (struct msdos_dir_entry *) (data+(offset &
de243fs/msdos/misc.cstruct msdos_dir_entry *de;
de248fs/msdos/misc.cwhile ((*ino = msdos_get_entry(dir,&pos,res_bh,&de)) > -1) {
de250fs/msdos/misc.cif (de->name[0] && ((unsigned char *) (de->name))[0]
de251fs/msdos/misc.c!= DELETED_FLAG && !(de->attr & ATTR_VOLUME) &&
de252fs/msdos/misc.c!strncmp(de->name,name,MSDOS_NAME)) break;
de254fs/msdos/misc.celse if (!de->name[0] || ((unsigned char *) (de->name))[0] ==
de270fs/msdos/misc.c*res_de = de;
de91fs/msdos/namei.cstruct buffer_head **bh,struct msdos_dir_entry **de,int *ino)
de98fs/msdos/namei.creturn msdos_scan(dir,msdos_name,bh,de,ino);
de106fs/msdos/namei.cstruct msdos_dir_entry *de;
de128fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) {
de160fs/msdos/namei.cstruct msdos_dir_entry *de;
de163fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino)) < 0) {
de166fs/msdos/namei.cif ((res = msdos_scan(dir,NULL,&bh,&de,&ino)) < 0) return res;
de168fs/msdos/namei.cmemcpy(de->name,name,MSDOS_NAME);
de169fs/msdos/namei.cde->attr = is_dir ? ATTR_DIR : ATTR_ARCH;
de170fs/msdos/namei.cde->start = 0;
de171fs/msdos/namei.cdate_unix2dos(CURRENT_TIME,&de->time,&de->date);
de172fs/msdos/namei.cde->size = 0;
de188fs/msdos/namei.cstruct msdos_dir_entry *de;
de199fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino) >= 0) {
de215fs/msdos/namei.cstruct msdos_dir_entry *de;
de226fs/msdos/namei.cif (msdos_scan(dir,msdos_name,&bh,&de,&ino) >= 0) {
de268fs/msdos/namei.cstruct msdos_dir_entry *de,*dde;
de275fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0) goto rmdir_done;
de297fs/msdos/namei.cde->name[0] = DELETED_FLAG;
de312fs/msdos/namei.cstruct msdos_dir_entry *de;
de317fs/msdos/namei.cif ((res = msdos_find(dir,name,len,&bh,&de,&ino)) < 0)
de330fs/msdos/namei.cde->name[0] = DELETED_FLAG;
de96fs/pipe.cstatic int pipe_readdir(struct inode * inode, struct file * file, struct dirent * de, int count)
de83include/linux/math_emu.hint de:1;
de120include/linux/msdos_fs.hstruct msdos_dir_entry **de);