Lines Matching refs:cons
127 printflags(struct consumer *cons)
131 assert(cons);
133 if ((cons->uflags & uflags[i].flag) != 0)
136 if ((cons->flags & fflags[i].flag) != 0)
288 struct consumer *cons;
326 STAILQ_FOREACH(cons, &reqfiles[i].consumers, next)
327 if (cons->pid == kp->ki_pid) {
332 cons->flags |= fst->fs_fflags;
333 cons->uflags |= fst->fs_uflags;
338 cons = calloc(1, sizeof(struct consumer));
339 if (cons == NULL) {
343 cons->uid = kp->ki_uid;
344 cons->pid = kp->ki_pid;
345 cons->uflags = fst->fs_uflags;
346 cons->flags = fst->fs_fflags;
347 STAILQ_INSERT_TAIL(&reqfiles[i].consumers, cons, next);