Home
last modified time | relevance | path

Searched refs:ino_t (Results 1 – 25 of 125) sorted by relevance

12345

/openbsd/src/sbin/fsck_ffs/
Dextern.h30 ino_t allocdir(ino_t, ino_t, int);
31 void blkerror(ino_t, char *, daddr_t);
35 void cacheino(union dinode *, ino_t);
36 int changeino(ino_t, char *, ino_t);
43 void direrror(ino_t, char *);
46 void fileerror(ino_t, ino_t, char *);
51 void freeino(ino_t);
54 void getpathname(char *, size_t, ino_t, ino_t);
57 struct inostat *inoinfo(ino_t);
58 int linkup(ino_t, ino_t);
[all …]
Dfsck.h158 ino_t id_number; /* inode number described */
159 ino_t id_parent; /* for DATA nodes, their parent */
206 ino_t zlncnt;
217 ino_t i_number; /* inode number of this entry */
218 ino_t i_parent; /* inode number of parent */
219 ino_t i_dotdot; /* inode number of `..' */
243 extern ino_t maxino; /* number of inodes in file system */
244 extern ino_t lastino; /* last inode in use */
246 extern ino_t lfdir; /* lost & found directory inode number */
273 union dinode *ginode(ino_t);
[all …]
Ddir.c57 static void freedir(ino_t, ino_t);
60 static int lftempname(char *, ino_t);
68 propagate(ino_t inumber) in propagate()
225 direrror(ino_t ino, char *errmesg) in direrror()
231 fileerror(ino_t cwd, ino_t ino, char *errmesg) in fileerror()
322 linkup(ino_t orphan, ino_t parentdir) in linkup()
326 ino_t oldlfdir; in linkup()
408 parentdir != (ino_t)-1) in linkup()
416 if (parentdir != (ino_t)-1) { in linkup()
438 changeino(ino_t dir, char *name, ino_t newnum) in changeino()
[all …]
Dinode.c54 static ino_t startinum;
282 ginode(ino_t inumber) in ginode()
307 ino_t nextino, lastinum;
312 getnextinode(ino_t inumber) in getnextinode()
345 setinodebuf(ino_t inum) in setinodebuf()
392 cacheino(union dinode *dp, ino_t inumber) in cacheino()
439 getinoinfo(ino_t inumber) in getinoinfo()
524 pinode(ino_t ino) in pinode()
554 blkerror(ino_t ino, char *type, daddr_t blk) in blkerror()
582 ino_t
[all …]
/openbsd/src/sbin/fsck_ext2fs/
Dextern.h31 int allocdir(ino_t, ino_t, int);
32 void blkerror(ino_t, char *, daddr32_t);
36 void cacheino(struct ext2fs_dinode *, ino_t);
37 int changeino(ino_t, char *, ino_t);
43 void direrror(ino_t, char *);
46 void fileerror(ino_t, ino_t, char *);
51 void freeino(ino_t);
54 void getpathname(char *, size_t, ino_t, ino_t);
59 int linkup(ino_t, ino_t);
60 int makeentry(ino_t, ino_t, char *);
[all …]
Dfsck.h93 ino_t id_number; /* inode number described */
94 ino_t id_parent; /* for DATA nodes, their parent */
141 ino_t zlncnt;
151 ino_t i_number; /* inode number of this entry */
152 ino_t i_parent; /* inode number of parent */
153 ino_t i_dotdot; /* inode number of `..' */
175 extern ino_t maxino; /* number of inodes in file system */
176 extern ino_t lastino; /* last inode in use */
181 extern ino_t lfdir; /* lost & found directory inode number */
201 struct ext2fs_dinode *ginode(ino_t);
[all …]
Ddir.c62 static void freedir(ino_t, ino_t);
65 static int lftempname(char *, ino_t);
250 direrror(ino_t ino, char *errmesg) in direrror()
257 fileerror(ino_t cwd, ino_t ino, char *errmesg) in fileerror()
285 if (linkup(idesc->id_number, (ino_t)0) == 0) in adjust()
356 linkup(ino_t orphan, ino_t parentdir) in linkup()
360 ino_t oldlfdir; in linkup()
387 lfdir = allocdir(EXT2_ROOTINO, (ino_t)0, lfmode); in linkup()
413 if ((lfdir = allocdir(EXT2_ROOTINO, (ino_t)0, lfmode)) == 0) { in linkup()
442 parentdir != (ino_t)-1) in linkup()
[all …]
Dinode.c63 static ino_t startinum;
329 ginode(ino_t inumber) in ginode()
352 ino_t nextino, lastinum;
357 getnextinode(ino_t inumber) in getnextinode()
430 cacheino(struct ext2fs_dinode *dp, ino_t inumber) in cacheino()
449 inp->i_parent = (ino_t)0; in cacheino()
450 inp->i_dotdot = (ino_t)0; in cacheino()
469 getinoinfo(ino_t inumber) in getinoinfo()
559 pinode(ino_t ino) in pinode()
591 blkerror(ino_t ino, char *type, daddr32_t blk) in blkerror()
[all …]
/openbsd/src/sbin/restore/
Dextern.h35 struct entry *addentry(char *, ino_t, int);
36 long addfile(char *, ino_t, int);
45 long deletefile(char *, ino_t, int);
46 void deleteino(ino_t);
47 ino_t dirlookup(const char *);
55 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);
[all …]
Drestore.c51 listfile(char *name, ino_t ino, int type) in listfile()
67 addfile(char *name, ino_t ino, int type) in addfile()
106 deletefile(char *name, ino_t ino, int type) in deletefile()
146 ino_t i; in removeoldleaves()
180 nodeupdates(char *name, ino_t ino, int type) in nodeupdates()
491 ino_t i; in findunreflinks()
568 ino_t first; in createleaves()
648 ino_t first, next, last; in createfiles()
737 ino_t i; in createlinks()
768 ino_t i; in checkrestore()
[all …]
Ddirs.c67 ino_t t_ino;
77 ino_t ino;
120 static struct inotab *inotablookup(ino_t);
126 static struct direct *searchdir(ino_t, char *);
219 treescan(char *pname, ino_t ino, long (*todo)(char *, ino_t, int)) in treescan() argument
286 ino_t ino; in pathsearch()
309 searchdir(ino_t inum, char *name) in searchdir()
516 ino_t ino; in rst_opendir()
636 genliteraldir(char *name, ino_t ino) in genliteraldir()
668 inodetype(ino_t ino) in inodetype()
[all …]
Dutilities.c222 ino_t
223 lowerbnd(ino_t start) in lowerbnd()
240 ino_t
241 upperbnd(ino_t start) in upperbnd()
309 ino_t
313 ino_t ino; in dirlookup()
Drestore.h56 extern ino_t maxino; /* highest numbered inode in this file system */
77 ino_t e_ino; /* inode number in previous file sys */
110 ino_t ino; /* inumber of file */
Dsymtab.c68 static void addino(ino_t, struct entry *);
76 lookupino(ino_t inum) in lookupino()
92 addino(ino_t inum, struct entry *np) in addino()
113 deleteino(ino_t inum) in deleteino()
215 addentry(char *name, ino_t inum, int type) in addentry()
266 ino_t inum; in freeentry()
425 ino_t maxino;
436 ino_t i; in dumpsymtable()
/openbsd/src/sbin/dump/
Ddump.h64 extern ino_t curino; /* current inumber; used globally */
102 void mapfileino(ino_t, int64_t *, int *);
103 int mapfiles(ino_t maxino, int64_t *tapesize, char *disk,
105 int mapdirs(ino_t maxino, int64_t *tapesize);
108 void ufs1_blksout(int32_t *blkp, int frags, ino_t ino);
109 void ufs2_blksout(daddr_t *blkp, int frags, ino_t ino);
111 void dumpino(union dinode *dp, ino_t ino);
112 void dumpmap(char *map, int type, ino_t ino);
113 void writeheader(ino_t ino);
129 union dinode *getino(ino_t inum, int *mode);
Dtraverse.c67 static int dirindir(ino_t, daddr_t, int, off_t *, int64_t *, int);
68 static void dmpindir(ino_t, daddr_t, int, off_t *);
69 static int searchdir(ino_t, daddr_t, long, off_t, int64_t *, int);
70 void fs_mapinodes(ino_t maxino, off_t *tapesize, int *anydirskipped);
119 mapfileino(ino_t ino, int64_t *tapesize, int *dirskipped) in mapfileino()
148 fs_mapinodes(ino_t maxino, int64_t *tapesize, int *anydirskipped) in fs_mapinodes()
152 ino_t ino; in fs_mapinodes()
158 ino = cg * (ino_t)sblock->fs_ipg; in fs_mapinodes()
183 mapfiles(ino_t maxino, int64_t *tapesize, char *disk, char * const *dirv) in mapfiles()
283 mapdirs(ino_t maxino, int64_t *tapesize) in mapdirs()
[all …]
/openbsd/src/lib/libfuse/
Dfuse_private.h35 ino_t ino;
116 #define FUSE_ROOT_INO ((ino_t)1)
122 struct fuse_vnode *alloc_vn(struct fuse *, const char *, ino_t, ino_t);
126 ino_t);
130 char *build_realname(struct fuse *, ino_t);
Dfuse_subr.c27 alloc_vn(struct fuse *f, const char *path, ino_t ino, ino_t pino) in alloc_vn()
44 if (pino == (ino_t)0) in alloc_vn()
57 if (ino == (ino_t)-1) { in alloc_vn()
150 get_vn_by_name_and_parent(struct fuse *f, uint8_t *xpath, ino_t pino) in get_vn_by_name_and_parent()
171 build_realname(struct fuse *f, ino_t ino) in build_realname()
205 if (ino == (ino_t)0) in build_realname()
/openbsd/src/sys/miscfs/fuse/
Dfuse_ihash.c53 struct fuse_ihashhead *fuse_ihash(dev_t, ino_t);
56 fuse_ihash(dev_t dev, ino_t inum) in fuse_ihash()
83 fuse_ihashget(dev_t dev, ino_t inum) in fuse_ihashget()
114 ino_t inum = ip->i_number; in fuse_ihashins()
Dfusefs_node.h42 ino_t i_number; /* The identity of the inode. */
64 struct vnode *fuse_ihashget(dev_t, ino_t);
/openbsd/src/sys/sys/
Dfusebuf.h34 ino_t fh_ino; /* Inode of this fusebuf */
45 ino_t fi_ino; /* ino for the io */
143 struct fusebuf *fb_setup(size_t, ino_t, int, struct proc *);
/openbsd/src/gnu/usr.sbin/mkhybrid/src/
Dmkisofs.h148 ino_t inode; /* Used in the hash table */
164 ino_t inode; /* Used in the hash table */
413 extern struct file_hash * DECL(find_hash,(dev_t, ino_t));
417 extern void DECL(add_directory_hash,(dev_t, ino_t));
418 extern struct file_hash * DECL(find_directory_hash,(dev_t, ino_t));
490 #define TABLE_INODE (sizeof(ino_t) >= 8 ? 0x7ffffffffffffffeLL : 0x7ffffffe)
491 #define UNCACHED_INODE (sizeof(ino_t) >= 8 ? 0x7fffffffffffffffLL : 0x7fffffff)
/openbsd/src/sbin/fsdb/
Dfsdb.h45 extern ino_t curinum;
49 void printstat(const char *, ino_t, union dinode *);
Dfsdb.c71 ino_t curinum;
108 ino_t maxino; /* number of inodes in file system */
109 ino_t lastino; /* last inode in use */
111 ino_t lfdir; /* lost & found directory inode number */
330 static ino_t ocurrent;
345 ino_t inum; in CMDFUNCSTART()
366 ino_t inum; in CMDFUNCSTART()
516 ino_t inum; in CMDFUNCSTART()
567 ino_t inum; in CMDFUNCSTART()
/openbsd/src/usr.sbin/makefs/cd9660/
Diso_rrip.h68 ino_t *inump; /* inode number pointer */
79 ino_t *inump, struct iso_mnt *imp);

12345