HomeSort by: relevance | last modified time | path
    Searched refs:gopt (Results 1 - 23 of 23) sorted by relevancy

  /src/external/bsd/am-utils/dist/amd/
get_args.c 101 cpu, endian, gopt.arch, gopt.karch);
104 gopt.op_sys_full, gopt.op_sys, gopt.op_sys_ver, gopt.op_sys_vendor, DISTRO_NAME);
192 gopt.auto_dir = optarg;
196 gopt.am_timeo = atoi(optarg);
197 if (gopt.am_timeo <= 0)
198 gopt.am_timeo = AM_TTL
    [all...]
amd.c 52 struct amu_global_options gopt; /* where global options are stored */ variable in typeref:struct:amu_global_options
197 if (gopt.flags & CFM_PRINT_PID) {
198 if (STREQ(gopt.pid_file, "/dev/stdout")) {
206 f = fopen(gopt.pid_file, "w");
211 fprintf(stderr, "cannot open %s (errno=%d)\n", gopt.pid_file, errno);
242 memset(&gopt, 0, sizeof(struct amu_global_options));
245 gopt.arch = HOST_ARCH;
248 gopt.auto_dir = "/a";
251 gopt.auto_attrcache = 0;
254 gopt.cluster = NULL
    [all...]
conf.c 251 cfm->cfm_type = gopt.map_type;
254 cfm->cfm_defaults = gopt.map_defaults;
257 cfm->cfm_opts = gopt.map_options;
260 cfm->cfm_search_path = gopt.search_path;
266 cfm->cfm_flags = gopt.flags & (CFM_BROWSABLE_DIRS |
376 gopt.arch = xstrdup(val);
384 gopt.auto_attrcache = atoi(val);
385 if (gopt.auto_attrcache < 0) {
396 gopt.auto_dir = xstrdup(val);
418 gopt.flags |= CFM_AUTOFS_USE_LOFS
    [all...]
amfs_toplvl.c 98 if (gopt.auto_attrcache == 0) {
111 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTIMEO, gopt.auto_attrcache);
115 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMIN, gopt.auto_attrcache);
119 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMAX, gopt.auto_attrcache);
123 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMIN, gopt.auto_attrcache);
127 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMAX, gopt.auto_attrcache);
150 if (gopt.flags & CFM_FORCED_UNMOUNTS) {
217 if (gopt.amfs_auto_timeo[AMU_TYPE_TOPLVL] > 0) {
219 MNTTAB_OPT_TIMEO, gopt.amfs_auto_timeo[AMU_TYPE_TOPLVL]);
222 if (gopt.amfs_auto_retrans[AMU_TYPE_TOPLVL] > 0)
    [all...]
info_nis.c 111 gopt.nis_domain = xstrdup(default_domain);
158 if (!gopt.nis_domain) {
177 error = yp_all(gopt.nis_domain, map, &cbinfo);
203 error = yp_order(gopt.nis_domain, map, &order);
217 error = yp_master(gopt.nis_domain, map, &master);
259 if (!gopt.nis_domain) {
272 if (yp_order(gopt.nis_domain, map, &order))
286 if ((time_t)order - *tp > gopt.am_timeo) {
304 res = yp_match(gopt.nis_domain, map, key, strlen(key), pval, &outlen);
338 if (!gopt.nis_domain)
    [all...]
info_ldap.c 255 if (!gopt.map_type || !STREQ(gopt.map_type, AMD_LDAP_TYPE)) {
257 (gopt.map_type ? gopt.map_type : "null"));
273 aldh->hostent = string2he(gopt.ldap_hostports);
276 gopt.ldap_hostports ? gopt.ldap_hostports : "(null)", map);
337 if (gopt.ldap_proto_version > LDAP_VERSION2) {
338 if (!ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &gopt.ldap_proto_version)) {
340 gopt.ldap_proto_version)
    [all...]
info_hesiod.c 112 dlog("Hesiod base is: %s\n", gopt.hesiod_base);
113 dlog("hesiod_search: hes_resolve(%s, %s)", hes_key, gopt.hesiod_base);
119 rvec = hesiod_resolve(hesiod_context, hes_key, gopt.hesiod_base);
121 rvec = hes_resolve(hes_key, gopt.hesiod_base);
nfs_start.c 150 do_mapc_reload = clocktime(NULL) + gopt.map_reload_interval;
337 if (gopt.flags & CFM_RESTART_EXISTING_MOUNTS)
356 if (gopt.flags & CFM_RESTART_EXISTING_MOUNTS)
381 gopt.preferred_amq_port);
sun2amd.c 56 struct amu_global_options gopt; variable in typeref:struct:amu_global_options
srvr_nfs.c 576 int fs_version = nfs_valid_version(gopt.nfs_vers_ping) &&
577 gopt.nfs_vers_ping < fs->fs_version ? gopt.nfs_vers_ping : fs->fs_version;
762 if (gopt.nfs_vers) {
763 nfs_version = gopt.nfs_vers;
767 if (gopt.nfs_proto) {
768 nfs_proto = gopt.nfs_proto;
786 if (hp && !(gopt.flags & CFM_NORMALIZE_HOSTNAMES))
874 gopt.nfs_vers);
884 gopt.nfs_vers)
    [all...]
opts.c 154 0, &gopt.arch, 0, TRUE },
162 0, &gopt.auto_dir, 0, FALSE },
168 0, &gopt.karch, 0, TRUE },
170 0, &gopt.cluster, 0, TRUE },
180 0, &gopt.op_sys, 0, TRUE },
182 0, &gopt.op_sys_ver, 0, TRUE },
184 0, &gopt.op_sys_full, 0, TRUE },
186 0, &gopt.op_sys_vendor, 0, TRUE },
983 if (!(gopt.flags & CFM_NORMALIZE_SLASHES))
1448 if (!(gopt.flags & CFM_NORMALIZE_SLASHES)
    [all...]
autil.c 130 if (gopt.flags & CFM_NORMALIZE_HOSTNAMES) {
138 if (gopt.flags & CFM_DOMAIN_STRIP) {
285 mp->am_timeo = gopt.am_timeo; /* otherwise use default timeout */
634 if (gopt.flags & CFM_FORCED_UNMOUNTS) {
info_exec.c 144 while (fgets_timed(buf, size, fd, gopt.exec_map_timeout)) {
224 while (fgets_timed(qanswer, sizeof(qanswer), fd, gopt.exec_map_timeout) &&
ops_nfs.c 512 if (gopt.flags & CFM_FULLY_QUALIFIED_HOSTS) {
519 if (gopt.flags & CFM_FULLY_QUALIFIED_HOSTS) {
834 if (gopt.amfs_auto_timeo[proto] > 0)
836 MNTTAB_OPT_TIMEO, gopt.amfs_auto_timeo[proto]);
837 if (gopt.amfs_auto_retrans[proto] > 0)
839 MNTTAB_OPT_RETRANS, gopt.amfs_auto_retrans[proto]);
996 gopt.flags & CFM_FORCED_UNMOUNTS &&
map.c 419 mp->am_timeo = gopt.am_timeo;
747 if (gopt.flags & CFM_UNMOUNT_ON_EXIT || mp->am_flags & AMF_AUTOFS) {
1031 if (mp->am_timeo_w < 4 * gopt.am_timeo_w)
1032 mp->am_timeo_w += gopt.am_timeo_w;
amd.h 179 #define AMFS_AUTO_RETRANS(x) ((ALLOWED_MOUNT_TIME*10+5*gopt.amfs_auto_timeo[(x)])/gopt.amfs_auto_timeo[(x)] * 2)
689 extern struct amu_global_options gopt; /* where global options are stored */
amq_subr.c 189 if (gopt.logfile && opt->as_str
190 && STREQ(gopt.logfile, opt->as_str)) {
nfs_prot_svc.c 127 !(gopt.flags & CFM_NFS_INSECURE_PORT)) {
136 if (gopt.flags & CFM_NFS_ANY_INTERFACE) {
amq_svc.c 166 if (gopt.flags & CFM_USE_TCPWRAPPERS) {
nfs_subr.c 170 if (mp->am_timeo_w < 4 * gopt.am_timeo_w)
171 mp->am_timeo_w += gopt.am_timeo_w;
573 if ((gopt.flags & CFM_SHOW_STATFS_ENTRIES) &&
1116 if (mp->am_timeo_w < 4 * gopt.am_timeo_w)
1117 mp->am_timeo_w += gopt.am_timeo_w;
1713 if ((gopt.flags & CFM_SHOW_STATFS_ENTRIES) &&
amfs_generic.c 1012 if (gopt.flags & CFM_SELECTORS_IN_DEFAULTS) {
1058 if (!(gopt.flags & CFM_SELECTORS_IN_DEFAULTS) && rvec[1]) {
  /src/external/bsd/am-utils/dist/conf/autofs/
autofs_linux.c 173 unsigned long timeout = gopt.am_timeo;
193 mp->am_autofs_ttl = clocktime(NULL) + gopt.am_timeo_w;
590 if (bind_works && gopt.flags & CFM_AUTOFS_USE_LOFS) {
652 if (bind_works && gopt.flags & CFM_AUTOFS_USE_LOFS) {
897 mp->am_autofs_ttl = now + gopt.am_timeo_w;
autofs_solaris_v2_v3.c 604 if (gopt.flags & CFM_AUTOFS_USE_LOFS ||
1088 if (!(gopt.flags & CFM_AUTOFS_USE_LOFS))
1146 gopt.flags & CFM_AUTOFS_USE_LOFS) {
1219 if (gopt.flags & CFM_AUTOFS_USE_LOFS ||

Completed in 80 milliseconds