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

12345

/darwin-on-arm/xnu/tools/tests/libMicro/apple/
H A Dlmbench_stat.c43 #include <sys/stat.h>
59 " [-f file-to-stat (default %s)]\n"
60 "notes: measures stat()\n",
84 struct stat sbuf;
99 if (stat(optf, &sbuf) == -1)
H A Dlmbench_fstat.c39 #include <sys/stat.h>
65 " [-f file-to-stat (default %s)]\n"
109 struct stat sbuf;
H A Dlmbench_openclose.c39 #include <sys/stat.h>
56 " [-f file-to-stat (default %s)]\n"
57 "notes: measures stat()\n",
/darwin-on-arm/xnu/tools/tests/libMicro/
H A Dstat.c35 #include <sys/stat.h>
51 " [-f file-to-stat (default %s)]\n"
52 "notes: measures stat()\n",
76 struct stat sbuf;
81 if (stat(optf, &sbuf) == -1)
H A DMakefile.benchmarks99 stat \
/darwin-on-arm/xnu/osfmk/kern/
H A Dhost.c301 register vm_statistics64_t stat; local
310 stat = &PROCESSOR_DATA(processor, vm_stat);
311 host_vm_stat = *stat;
317 stat = &PROCESSOR_DATA(processor, vm_stat);
319 host_vm_stat.zero_fill_count += stat->zero_fill_count;
320 host_vm_stat.reactivations += stat->reactivations;
321 host_vm_stat.pageins += stat->pageins;
322 host_vm_stat.pageouts += stat->pageouts;
323 host_vm_stat.faults += stat->faults;
324 host_vm_stat.cow_faults += stat
484 register vm_statistics64_t stat; local
[all...]
/darwin-on-arm/xnu/bsd/netinet6/
H A Dipcomp_output.c122 struct ipsecstat *stat; local
128 stat = &ipsecstat;
134 stat = &ipsec6stat;
145 IPSEC_STAT_INCREMENT(stat->out_inval);
190 IPSEC_STAT_INCREMENT(stat->out_inval);
212 IPSEC_STAT_INCREMENT(stat->out_inval);
216 IPSEC_STAT_INCREMENT(stat->out_comphist[sav->alg_enc]);
328 IPSEC_STAT_INCREMENT(stat->out_inval);
330 IPSEC_STAT_INCREMENT(stat->out_success);
H A Desp_output.c254 struct ipsecstat *stat; local
264 stat = &ipsecstat;
270 stat = &ipsec6stat;
511 IPSEC_STAT_INCREMENT(stat->out_inval);
696 IPSEC_STAT_INCREMENT(stat->out_inval);
710 IPSEC_STAT_INCREMENT(stat->out_inval);
747 IPSEC_STAT_INCREMENT(stat->out_inval);
817 stat->out_success++;
818 stat->out_esphist[sav->alg_enc]++;
/darwin-on-arm/xnu/bsd/sys/
H A Dstat.h66 * @(#)stat.h 8.9 (Berkeley) 8/17/94
156 * The old stat structure. In fact, this is not used by the kernel at all,
201 * lstat64(), and stat64() functions, and for struct stat when
206 * This is simillar to stat except for 64bit inode number
229 * lstat(), and stat() functions.
233 struct stat __DARWIN_STRUCT_STAT64;
237 struct stat { struct
281 /* LP64 version of struct stat. time_t (see timespec) is a long and must
283 * WARNING - keep in sync with struct stat
315 /* ILP32 version of struct stat
596 int stat(const char *, struct stat *) __DARWIN_INODE64(stat); variable
[all...]
H A Dmman.h247 struct stat;
/darwin-on-arm/xnu/libsyscall/wrappers/unix03/
H A Dchmod.c29 #include <sys/stat.h>
H A Dfchmod.c29 #include <sys/stat.h>
/darwin-on-arm/xnu/bsd/kern/
H A Dsys_socket.c78 #include <sys/stat.h>
120 int stat; local
143 stat = (*fsoreceive)(so, 0, uio, 0, 0, 0);
144 return (stat);
153 int stat; local
177 stat = (*fsosend)(so, 0, uio, 0, 0, 0);
181 if (stat == EPIPE && !(so->so_flags & SOF_NOSIGPIPE))
184 return (stat);
423 struct stat *sb = (struct stat *)
[all...]
H A Dsysv_ipc.c63 #include <sys/stat.h> /* mode constants */
/darwin-on-arm/xnu/tools/
H A Dcred_dump_backtraces.c14 #include <sys/stat.h>
H A Dcred_dump_creds.c13 #include <sys/stat.h>
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/
H A Dmisc.c50 struct stat my_sb;
51 my_err = stat( the_pathp, &my_sb );
86 struct stat my_sb;
101 my_err = stat( my_pathp, &my_sb );
H A Dtests.c136 struct stat my_sb;
139 my_err = stat( &g_target_path[0], &my_sb );
141 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
193 struct stat my_sb;
417 my_err = stat( my_pathp, &my_sb );
419 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
456 struct stat my_sb;
625 * Test link, stat and unlink system calls.
636 struct stat my_sb;
667 my_err = stat( my_path
[all...]
H A Dmain.c50 #include <sys/stat.h>
73 {1, &link_stat_unlink_test, NULL, "link, stat, unlink"},
102 {1, &rename_test, NULL, "rename, stat"},
165 struct stat my_stat_buf;
184 err = stat( g_cmd_namep, &my_stat_buf );
187 printf( "stat call on our executable failed - \"%s\" \n", g_cmd_namep );
210 err = stat( my_targetp, &my_stat_buf );
214 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
/darwin-on-arm/xnu/SETUP/setsegname/
H A Dsetsegname.c36 #include <sys/stat.h>
75 struct stat stat_buf;
/darwin-on-arm/xnu/bsd/hfs/
H A Dhfs_notification.c33 #include <sys/stat.h>
/darwin-on-arm/xnu/bsd/net/
H A Dif_gif.c223 errno_t stat; local
228 stat = ifnet_attach_protocol(ifp, protocol_family, &reg);
229 if (stat && stat != EEXIST) {
234 return stat;
H A Dif_stf.c264 errno_t stat; local
273 stat = ifnet_attach_protocol(ifp, protocol_family, &reg);
274 if (stat && stat != EEXIST) {
279 return stat;
/darwin-on-arm/xnu/SETUP/md/
H A Dmd.c77 #include <sys/stat.h>
119 struct stat makstat; /* stat of makefile for time comparisons */
241 fprintf(stderr, "%s: makefile \"%s\" can not be opened or stat'ed\n",
277 struct stat statbuf;
290 perror("stat");
510 perror("stat");
/darwin-on-arm/xnu/bsd/man/man2/
H A DMakefile198 stat.2 \

Completed in 81 milliseconds

12345