/illumos-gate/usr/src/cmd/fs.d/tmpfs/ |
H A D | mount.c | 134 char *optptr; in main() local 138 optptr = argv[optcnt]; in main() 139 if (optptr) in main() 140 (void) fprintf(stderr, " %s", optptr); in main()
|
/illumos-gate/usr/src/cmd/fs.d/pcfs/mount/ |
H A D | mount.c | 159 char *optptr; in main() local 163 optptr = argv[optcnt]; in main() 164 if (optptr) in main() 165 (void) fprintf(stderr, " %s", optptr); in main()
|
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_input.c | 327 uchar_t *optptr; in sctp_input_add_ancillary() local 471 optptr = (uchar_t *)tudi + tudi->OPT_offset; in sctp_input_add_ancillary() 477 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 481 optptr += sizeof (*cmsg); in sctp_input_add_ancillary() 499 optptr += sizeof (*sri); in sctp_input_add_ancillary() 511 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary() 515 optptr += sizeof (*cmsg); in sctp_input_add_ancillary() 517 pkti = (struct in6_pktinfo *)optptr; in sctp_input_add_ancillary() 525 optptr += sizeof (*pkti); in sctp_input_add_ancillary() 526 ASSERT(OK_32PTR(optptr)); in sctp_input_add_ancillary() [all …]
|
/illumos-gate/usr/src/uts/common/inet/tcp/ |
H A D | tcp_input.c | 5176 uchar_t *optptr; in tcp_input_add_ancillary() local 5291 optptr = (uchar_t *)&todi[1]; in tcp_input_add_ancillary() 5295 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary() 5301 optptr += sizeof (*toh); in tcp_input_add_ancillary() 5302 *(uint8_t *)optptr = ipp->ipp_type_of_service; in tcp_input_add_ancillary() 5303 optptr = (uchar_t *)toh + toh->len; in tcp_input_add_ancillary() 5304 ASSERT(__TPI_TOPT_ISALIGNED(optptr)); in tcp_input_add_ancillary() 5318 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary() 5323 optptr += sizeof (*toh); in tcp_input_add_ancillary() 5324 pkti = (struct in6_pktinfo *)optptr; in tcp_input_add_ancillary() [all …]
|
/illumos-gate/usr/src/cmd/fs.d/autofs/ |
H A D | autod_autofs.c | 169 alp->action.action_list_entry_u.mounta.optptr = buf; in mount_autofs() 273 if (m->optptr) in free_mounta() 274 free(m->optptr); in free_mounta()
|
H A D | autod_xdr.c | 125 if (!xdr_string(xdrs, &objp->optptr, AUTOFS_MAXOPTSLEN)) in xdr_mounta()
|
H A D | autod_nfs.c | 2383 alp->action.action_list_entry_u.mounta.optptr = mntopts; in nfsmount()
|
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/ |
H A D | opl_dev_led.c | 310 char *optptr = (char *)func; in plat_dev_led() local 324 while (*optptr != '\0') { in plat_dev_led() 325 switch (getsubopt(&optptr, opl_opts, &value)) { in plat_dev_led()
|
/illumos-gate/usr/src/uts/common/inet/ip/ |
H A D | tn_ipopt.c | 1099 const uchar_t *optptr; in tsol_find_secopt_v6() local 1106 optptr = ip6hbh + 2; in tsol_find_secopt_v6() 1108 opt_type = *optptr; in tsol_find_secopt_v6() 1110 optptr++; in tsol_find_secopt_v6() 1116 optused = 2 + optptr[1]; in tsol_find_secopt_v6() 1130 *secoptp = (uchar_t *)optptr; in tsol_find_secopt_v6() 1141 *after_secoptp = (uchar_t *)optptr; in tsol_find_secopt_v6() 1147 optptr += optused; in tsol_find_secopt_v6()
|
H A D | ip6.c | 2767 uint8_t *optptr, uint_t optlen, uint8_t hdr_type, ip_recv_attr_t *ira) in ip_process_options_v6() argument 2777 opt_type = *optptr; in ip_process_options_v6() 2785 optused = 2 + optptr[1]; in ip_process_options_v6() 2796 optused = 2 + optptr[1]; in ip_process_options_v6() 2811 optused = 2 + optptr[1]; in ip_process_options_v6() 2814 or = (struct ip6_opt_router *)optptr; in ip_process_options_v6() 2860 optused = 2 + optptr[1]; in ip_process_options_v6() 2873 oh = (struct ip6_opt_home_address *)optptr; in ip_process_options_v6() 2890 optused = 2 + optptr[1]; in ip_process_options_v6() 2906 optused = 2 + optptr[1]; in ip_process_options_v6() [all …]
|
H A D | ip6_input.c | 649 uint8_t *optptr; in ill_input_short_v6() local 695 optptr = (uint8_t *)&hbhhdr[1]; in ill_input_short_v6() 696 switch (ip_process_options_v6(mp, ip6h, optptr, in ill_input_short_v6() 2407 uint8_t *optptr; in ip_fanout_v6() local 2444 optptr = (uint8_t *)&desthdr[1]; in ip_fanout_v6() 2463 switch (ip_process_options_v6(mp, ip6h, optptr, in ip_fanout_v6()
|
H A D | ipsecah.c | 3021 uchar_t *optptr; in ah_process_ip_options_v4() local 3126 optptr = opts.ipoptp_cur; in ah_process_ip_options_v4() 3149 off = optptr[IPOPT_OFFSET]; in ah_process_ip_options_v4() 3157 bcopy(&optptr[off], &dst, IP_ADDR_LEN); in ah_process_ip_options_v4() 3171 bzero(optptr, optlen); in ah_process_ip_options_v4()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | mount.c | 85 uap->optptr = (char *)*lp++; in mount()
|
/illumos-gate/usr/src/cmd/svr4pkg/libinst/ |
H A D | mntinfo.c | 668 char vfs_options[VFS_LINE_MAX], *optptr; in hasopt() local 676 while (optptr = strrchr(vfs_options, ',')) { in hasopt() 677 *optptr++ = '\0'; in hasopt() 679 if (strcmp(optptr, keyword) == 0) in hasopt()
|
/illumos-gate/usr/src/cmd/zoneadmd/ |
H A D | vplat.c | 413 zone_fsopt_t *optptr, *onext; in check_lofs_needed() local 444 optptr = fsptr->zone_fs_options; in check_lofs_needed() 445 if (optptr == NULL) { in check_lofs_needed() 446 optptr = malloc(sizeof (*optptr)); in check_lofs_needed() 447 if (optptr == NULL) { in check_lofs_needed() 453 while ((onext = optptr->zone_fsopt_next) != NULL) { in check_lofs_needed() 454 optptr->zone_fsopt_next = onext->zone_fsopt_next; in check_lofs_needed() 458 (void) strcpy(optptr->zone_fsopt_opt, RESOURCE_DEFAULT_OPTS); in check_lofs_needed() 459 optptr->zone_fsopt_next = NULL; in check_lofs_needed() 460 fsptr->zone_fs_options = optptr; in check_lofs_needed() [all …]
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/ |
H A D | snoop_ppp.c | 541 interpret_cp_options(uchar_t *optptr, int len, ppp_protoinfo_t *protoinfo) in interpret_cp_options() argument 579 GETINT8(opttype, optptr); in interpret_cp_options() 580 GETINT8(optlen, optptr); in interpret_cp_options() 602 optinfo_ptr->opt_formatdata(optptr, in interpret_cp_options() 607 optptr += optlen - 2; in interpret_cp_options()
|
/illumos-gate/usr/src/uts/common/fs/autofs/ |
H A D | auto_subr.c | 898 if (m->optptr) in auto_free_action_list() 899 kmem_free(m->optptr, m->optlen); in auto_free_action_list() 931 m->optptr == NULL) in auto_invalid_autofs() 1211 margs.optptr = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP); in auto_perform_actions() 1213 (void) strcpy(margs.optptr, m->optptr); in auto_perform_actions() 1222 kmem_free(margs.optptr, MAX_MNTOPT_STR); in auto_perform_actions()
|
H A D | auto_xdr.c | 251 if (!xdr_string(xdrs, &objp->optptr, AUTOFS_MAXOPTSLEN)) in xdr_mounta()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_stub_vnops.c | 1920 uap->optptr = nfs4_trigger_create_mntopts(stubvfsp); in nfs4_trigger_domount() 1921 if (uap->optptr == NULL) { in nfs4_trigger_domount() 1927 uap->optlen = strlen(uap->optptr) + 1; in nfs4_trigger_domount() 1960 if (uap->optptr) in nfs4_trigger_domount() 1961 nfs4_trigger_destroy_mntopts(uap->optptr); in nfs4_trigger_domount()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | vfs.h | 299 char *optptr; member
|
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/ |
H A D | fksmbcl_main.c | 366 ma.optptr = mnt_opt_buf; in do_mount()
|
/illumos-gate/usr/src/cmd/zonecfg/ |
H A D | zonecfg.c | 1978 zone_fsopt_t *optptr; in export_func() local 1986 for (optptr = fstab.zone_fs_options; optptr != NULL; in export_func() 1987 optptr = optptr->zone_fsopt_next) { in export_func() 1993 if (strchr(optptr->zone_fsopt_opt, '=')) in export_func() 1997 optptr->zone_fsopt_opt); in export_func() 2002 optptr->zone_fsopt_opt); in export_func()
|
/illumos-gate/usr/src/uts/common/fs/zfs/ |
H A D | zfs_ctldir.c | 899 margs.optptr = NULL; in zfsctl_snapdir_lookup()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_vfs.c | 544 char *opts = uap->optptr; in fake_domount()
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vfs.c | 1121 char *opts = uap->optptr; in domount()
|