Searched refs:fsi (Results 1 - 6 of 6) sorted by relevance

/openbsd-current/sbin/growfs/
H A Dgrowfs.c168 growfs(int fsi, int fso, unsigned int Nflag) argument
186 osblock.fs_bsize), (void *)(((char *)fscs)+i), fsi); local
192 updjcg(osblock.fs_ncg - 1, utime, fsi, fso, Nflag);
242 updcsloc(utime, fsi, fso, Nflag);
569 cond_bl_upd(daddr_t *block, struct gfs_bpp *field, int fsi, int fso, argument
600 rdfs(fsbtodb(&sblock, src), (size_t)sblock.fs_bsize, ibuf, fsi); local
624 updjcg(u_int cg, time_t utime, int fsi, int fso, unsigned int Nflag) argument
636 (size_t)osblock.fs_cgsize, (void *)&aocg, fsi); local
841 updcsloc(time_t utime, int fsi, int fso, unsigned int Nflag) argument
873 (size_t)osblock.fs_cgsize, (void *)&aocg, fsi); local
1324 (size_t)sblock.fs_bsize, (void *)&ablk, fsi); local
1377 rdfs(daddr_t bno, size_t size, void *bf, int fsi) argument
1616 ginode(ino_t inumber, int fsi, int cg) argument
1641 rdfs(inoblk, (size_t)sblock.fs_bsize, inobuf, fsi); local
1708 int i, fsi, fso; local
1798 rdfs(sblockloc, (size_t)SBLOCKSIZE, (void *)&(osblock), fsi); local
2056 updrefs(int cg, ino_t in, struct gfs_bpp *bp, int fsi, int fso, unsigned int Nflag) argument
2119 indirchk(daddr_t blksperindir, daddr_t lbn, daddr_t blkno, daddr_t lastlbn, struct gfs_bpp *bp, int fsi, int fso, unsigned int Nflag) argument
2130 rdfs(fsbtodb(&sblock, blkno), (size_t)sblock.fs_bsize, ibuf, fsi); local
[all...]
/openbsd-current/sbin/badsect/
H A Dbadsect.c72 static int fsi; variable
121 if ((fsi = open(name, O_RDONLY)) == -1)
186 if (pread(fsi, bf, size, bno * DEV_BSIZE) != size) {
/openbsd-current/sbin/newfs/
H A Dnewfs.c177 int fsi = -1, oflagset = 0, fso, len, n, maxpartitions; local
415 fsi = opendev(special, O_RDONLY, 0, NULL);
416 if (fsi == -1)
418 if (fstat(fsi, &st) == -1)
434 lp = getdisklabel(special, fsi);
513 mkfs(pp, special, fsi, fso, mfsmode, mfsuid, mfsgid);
518 if (fsi != -1)
519 close(fsi);
H A Dmkfs.c126 int fsi, fso; variable
197 fsi = fi;
1022 n = pread(fsi, bf, size, (off_t)bno * DEV_BSIZE);
/openbsd-current/sbin/newfs_ext2fs/
H A Dnewfs_ext2fs.c465 getpartition(int fsi, const char *special, char *argv[], struct disklabel **dl) argument
472 if (fstat(fsi, &st) == -1)
484 lp = getdisklabel(special, fsi);
/openbsd-current/sys/dev/pci/
H A Dmfii.c3378 struct mfii_foreign_scan_info *fsi; local
3383 fsi = malloc(sizeof *fsi, M_DEVBUF, M_WAITOK);
3408 rv = mfii_mgmt(sc, MR_DCMD_CFG_FOREIGN_SCAN, NULL, fsi, sizeof(*fsi),
3413 if (fsi->count > 0) {
3431 free(fsi, M_DEVBUF, sizeof *fsi);

Completed in 317 milliseconds