Lines Matching refs:options
157 getids(register char* s, char** e, Key_t* key, int options)
171 options |= OPT_CHOWN;
176 if (options & OPT_CHOWN)
181 if (*z || !(options & OPT_NUMERIC))
201 if (*z || !(options & OPT_NUMERIC))
222 register int options = 0;
255 options |= OPT_CHOWN;
258 if (options & OPT_CHOWN)
276 options |= OPT_VERBOSE;
279 options |= OPT_FORCE;
282 options |= OPT_LCHOWN;
292 options |= OPT_SHOW;
295 options |= OPT_NUMERIC;
302 options |= OPT_UID|OPT_GID;
305 options |= OPT_UNMAPPED;
325 options |= OPT_TEST;
341 if (options & OPT_LCHOWN)
357 getids(s, &t, &key, options);
366 getids(t, NiL, &m->to, options);
372 else if (!(options & (OPT_UID|OPT_GID)))
374 getids(s, NiL, &key, options);
376 options |= OPT_UID;
378 options |= OPT_GID;
380 switch (options & (OPT_UID|OPT_GID))
402 if (options & OPT_LCHOWN)
409 if (!(options & OPT_FORCE))
427 options &= ~(OPT_UID|OPT_GID);
439 options |= OPT_UID;
444 options |= OPT_GID;
451 if (!(options & OPT_UID))
453 if (!(options & OPT_GID))
456 if ((options & OPT_UNMAPPED) && (uid == NOID || gid == NOID))
467 if (options & (OPT_SHOW|OPT_VERBOSE))
469 if (options & OPT_TEST)
476 if (!(options & OPT_SHOW) && (*chownf)(ent->fts_accpath, uid, gid) && !(options & OPT_FORCE))
481 if (!(options & OPT_FORCE))
485 if (!(options & OPT_FORCE))
489 if (!(options & OPT_FORCE))
493 if (!(options & OPT_FORCE))