Lines Matching refs:options
167 getids(register char* s, char** e, Key_t* key, int options)
181 options |= OPT_CHOWN;
186 if (options & OPT_CHOWN)
191 if (*z || !(options & OPT_NUMERIC))
211 if (*z || !(options & OPT_NUMERIC))
227 register int options = 0;
260 options |= OPT_CHOWN;
263 if (options & OPT_CHOWN)
281 options |= OPT_VERBOSE;
284 options |= OPT_FORCE;
287 options |= OPT_LCHOWN;
297 options |= OPT_SHOW;
300 options |= OPT_NUMERIC;
307 options |= OPT_UID|OPT_GID;
310 options |= OPT_UNMAPPED;
330 options |= OPT_TEST;
346 if (options & OPT_LCHOWN)
362 getids(s, &t, &key, options);
371 getids(t, NiL, &m->to, options);
377 else if (!(options & (OPT_UID|OPT_GID)))
379 getids(s, NiL, &key, options);
381 options |= OPT_UID;
383 options |= OPT_GID;
385 switch (options & (OPT_UID|OPT_GID))
414 options &= ~(OPT_UID|OPT_GID);
426 options |= OPT_UID;
431 options |= OPT_GID;
438 if (!(options & OPT_UID))
440 if (!(options & OPT_GID))
443 if ((options & OPT_UNMAPPED) && (uid == NOID || gid == NOID))
454 if ((ent->fts_info & FTS_SL) && (flags & FTS_PHYSICAL) && (options & OPT_LCHOWN))
464 if (options & (OPT_SHOW|OPT_VERBOSE))
466 if (options & OPT_TEST)
473 if (!(options & OPT_SHOW) && (*chownf)(ent->fts_accpath, uid, gid) && !(options & OPT_FORCE))
478 if (!(options & OPT_FORCE))
482 if (!(options & OPT_FORCE))
486 if (!(options & OPT_FORCE))
490 if (!(options & OPT_FORCE))