Searched refs:stat (Results 1 - 25 of 181) sorted by relevance

12345678

/barrelfish-2018-10-04/lib/posixcompat/
H A Dposixcompat.h16 struct stat;
18 void _posixcompat_vfs_info_to_stat(struct vfs_fileinfo *info, struct stat *buf);
H A Dmkfifo.c1 #include <sys/stat.h>
H A Dumask.c10 #include <sys/stat.h>
H A Dstat.c13 #include <sys/stat.h>
19 void _posixcompat_vfs_info_to_stat(struct vfs_fileinfo *info, struct stat *buf)
21 memset(buf, 0, sizeof(struct stat));
34 int stat(const char *pathname, struct stat *buf) function
53 POSIXCOMPAT_DEBUG("stat('%s') failed\n", pathname);
60 POSIXCOMPAT_DEBUG("stat('%s')\n", pathname);
68 DEBUG_ERR(err, "stat('%s') failed\n", pathname);
80 int lstat(const char *path, struct stat *buf)
83 return stat(pat
[all...]
H A Dfstat.c12 #include <sys/stat.h>
18 int fstat(int fd, struct stat *buf)
H A Dmkdir.c10 #include <sys/stat.h>
H A Drename.c17 #include <sys/stat.h>
32 struct stat oldstat, newstat;
33 int r = stat(old, &oldstat);
37 r = stat(new, &newstat);
/barrelfish-2018-10-04/lib/libc/gen/
H A Dftok.c32 #include <sys/stat.h>
38 struct stat st;
40 if (stat(path, &st) < 0)
H A Dctermid.c31 #include <sys/stat.h>
45 struct stat sb;
58 if (stat(_PATH_TTY, &sb) == 0 && S_ISCHR(sb.st_mode))
/barrelfish-2018-10-04/include/
H A Dftw.h29 #include <sys/stat.h>
39 #define FTW_NS 4 /* Unknown type; stat() failed. */
57 int ftw(const char *, int (*)(const char *, const struct stat *, int), int);
58 int nftw(const char *, int (*)(const char *, const struct stat *, int,
H A Dglob.h47 struct stat;
59 * versions of closedir(3), readdir(3), opendir(3), stat(2)
65 int (*gl_lstat)(const char *, struct stat *);
66 int (*gl_stat)(const char *, struct stat *);
/barrelfish-2018-10-04/lib/libc/stdio/
H A Dremove.c40 #include <sys/stat.h>
47 struct stat sb;
/barrelfish-2018-10-04/tools/tracing/
H A Danalyze_traces.py357 def add_packet_stat(pkt, stat):
358 stat['PKTS'] = stat['PKTS'] + 1
362 if stat['PKTS'] == 1 :
363 stat['PLIFE_SUM'] = lifetime
364 stat['PLIFE_MAX'] = lifetime
365 stat['PLIFE_MIN'] = lifetime
367 stat['PLIFE_SUM'] = stat['PLIFE_SUM'] + lifetime
368 if lifetime < stat['PLIFE_MI
[all...]
/barrelfish-2018-10-04/usr/drivers/solarflair/sfxge/common/
H A Dsiena_mac.c348 __out_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat,
365 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
367 EFSYS_STAT_SUBR_QWORD(&(stat[EFX_MAC_TX_PKTS]), &value);
370 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_PAUSE_PKTS]), &value);
373 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_UNICST_PKTS]), &value);
376 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_MULTICST_PKTS]), &value);
379 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_BRDCST_PKTS]), &value);
382 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_OCTETS]), &value);
385 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LE_64_PKTS]), &value);
387 EFSYS_STAT_SET_QWORD(&(stat[EFX_MAC_TX_LE_64_PKT
345 siena_mac_stats_update( __in efx_nic_t *enp, __in efsys_mem_t *esmp, __out_ecount(EFX_MAC_NSTATS) efsys_stat_t *stat, __out_opt uint32_t *generationp) argument
[all...]
/barrelfish-2018-10-04/lib/libc/rpc/
H A Dcrypt_client.c53 int stat; local
87 stat = result_1->stat;
89 if (result_1->stat == DESERR_NONE ||
90 result_1->stat == DESERR_NOHWDEVICE) {
98 return(stat);
H A Dsvc_auth_unix.c61 enum auth_stat stat; local
88 stat = AUTH_BADCRED;
99 stat = AUTH_BADCRED;
113 stat = AUTH_BADCRED;
119 stat = AUTH_BADCRED;
135 stat = AUTH_OK;
138 return (stat);
/barrelfish-2018-10-04/lib/libc/db/test/hash.tests/
H A Dtread2.c65 int stat; local
92 stat = (dbp->get)(dbp, &key, &res,0);
93 if (stat < 0) {
96 } else if ( stat > 0 ) {
H A Dtseq.c62 int stat; local
73 for ( stat = (dbp->seq) (dbp, &res, &item, 1 );
74 stat == 0;
75 stat = (dbp->seq) (dbp, &res, &item, 0 ) ) {
H A Dtverify.c66 int stat; local
91 stat = (dbp->get)(dbp, &key, &res,0);
92 if (stat < 0) {
95 } else if ( stat > 0 ) {
H A Dthash4.c65 int stat; local
115 stat = (dbp->get)(dbp, &key, &res, 0);
116 if (stat < 0 ) {
120 } else if ( stat > 0 ) {
H A Dtdel.c63 int stat; local
110 stat = (dbp->del)(dbp, &key, 0);
111 if (stat) {
/barrelfish-2018-10-04/lib/openssl-1.0.0d/crypto/rand/
H A Drandfile.c79 # include <sys/stat.h>
83 #define stat _stat macro
113 struct stat sb;
122 /* struct stat can have padding and unused fields that may not be
123 * initialized in the call to stat(). We need to clear the entire
129 if (stat(file,&sb) < 0) return(0);
184 struct stat sb;
186 i=stat(file,&sb);
273 struct stat sb;
307 * seen on a stat, w
[all...]
/barrelfish-2018-10-04/tools/fastmodels/
H A Dtest_mkmb.c2 #include <sys/stat.h>
37 struct stat stat; local
38 if(fstat(fileno(file), &stat) < 0) fail("stat");
40 char *buf= malloc(stat.st_size);
43 if(fread(buf, 1, stat.st_size, file) != stat.st_size) fail("fread");
47 *length= stat.st_size;
/barrelfish-2018-10-04/lib/libc/xdr/
H A Dxdr_array.c80 bool_t stat = TRUE; local
121 for (i = 0; (i < c) && stat; i++) {
122 stat = (*elproc)(xdrs, target);
133 return (stat);
H A Dxdr_reference.c77 bool_t stat; local
97 stat = (*proc)(xdrs, loc);
103 return (stat);

Completed in 237 milliseconds

12345678