Searched refs:stat (Results 176 - 200 of 901) sorted by relevance

1234567891011>>

/osnet-11/usr/src/lib/libsqlite/tool/
H A Dshowdb.c10 #include <sys/stat.h>
47 struct stat sbuf;
H A Dshowjournal.c10 #include <sys/stat.h>
46 struct stat sbuf;
H A Dspace_used.tcl66 set stat [btree_cursor_dump $cursor]
67 set pgno [lindex $stat 0]
68 set freebytes [lindex $stat 4]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_mdcf.c58 struct stat sbuf;
68 if (stat(name, &sbuf) == 0) {
/osnet-11/usr/src/lib/libntsvcs/common/
H A Dsmb_reparse.c44 * Returns 0 and fills 'stat' with the proper status on
48 smb_reparse_stat(const char *path, uint32_t *stat) argument
50 struct stat statbuf;
56 *stat = SMB_REPARSE_NOTFOUND;
63 *stat = SMB_REPARSE_NOTREPARSE;
73 *stat = SMB_REPARSE_NOTREPARSE;
75 *stat = SMB_REPARSE_ISREPARSE;
/osnet-11/usr/src/cmd/sendmail/db/mp/
H A Dmp_region.c103 --mp->stat.st_page_clean;
155 ++mp->stat.st_rw_evict;
162 ++mp->stat.st_ro_evict;
311 memset(&mp->stat, 0, sizeof(mp->stat));
312 mp->stat.st_cachesize = cachesize;
/osnet-11/usr/src/cmd/sendmail/db/log/
H A Dlog_put.c191 lp->stat.st_wc_bytes = lp->stat.st_wc_mbytes = 0;
324 ++lp->stat.st_scount;
449 if ((lp->stat.st_w_bytes += len) >= MEGABYTE) {
450 lp->stat.st_w_bytes -= MEGABYTE;
451 ++lp->stat.st_w_mbytes;
453 if ((lp->stat.st_wc_bytes += len) >= MEGABYTE) {
454 lp->stat.st_wc_bytes -= MEGABYTE;
455 ++lp->stat.st_wc_mbytes;
457 ++lp->stat
[all...]
/osnet-11/usr/src/lib/libshell/common/bltins/
H A Dshiocmd_solaris.c391 static struct stat *Sp;
395 struct stat statb;
402 { "atime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_atime), sizeof(Sp->st_atime), make_time},
403 { "ctime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_ctime), sizeof(Sp->st_ctime), make_time},
404 { "dev", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_dev),sizeof(Sp->st_dev)},
406 { "gid", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_gid), sizeof(Sp->st_gid)},
407 { "ino", NV_LONG|NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_ino), sizeof(Sp->st_ino)},
408 { "mode", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_mode), sizeof(Sp->st_mode), make_mode},
409 { "mtime", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_mtime), sizeof(Sp->st_mtime), make_time},
411 { "nlink", NV_INTEGER|NV_RDONLY, offsetof(struct stat,st_nlin
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dsuid_exec.c95 static struct stat statb;
101 struct stat statx;
138 if(stat(tmpname,&statb) < 0 || statb.st_nlink != 1 ||
193 if(stat(p, &statx) < 0 ||
196 if(stat(THISPROG, &statx) < 0 ||
295 struct stat statb;
296 if (stat(name, &statb) == 0)
/osnet-11/usr/src/lib/cfgadm_plugins/sbd/common/
H A Dap_sbd.c40 #include <sys/stat.h>
148 if ((new_stat = realloc(a->stat, stsize)) == NULL) {
153 a->stat = new_stat;
163 sc->s_statp = (caddr_t)a->stat;
249 st = (sbd_stat_t *)a->stat;
252 * Set the component count to the returned stat count.
339 s_free(a->stat);
402 st = (sbd_stat_t *)a->stat;
471 dst = ((sbd_stat_t *)a->stat)->s_stat;
494 sbd_stat_t *stat; local
575 sbd_stat_t *stat; local
[all...]
/osnet-11/usr/src/lib/libproc/common/
H A Dpr_stat.c33 #include <sys/stat.h>
40 * in case of 64-bit *stat() and *stat64 library call and 32-bit subject
41 * process convert 64-bit struct stat/stat64 into 32-bit struct stat64
44 stat64_32_to_n(struct stat64_32 *src, struct stat *dest)
66 * stat() system call -- executed by subject process
69 pr_stat(struct ps_prochandle *Pr, const char *path, struct stat *buf)
71 sysret_t rval; /* return value from stat() */
81 return (stat(path, buf));
144 pr_lstat(struct ps_prochandle *Pr, const char *path, struct stat *buf)
146 sysret_t rval; /* return value from stat() */
[all...]
/osnet-11/usr/src/lib/libfuse/common/
H A Dfuse_uvfs.c23 #include <sys/stat.h>
133 struct stat statbuf;
204 fuse_uvfs_stat_convert(libuvfs_fs_t *fs, libuvfs_stat_t *stat, argument
205 struct stat *buf, libuvfs_fid_t *my_fid, libuvfs_fid_t *known_pfid)
209 stat->l_atime[0] = buf->st_atim.tv_sec;
210 stat->l_atime[1] = buf->st_atim.tv_nsec;
211 stat->l_mtime[0] = buf->st_mtim.tv_sec;
212 stat->l_mtime[1] = buf->st_mtim.tv_nsec;
213 stat->l_ctime[0] = buf->st_ctim.tv_sec;
214 stat
[all...]
H A Dfuse_compat.h20 int (*getattr) (const char *, struct stat *);
57 int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *);
79 int (*getattr) (const char *, struct stat *);
130 int (*getattr) (const char *, struct stat *);
178 int (*getattr) (const char *, struct stat *);
H A Dfuse.h40 #include <sys/stat.h>
61 * @param stat file attributes, can be NULL
66 const struct stat *stbuf, off_t off);
90 * Similar to stat(). The 'st_dev' and 'st_blksize' fields are
94 int (*getattr) (const char *, struct stat *);
380 int (*fgetattr) (const char *, struct stat *, struct fuse_file_info *);
609 int fuse_fs_getattr(struct fuse_fs *fs, const char *path, struct stat *buf);
610 int fuse_fs_fgetattr(struct fuse_fs *fs, const char *path, struct stat *buf,
/osnet-11/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dname.c441 OM_uint32 stat; local
467 stat = do_exported_netname(minor, input, output);
468 return (stat);
483 stat = do_netname_nametype(minor, name, output);
485 return (stat);
488 stat = do_hostbase_nametype(minor, name, output);
490 return (stat);
493 stat = do_username_nametype(minor, name, output);
495 return (stat);
/osnet-11/usr/src/lib/brand/solaris10/s10_brand/common/
H A Ds10_deleted.c33 #include <sys/stat.h>
51 int fd, const char *path, struct stat *sb, int flags)
58 s10_stat(sysret_t *rval, const char *path, struct stat *sb)
65 s10_lstat(sysret_t *rval, const char *path, struct stat *sb)
72 s10_fstat(sysret_t *rval, int filedes, struct stat *sb)
429 s10_xstat(sysret_t *rval, int version, const char *path, struct stat *statb)
443 s10_lxstat(sysret_t *rval, int version, const char *path, struct stat *statb)
457 s10_fxstat(sysret_t *rval, int version, int fd, struct stat *statb)
515 (const char *)arg2, (struct stat *)arg3, (int)arg4));
/osnet-11/usr/src/lib/libdevid/
H A Ddeviceid.c36 #include <sys/stat.h>
52 struct stat statb;
92 struct stat statb;
134 struct stat statb;
138 /* stat and get the devt for char or block */
139 if ((stat(path, &statb) == 0) &&
/osnet-11/usr/src/lib/efcode/fcdriver/
H A Dload_node.c32 #include <sys/stat.h>
70 struct stat statb;
138 struct stat buf;
141 if (stat(path, &buf)) {
142 debug_msg(DEBUG_FIND_FCODE, "stat failed\n");
156 struct stat statb;
/osnet-11/usr/src/lib/libnisdb/
H A Dldap_map.c28 #include <sys/stat.h>
201 int stat; local
206 ldapStat = &stat;
1420 int stat, osize, n, numMatches = 0; local
1509 stat = ldapModify(dn, rv, t->objectDN->write.attrs, 1);
1519 "%s: %s (%s)", myself, NIL(t->objName), ldap_err2string(stat));
1521 if (stat != LDAP_SUCCESS)
1528 return (stat);
1550 int i, j, nfc, nrv, blen, stat = LDAP_SUCCESS; local
1663 rv = ldapSearch(ls, &nrv, 0, &stat);
1721 int n, stat, numMatches = 0; local
[all...]
/osnet-11/usr/src/lib/cfgadm_plugins/ac/common/
H A Dmema.c269 "memory stat failed: %s",
462 ac_stat_t stat; local
490 mema_cmd_init(&cmd, &stat, outputstr, 0);
494 dump_ioctl_res(AC_MEM_STAT, &stat, ret, ret_errno);
508 *stp = stat;
512 bkp->board = stat.board;
591 ac_stat_t stat; local
600 ret = ap_stat(bank_spec, &fd, &bk, &stat, errstring);
605 if (stat.rstate != SYSC_CFGA_RSTATE_CONNECTED ||
606 stat
667 ac_stat_t stat; local
768 ac_stat_t stat; local
1095 ac_stat_t stat; local
1387 ac_stat_t stat; local
[all...]
/osnet-11/usr/src/lib/libntfs/common/include/ntfs/
H A Ddevice.h80 struct stat;
98 int (*stat)(struct ntfs_device *dev, struct stat *buf); member in struct:ntfs_device_operations
/osnet-11/usr/src/grub/grub2/util/
H A Ddeviceiter.c28 #include <sys/stat.h>
154 struct stat st;
155 return stat ("/dev/.devfsd", &st) == 0;
449 struct stat st;
529 struct stat sb;
550 if (stat(fullpath, &sb) < 0)
576 if (stat(fullpath, &sb) < 0)
602 if (stat(fullpath, &sb) < 0)
665 struct stat st;
668 if (stat (nam
[all...]
/osnet-11/usr/src/cmd/sendmail/include/libsmdb/
H A Dsmdb.h19 # include <sys/stat.h>
353 SMDB_USER_INFO *, struct stat *));
357 struct stat *));
/osnet-11/usr/src/cmd/sendmail/libsmutil/
H A Dsafefile.c34 ** st -- if set, points to a stat structure that will
35 ** get the stat info for the file.
53 struct stat *st;
59 struct stat stbuf;
60 struct stat fstbuf;
84 : stat(fn, st)) < 0)
86 if (stat(fn, st) < 0)
147 /* Need lstat() information if called stat() before */
205 if (stat(dir, &stbuf) >= 0)
354 sm_dprintf("\t[uid %d, nlink %d, stat
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c289 int stat; local
300 stat = xdr_authsys_parms(&xdrs, &aup);
301 if (!stat)
309 stat = xdr_authsys_parms(&xdrs, &aup);
310 if (!stat)
319 return (stat);

Completed in 63 milliseconds

1234567891011>>