/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/rdist/ |
H A D | server.c | 68 static void sendf(char *rname, int opts); 69 static void rmchk(int opts); 197 opts = 0; 199 opts = (opts << 3) | (*cp++ - '0'); 204 install(cp, opts); 233 install(src, dest, destdir, opts) 235 int destdir, opts; 241 opts &= ~WHOLE; /* WHOLE mode only useful if renaming */ 246 printf("%s%s%s%s%s %s %s\n", opts 781 int f, mode, opts, wrerr, olderrno; local 1060 int opts, exists = 0; local 1321 int len, opts; local [all...] |
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | ns_fnmount.c | 68 * getmapent_fn(char *key, char *map, char *opts, uid_t uid, 82 char *opts, char *root, bool_t shallow, FN_status_t *status); 92 * opts: default mount options 99 char *mntpnt, char *opts, FN_status_t *status); 111 char *mntpnt, const char *name, char *opts, FN_status_t *status); 165 safe_opts(const char *opts); 209 getmapent_fn(char *key, char *map, char *opts, uid_t uid, bool_t shallow, argument 300 process_ref(ref, cname, map, key, opts, root, shallow, status); 310 char *opts, char *root, bool_t shallow, FN_status_t *status) 336 "%s/%s: opts to 309 process_ref(const FN_ref_t *ref, const char *cname, char *map, char *key, char *opts, char *root, bool_t shallow, FN_status_t *status) argument 433 frontier(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, char *mntpnt, char *opts, FN_status_t *status) argument 498 frontier_aux(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen, char *mntpnt, const char *name, char *opts, FN_status_t *status) argument 681 char *opts; local 695 safe_opts(const char *opts) argument [all...] |
H A D | ns_files.c | 332 char *line, *dir, *map, *opts; local 362 opts = map; 363 while (*opts && isspace(*opts)) 364 opts++; 365 if (*opts != '-') 366 opts = defopts; 368 opts++; 372 if (strcspn(opts, " ") == strlen(opts)) { [all...] |
H A D | autod_autofs.c | 104 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 D | ns_nis.c | 176 char *pmap, *opts, *my_mapname; local 262 opts = pmap; 263 while (*opts && !isspace(*opts)) 264 opts++; 265 if (*opts) { 266 *opts++ = '\0'; 267 while (*opts && isspace(*opts)) 268 opts [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/smbsrv/ |
H A D | smbsrv.c | 576 uint_t opts = 0; local 580 if (smb_dcmd_getopt(&opts, argc, argv)) 583 if (!(opts & ~(SMB_OPT_WALK | SMB_OPT_VERBOSE))) 584 opts |= SMB_OPT_ALL_OBJ; 586 opts |= SMB_OPT_WALK; 588 new_argc = smb_dcmd_setopt(opts, SMB_MDB_MAX_OPTS, new_argv); 642 uint_t opts; local 645 if (smb_dcmd_getopt(&opts, argc, argv)) 649 return (smb_obj_list("smb_server", opts | SMB_OPT_SERVER, 652 if (((opts 751 uint_t opts; local 871 uint_t opts; local 1050 uint_t opts; local 1160 uint_t opts; local 1236 uint_t opts; local 1307 uint_t opts; local 1375 uint_t *opts = arg; local 1422 uint_t opts = 0; local 2431 smb_dcmd_getopt(uint_t *opts, int argc, const mdb_arg_t *argv) argument 2461 smb_dcmd_setopt(uint_t opts, int max_argc, mdb_arg_t *argv) argument 2481 smb_obj_expand(uintptr_t addr, uint_t opts, const smb_exp_t *x, ulong_t indent) argument 2520 smb_obj_list(const char *name, uint_t opts, uint_t flags) argument [all...] |
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | cred.c | 36 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...] |
H A D | net.c | 68 uint_t opts; member in struct:netstat_cb_data_s 505 uint_t opts = 0; local 512 'p', MDB_OPT_SETBITS, MI_PAYLOAD, &opts, 513 'd', MDB_OPT_SETBITS, MI_DEVICE, &opts, 514 'm', MDB_OPT_SETBITS, MI_MODULE, &opts, 518 if ((opts & (MI_DEVICE | MI_MODULE)) == (MI_DEVICE | MI_MODULE)) { 524 if ((opts == 0) && (DCMD_HDRSPEC(flags))) { 534 if (opts != 0) { 537 if (!(opts & MI_MODULE) && (opts 591 uint_t opts = ncb->opts; local 641 uint_t opts = ncb->opts; local 916 uint_t *opts = cb_data; local 995 uint_t *opts = cb_data; local 1122 uint_t opts = 0; local [all...] |
/illumos-gate/usr/src/cmd/ipf/tools/ |
H A D | ipf.c | 45 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 D | ipftest.c | 26 int opts = OPT_DONOTHING; variable 134 opts |= OPT_BRIEF; 137 opts |= OPT_DEBUG; 166 opts |= OPT_SAVEOUT; 175 opts |= OPT_NORESOLVE; 178 opts |= OPT_VERBOSE; 185 opts |= OPT_NAT; 196 opts |= OPT_HEX; 205 if (opts & OPT_SAVEOUT) 241 if ((opts [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | wchgat.c | 47 wchgat(WINDOW *w, int n, attr_t at, short co, const void *opts) argument 53 __m_trace("wchgat(%p, %d, %x, %d, %p)", w, n, at, co, opts);
|
/illumos-gate/usr/src/boot/sys/boot/common/ |
H A D | rbx.h | 57 #define OPT_CHECK(opt) ((opts) & OPT_SET(opt)) 59 extern uint32_t opts;
|
/illumos-gate/usr/src/lib/libxcurses2/src/libc/xcurses/ |
H A D | getcchar.c | 53 getcchar(const cchar_t *c, wchar_t *wcs, attr_t *at, short *co, void *opts) argument
|
/illumos-gate/usr/src/lib/libkmf/libkmf/common/ |
H A D | mapping.c | 118 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/cmd/ipf/lib/common/ |
H A D | print_toif.c | 22 if (opts & OPT_UNDEF) {
|
H A D | remove_poolnode.c | 27 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0)) 29 if ((poolfd == -1) && ((opts & OPT_DONOTHING) == 0)) 48 if ((opts & OPT_DONOTHING) == 0) {
|
/illumos-gate/usr/src/cmd/bnu/ |
H A D | getopt.c | 48 getopt(argc, argv, opts) 50 char **argv, *opts; 65 if(c == ':' || (cp=strchr(opts, c)) == NULL) {
|
/illumos-gate/usr/src/cmd/dfs.cmds/general/ |
H A D | general.c | 54 /* cmd name, -o, opts, (char *)0 terminator */ 72 char *opts = NULL; /* -o options */ local 91 err |= (opts != NULL); /* at most one -o */ 92 opts = optarg; 135 if (opts) { 137 nargv[nargc++] = opts;
|
/illumos-gate/usr/src/stand/lib/inet/ |
H A D | dhcpv4.c | 498 if (wk->opts[CD_DHCP_TYPE] && 499 wk->opts[CD_DHCP_TYPE]->len == 1) { 500 if (*wk->opts[CD_DHCP_TYPE]->value != OFFER) { 505 if (!wk->opts[CD_LEASE_TIME]) { 510 if (wk->opts[CD_LEASE_TIME]->len != 4) { 516 if (!wk->opts[CD_SERVER_ID]) { 521 if (wk->opts[CD_SERVER_ID]->len != 4) { 539 if (wk->opts[CD_VENDOR_SPEC]) 550 if (wk->opts[CD_SUBNETMASK]) 552 if (wk->opts[CD_ROUTE [all...] |
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/ |
H A D | exportlist.c | 78 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);
|
/illumos-gate/usr/src/lib/libeti/form/common/ |
H A D | llib-lform | 250 set_field_opts(f, opts) 252 OPTIONS opts; 261 field_opts_on(f, opts) 263 OPTIONS opts; 267 field_opts_off(f, opts) 269 OPTIONS opts; 435 set_form_opts(f, opts) 437 OPTIONS opts; 446 form_opts_on(f, opts) 448 OPTIONS opts; [all...] |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | asppp2pppd | 584 local ($pppdargs, $opts, $chatpath, $user) = @_; 587 push(@$pppdargs, "defaultroute") if $$opts{default_route}; 588 push(@$pppdargs, "idle " . $$opts{inactivity_timeout}) 589 if $$opts{inactivity_timeout} != 0; 590 push(@$pppdargs, "asyncmap " . $$opts{ipcp_async_map}) 591 if $$opts{ipcp_async_map}; 592 push(@$pppdargs, "novj") if !$$opts{ipcp_compression}; 594 if ($$opts{require_authentication}) { 596 if ($$opts{require_authentication} =~ /chap/) { 598 $peer = $$opts{chap_peer_nam [all...] |
/illumos-gate/usr/src/uts/sun4u/starcat/sys/ |
H A D | drmach.h | 98 drmach_opts_t *opts); 100 drmach_opts_t *opts); 104 drmach_opts_t *opts); 107 drmach_opts_t *opts); 112 drmach_opts_t *opts); 118 extern sbd_error_t *drmach_board_test(drmachid_t id, drmach_opts_t *opts,
|
/illumos-gate/usr/src/uts/sun4u/starfire/sys/ |
H A D | drmach.h | 89 drmach_opts_t *opts); 91 drmach_opts_t *opts); 95 drmach_opts_t *opts); 98 drmach_opts_t *opts); 103 drmach_opts_t *opts); 109 extern sbd_error_t *drmach_board_test(drmachid_t id, drmach_opts_t *opts,
|
/illumos-gate/usr/src/uts/i86pc/sys/ |
H A D | drmach.h | 110 drmach_opts_t *opts, void *devsetp); 112 drmach_opts_t *opts, int rv); 117 drmach_opts_t *opts); 127 extern sbd_error_t *drmach_board_test(drmachid_t id, drmach_opts_t *opts, 130 drmach_opts_t *opts); 132 drmach_opts_t *opts);
|