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

1234567891011>>

/illumos-gate/usr/src/cmd/cron/
H A Dpermit.c30 #include <sys/stat.h>
40 struct stat globstat;
41 #define exists(file) (stat(file, &globstat) == 0)
/illumos-gate/usr/src/cmd/mail/
H A Dcksaved.c51 struct stat stbuf;
61 if ((stat(save, &stbuf) != 0) || (stbuf.st_size == 0))
70 if (stat(mail, &stbuf) != 0) {
/illumos-gate/usr/src/cmd/mesg/
H A Dmesg.c52 #include <sys/stat.h>
65 struct stat sbuf;
83 if (stat(tty, &sbuf) < 0)
84 error("cannot stat");
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drwall_subr.c51 #include <sys/stat.h>
67 struct stat wall;
86 rval = stat(WALL_PROG, &wall);
/illumos-gate/usr/src/cmd/sendmail/db/os/
H A Dos_fid.c16 #include <sys/stat.h>
39 struct stat sb;
53 if (stat(fname, &sb)) {
/illumos-gate/usr/src/cmd/acct/
H A Daccton.c40 #include <sys/stat.h>
80 struct stat stbuf;
81 struct stat *s = &stbuf;
/illumos-gate/usr/src/cmd/srptsvc/
H A Dsrptsvc.c29 #include <sys/stat.h>
52 struct stat statbuf;
79 if ((stat("/devices/ib", &statbuf)) != 0) {
/illumos-gate/usr/src/uts/common/rpc/
H A Dxdr_refer.c71 bool_t stat; local
88 stat = (*proc)(xdrs, loc, LASTUNSIGNED);
94 return (stat);
/illumos-gate/usr/src/lib/libast/common/include/
H A Dglob.h35 struct stat;
74 /* gnu extensions -- but how do you synthesize dirent and stat? */
79 int (*gl_stat)(const char*, struct stat*);
80 int (*gl_lstat)(const char*, struct stat*);
/illumos-gate/usr/src/cmd/oamuser/user/
H A Dmovedir.c37 #include <sys/stat.h>
58 struct stat statbuf;
85 if (stat(from, &statbuf) == 0) {
/illumos-gate/usr/src/lib/libcmdutils/
H A Dlibcmdutils.h57 #include <sys/stat.h>
94 struct stat *, struct stat *);
/illumos-gate/usr/src/lib/libnisdb/
H A Dnis_db.cc615 int stat; local
645 stat = objFromLDAP(t, &o, 0, 0);
648 *statP = stat;
659 db_status stat = DB_SUCCESS; local
663 o = dbFindObject(name, &stat);
666 if (stat != DB_NOTFOUND)
669 myself, stat, NIL(name));
683 *statP = stat;
697 db_status stat; local
717 o = dbFindObject(objName, &stat);
776 db_status stat; local
881 db_status stat; local
1279 int stat = LDAP_SUCCESS; local
1865 db_status stat; local
1877 db_status stat; local
1888 db_status stat; local
1896 db_status stat; local
[all...]
/illumos-gate/usr/src/uts/common/rpcsvc/
H A Dnlm_prot.x80 union nlm_testrply switch (nlm_stats stat) {
88 nlm_stats stat;
93 nlm_stat stat;
98 nlm_testrply stat;
176 nlm_stats stat;
231 union nlm4_testrply switch (nlm4_stats stat) {
239 nlm4_stats stat;
244 nlm4_stat stat;
249 nlm4_testrply stat;
304 nlm4_stats stat;
[all...]
/illumos-gate/usr/src/lib/lvm/libsvm/common/
H A Dmetaconf.c30 #include <sys/stat.h>
135 struct stat statb_dev;
136 struct stat statb_edev;
171 * stat /devices to see if it's a devfs based file system
178 if (stat("/devices", &statb_dev) != 0) {
189 * and stat that into statb_dev
191 if (stat(strstr(linkpath, "/devices"),
196 if (stat(targname, &statb_dev) != 0) {
210 if (stat(edevname, &statb_edev) != 0) {
/illumos-gate/usr/src/lib/gss_mechs/mech_dh/backend/mech/
H A Dcontext_establish.c259 OM_uint32 stat; local
331 if ((stat = __verify_sig(token, DH_MECH_QOP, keys, sig)) ==
348 return (stat);
380 OM_uint32 stat; local
417 stat = validate_cred(dhctx, minor,
419 if (stat != GSS_S_COMPLETE)
420 return (stat);
441 stat = GSS_S_DEFECTIVE_TOKEN;
453 stat = GSS_S_DEFECTIVE_TOKEN;
461 stat
596 int i, stat; local
908 OM_uint32 stat; local
[all...]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd_svc.c166 int stat; local
210 stat = parseConfig(NULL, NTOL_MAP_FILE);
211 if (stat == 1) {
213 } else if (stat != 0) {
256 stat = parseConfig(NULL, NTOL_MAP_FILE);
257 if (stat == 1) {
259 } else if (stat != 0) {
/illumos-gate/usr/src/cmd/fm/modules/sun4v/generic-mem/
H A Dgmem_main.c181 fmd_stat_t *stat = ((fmd_stat_t *)&sp->subr_stat) + i; local
183 (void) snprintf(stat->fmds_name,
184 sizeof (stat->fmds_name),
187 stat->fmds_type = FMD_TYPE_UINT64;
188 (void) snprintf(stat->fmds_desc,
189 sizeof (stat->fmds_desc),
192 (void) fmd_stat_create(hdl, FMD_STAT_NOALLOC, 1, stat);
/illumos-gate/usr/src/cmd/acctadm/
H A Dutils.c30 #include <sys/stat.h>
154 struct stat cur;
155 struct stat new;
163 stat(file, &new) != -1 && stat(name, &cur) != -1 &&
193 struct stat st;
196 if (stat(file, &st) != -1 && st.st_size != 0) {
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dnfsauth.c36 #include <sys/stat.h>
125 res.stat = NFSAUTH_DR_DECERR;
141 res.stat = NFSAUTH_DR_DECERR;
151 res.stat = NFSAUTH_DR_OKAY;
154 res.stat = NFSAUTH_DR_BADCMD;
181 res.stat = NFSAUTH_DR_EFAIL;
183 rbuf = (caddr_t)&res.stat;
/illumos-gate/usr/src/head/rpcsvc/
H A Dyp.x110 ypstat stat;
115 ypstat stat;
122 ypstat stat;
127 ypstat stat;
149 ypstat stat;
/illumos-gate/usr/src/lib/libast/common/path/
H A Dpathprobe.c63 struct stat st;
72 if ((vfs.f_flag & ST_NOSUID) && (stat(path, &st) || st.st_uid != getuid() && st.st_uid != geteuid()))
114 struct stat st;
115 struct stat ps;
142 if (pathpath(path, lib, "", PATH_ABSOLUTE) && !stat(path, &st) && (st.st_mode & S_IWUSR))
146 if (!pathpath(path, lib, "", PATH_ABSOLUTE|PATH_EXECUTE) || stat(path, &ps))
155 if (!stat(path, &st) && st.st_size && ptime < (unsigned long)st.st_mtime)
162 if (!stat(path, &st))
184 if (*path == '/' && pathexists(path, PATH_REGULAR|PATH_EXECUTE) && !stat(path, &ps))
201 if (op >= 0 && !stat(pat
[all...]
/illumos-gate/usr/src/uts/intel/io/drm/
H A Dradeon_irq.c77 u32 stat; local
83 stat = radeon_acknowledge_irqs(dev_priv, (RADEON_SW_INT_TEST_ACK |
85 if (!stat)
88 stat &= dev_priv->irq_enable_reg;
91 if (stat & RADEON_SW_INT_TEST) {
96 if (stat & (RADEON_CRTC_VBLANK_STAT | RADEON_CRTC2_VBLANK_STAT)) {
102 if (stat & RADEON_CRTC_VBLANK_STAT)
104 if (stat & RADEON_CRTC2_VBLANK_STAT)
106 } else if (((stat & RADEON_CRTC_VBLANK_STAT) &&
108 ((stat
[all...]
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dclnt_bcast.c106 enum clnt_stat stat = RPC_SUCCESS; /* Return status */ local
185 stat = RPC_CANTSEND;
191 stat = RPC_CANTSEND;
198 stat = RPC_NOBROADCAST;
207 stat = RPC_SYSTEMERROR;
221 stat = RPC_SYSTEMERROR; /* XXX */
234 stat = RPC_SYSTEMERROR;
245 if (stat == RPC_SUCCESS)
246 stat = RPC_UNKNOWNPROTO;
250 if (stat
[all...]
/illumos-gate/usr/src/lib/nsswitch/ad/common/
H A Dad_common.c38 #include <sys/stat.h>
226 int stat; local
242 stat = (*argp->str2ent)(be->buffer, be->buflen,
245 if (stat == NSS_STR_PARSE_SUCCESS) {
249 return ((nss_status_t)stat);
254 nss_status_t stat)
263 if (stat == NSS_STR_PARSE_SUCCESS) {
265 } else if (stat == NSS_STR_PARSE_PARSE) {
268 } else if (stat == NSS_STR_PARSE_ERANGE) {
427 nss_status_t stat; local
253 _nss_ad_sanitize_status(ad_backend_ptr be, nss_XbyY_args_t *argp, nss_status_t stat) argument
[all...]
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_reparse.c41 * Returns 0 and fills 'stat' with the proper status on
45 smb_reparse_stat(const char *path, uint32_t *stat) argument
47 struct stat statbuf;
53 *stat = SMB_REPARSE_NOTFOUND;
60 *stat = SMB_REPARSE_NOTREPARSE;
70 *stat = SMB_REPARSE_NOTREPARSE;
72 *stat = SMB_REPARSE_ISREPARSE;

Completed in 114 milliseconds

1234567891011>>