/titanic_44/usr/src/cmd/fs.d/tmpfs/ |
H A D | mount.c | 87 char optbuf[MAX_MNTOPT_STR]; in main() local 103 optbuf[0] = '\0'; in main() 120 (void) strncpy(optbuf, optarg, MAX_MNTOPT_STR); in main() 121 optbuf[MAX_MNTOPT_STR - 1] = '\0'; in main() 122 optsize = strlen(optbuf); in main() 126 optsize, optbuf); in main() 163 optbuf, strlen(optbuf)); in main() 168 if ((saveoptbuf = strdup(optbuf)) == NULL) { in main() 175 optbuf, MAX_MNTOPT_STR)) { in main() 199 cmp_requested_to_actual_options(saveoptbuf, optbuf, in main()
|
/titanic_44/usr/src/cmd/fs.d/lofs/mount/ |
H A D | mount.c | 54 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 90 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 91 sizeof (optbuf)) { in main() 97 optsize = strlen(optbuf); in main() 124 if ((savedoptbuf = strdup(optbuf)) == NULL) { in main() 130 optbuf, MAX_MNTOPT_STR)) { in main() 136 cmp_requested_to_actual_options(savedoptbuf, optbuf, in main()
|
/titanic_44/usr/src/cmd/fs.d/objfs/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 104 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 105 sizeof (optbuf)) { in main() 112 optsize = strlen(optbuf); in main() 139 if ((savedoptbuf = strdup(optbuf)) == NULL) { in main() 146 optbuf, MAX_MNTOPT_STR)) { in main() 153 cmp_requested_to_actual_options(savedoptbuf, optbuf, in main()
|
/titanic_44/usr/src/cmd/fs.d/sharefs/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 104 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 105 sizeof (optbuf)) { in main() 112 optsize = strlen(optbuf); in main() 139 if ((savedoptbuf = strdup(optbuf)) == NULL) { in main() 146 optbuf, MAX_MNTOPT_STR)) { in main() 153 cmp_requested_to_actual_options(savedoptbuf, optbuf, in main()
|
/titanic_44/usr/src/cmd/fs.d/ctfs/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 104 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 105 sizeof (optbuf)) { in main() 112 optsize = strlen(optbuf); in main() 139 if ((savedoptbuf = strdup(optbuf)) == NULL) { in main() 146 optbuf, MAX_MNTOPT_STR)) { in main() 153 cmp_requested_to_actual_options(savedoptbuf, optbuf, in main()
|
/titanic_44/usr/src/cmd/fs.d/udfs/mount/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 91 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 92 sizeof (optbuf)) { in main() 98 optsize = strlen(optbuf); in main() 126 m.mnt_mntopts = optbuf; in main() 205 if ((savedoptbuf = strdup(optbuf)) == NULL) { in do_mount() 211 fstype, NULL, 0, optbuf, MAX_MNTOPT_STR) == -1) { in do_mount() 216 cmp_requested_to_actual_options(savedoptbuf, optbuf, in do_mount()
|
/titanic_44/usr/src/cmd/fs.d/pcfs/mount/ |
H A D | mount.c | 46 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 144 if (append_opt(optbuf, sizeof (optbuf), in main() 211 if (append_opt(optbuf, sizeof (optbuf), tzstr) == 0) in main() 214 optsize = strlen(optbuf); in main() 219 if ((savedoptbuf = strdup(optbuf)) == NULL) { in main() 233 NULL, 0, optbuf, MAX_MNTOPT_STR)) { in main() 249 cmp_requested_to_actual_options(savedoptbuf, optbuf, in main()
|
/titanic_44/usr/src/cmd/fs.d/fd/ |
H A D | mount.c | 49 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 106 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 107 sizeof (optbuf)) { in main() 113 optsize = strlen(optbuf); in main() 203 if ((savedoptbuf = strdup(optbuf)) == NULL) { in do_mount() 209 fstype, NULL, 0, optbuf, MAX_MNTOPT_STR)) { in do_mount() 214 cmp_requested_to_actual_options(savedoptbuf, optbuf, in do_mount()
|
/titanic_44/usr/src/cmd/fs.d/mntfs/ |
H A D | mount.c | 54 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 103 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 104 sizeof (optbuf)) { in main() 110 optsize = strlen(optbuf); in main() 194 if ((savedoptbuf = strdup(optbuf)) == NULL) { in do_mount() 202 optbuf, MAX_MNTOPT_STR)) { in do_mount() 208 cmp_requested_to_actual_options(savedoptbuf, optbuf, in do_mount()
|
/titanic_44/usr/src/cmd/fs.d/proc/ |
H A D | mount.c | 54 static char optbuf[MAX_MNTOPT_STR] = { '\0', }; variable 106 if (strlcpy(optbuf, optarg, sizeof (optbuf)) >= in main() 107 sizeof (optbuf)) { in main() 113 optsize = strlen(optbuf); in main() 199 if ((savedoptbuf = strdup(optbuf)) == NULL) { in do_mount() 210 optbuf, MAX_MNTOPT_STR)) { in do_mount() 215 cmp_requested_to_actual_options(savedoptbuf, optbuf, in do_mount()
|
/titanic_44/usr/src/lib/libwrap/ |
H A D | fix_options.c | 46 unsigned char optbuf[BUFFER_SIZE / 3], *cp; local 48 int optsize = sizeof(optbuf), ipproto; 60 if (getsockopt(fd, ipproto, IP_OPTIONS, (char *) optbuf, &optsize) == 0 88 for (cp = optbuf + ADDR_LEN; cp < optbuf + optsize; cp += optlen) { 108 for (cp = optbuf; optsize > 0; cp++, optsize--, lp += 3)
|
/titanic_44/usr/src/cmd/fs.d/smbclnt/mount/ |
H A D | mount.c | 164 char optbuf[MAX_MNTOPT_STR] = "rw"; variable 220 mnt.mnt_mntopts = optbuf; in main() 293 if (p = strstr(optbuf, "rw")) { in main() 458 (void) strlcat(optbuf, ",", sizeof (optbuf)); in setsubopt() 459 if (strlcat(optbuf, subopt, sizeof (optbuf)) >= in setsubopt() 460 sizeof (optbuf)) { in setsubopt()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.lib/inetd/ |
H A D | tlx.c | 264 } optbuf; in tlx_setsockopt() local 266 if (optlen > sizeof (optbuf.data)) { in tlx_setsockopt() 271 optbuf.sockopt.level = level; in tlx_setsockopt() 272 optbuf.sockopt.name = optname; in tlx_setsockopt() 273 optbuf.sockopt.len = optlen; in tlx_setsockopt() 274 (void) memcpy(optbuf.data, optval, optlen); in tlx_setsockopt() 277 request.opt.buf = (char *)&optbuf; in tlx_setsockopt() 281 reply.opt.buf = (char *)&optbuf; in tlx_setsockopt()
|
/titanic_44/usr/src/cmd/cmd-inet/usr.bin/tftp/ |
H A D | tftp.c | 87 static char optbuf[MAX_OPTVAL_LEN]; variable 447 (void) snprintf(optbuf, sizeof (optbuf), "%d", blksize); in blksize_str() 448 return (optbuf); in blksize_str() 460 (void) snprintf(optbuf, sizeof (optbuf), "%d", srexmtval); in timeout_str() 461 return (optbuf); in timeout_str() 473 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize); in tsize_str() 474 return (optbuf); in tsize_str()
|
/titanic_44/usr/src/cmd/sendmail/src/ |
H A D | usersmtp.c | 2006 char optbuf[MAXLINE]; local 2027 (void) sm_snprintf(optbuf, sizeof(optbuf), " SIZE=%ld", 2029 bufp = &optbuf[strlen(optbuf)]; 2033 optbuf[0] = '\0'; 2034 bufp = optbuf; 2047 SPACELEFT(optbuf, bufp) > strlen(bodytype) + 7) 2049 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2084 SPACELEFT(optbuf, bufp) > strlen(e->e_envid) + 7) 2086 (void) sm_snprintf(bufp, SPACELEFT(optbuf, bufp), 2093 SPACELEFT(optbuf, bufp) > 9) [all …]
|
/titanic_44/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 641 tsol_prepend_option(uchar_t *optbuf, ipha_t *ipha, int buflen) in tsol_prepend_option() argument 649 if (optbuf[IPOPT_OPTVAL] == IPOPT_EOL || in tsol_prepend_option() 650 optbuf[IPOPT_OPTVAL] == IPOPT_NOP || in tsol_prepend_option() 651 optbuf[IPOPT_OLEN] == 0) in tsol_prepend_option() 654 ASSERT(optbuf[IPOPT_OLEN] >= 2 && in tsol_prepend_option() 655 optbuf[IPOPT_OLEN] <= IP_MAX_OPT_LENGTH); in tsol_prepend_option() 703 olen = (optbuf[IPOPT_OLEN] + 3) & ~3; in tsol_prepend_option() 719 olen = optbuf[IPOPT_OLEN]; in tsol_prepend_option() 720 bcopy(optbuf, toptr, olen); in tsol_prepend_option() 1264 tsol_prepend_option_v6(uchar_t *optbuf, ip6_t *ip6h, int buflen) in tsol_prepend_option_v6() argument [all …]
|
/titanic_44/usr/src/cmd/cmd-inet/usr.sbin/ |
H A D | in.tftpd.c | 174 static char optbuf[MAX_OPTVAL_LEN]; variable 584 (void) snprintf(optbuf, sizeof (optbuf), "%d", blocksize); in blksize_handler() 585 return (optbuf); in blksize_handler() 614 (void) snprintf(optbuf, sizeof (optbuf), "%d", rexmtval); in timeout_handler() 615 return (optbuf); in timeout_handler() 651 (void) snprintf(optbuf, sizeof (optbuf), OFF_T_FMT, tsize); in tsize_handler() 652 return (optbuf); in tsize_handler()
|
/titanic_44/usr/src/head/rpcsvc/ |
H A D | svc_dg_priv.h | 52 struct netbuf optbuf; /* netbuf for options */ member
|
/titanic_44/usr/src/cmd/allocate/ |
H A D | allocate3.c | 229 char optbuf[BUFSIZ]; in print_da_defs() local 237 if (_kva2str(da_defs->devopts, optbuf, sizeof (optbuf), KV_ASSIGN, in print_da_defs() 239 if (p = rindex(optbuf, ':')) in print_da_defs() 241 (void) printf("\t%s\n", optbuf); in print_da_defs() 252 char optbuf[BUFSIZ]; in print_dev_attrs() local 261 if (_kva2str(da->da_devopts, optbuf, sizeof (optbuf), in print_dev_attrs() 263 if (p = rindex(optbuf, ':')) in print_dev_attrs() 265 (void) printf("%s", optbuf); in print_dev_attrs()
|
/titanic_44/usr/src/uts/common/inet/ |
H A D | optcom.c | 1908 uchar_t *optbuf; in optcom_pkt_set() local 1919 optbuf = kmem_alloc(inlen, KM_NOSLEEP); in optcom_pkt_set() 1920 if (optbuf == NULL) in optcom_pkt_set() 1923 optbuf = NULL; in optcom_pkt_set() 1931 bcopy(invalp, optbuf, inlen); in optcom_pkt_set() 1933 *optbufp = optbuf; in optcom_pkt_set() 1940 void *optbuf, optdb_obj_t *dbobjp, int (*opt_set_fn)(conn_t *, in process_auxiliary_options() argument 1986 &outlen, (uchar_t *)CMSG_CONTENT(cmsg), optbuf, cr); in process_auxiliary_options()
|
/titanic_44/usr/src/uts/common/inet/sockmods/ |
H A D | socksdp.c | 659 void *optbuf = &buffer; in sosdp_getsockopt() local 758 optbuf = kmem_alloc(maxlen, KM_SLEEP); in sosdp_getsockopt() 763 level, option_name, optbuf, &optlen); in sosdp_getsockopt() 776 option = optbuf; in sosdp_getsockopt() 785 if (optbuf != &buffer) { in sosdp_getsockopt() 786 kmem_free(optbuf, maxlen); in sosdp_getsockopt()
|
H A D | socksctp.c | 1230 void *optbuf = &buffer; in sosctp_getsockopt() local 1259 optbuf = kmem_alloc(maxlen, KM_SLEEP); in sosctp_getsockopt() 1268 option_name, optbuf, &optlen); in sosctp_getsockopt() 1279 bcopy(optbuf, optval, len); in sosctp_getsockopt() 1282 if (optbuf != &buffer) { in sosctp_getsockopt() 1283 kmem_free(optbuf, maxlen); in sosctp_getsockopt()
|
/titanic_44/usr/src/uts/common/io/ |
H A D | ldterm.c | 4782 struct stroptions optbuf; in chgstropts() local 4785 optbuf.so_flags = 0; in chgstropts() 4796 optbuf.so_flags = SO_READOPT|SO_MREADOFF; in chgstropts() 4797 optbuf.so_readopt = RMSGN; in chgstropts() 4810 optbuf.so_flags = SO_READOPT|SO_MREADON; in chgstropts() 4811 optbuf.so_readopt = RNORM; in chgstropts() 4819 optbuf.so_flags |= SO_TOSTOP; in chgstropts() 4821 optbuf.so_flags |= SO_TONSTOP; in chgstropts() 4823 if (optbuf.so_flags != 0) { in chgstropts() 4828 *(struct stroptions *)bp->b_wptr = optbuf; in chgstropts()
|
/titanic_44/usr/src/lib/libnsl/rpc/ |
H A D | svc_dg.c | 414 su->optbuf = tu_data->opt; in svc_dg_recv() 507 extract_cred(&su->optbuf, &tu_data->opt); in svc_dg_reply()
|
/titanic_44/usr/src/cmd/fs.d/nfs/mount/ |
H A D | mount.c | 236 char optbuf[MAX_MNTOPT_STR]; in main() local 255 mnt.mnt_mntopts = optbuf; in main() 256 (void) strcpy(optbuf, "rw"); in main()
|