/freebsd/sbin/restore/ |
H A D | extern.h | 33 long addfile(char *, ino_t, int); 42 long deletefile(char *, ino_t, int); 43 void deleteino(ino_t); 45 ino_t dirlookup(const char *); 54 int genliteraldir(char *, ino_t); 60 int inodetype(ino_t); 62 struct entry *lookupino(ino_t); 64 long listfile(char *, ino_t, int); 65 ino_t lowerbnd(ino_t); 102 void treescan(char *, ino_t, long (*)(char *, ino_t, int)); [all …]
|
H A D | restore.c | 51 listfile(char *name, ino_t ino, int type) in listfile() 67 addfile(char *name, ino_t ino, int type) in addfile() 108 deletefile(char *name, ino_t ino, int type) in deletefile() 149 ino_t i, mydirino; in removeoldleaves() 199 nodeupdates(char *name, ino_t ino, int type) in nodeupdates() 509 ino_t i; in findunreflinks() 586 ino_t first; in createleaves() 664 ino_t first, next, last; in createfiles() 773 ino_t i; in createlinks() 813 ino_t i; in checkrestore() [all …]
|
H A D | restore.h | 54 extern ino_t maxino; /* highest numbered inode in this file system */ 73 ino_t e_ino; /* inode number in previous file sys */ 106 ino_t ino; /* inumber of file */
|
H A D | dirs.c | 66 ino_t t_ino; 76 ino_t ino; 110 static struct inotab *inotablookup(ino_t); 117 static struct direct *searchdir(ino_t, char *); 210 treescan(char *pname, ino_t ino, long (*todo)(char *, ino_t, int)) in treescan() argument 275 ino_t ino; in pathsearch() 298 searchdir(ino_t inum, char *name) in searchdir() 493 ino_t ino; in rst_opendir() 669 genliteraldir(char *name, ino_t ino) in genliteraldir() 713 inodetype(ino_t ino) in inodetype() [all …]
|
H A D | utilities.c | 277 ino_t 278 lowerbnd(ino_t start) in lowerbnd() 295 ino_t 296 upperbnd(ino_t start) in upperbnd() 363 ino_t 367 ino_t ino; in dirlookup()
|
H A D | symtab.c | 69 static void addino(ino_t, struct entry *); 77 lookupino(ino_t inum) in lookupino() 93 addino(ino_t inum, struct entry *np) in addino() 113 deleteino(ino_t inum) in deleteino() 214 addentry(char *name, ino_t inum, int type) in addentry() 265 ino_t inum; in freeentry() 424 ino_t maxino; 435 ino_t i; in dumpsymtable()
|
/freebsd/sbin/fsck_ffs/ |
H A D | fsck.h | 246 extern ino_t cursnapshot; 463 ino_t allocdir(ino_t parent, ino_t request, int mode); 464 ino_t allocino(ino_t request, int type); 479 int changeino(ino_t dir, const char *name, ino_t newnum, int depth); 496 void fileerror(ino_t cwd, ino_t ino, const char *errmesg); 502 void freedirino(ino_t ino, ino_t parent); 503 void freeino(ino_t ino); 512 void getpathname(char *namebuf, ino_t curdir, ino_t ino); 523 int linkup(ino_t orphan, ino_t parentdir, char *name); 524 int makeentry(ino_t parent, ino_t ino, const char *name); [all …]
|
H A D | dir.c | 425 fileerror(ino_t cwd, ino_t ino, const char *errmesg) in fileerror() 563 linkup(ino_t orphan, ino_t parentdir, char *name) in linkup() 568 ino_t oldlfdir; in linkup() 673 parentdir != (ino_t)-1) in linkup() 704 changeino(ino_t dir, const char *name, ino_t newnum, int depth) in changeino() 732 makeentry(ino_t parent, ino_t ino, const char *name) in makeentry() 909 ino_t 910 allocdir(ino_t parent, ino_t request, int mode) in allocdir() 912 ino_t ino; in allocdir() 987 freedirino(ino_t ino, ino_t parent) in freedirino() [all …]
|
H A D | globs.c | 45 ino_t cursnapshot; 94 ino_t maxino; /* number of inodes in file system */ 95 ino_t lfdir; /* lost & found directory inode number */ 100 ino_t n_files; /* number of files in use */
|
H A D | suj.c | 76 ino_t si_ino; 113 static ino_t sujino; 552 ino_clrat(ino_t parent, off_t diroff, ino_t child) in ino_clrat() 596 ino_isat(ino_t parent, off_t diroff, ino_t child, int *mode, int *isdot) in ino_isat() 847 ino_t ino; in ino_adjblks() 931 ino_remref(ino_t parent, ino_t child, uint64_t diroff, int isdotdot) in ino_remref() 1068 ino_decr(ino_t ino) in ino_decr() 1119 ino_t ino; in ino_adjust() 1425 ino_t ino; in ino_check() 1649 ino_t inon; in ino_unlinked() [all …]
|
H A D | inode.c | 425 static ino_t firstinum, lastinum; 626 setinodebuf(int cg, ino_t inosused) in setinodebuf() 628 ino_t inum; in setinodebuf() 716 snapremove(ino_t inum) in snapremove() 1140 inp->i_dotdot = (ino_t)0; in cacheino() 1165 getinoinfo(ino_t inumber) in getinoinfo() 1182 removecachedino(ino_t inumber) in removecachedino() 1375 ino_t 1376 allocino(ino_t request, int type) in allocino() 1378 ino_t ino; in allocino() [all …]
|
/freebsd/sys/fs/ext2fs/ |
H A D | ext2_dinode.h | 39 #define EXT2_BADBLKINO ((ino_t)1) 40 #define EXT2_ROOTINO ((ino_t)2) 41 #define EXT2_ACLIDXINO ((ino_t)3) 42 #define EXT2_ACLDATAINO ((ino_t)4) 43 #define EXT2_BOOTLOADERINO ((ino_t)5) 44 #define EXT2_UNDELDIRINO ((ino_t)6) 45 #define EXT2_RESIZEINO ((ino_t)7) 46 #define EXT2_JOURNALINO ((ino_t)8) 47 #define EXT2_EXCLUDEINO ((ino_t)9) 48 #define EXT2_REPLICAINO ((ino_t)10) [all …]
|
/freebsd/sys/ufs/ufs/ |
H A D | ufs_extern.h | 59 int ufs_checkpath(ino_t, ino_t, struct inode *, struct ucred *, ino_t *); 62 int ufs_dirempty(struct inode *, ino_t, struct ucred *, int); 70 int ufs_dirrewrite(struct inode *, struct inode *, ino_t, int, int); 72 ino_t *); 93 ino_t, struct buf *, int); 98 struct inode *, ino_t, int);
|
/freebsd/sys/ufs/ffs/ |
H A D | ffs_extern.h | 62 ufs2_daddr_t, long, ino_t, __enum_uint8(vtype), struct workhead *, 67 uint64_t ffs_blkrelease_start(struct ufsmount *, struct vnode *, ino_t); 69 int ffs_checkfreefile(struct fs *, struct vnode *, ino_t); 76 int ffs_freefile(struct ufsmount *, struct fs *, struct vnode *, ino_t, 78 void ffs_fserr(struct fs *, ino_t, char *); 81 int ffs_inotovp(struct mount *, ino_t, uint64_t, int, struct vnode **, 114 int ffs_vfree(struct vnode *, ino_t, int); 116 int ffs_vgetf(struct mount *, ino_t, int, struct vnode **, int); 174 void softdep_freefile(struct vnode *, ino_t, int); 182 void softdep_setup_inomapdep(struct buf *, struct inode *, ino_t, int); [all …]
|
H A D | softdep.h | 294 ino_t pd_ino; /* associated file */ 356 ino_t id_ino; /* dependent inode */ 561 ino_t ff_inum; /* owning inode number */ 589 ino_t fb_inum; /* inode owner of blocks */ 795 ino_t if_ino; /* Inode number. */ 796 ino_t if_parent; /* Parent inode number. */ 858 ino_t jm_ino; /* Inode number of our entry. */ 883 ino_t jn_ino; /* Ino to which allocated. */ 925 ino_t fr_ino; /* Ino from which frag freed. */ 936 ino_t jt_ino; /* Ino being truncated. */ [all …]
|
/freebsd/sbin/dump/ |
H A D | dump.h | 64 extern ino_t curino; /* current inumber; used globally */ 102 int mapfiles(ino_t maxino, long *tapesize); 103 int mapdirs(ino_t maxino, long *tapesize); 108 void dumpino(union dinode *dp, ino_t ino); 109 void dumpmap(char *map, int type, ino_t ino); 110 void writeheader(ino_t ino); 125 union dinode *getino(ino_t inum, int *mode);
|
H A D | traverse.c | 77 ino_t ino, int last); 151 ino_t ino; in mapfiles() 251 ino_t ino; in mapdirs() 323 ino_t ino, in dirindir() 329 ino_t maxino) in dirindir() 375 ino_t ino, in searchdir() 381 ino_t maxino) in searchdir() 452 dumpino(union dinode *dp, ino_t ino) in dumpino() 840 writeheader(ino_t ino) in writeheader() 866 getino(ino_t inum, int *modep) in getino() [all …]
|
/freebsd/sys/fs/tarfs/ |
H A D | tarfs.h | 60 ino_t ino; 135 ino_t ino; 166 ino_t ino; 198 #define TARFS_ROOTINO ((ino_t)3) 199 #define TARFS_ZIOINO ((ino_t)4) 200 #define TARFS_MININO ((ino_t)65535)
|
/freebsd/bin/pax/ |
H A D | tables.h | 59 ino_t ino; /* files inode number */ 128 ino_t trunc_bits; /* truncation pattern for a specific map */ 144 ino_t ino;
|
/freebsd/lib/libufs/ |
H A D | libufs.h | 69 ino_t d_inomin; /* low ino */ 70 ino_t d_inomax; /* high ino */ 153 ino_t cgialloc(struct uufsd *); 164 int getinode(struct uufsd *, union dinodep *, ino_t);
|
H A D | inode.c | 51 getinode(struct uufsd *disk, union dinodep *dp, ino_t inum) in getinode() 53 ino_t min, max; in getinode() 60 if (inum >= (ino_t)fs->fs_ipg * fs->fs_ncg) { in getinode()
|
/freebsd/sys/fs/udf/ |
H A D | udf.h | 34 ino_t hash_id; 114 static __inline ino_t 122 int udf_vget(struct mount *, ino_t, int, struct vnode **);
|
/freebsd/contrib/netbsd-tests/fs/puffs/h_dtfs/ |
H A D | dtfs.h | 46 ino_t dtm_nextfileid; /* running number for file id */ 92 ino_t dfid_fileid; 118 void dtfs_baseattrs(struct vattr *, enum vtype, ino_t);
|
/freebsd/tests/sys/fs/fusefs/ |
H A D | notify.cc | 104 ino_t parent; 122 ino_t ino; 129 ino_t nodeid; 309 ino_t ino = 42; in TEST_F() 332 ino_t ino = 42; in TEST_F() 394 ino_t ino = 42; in TEST_F() 416 ino_t ino = 42; in TEST_F() 454 ino_t ino = 42; in TEST_F() 497 ino_t ino = 42; in TEST_F()
|
/freebsd/sbin/fsdb/ |
H A D | fsdb.h | 56 extern ino_t curinum; 61 void printstat(const char *cp, ino_t inum, union dinode *dp);
|