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

12345

/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dhost.c293 register vm_statistics_t stat; local
301 stat = &PROCESSOR_DATA(processor, vm_stat);
302 host_vm_stat = *stat;
308 stat = &PROCESSOR_DATA(processor, vm_stat);
310 host_vm_stat.zero_fill_count += stat->zero_fill_count;
311 host_vm_stat.reactivations += stat->reactivations;
312 host_vm_stat.pageins += stat->pageins;
313 host_vm_stat.pageouts += stat->pageouts;
314 host_vm_stat.faults += stat->faults;
315 host_vm_stat.cow_faults += stat
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/sys/
H A Dstat.h66 * @(#)stat.h 8.9 (Berkeley) 8/17/94
155 * The old stat structure. In fact, this is not used by the kernel at all,
200 * lstat64(), and stat64() functions, and for struct stat when
205 * This is simillar to stat except for 64bit inode number
228 * lstat(), and stat() functions.
232 struct stat __DARWIN_STRUCT_STAT64;
236 struct stat { struct
279 /* LP64 version of struct stat. time_t (see timespec) is a long and must
281 * WARNING - keep in sync with struct stat
313 extern void munge_stat(struct stat *sb
524 int stat(const char *, struct stat *) __DARWIN_INODE64(stat); variable
[all...]
H A Dmman.h242 struct stat;
H A DMakefile45 select.h sem.h semaphore.h shm.h signal.h signalvar.h socket.h socketvar.h sockio.h stat.h \
81 select.h signal.h socket.h socketvar.h sockio.h stat.h \
/macosx-10.5.8/xnu-1228.15.4/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.c226 struct ipsecstat *stat; local
236 stat = &ipsecstat;
242 stat = &ipsec6stat;
483 IPSEC_STAT_INCREMENT(stat->out_inval);
668 IPSEC_STAT_INCREMENT(stat->out_inval);
682 IPSEC_STAT_INCREMENT(stat->out_inval);
719 IPSEC_STAT_INCREMENT(stat->out_inval);
789 stat->out_success++;
790 stat->out_esphist[sav->alg_enc]++;
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dbsd_init.c735 vm_statistics_data_t stat; local
741 (host_info_t)&stat,
756 stat.free_count,
757 stat.active_count,
758 stat.inactive_count,
759 stat.wire_count,
760 stat.faults,
761 stat.cow_faults,
762 stat.zero_fill_count,
763 stat
[all...]
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 && procp && !(so->so_flags & SOF_NOSIGPIPE))
184 return (stat);
442 struct stat *sb = (struct stat *)
[all...]
H A Dpthread_support.c61 #include <sys/stat.h>
H A Dposix_shm.c56 #include <sys/stat.h>
67 #include <sys/stat.h>
699 struct stat *sb = (struct stat *)0; /* warning avoidance ; protected by isstat64 */
728 sb = (struct stat *)ub;
729 bzero(sb, sizeof(struct stat));
/macosx-10.5.8/xnu-1228.15.4/bsd/hfs/
H A Dhfs_notification.c33 #include <sys/stat.h>
/macosx-10.5.8/xnu-1228.15.4/tools/
H A Dcred_dump_backtraces.c14 #include <sys/stat.h>
H A Dcred_dump_creds.c13 #include <sys/stat.h>
/macosx-10.5.8/xnu-1228.15.4/tools/tests/xnu_quick_test/
H A Dmisc.c49 struct stat my_sb;
50 my_err = stat( the_pathp, &my_sb );
85 struct stat my_sb;
98 my_err = stat( my_pathp, &my_sb );
H A Dmain.c48 #include <sys/stat.h>
68 {1, &link_stat_unlink_test, NULL, "link, stat, unlink"},
94 {1, &rename_test, NULL, "rename, stat"},
135 struct stat my_stat_buf;
154 err = stat( g_cmd_namep, &my_stat_buf );
157 printf( "stat call on our executable failed - \"%s\" \n", g_cmd_namep );
180 err = stat( my_targetp, &my_stat_buf );
184 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
H A Dtests.c132 struct stat my_sb;
135 my_err = stat( &g_target_path[0], &my_sb );
137 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
189 struct stat my_sb;
412 my_err = stat( my_pathp, &my_sb );
414 printf( "stat call failed with error %d - \"%s\" \n", errno, strerror( errno) );
451 struct stat my_sb;
619 * Test link, stat and unlink system calls.
630 struct stat my_sb;
659 my_err = stat( my_path
[all...]
H A Dtests.h40 #include <sys/stat.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Din_pcb.c1451 int stat; local
1479 stat = in_pcballoc(&pcbinfo->nat_dummy_socket, pcbinfo, p);
1480 if (stat) {
1482 return stat;
1507 stat = in_pcballoc(&pcbinfo->nat_dummy_socket, pcbinfo, p);
1508 if (stat) {
1510 return stat;
1523 stat = in_pcbbind((struct inpcb *) pcbinfo->nat_dummy_socket.so_pcb,
1525 if (stat) {
1528 return stat;
1788 int stat; local
[all...]
H A Dudp_usrreq.c247 stat = in_pcb_new_share_client(&udbinfo, &fake_owner);
248 kprintf("udp_init in_pcb_new_share_client - stat = %d\n", stat);
255 kprintf("udp_init in_pcb_grab_port - stat = %d\n", stat);
257 stat = in_pcb_rem_share_client(&udbinfo, fake_owner);
258 kprintf("udp_init in_pcb_rem_share_client - stat = %d\n", stat);
260 stat = in_pcb_new_share_client(&udbinfo, &fake_owner);
261 kprintf("udp_init in_pcb_new_share_client(2) - stat
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/man/man2/
H A DMakefile180 stat.2 \
/macosx-10.5.8/xnu-1228.15.4/bsd/net/
H A Dif_gif.c219 errno_t stat; local
224 stat = ifnet_attach_protocol(ifp, protocol_family, &reg);
225 if (stat && stat != EEXIST) {
230 return stat;
H A Dif_stf.c220 errno_t stat; local
229 stat = ifnet_attach_protocol(ifp, protocol_family, &reg);
230 if (stat && stat != EEXIST) {
235 return stat;
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A Dhw_lock.s917 bf MUTEX_ATTR_STATb,mlckestatskip ; Branch if no stat
919 li r7,GRP_MTX_STAT_UTIL+4 ; Set stat util offset
921 lwarx r8,r7,r5 ; Load stat util cnt
922 addi r8,r8,1 ; Increment stat util cnt
923 stwcx. r8,r7,r5 ; Store stat util cnt
926 bne++ mlckestatskip ; Did stat util cnt wrapped?
927 lwz r8,GRP_MTX_STAT_UTIL(r5) ; Load upper stat util cnt
928 addi r8,r8,1 ; Increment upper stat util cnt
929 stw r8,GRP_MTX_STAT_UTIL(r5) ; Store upper stat util cnt
1066 bf MUTEX_ATTR_STATb,mlStatSkip ; Branch if no stat
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/vfs/
H A Dvfs_support.h51 #include <sys/stat.h>
/macosx-10.5.8/xnu-1228.15.4/bsd/netat/
H A Dsys_glue.c421 int stat; local
424 stat = _ATrw(fp, UIO_READ, uio, ctx);
426 return stat;
435 int stat; local
438 stat = _ATrw(fp, UIO_WRITE, uio, ctx);
441 return stat;

Completed in 168 milliseconds

12345