Searched defs:opts (Results 26 - 50 of 185) sorted by relevance

12345678

/illumos-gate/usr/src/lib/libbc/libc/gen/common/
H A Dmntent.c204 char *f, *opts; local
213 opts = tmpopts;
214 f = mntopt(&opts);
215 for (; *f; f = mntopt(&opts)) {
/illumos-gate/usr/src/lib/libbsm/common/
H A Dgetdadefs.c209 char *opts; local
218 opts = getdadmfield(NULL, KV_TOKEN_DELIMIT);
222 if (opts != NULL)
224 _str2kva(opts, KV_ASSIGN, KV_DELIMITER);
/illumos-gate/usr/src/cmd/dfs.cmds/dfshares/
H A Ddfshares.c60 * cmd name, , -h, -o, opts, (char *)0 terminator
75 char *opts = NULL; /* -o options */ local
101 err |= (opts != NULL); /* at most one -o */
102 opts = optarg;
126 if (opts) {
128 nargv[nargc++] = opts;
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dcred.c36 uint_t opts = FALSE; local
39 'v', MDB_OPT_SETBITS, OPT_VERBOSE, &opts, NULL) != argc)
63 if (opts & OPT_VERBOSE) {
113 uint_t i, opts = FALSE; local
117 'v', MDB_OPT_SETBITS, OPT_VERBOSE, &opts, NULL) != argc)
129 if (opts & OPT_VERBOSE) {
158 uint_t opts = FALSE; local
162 'v', MDB_OPT_SETBITS, OPT_VERBOSE, &opts, NULL) != argc)
174 if (opts & OPT_VERBOSE)
187 if (kr.kr_sidlist != NULL && (opts
207 uint_t i, opts = FALSE; local
[all...]
/illumos-gate/usr/src/cmd/mkfile/
H A Dmkfile.c53 char *opts; local
69 opts = &argv[1][0];
70 while (*(++opts)) {
71 switch (*opts) {
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c104 if ((fnip->opts = malloc(MAX_MNTOPT_STR)) == NULL)
106 strcpy(fnip->opts, me->map_mntopts);
108 if (process_opts(fnip->opts, &fnip->direct, &sawnest) != 0)
156 len = strlen(fnip->opts);
163 strcpy(buf, fnip->opts);
204 char *opt, *opts, *lasts; local
211 opts = buf;
215 while ((opt = strtok_r(opts, ",", &lasts)) != NULL) {
216 opts = NULL;
249 if (p->opts)
[all...]
H A Dmount.c133 fni.opts = options;
167 "Usage: autofs mount [-r] [-o opts] map dir\n");
181 char *opts; local
183 if ((opts = strdup(options)) == NULL) {
191 while ((opt = strtok(opts, ",")) != NULL) {
192 opts = NULL;
216 char *opts = malloc(strlen(opts1) + strlen(opts2) + 2); local
217 if (opts == NULL) {
222 strcpy(opts, opts1);
224 strcat(opts, ",");
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dexportlist.c78 char *gr, *p, *opts, *val, *lasts; local
112 opts = strdup(sh->sh_opts);
113 p = opts;
127 free(opts);
131 opts = strdup(sh->sh_opts);
132 p = opts;
154 free(opts);
H A Dnfs_cmd.c90 * charmap_search(netbuf, opts)
93 * a character map spec in the opts option string. Returns the charset
98 charmap_search(struct netbuf *nbuf, char *opts) argument
122 copts = strdup(opts);
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Dconnect.c87 } opts; local
90 opts.oh.len = sizeof (opts);
91 opts.oh.level = level;
92 opts.oh.name = name;
93 opts.oh.status = 0;
94 opts.ival = val;
97 oreq.opt.buf = (void *)&opts;
98 oreq.opt.len = sizeof (opts);
112 (int)ores.flags, (int)opts
[all...]
/illumos-gate/usr/src/lib/libdhcpagent/common/
H A Ddhcp_hostconf.c174 uchar_t *opts, *optmax, *subomax; local
180 opts = (uchar_t *)pkt + sizeof (dhcpv6_message_t);
182 while (opts + sizeof (d6o) <= optmax) {
188 (void) memcpy(&d6o, opts, sizeof (d6o));
191 subomax = opts + sizeof (d6o) + d6o.d6o_len;
202 opts = subomax;
211 opts += sizeof (dhcpv6_ia_ta_t);
214 if (opts + sizeof (d6in) > subomax) {
215 opts = subomax;
218 (void) memcpy(&d6in, opts,
[all...]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dslk.c112 slk_attr_off(const attr_t at, void *opts) argument
117 __m_trace("slk_attr_off(%x, %p)", at, opts);
121 code = wattr_off(__m_screen->_slk._w, at, opts);
127 slk_attr_on(const attr_t at, void *opts) argument
132 __m_trace("slk_attr_on(%x, %p)", at, opts);
136 code = wattr_on(__m_screen->_slk._w, at, opts);
142 slk_attr_set(const attr_t at, short co, void *opts) argument
147 __m_trace("slk_attr_set(%x, %d, %p)", at, co, opts);
151 code = wattr_set(__m_screen->_slk._w, at, co, opts);
/illumos-gate/usr/src/lib/libkmf/libkmf/common/
H A Dmapping.c118 char *opts = NULL; local
134 opts = kmf_get_attr_ptr(KMF_MAPPER_OPTIONS_ATTR, attrlist, numattr);
153 } else if (dir != NULL || opts != NULL) {
160 opts = map->options;
169 opts = map->options;
189 if (opts != NULL) {
190 map->curoptions = strdup(opts);
220 if (map->curoptions != NULL && opts == NULL) {
223 } else if (map->curoptions == NULL && opts != NULL) {
224 if ((map->curoptions = strdup(opts))
396 kmf_set_mapper_options(KMF_HANDLE_T handle, void *opts) argument
[all...]
/illumos-gate/usr/src/lib/libkmf/mappers/kmf_mapper_cn/common/
H A Dmapper_cn.c55 cooked_opts *opts; local
57 if ((opts = malloc(sizeof (cooked_opts))) == NULL)
61 opts->casesensitive = B_FALSE;
65 opts->casesensitive = B_TRUE;
68 kmf_set_mapper_options(h, opts);
76 void *opts; local
78 if ((opts = kmf_get_mapper_options(h)) != NULL)
79 free(opts);
153 cooked_opts *opts = NULL; local
155 opts
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/encr/
H A Dencr.c52 static char *opts[] = { "type", NULL }; variable
72 switch (getsubopt(&arg, opts, &value)) {
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/keymgmt/
H A Dkeymgmt.c55 static char *opts[] = { "type", NULL }; variable
75 switch (getsubopt(&arg, opts, &value)) {
/illumos-gate/usr/src/cmd/rmmount/
H A Drmmount.c79 char **opts = NULL; local
106 if ((opts = g_strsplit(optarg, ",", 10)) == NULL) {
109 for (num_opts = 0, p = &opts[0]; *p != NULL; p++) {
192 0, opts, num_opts, mountpoint) ? 0 : 1;
/illumos-gate/usr/src/cmd/fs.d/hsfs/mount/
H A Dmount.c294 char *opts; local
296 opts = "{-r | -o ro | -o nrr | -o nosuid | -o notraildot | -o nomaplcase}";
298 gettext("hsfs usage: mount [-F hsfs] %s {special | mount_point}\n"), opts);
300 gettext("hsfs usage: mount [-F hsfs] %s special mount_point\n"), opts);
/illumos-gate/usr/src/cmd/fs.d/nfs/umount/
H A Dumount.c239 inform_server(char *string, char *opts, bool_t quick) argument
265 if (opts != NULL)
266 p = strstr(opts, MNTOPT_PUBLIC);
274 if (((p == opts) || (*(p-1) == ',')) &&
/illumos-gate/usr/src/cmd/ipf/tools/
H A Dipf.c45 int opts = 0; variable
106 opts &= ~OPT_INACTIVE;
119 opts ^= OPT_DEBUG;
131 opts ^= OPT_INACTIVE;
137 opts ^= OPT_DONOTHING;
145 opts ^= OPT_NORESOLVE;
148 opts ^= OPT_REMOVE;
158 opts += OPT_VERBOSE;
168 opts ^= OPT_ZERORULEST;
191 if (opts
[all...]
H A Dipnat.c96 int opts; variable
117 opts = 0;
128 opts |= OPT_CLEAR;
131 opts |= OPT_DEBUG;
137 opts |= OPT_FLUSH;
143 opts |=OPT_HITS;
146 opts |= OPT_LIST;
156 opts |= OPT_DONOTHING;
160 opts |= OPT_NORESOLVE;
163 opts |
[all...]
/illumos-gate/usr/src/cmd/prtconf/
H A Dprtconf.c40 struct prt_opts opts; variable in typeref:struct:prt_opts
59 opts.o_progname = "prtconf";
61 opts.o_progname = (const char *) p + 1;
63 opts.o_progname = name;
183 opts.o_promdev = "/dev/openprom";
188 ++opts.o_ancestors;
191 ++opts.o_productinfo;
194 ++opts.o_children;
197 ++opts.o_pciid;
200 ++opts
[all...]
/illumos-gate/usr/src/cmd/mandoc/
H A Dlibroff.h31 struct tbl_opts opts; member in struct:tbl_node
H A Dout.c110 const struct tbl_opts *opts; local
124 tbl->cols = mandoc_calloc((size_t)sp->opts->cols,
126 opts = sp->opts;
150 tblcalc_data(tbl, col, opts, dp);
201 (opts->opts & (TBL_OPT_BOX | TBL_OPT_DBOX) ?
202 2 : !!opts->lvert + !!opts->rvert);
235 const struct tbl_opts *opts, cons
234 tblcalc_data(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
279 tblcalc_number(struct rofftbl *tbl, struct roffcol *col, const struct tbl_opts *opts, const struct tbl_dat *dp) argument
[all...]
/illumos-gate/usr/src/boot/sys/boot/efi/loader/arch/i386/
H A Dbootinfo.c55 char *opts; local
70 opts = strchr(kargs, '-');
71 while (opts != NULL) {
72 while (*(++opts) != '\0') {
73 sw = strchr(howto_switches, *opts);
78 opts = strchr(opts, '-');

Completed in 217 milliseconds

12345678