Home
last modified time | relevance | path

Searched refs:optptr (Results 1 – 23 of 23) sorted by relevance

/titanic_41/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c135 char *optptr; in main() local
139 optptr = argv[optcnt]; in main()
140 if (optptr) in main()
141 (void) fprintf(stderr, " %s", optptr); in main()
/titanic_41/usr/src/cmd/fs.d/pcfs/mount/
H A Dmount.c160 char *optptr; in main() local
164 optptr = argv[optcnt]; in main()
165 if (optptr) in main()
166 (void) fprintf(stderr, " %s", optptr); in main()
/titanic_41/usr/src/uts/common/inet/sctp/
H A Dsctp_input.c326 uchar_t *optptr; in sctp_input_add_ancillary() local
470 optptr = (uchar_t *)tudi + tudi->OPT_offset; in sctp_input_add_ancillary()
476 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary()
480 optptr += sizeof (*cmsg); in sctp_input_add_ancillary()
498 optptr += sizeof (*sri); in sctp_input_add_ancillary()
510 cmsg = (struct cmsghdr *)optptr; in sctp_input_add_ancillary()
514 optptr += sizeof (*cmsg); in sctp_input_add_ancillary()
516 pkti = (struct in6_pktinfo *)optptr; in sctp_input_add_ancillary()
524 optptr += sizeof (*pkti); in sctp_input_add_ancillary()
525 ASSERT(OK_32PTR(optptr)); in sctp_input_add_ancillary()
[all …]
/titanic_41/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c5013 uchar_t *optptr; in tcp_input_add_ancillary() local
5118 optptr = (uchar_t *)&todi[1]; in tcp_input_add_ancillary()
5128 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary()
5133 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5134 pkti = (struct in6_pktinfo *)optptr; in tcp_input_add_ancillary()
5137 optptr += sizeof (*pkti); in tcp_input_add_ancillary()
5138 ASSERT(OK_32PTR(optptr)); in tcp_input_add_ancillary()
5144 toh = (struct T_opthdr *)optptr; in tcp_input_add_ancillary()
5149 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5150 *(uint_t *)optptr = ipp->ipp_hoplimit; in tcp_input_add_ancillary()
[all …]
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c171 alp->action.action_list_entry_u.mounta.optptr = buf; in mount_autofs()
275 if (m->optptr) in free_mounta()
276 free(m->optptr); in free_mounta()
H A Dautod_xdr.c125 if (!xdr_string(xdrs, &objp->optptr, AUTOFS_MAXOPTSLEN)) in xdr_mounta()
H A Dautod_nfs.c2443 alp->action.action_list_entry_u.mounta.optptr = mntopts; in nfsmount()
/titanic_41/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c313 char *optptr = (char *)func; in plat_dev_led() local
327 while (*optptr != '\0') { in plat_dev_led()
328 switch (getsubopt(&optptr, opl_opts, &value)) { in plat_dev_led()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dtn_ipopt.c1099 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 Dip6.c2869 uint8_t *optptr, uint_t optlen, uint8_t hdr_type, ip_recv_attr_t *ira) in ip_process_options_v6() argument
2879 opt_type = *optptr; in ip_process_options_v6()
2887 optused = 2 + optptr[1]; in ip_process_options_v6()
2898 optused = 2 + optptr[1]; in ip_process_options_v6()
2913 optused = 2 + optptr[1]; in ip_process_options_v6()
2916 or = (struct ip6_opt_router *)optptr; in ip_process_options_v6()
2962 optused = 2 + optptr[1]; in ip_process_options_v6()
2975 oh = (struct ip6_opt_home_address *)optptr; in ip_process_options_v6()
2992 optused = 2 + optptr[1]; in ip_process_options_v6()
3008 optused = 2 + optptr[1]; in ip_process_options_v6()
[all …]
H A Dip6_input.c648 uint8_t *optptr; in ill_input_short_v6() local
694 optptr = (uint8_t *)&hbhhdr[1]; in ill_input_short_v6()
695 switch (ip_process_options_v6(mp, ip6h, optptr, in ill_input_short_v6()
2411 uint8_t *optptr; in ip_fanout_v6() local
2448 optptr = (uint8_t *)&desthdr[1]; in ip_fanout_v6()
2467 switch (ip_process_options_v6(mp, ip6h, optptr, in ip_fanout_v6()
H A Dipsecah.c3176 uchar_t *optptr; in ah_process_ip_options_v4() local
3281 optptr = opts.ipoptp_cur; in ah_process_ip_options_v4()
3304 off = optptr[IPOPT_OFFSET]; in ah_process_ip_options_v4()
3312 bcopy(&optptr[off], &dst, IP_ADDR_LEN); in ah_process_ip_options_v4()
3326 bzero(optptr, optlen); in ah_process_ip_options_v4()
/titanic_41/usr/src/uts/common/syscall/
H A Dmount.c87 uap->optptr = (char *)*lp++; in mount()
/titanic_41/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c672 char vfs_options[VFS_LINE_MAX], *optptr; in hasopt() local
680 while (optptr = strrchr(vfs_options, ',')) { in hasopt()
681 *optptr++ = '\0'; in hasopt()
683 if (strcmp(optptr, keyword) == 0) in hasopt()
/titanic_41/usr/src/cmd/zoneadmd/
H A Dvplat.c397 zone_fsopt_t *optptr, *onext; in check_lofs_needed() local
428 optptr = fsptr->zone_fs_options; in check_lofs_needed()
429 if (optptr == NULL) { in check_lofs_needed()
430 optptr = malloc(sizeof (*optptr)); in check_lofs_needed()
431 if (optptr == NULL) { in check_lofs_needed()
437 while ((onext = optptr->zone_fsopt_next) != NULL) { in check_lofs_needed()
438 optptr->zone_fsopt_next = onext->zone_fsopt_next; in check_lofs_needed()
442 (void) strcpy(optptr->zone_fsopt_opt, RESOURCE_DEFAULT_OPTS); in check_lofs_needed()
443 optptr->zone_fsopt_next = NULL; in check_lofs_needed()
444 fsptr->zone_fs_options = optptr; in check_lofs_needed()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.c543 interpret_cp_options(uchar_t *optptr, int len, ppp_protoinfo_t *protoinfo) in interpret_cp_options() argument
581 GETINT8(opttype, optptr); in interpret_cp_options()
582 GETINT8(optlen, optptr); in interpret_cp_options()
604 optinfo_ptr->opt_formatdata(optptr, in interpret_cp_options()
609 optptr += optlen - 2; in interpret_cp_options()
/titanic_41/usr/src/uts/common/fs/autofs/
H A Dauto_subr.c896 if (m->optptr) in auto_free_action_list()
897 kmem_free(m->optptr, m->optlen); in auto_free_action_list()
929 m->optptr == NULL) in auto_invalid_autofs()
1209 margs.optptr = kmem_alloc(MAX_MNTOPT_STR, KM_SLEEP); in auto_perform_actions()
1211 (void) strcpy(margs.optptr, m->optptr); in auto_perform_actions()
1220 kmem_free(margs.optptr, MAX_MNTOPT_STR); in auto_perform_actions()
H A Dauto_xdr.c251 if (!xdr_string(xdrs, &objp->optptr, AUTOFS_MAXOPTSLEN)) in xdr_mounta()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c1915 uap->optptr = nfs4_trigger_create_mntopts(stubvfsp); in nfs4_trigger_domount()
1916 if (uap->optptr == NULL) { in nfs4_trigger_domount()
1922 uap->optlen = strlen(uap->optptr) + 1; in nfs4_trigger_domount()
1955 if (uap->optptr) in nfs4_trigger_domount()
1956 nfs4_trigger_destroy_mntopts(uap->optptr); in nfs4_trigger_domount()
/titanic_41/usr/src/uts/common/sys/
H A Dvfs.h311 char *optptr; member
/titanic_41/usr/src/cmd/zonecfg/
H A Dzonecfg.c1929 zone_fsopt_t *optptr; in export_func() local
1937 for (optptr = fstab.zone_fs_options; optptr != NULL; in export_func()
1938 optptr = optptr->zone_fsopt_next) { in export_func()
1944 if (strchr(optptr->zone_fsopt_opt, '=')) in export_func()
1948 optptr->zone_fsopt_opt); in export_func()
1953 optptr->zone_fsopt_opt); in export_func()
/titanic_41/usr/src/uts/common/fs/zfs/
H A Dzfs_ctldir.c904 margs.optptr = NULL; in zfsctl_snapdir_lookup()
/titanic_41/usr/src/uts/common/fs/
H A Dvfs.c1175 char *opts = uap->optptr; in domount()