Lines Matching refs:pflags
78 static int print_jail(int pflags, int jflags);
79 static int special_print(int pflags, struct jailparam *param);
80 static void quoted_print(int pflags, char *name, char *value);
88 int c, i, jflags, jid, lastjid, pflags, spc;
96 pflags = jflags = jid = 0;
111 pflags = (pflags & ~(PRINT_SKIP | PRINT_VERBOSE)) |
115 pflags |= PRINT_JAIL_NAME;
118 pflags = (pflags & ~PRINT_VERBOSE) | PRINT_NAMEVAL;
121 pflags |= PRINT_QUOTED;
124 pflags = (pflags & ~(PRINT_HEADER | PRINT_VERBOSE)) |
128 pflags = (pflags &
145 if (pflags & (PRINT_HEADER | PRINT_NAMEVAL))
147 else if (pflags & PRINT_VERBOSE) {
166 pflags |= PRINT_DEFAULT;
167 if (pflags & PRINT_JAIL_NAME)
181 pflags &= ~PRINT_VERBOSE;
187 if (pflags & PRINT_SKIP) {
210 if (pflags & PRINT_VERBOSE) {
217 else if (pflags & PRINT_DEFAULT)
218 if (pflags & PRINT_JAIL_NAME)
224 else if (pflags & PRINT_HEADER) {
240 if (print_jail(pflags, jflags) < 0)
244 (lastjid = print_jail(pflags, jflags)) >= 0; )
380 print_jail(int pflags, int jflags)
395 if (pflags & PRINT_VERBOSE) {
420 } else if (pflags & PRINT_DEFAULT) {
421 if (pflags & PRINT_JAIL_NAME)
449 if ((pflags & PRINT_SKIP) &&
460 if (pflags & PRINT_NAMEVAL) {
492 if (!special_print(pflags, params + i))
493 quoted_print(pflags, params[i].jp_name, param_values[i]);
506 quoted_print(int pflags, char *name, char *value)
526 if (qc && pflags & PRINT_QUOTED)
531 if (qc && pflags & PRINT_QUOTED)
536 special_print(int pflags, struct jailparam *param)
550 if (pflags & PRINT_QUOTED)
552 else if (!(pflags & PRINT_NAMEVAL))