Lines Matching defs:disk
37 * and computes disk resource consumption by login
50 struct disk {
51 struct disk *next; /* next entry at same hash tbl index */
53 blkcnt_t dsk_du; /* disk usage */
62 static struct disk *usglist[MAXUSERS]; /* holds data on disk usg by uid */
65 static struct disk *hash_insert(uid_t);
66 static struct disk *hash_find(uid_t);
69 static void validate_entry(struct disk *, struct passwd *);
82 struct disk *entry;
137 static struct disk *
140 struct disk *curdisk;
143 if ((curdisk = malloc(sizeof (struct disk))) == NULL) {
157 * return the disk entry for given uid. return NULL if not found.
159 static struct disk *
162 struct disk *curdisk;
184 struct disk *entry;
200 * Initialize the disk entry for a valid passwd entry.
203 validate_entry(struct disk *entry, struct passwd *pw)
214 struct disk *entry;
271 struct disk *entry;