Searched refs:gopt (Results 1 - 25 of 25) sorted by relevance

/freebsd-11-stable/contrib/amd/amd/
H A Dget_args.c107 cpu, endian, gopt.arch, gopt.karch);
110 gopt.op_sys_full, gopt.op_sys, gopt.op_sys_ver, gopt.op_sys_vendor, DISTRO_NAME);
198 gopt.auto_dir = optarg;
202 gopt.am_timeo = atoi(optarg);
203 if (gopt.am_timeo <= 0)
204 gopt
[all...]
H A Damd.c54 struct amu_global_options gopt; /* where global options are stored */ variable in typeref:struct:amu_global_options
199 if (gopt.flags & CFM_PRINT_PID) {
200 if (STREQ(gopt.pid_file, "/dev/stdout")) {
208 f = fopen(gopt.pid_file, "w");
213 fprintf(stderr, "cannot open %s (errno=%d)\n", gopt.pid_file, errno);
244 memset(&gopt, 0, sizeof(struct amu_global_options));
247 gopt.arch = HOST_ARCH;
250 gopt.auto_dir = "/.amd_mnt";
253 gopt.auto_attrcache = 0;
256 gopt
[all...]
H A Dconf.c249 cfm->cfm_type = gopt.map_type;
252 cfm->cfm_defaults = gopt.map_defaults;
255 cfm->cfm_opts = gopt.map_options;
258 cfm->cfm_search_path = gopt.search_path;
264 cfm->cfm_flags = gopt.flags & (CFM_BROWSABLE_DIRS |
374 gopt.arch = xstrdup(val);
382 gopt.auto_attrcache = atoi(val);
383 if (gopt.auto_attrcache < 0) {
394 gopt.auto_dir = xstrdup(val);
416 gopt
[all...]
H A Damfs_toplvl.c96 if (gopt.auto_attrcache == 0) {
109 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTIMEO, gopt.auto_attrcache);
113 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMIN, gopt.auto_attrcache);
117 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTDIRMAX, gopt.auto_attrcache);
121 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMIN, gopt.auto_attrcache);
125 xsnprintf(preopts, l, ",%s=%d", MNTTAB_OPT_ACTREGMAX, gopt.auto_attrcache);
148 if (gopt.flags & CFM_FORCED_UNMOUNTS) {
215 if (gopt.amfs_auto_timeo[AMU_TYPE_TOPLVL] > 0) {
217 MNTTAB_OPT_TIMEO, gopt.amfs_auto_timeo[AMU_TYPE_TOPLVL]);
220 if (gopt
[all...]
H A Dinfo_nis.c109 gopt.nis_domain = xstrdup(default_domain);
156 if (!gopt.nis_domain) {
175 error = yp_all(gopt.nis_domain, map, &cbinfo);
201 error = yp_order(gopt.nis_domain, map, &order);
215 error = yp_master(gopt.nis_domain, map, &master);
257 if (!gopt.nis_domain) {
270 if (yp_order(gopt.nis_domain, map, &order))
284 if ((time_t)order - *tp > gopt.am_timeo) {
302 res = yp_match(gopt.nis_domain, map, key, strlen(key), pval, &outlen);
336 if (!gopt
[all...]
H A Dinfo_ldap.c253 if (!gopt.map_type || !STREQ(gopt.map_type, AMD_LDAP_TYPE)) {
255 (gopt.map_type ? gopt.map_type : "null"));
271 aldh->hostent = string2he(gopt.ldap_hostports);
274 gopt.ldap_hostports ? gopt.ldap_hostports : "(null)", map);
335 if (gopt.ldap_proto_version > LDAP_VERSION2) {
336 if (!ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, &gopt.ldap_proto_version)) {
338 gopt
[all...]
H A Dinfo_hesiod.c110 dlog("Hesiod base is: %s\n", gopt.hesiod_base);
111 dlog("hesiod_search: hes_resolve(%s, %s)", hes_key, gopt.hesiod_base);
117 rvec = hesiod_resolve(hesiod_context, hes_key, gopt.hesiod_base);
119 rvec = hes_resolve(hes_key, gopt.hesiod_base);
H A Dnfs_start.c148 do_mapc_reload = clocktime(NULL) + gopt.map_reload_interval;
335 if (gopt.flags & CFM_RESTART_EXISTING_MOUNTS)
354 if (gopt.flags & CFM_RESTART_EXISTING_MOUNTS)
379 gopt.preferred_amq_port);
H A Dsun2amd.c54 struct amu_global_options gopt; variable in typeref:struct:amu_global_options
H A Dsrvr_nfs.c574 int fs_version = nfs_valid_version(gopt.nfs_vers_ping) &&
575 gopt.nfs_vers_ping < fs->fs_version ? gopt.nfs_vers_ping : fs->fs_version;
760 if (gopt.nfs_vers) {
761 nfs_version = gopt.nfs_vers;
765 if (gopt.nfs_proto) {
766 nfs_proto = gopt.nfs_proto;
784 if (hp && !(gopt.flags & CFM_NORMALIZE_HOSTNAMES))
872 gopt.nfs_vers);
882 gopt
[all...]
H A Dopts.c152 0, &gopt.arch, 0, TRUE },
160 0, &gopt.auto_dir, 0, FALSE },
166 0, &gopt.karch, 0, TRUE },
168 0, &gopt.cluster, 0, TRUE },
178 0, &gopt.op_sys, 0, TRUE },
180 0, &gopt.op_sys_ver, 0, TRUE },
182 0, &gopt.op_sys_full, 0, TRUE },
184 0, &gopt.op_sys_vendor, 0, TRUE },
981 if (!(gopt.flags & CFM_NORMALIZE_SLASHES))
1446 if (!(gopt
[all...]
H A Dautil.c128 if (gopt.flags & CFM_NORMALIZE_HOSTNAMES) {
136 if (gopt.flags & CFM_DOMAIN_STRIP) {
283 mp->am_timeo = gopt.am_timeo; /* otherwise use default timeout */
632 if (gopt.flags & CFM_FORCED_UNMOUNTS) {
H A Dinfo_exec.c142 while (fgets_timed(buf, size, fd, gopt.exec_map_timeout)) {
222 while (fgets_timed(qanswer, sizeof(qanswer), fd, gopt.exec_map_timeout) &&
H A Dops_nfs.c510 if (gopt.flags & CFM_FULLY_QUALIFIED_HOSTS) {
517 if (gopt.flags & CFM_FULLY_QUALIFIED_HOSTS) {
832 if (gopt.amfs_auto_timeo[proto] > 0)
834 MNTTAB_OPT_TIMEO, gopt.amfs_auto_timeo[proto]);
835 if (gopt.amfs_auto_retrans[proto] > 0)
837 MNTTAB_OPT_RETRANS, gopt.amfs_auto_retrans[proto]);
994 gopt.flags & CFM_FORCED_UNMOUNTS &&
H A Dmap.c417 mp->am_timeo = gopt.am_timeo;
745 if (gopt.flags & CFM_UNMOUNT_ON_EXIT || mp->am_flags & AMF_AUTOFS) {
1029 if (mp->am_timeo_w < 4 * gopt.am_timeo_w)
1030 mp->am_timeo_w += gopt.am_timeo_w;
H A Damd.h177 #define AMFS_AUTO_RETRANS(x) ((ALLOWED_MOUNT_TIME*10+5*gopt.amfs_auto_timeo[(x)])/gopt.amfs_auto_timeo[(x)] * 2)
687 extern struct amu_global_options gopt; /* where global options are stored */
H A Damq_subr.c187 if (gopt.logfile && opt->as_str
188 && STREQ(gopt.logfile, opt->as_str)) {
H A Dnfs_prot_svc.c125 !(gopt.flags & CFM_NFS_INSECURE_PORT)) {
134 if (gopt.flags & CFM_NFS_ANY_INTERFACE) {
H A Damq_svc.c164 if (gopt.flags & CFM_USE_TCPWRAPPERS) {
H A Dnfs_subr.c168 if (mp->am_timeo_w < 4 * gopt.am_timeo_w)
169 mp->am_timeo_w += gopt.am_timeo_w;
571 if ((gopt.flags & CFM_SHOW_STATFS_ENTRIES) &&
1114 if (mp->am_timeo_w < 4 * gopt.am_timeo_w)
1115 mp->am_timeo_w += gopt.am_timeo_w;
1711 if ((gopt.flags & CFM_SHOW_STATFS_ENTRIES) &&
H A Damfs_generic.c1010 if (gopt.flags & CFM_SELECTORS_IN_DEFAULTS) {
1056 if (!(gopt.flags & CFM_SELECTORS_IN_DEFAULTS) && rvec[1]) {
/freebsd-11-stable/sys/dev/ctau/
H A Dctau.c571 if (c->gopt.cas)
578 c->gopt.rate = c->baud / 1000;
594 c->baud = c->gopt.rate * 1000L;
618 c->gopt = ct_opt_g703_dflt;
663 if (c->gopt.cas)
668 if (c->gopt.hdb3)
671 if (c->gopt.crc4) {
676 if (c->gopt.higain)
716 if (c->gopt.cas) {
872 if (c->gopt
[all...]
H A Dctddk.h375 ct_opt_g703_t gopt; /* E1/G.703 options */ member in struct:_ct_chan_t
561 #define ct_get_higain(c) ((c)->gopt.higain)
562 #define ct_get_phony(c) ((c)->gopt.phony)
H A Dctddk.c146 c->gopt.rate = rate;
277 c->gopt.higain = on ? 1 : 0;
753 if (c->gopt.cas && (sr1 & SR1_RSA1))
755 if (c->gopt.cas && (sr1 & SR1_RDMA))
769 if ((c->gopt.cas && (ssr & SSR_SYNC_CAS)) ||
770 (c->gopt.crc4 && (ssr & SSR_SYNC_CRC4))) {
786 if (c->gopt.crc4) {
794 if (c->gopt.crc4)
H A Dif_ct.c1528 *(int*)data = c->gopt.phony;

Completed in 158 milliseconds