/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/ |
H A D | dirblock.c | 27 struct ext2_dir_entry *dirent; local 41 dirent = (struct ext2_dir_entry *) p; 44 dirent->inode = ext2fs_swab32(dirent->inode); 45 dirent->rec_len = ext2fs_swab16(dirent->rec_len); 46 dirent->name_len = ext2fs_swab16(dirent->name_len); 49 name_len = dirent->name_len; 52 dirent 81 struct ext2_dir_entry *dirent; local [all...] |
H A D | dir_iterate.c | 34 struct ext2_dir_entry *dirent; local 37 dirent = (struct ext2_dir_entry *)(buf + offset); 38 offset += dirent->rec_len; 39 if ((dirent->rec_len < 8) || 40 ((dirent->rec_len % 4) != 0) || 41 (((dirent->name_len & 0xFF)+8) > dirent->rec_len)) 53 struct ext2_dir_entry *dirent, 91 int (*func)(struct ext2_dir_entry *dirent, 101 struct ext2_dir_entry *dirent, in variable in typeref:struct:ext2_dir_entry 47 ext2fs_dir_iterate2(ext2_filsys fs, ext2_ino_t dir, int flags, char *block_buf, int (*func)(ext2_ino_t dir, int entry, struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument 109 ext2fs_dir_iterate(ext2_filsys fs, ext2_ino_t dir, int flags, char *block_buf, int (*func)(struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *priv_data), void *priv_data) argument 148 struct ext2_dir_entry *dirent; local [all...] |
H A D | link.c | 30 static int link_proc(struct ext2_dir_entry *dirent, argument 47 next = (struct ext2_dir_entry *) (buf + offset + dirent->rec_len); 48 if ((offset + dirent->rec_len < blocksize - 8) && 50 (offset + dirent->rec_len + next->rec_len <= blocksize)) { 51 dirent->rec_len += next->rec_len; 60 if (dirent->inode) { 61 min_rec_len = EXT2_DIR_REC_LEN(dirent->name_len & 0xFF); 62 if (dirent->rec_len < (min_rec_len + rec_len)) 64 rec_len = dirent->rec_len - min_rec_len; 65 dirent [all...] |
H A D | unlink.c | 33 static int unlink_proc(struct ext2_dir_entry *dirent, argument 43 ls->prev = dirent; 46 if ((dirent->name_len & 0xFF) != ls->namelen) 48 if (strncmp(ls->name, dirent->name, dirent->name_len & 0xFF)) 52 if (dirent->inode != ls->inode) 55 if (!dirent->inode) 60 prev->rec_len += dirent->rec_len; 62 dirent->inode = 0;
|
H A D | lookup.c | 31 static int lookup_proc(struct ext2_dir_entry *dirent, argument 39 if (ls->len != (dirent->name_len & 0xFF)) 41 if (strncmp(ls->name, dirent->name, (dirent->name_len & 0xFF))) 43 *ls->inode = dirent->inode;
|
H A D | get_pathname.c | 40 static int get_pathname_proc(struct ext2_dir_entry *dirent, argument 51 if (((dirent->name_len & 0xFF) == 2) && 52 !strncmp(dirent->name, "..", 2)) 53 gp->parent = dirent->inode; 54 if (dirent->inode == gp->search_ino) { 55 retval = ext2fs_get_mem((dirent->name_len & 0xFF) + 1, 61 strncpy(gp->name, dirent->name, (dirent->name_len & 0xFF)); 62 gp->name[dirent->name_len & 0xFF] = '\0';
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ |
H A D | readdir.c | 100 int dcache_readdir(struct file * filp, void * dirent, filldir_t filldir) argument 111 if (filldir(dirent, ".", 1, i, ino, DT_DIR) < 0) 120 if (filldir(dirent, "..", 2, i, ino, DT_DIR) < 0) 138 if (filldir(dirent, next->d_name.name, next->d_name.len, filp->f_pos, next->d_inode->i_ino, DT_UNKNOWN) < 0) 165 * dirent-structure in size and that the code can't handle more 182 struct old_linux_dirent * dirent; member in struct:readdir_callback 190 struct old_linux_dirent * dirent; local 195 dirent = buf->dirent; 196 put_user(ino, &dirent 204 old_readdir(unsigned int fd, void * dirent, unsigned int count) argument 250 struct linux_dirent * dirent; local 272 sys_getdents(unsigned int fd, void * dirent, unsigned int count) argument 328 struct linux_dirent64 * dirent, d; local 355 sys_getdents64(unsigned int fd, void * dirent, unsigned int count) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/e2p/ |
H A D | iod.c | 25 int (*func) (const char *, struct dirent *, void *), 29 struct dirent *de, *dep; 46 max_len += sizeof(struct dirent); 59 len = sizeof(struct dirent);
|
H A D | e2p.h | 1 #include <sys/types.h> /* Needed by dirent.h on netbsd */ 3 #include <dirent.h> 26 int (*func) (const char *, struct dirent *, void *),
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | dirent.h | 4 struct dirent { struct
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | dirent.h | 4 struct dirent { struct
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/e2fsck/ |
H A D | pass2.c | 351 struct ext2_dir_entry *dirent, 360 if (!dirent->inode) 362 else if (((dirent->name_len & 0xFF) != 1) || 363 (dirent->name[0] != '.')) 365 else if (dirent->name[1] != '\0') 370 if (dirent->rec_len < 12) 371 dirent->rec_len = 12; 372 dirent->inode = ino; 373 dirent->name_len = 1; 374 dirent 350 check_dot(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t ino, struct problem_context *pctx) argument 409 check_dotdot(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t ino, struct problem_context *pctx) argument 453 check_name(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t dir_ino EXT2FS_ATTR((unused)), struct problem_context *pctx) argument 479 check_filetype(e2fsck_t ctx, struct ext2_dir_entry *dirent, ext2_ino_t dir_ino EXT2FS_ATTR((unused)), struct problem_context *pctx) argument 640 salvage_directory(ext2_filsys fs, struct ext2_dir_entry *dirent, struct ext2_dir_entry *prev, unsigned int *offset) argument 705 struct ext2_dir_entry *dirent, *prev; local [all...] |
H A D | message.c | 19 * %Di <dirent>->ino inode number 20 * %Dn <dirent>->name string 21 * %Dr <dirent>->rec_len 22 * %Dl <dirent>->name_len 23 * %Dt <dirent>->filetype 43 * %P ext2fs_get_pathname of <dirent>->ino with <ino2> as 44 * the containing directory. (If dirent is NULL 344 struct ext2_dir_entry *dirent; local 347 if (!ctx || !ctx->dirent) 350 dirent [all...] |
H A D | rehash.c | 89 struct ext2_dir_entry *dirent; local 105 dirent = (struct ext2_dir_entry *) dir; 106 dirent->rec_len = fs->blocksize; 119 dirent = (struct ext2_dir_entry *) (dir + dir_offset); 120 if (((dir_offset + dirent->rec_len) > fs->blocksize) || 121 (dirent->rec_len < 8) || 122 ((dirent->rec_len % 4) != 0) || 123 (((dirent->name_len & 0xFF)+8) > dirent->rec_len)) { 127 dir_offset += dirent 405 struct ext2_dir_entry *dirent; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/parisc/hpux/ |
H A D | fs.c | 58 struct hpux_dirent * dirent; local 60 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); 65 dirent = buf->previous; 66 if (dirent) 67 put_user(offset, &dirent->d_off); 68 dirent = buf->current_dir; 69 buf->previous = dirent; 70 put_user(ino, &dirent->d_ino); 71 put_user(reclen, &dirent->d_reclen); 72 put_user(namlen, &dirent 84 hpux_getdents(unsigned int fd, struct hpux_dirent *dirent, unsigned int count) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | pwd.c | 27 #include <dirent.h>
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/debugfs/ |
H A D | htree.c | 35 struct ext2_dir_entry *dirent; local 63 dirent = (struct ext2_dir_entry *) (buf + offset); 64 if (((offset + dirent->rec_len) > fs->blocksize) || 65 (dirent->rec_len < 8) || 66 ((dirent->rec_len % 4) != 0) || 67 (((dirent->name_len & 0xFF)+8) > dirent->rec_len)) { 71 thislen = ((dirent->name_len & 0xFF) < EXT2_NAME_LEN) ? 72 (dirent->name_len & 0xFF) : EXT2_NAME_LEN; 73 strncpy(name, dirent 363 struct ext2_dir_entry *dirent; local [all...] |
H A D | ls.c | 45 struct ext2_dir_entry *dirent, variable in typeref:struct:ext2_dir_entry 62 thislen = ((dirent->name_len & 0xFF) < EXT2_NAME_LEN) ? 63 (dirent->name_len & 0xFF) : EXT2_NAME_LEN; 64 strncpy(name, dirent->name, thislen); 66 ino = dirent->inode; 90 inode.i_mode, dirent->name_len >> 8, 99 sprintf(tmp, "%c%u%c (%d) %s ", lbr, dirent->inode, rbr, 100 dirent->rec_len, name);
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/libbb/ |
H A D | find_root_device.c | 26 #include <dirent.h> 35 struct dirent *entry;
|
H A D | remove_file.c | 28 #include <dirent.h> 60 struct dirent *d;
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/utils/ |
H A D | smbw_sample.c | 4 #include <dirent.h> 29 struct dirent *dent;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/devpts/ |
H A D | root.c | 43 static int devpts_root_readdir(struct file *filp, void *dirent, filldir_t filldir) argument 55 if (filldir(dirent, ".", 1, nr, inode->i_ino, DT_DIR) < 0) 60 if (filldir(dirent, "..", 2, nr, inode->i_ino, DT_DIR) < 0) 69 if ( filldir(dirent, numbuf, strlen(numbuf), nr, nr, DT_CHR) < 0 )
|
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/tests/progs/ |
H A D | hold_inode.c | 15 #include <dirent.h>
|
/asus-wl-520gu-7.0.1.45/src/router/samba/source/include/ |
H A D | libsmb_internal.h | 27 struct smbc_dirent *dirent; member in struct:smbc_dir_list 53 /** INTERNAL: dirent pointer location
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/sparc/kernel/ |
H A D | sys_sunos.c | 322 struct sunos_dirent * dirent; local 324 int reclen = ROUND_UP(NAME_OFFSET(dirent) + namlen + 1); 329 dirent = buf->previous; 330 if (dirent) 331 put_user(offset, &dirent->d_off); 332 dirent = buf->curr; 333 buf->previous = dirent; 334 put_user(ino, &dirent->d_ino); 335 put_user(namlen, &dirent->d_namlen); 336 put_user(reclen, &dirent 345 sunos_getdents(unsigned int fd, void * dirent, int cnt) argument 403 struct sunos_direntry * dirent; local 424 sunos_getdirentries(unsigned int fd, void * dirent, int cnt, unsigned int *basep) argument [all...] |