Lines Matching refs:pt

106 	USRT *pt;
147 if ((pt = usrtb[indx]) != NULL) {
148 while (pt != NULL) {
149 if (pt->uid == uid)
151 pt = pt->fow;
158 if ((pt = (USRT *)malloc(sizeof(USRT))) != NULL) {
159 pt->uid = uid;
160 pt->fow = usrtb[indx];
161 usrtb[indx] = pt;
178 USRT *pt;
183 pt = usrtb[((unsigned)arcn->sb.st_uid) % USR_TB_SZ];
184 while (pt != NULL) {
185 if (pt->uid == arcn->sb.st_uid)
187 pt = pt->fow;
207 GRPT *pt;
248 if ((pt = grptb[indx]) != NULL) {
249 while (pt != NULL) {
250 if (pt->gid == gid)
252 pt = pt->fow;
259 if ((pt = (GRPT *)malloc(sizeof(GRPT))) != NULL) {
260 pt->gid = gid;
261 pt->fow = grptb[indx];
262 grptb[indx] = pt;
279 GRPT *pt;
284 pt = grptb[((unsigned)arcn->sb.st_gid) % GRP_TB_SZ];
285 while (pt != NULL) {
286 if (pt->gid == arcn->sb.st_gid)
288 pt = pt->fow;
329 TIME_RNG *pt;
373 if ((pt = (TIME_RNG *)malloc(sizeof(TIME_RNG))) == NULL) {
383 pt->flgs = CMPMTME;
385 pt->flgs = 0;
390 pt->flgs |= CMPMTME;
394 pt->flgs |= CMPCTME;
399 free(pt);
409 pt->low_time = pt->high_time = time(NULL);
414 if (str_sec(str, &(pt->low_time)) < 0) {
416 free(pt);
419 pt->flgs |= HASLOW;
426 if (str_sec(up_pt, &(pt->high_time)) < 0) {
428 free(pt);
431 pt->flgs |= HASHIGH;
436 if (pt->flgs & HASLOW) {
437 if (pt->low_time > pt->high_time) {
440 free(pt);
446 pt->fow = NULL;
448 trtail = trhead = pt;
451 trtail->fow = pt;
452 trtail = pt;
470 TIME_RNG *pt;
476 pt = trhead;
477 while (pt != NULL) {
478 switch(pt->flgs & CMPBOTH) {
484 if (((pt->flgs & HASLOW) &&
485 (arcn->sb.st_mtime < pt->low_time) &&
486 (arcn->sb.st_ctime < pt->low_time)) ||
487 ((pt->flgs & HASHIGH) &&
488 (arcn->sb.st_mtime > pt->high_time) &&
489 (arcn->sb.st_ctime > pt->high_time))) {
490 pt = pt->fow;
498 if (((pt->flgs & HASLOW) &&
499 (arcn->sb.st_ctime < pt->low_time)) ||
500 ((pt->flgs & HASHIGH) &&
501 (arcn->sb.st_ctime > pt->high_time))) {
502 pt = pt->fow;
511 if (((pt->flgs & HASLOW) &&
512 (arcn->sb.st_mtime < pt->low_time)) ||
513 ((pt->flgs & HASHIGH) &&
514 (arcn->sb.st_mtime > pt->high_time))) {
515 pt = pt->fow;
523 if (pt == NULL)