Lines Matching refs:uid_p
1402 uid_bcom(struct uid_blk *uid_p)
1406 uid_tp = uid_p->link;
1407 uid_p->high = uid_tp->high;
1408 uid_p->link = uid_tp->link;
1416 add_ublk(uid_t num, struct uid_blk *uid_p)
1427 uid_tp->link = uid_p->link;
1428 uid_p->link = uid_tp;
1450 struct uid_blk *uid_p;
1454 uid_p = uid_sp;
1456 while (uid_p != NULL) {
1458 if (uid_p->link != NULL) {
1460 if (uid >= uid_p->link->low)
1461 uid_p = uid_p->link;
1463 else if (uid >= uid_p->low &&
1464 uid <= uid_p->high) {
1465 uid_p = NULL;
1468 else if (uid == (uid_p->high+1)) {
1470 if (++uid_p->high ==
1471 (uid_p->link->low - 1)) {
1472 uid_bcom(uid_p);
1474 uid_p = NULL;
1477 else if (uid == (uid_p->link->low - 1)) {
1478 uid_p->link->low --;
1479 uid_p = NULL;
1482 else if (uid < uid_p->link->low) {
1483 add_ublk(uid, uid_p);
1484 uid_p = NULL;
1486 } /* if uid_p->link */
1490 if (uid == (uid_p->high + 1)) {
1491 uid_p->high++;
1492 uid_p = NULL;
1493 } else if (uid >= uid_p->low &&
1494 uid <= uid_p->high) {
1495 uid_p = NULL;
1497 add_ublk(uid, uid_p);
1498 uid_p = NULL;
1501 } /* while uid_p */