Searched refs:curpps (Results 1 - 4 of 4) sorted by relevance

/xnu-2782.1.97/bsd/security/audit/
H A Daudit_bsd.c599 _audit_ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) argument
613 * we do increment *curpps even in *curpps < maxpps case, as some may
614 * try to use *curpps for stat purposes as well.
619 *curpps = 0;
623 else if (*curpps < maxpps)
627 if (*curpps + 1 > 0)
628 *curpps = *curpps + 1;
H A Daudit_bsd.h323 int _audit_ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps);
/xnu-2782.1.97/bsd/kern/
H A Dkern_time.c757 ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps) argument
771 * we do increment *curpps even in *curpps < maxpps case, as some may
772 * try to use *curpps for stat purposes as well.
777 *curpps = 0;
781 else if (*curpps < maxpps)
788 if (*curpps + 1 > 0)
789 *curpps = *curpps + 1;
798 *curpps
[all...]
/xnu-2782.1.97/bsd/sys/
H A Dtime.h211 int ppsratecheck(struct timeval *lasttime, int *curpps, int maxpps);

Completed in 73 milliseconds