Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/cmd/fs.d/tmpfs/
H A Dmount.c134 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 Dmount.c159 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 Dsctp_input.c326 uchar_t *optptr; in sctp_input_add_ancillary() local
480 optptr += sizeof (*cmsg); in sctp_input_add_ancillary()
498 optptr += sizeof (*sri); in sctp_input_add_ancillary()
514 optptr += sizeof (*cmsg); in sctp_input_add_ancillary()
524 optptr += sizeof (*pkti); in sctp_input_add_ancillary()
525 ASSERT(OK_32PTR(optptr)); in sctp_input_add_ancillary()
535 optptr += sizeof (*cmsg); in sctp_input_add_ancillary()
539 ASSERT(OK_32PTR(optptr)); in sctp_input_add_ancillary()
549 optptr += sizeof (*cmsg); in sctp_input_add_ancillary()
553 ASSERT(OK_32PTR(optptr)); in sctp_input_add_ancillary()
[all …]
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_input.c5108 uchar_t *optptr; in tcp_input_add_ancillary() local
5233 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5255 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5259 optptr += sizeof (*pkti); in tcp_input_add_ancillary()
5260 ASSERT(OK_32PTR(optptr)); in tcp_input_add_ancillary()
5271 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5285 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5298 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5313 optptr += sizeof (*toh); in tcp_input_add_ancillary()
5329 optptr += sizeof (*toh); in tcp_input_add_ancillary()
[all …]
/illumos-gate/usr/src/cmd/fs.d/autofs/
H A Dautod_autofs.c169 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 Dautod_xdr.c125 if (!xdr_string(xdrs, &objp->optptr, AUTOFS_MAXOPTSLEN)) in xdr_mounta()
/illumos-gate/usr/src/lib/cfgadm_plugins/scsi/SUNW,SPARC-Enterprise/common/
H A Dopl_dev_led.c310 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 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.c2777 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()
2890 optused = 2 + optptr[1]; in ip_process_options_v6()
2906 optused = 2 + optptr[1]; in ip_process_options_v6()
2930 (uint32_t)(optptr - in ip_process_options_v6()
2941 (uint32_t)(optptr - in ip_process_options_v6()
[all …]
H A Dip6_input.c647 uint8_t *optptr; in ill_input_short_v6() local
693 optptr = (uint8_t *)&hbhhdr[1]; in ill_input_short_v6()
694 switch (ip_process_options_v6(mp, ip6h, optptr, in ill_input_short_v6()
2409 uint8_t *optptr; in ip_fanout_v6() local
2446 optptr = (uint8_t *)&desthdr[1]; in ip_fanout_v6()
2465 switch (ip_process_options_v6(mp, ip6h, optptr, in ip_fanout_v6()
H A Dipsecah.c3021 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 Dmount.c85 uap->optptr = (char *)*lp++; in mount()
/illumos-gate/usr/src/cmd/svr4pkg/libinst/
H A Dmntinfo.c668 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/cmd-inet/usr.sbin/snoop/
H A Dsnoop_ppp.c541 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/cmd/zoneadmd/
H A Dvplat.c413 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()
454 optptr->zone_fsopt_next = onext->zone_fsopt_next; in check_lofs_needed()
459 optptr->zone_fsopt_next = NULL; in check_lofs_needed()
460 fsptr->zone_fs_options = optptr; in check_lofs_needed()
1214 zone_fsopt_t *optptr; in mount_one() local
1319 optptr != NULL; optptr = optptr->zone_fsopt_next) { in mount_one()
[all …]
/illumos-gate/usr/src/uts/common/fs/autofs/
H A Dauto_subr.c898 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 Dauto_xdr.c251 if (!xdr_string(xdrs, &objp->optptr, AUTOFS_MAXOPTSLEN)) in xdr_mounta()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_stub_vnops.c1920 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/lib/smbclnt/libfknsmb/common/sys/
H A Dvfs.h302 char *optptr; member
/illumos-gate/usr/src/uts/common/sys/
H A Dvfs.h299 char *optptr; member
/illumos-gate/usr/src/cmd/fs.d/smbclnt/fksmbcl/
H A Dfksmbcl_main.c366 ma.optptr = mnt_opt_buf; in do_mount()
/illumos-gate/usr/src/cmd/zonecfg/
H A Dzonecfg.c1978 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 Dzfs_ctldir.c899 margs.optptr = NULL; in zfsctl_snapdir_lookup()
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/
H A Dfake_vfs.c544 char *opts = uap->optptr; in fake_domount()
/illumos-gate/usr/src/uts/common/fs/
H A Dvfs.c1101 char *opts = uap->optptr; in domount()

12