/freebsd-current/tools/test/stress2/misc/ |
H A D | snap7.sh | 49 mount -o ro /dev/md$mdstart $mntpoint 2>/dev/null
|
H A D | mountro.sh | 56 mount -u -o ro $mntpoint
|
H A D | mountro2.sh | 50 mount -u -o ro $mntpoint
|
H A D | mountro3.sh | 51 mount -u -o ro $mntpoint # Should fail with "Device busy"
|
H A D | snap3.sh | 53 mount -o ro /dev/md$m1 $mntpoint
|
H A D | union.sh | 49 mount -o ro /dev/md${u1} $mntpoint
|
H A D | snap12.sh | 56 mount -t ufs -o ro /dev/md$m2 $mp2 || { s=3; break; }
|
H A D | snap13.sh | 59 mount -t ufs -o ro /dev/md$m2 $mp2 || {
|
/freebsd-current/sys/netinet6/ |
H A D | in6_src.c | 613 cache_route(uint32_t fibnum, const struct sockaddr_in6 *dst, struct route_in6 *ro, argument 622 if (ro->ro_nh != NULL && ( 623 !NH_IS_VALID(ro->ro_nh) || ro->ro_dst.sin6_family != AF_INET6 || 624 !IN6_ARE_ADDR_EQUAL(&ro->ro_dst.sin6_addr, &dst->sin6_addr))) 625 RO_NHFREE(ro); 627 if (ro->ro_nh == NULL) { 628 ro->ro_dst = *dst; 638 ro->ro_nh = fib6_lookup(fibnum, paddr, scopeid, NHR_REF, flowid); 640 return (ro 644 lookup_route(uint32_t fibnum, struct sockaddr_in6 *dst, struct route_in6 *ro, struct ip6_pktopts *opts, uint32_t flowid) argument 690 selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct nhop_object **retnh, int norouteok, u_int fibnum, uint32_t flowid) argument 823 in6_selectroute(struct sockaddr_in6 *dstsock, struct ip6_pktopts *opts, struct ip6_moptions *mopts, struct route_in6 *ro, struct ifnet **retifp, struct nhop_object **retnh, u_int fibnum, uint32_t flowid) argument [all...] |
H A D | ip6_output.c | 304 struct mbuf *m, struct sockaddr_in6 *dst, struct route_in6 *ro, 368 error = nd6_output_ifp(ifp, origifp, m, dst, (struct route *)ro); 393 * If route_in6 ro is present and has ro_nh initialized, route lookup would be 394 * skipped and ro->ro_nh would be used. If ro is present but ro->ro_nh is NULL, 395 * then result of route lookup is stored in ro->ro_nh. 404 struct route_in6 *ro, int flags, struct ip6_moptions *im6o, 634 ro_pmtu = ro; 636 ro 303 ip6_output_send(struct inpcb *inp, struct ifnet *ifp, struct ifnet *origifp, struct mbuf *m, struct sockaddr_in6 *dst, struct route_in6 *ro, bool stamp_tag) argument 403 ip6_output(struct mbuf *m0, struct ip6_pktopts *opt, struct route_in6 *ro, int flags, struct ip6_moptions *im6o, struct ifnet **ifpp, struct inpcb *inp) argument [all...] |
/freebsd-current/sys/netinet/ |
H A D | ip_fastfwd.c | 237 struct route ro; local 454 bzero(&ro, sizeof(ro)); 455 dst = (struct sockaddr_in *)&ro.ro_dst; 461 ro.ro_flags |= RT_HAS_GW; 483 error = (*nh->nh_ifp->if_output)(nh->nh_ifp, m, gw, &ro); 518 gw, &ro);
|
H A D | sctp_output.c | 2448 sctp_route_t *ro, 2467 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2468 ifn_index = SCTP_GET_IF_INDEX_FROM_ROUTE(ro); 2581 sctp_route_t *ro, 2604 ifn = SCTP_GET_IFN_VOID_FROM_ROUTE(ro); 2605 ifn_index = SCTP_GET_IF_INDEX_FROM_ROUTE(ro); 2774 sctp_route_t *ro) 2782 memcpy(&sin6, &ro->ro_dst, sizeof(struct sockaddr_in6)); 2844 if (sctp_v6src_match_nexthop(&sifa->address.sin6, ro) == 0) { 2853 if (sctp_v4src_match_nexthop(sifa, ro) 2447 sctp_choose_boundspecific_inp(struct sctp_inpcb *inp, sctp_route_t *ro, uint32_t vrf_id, int non_asoc_addr_ok, uint8_t dest_is_priv, uint8_t dest_is_loop, sa_family_t fam) argument 2579 sctp_choose_boundspecific_stcb(struct sctp_inpcb *inp, struct sctp_tcb *stcb, sctp_route_t *ro, uint32_t vrf_id, uint8_t dest_is_priv, uint8_t dest_is_loop, int non_asoc_addr_ok, sa_family_t fam) argument 2766 sctp_select_nth_preferred_addr_from_ifn_boundall(struct sctp_ifn *ifn, struct sctp_inpcb *inp, struct sctp_tcb *stcb, int non_asoc_addr_ok, uint8_t dest_is_loop, uint8_t dest_is_priv, int addr_wanted, sa_family_t fam, sctp_route_t *ro) argument 2941 sctp_choose_boundall(struct sctp_inpcb *inp, struct sctp_tcb *stcb, struct sctp_nets *net, sctp_route_t *ro, uint32_t vrf_id, uint8_t dest_is_priv, uint8_t dest_is_loop, int non_asoc_addr_ok, sa_family_t fam) argument 3293 sctp_source_address_selection(struct sctp_inpcb *inp, struct sctp_tcb *stcb, sctp_route_t *ro, struct sctp_nets *net, int non_asoc_addr_ok, uint32_t vrf_id) argument 3995 sctp_route_t *ro = NULL; local 13848 sctp_v6src_match_nexthop(struct sockaddr_in6 *src6, sctp_route_t *ro) argument 13901 sctp_v4src_match_nexthop(struct sctp_ifa *sifa, sctp_route_t *ro) argument [all...] |
H A D | ip_input.c | 917 struct route ro; local 937 bzero(&ro, sizeof(ro)); 938 sin = (struct sockaddr_in *)&ro.ro_dst; 943 ro.ro_nh = fib4_lookup(M_GETFIB(m), ip->ip_dst, 0, NHR_REF, flowid); 944 if (ro.ro_nh != NULL) { 945 ia = ifatoia(ro.ro_nh->nh_ifa); 988 RO_NHFREE(&ro); 1010 nh = ro.ro_nh; 1032 error = ip_output(m, NULL, &ro, IP_FORWARDIN [all...] |
H A D | if_ether.c | 354 struct route ro; local 413 bzero(&ro, sizeof(ro)); 423 ro.ro_prepend = linkhdr; 424 ro.ro_plen = linkhdrsize; 425 ro.ro_flags = 0; 429 error = (*ifp->if_output)(ifp, m, &sa, &ro); 782 struct route ro; local 1095 bzero(&ro, sizeof(ro)); 1146 struct route ro = { local [all...] |
H A D | sctp_asconf.c | 298 (struct sockaddr *)&net->ro._l_addr); 301 (struct sockaddr *)&net->ro._l_addr, SCTP_SO_NOT_LOCKED); 974 if (SCTP_ROUTE_HAS_VALID_IFN(&net->ro) && 976 (SCTP_GET_IF_INDEX_FROM_ROUTE(&net->ro) != ifn->ifn_index))) { 978 RO_NHFREE(&net->ro); 982 sctp_free_ifa(net->ro._s_addr); 983 net->ro._s_addr = NULL; 1003 SCTPDBG_ADDR(SCTP_DEBUG_ASCONF1, &stcb->asoc.deleted_primary->ro._l_addr.sa); 1005 SCTPDBG_ADDR(SCTP_DEBUG_ASCONF1, &stcb->asoc.primary_destination->ro._l_addr.sa); 1091 RO_NHFREE(&net->ro); [all...] |
/freebsd-current/sys/net/ |
H A D | if_disc.c | 176 struct route *ro) 186 af = RO_GET_FAMILY(ro, dst); 175 discoutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
|
H A D | if_dead.c | 46 struct route *ro) 45 ifdead_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *sa, struct route *ro) argument
|
H A D | if_ethersubr.c | 205 const struct sockaddr *dst, struct route *ro, u_char *phdr, 242 int af = RO_GET_FAMILY(ro, dst); 263 if (ro != NULL && (ro->ro_flags & RT_HAS_GW) != 0) 285 const struct sockaddr *dst, struct route *ro) 299 if (ro != NULL) { 301 if (ro->ro_prepend != NULL) { 302 phdr = ro->ro_prepend; 303 hlen = ro->ro_plen; 305 if ((ro 204 ether_resolve_addr(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro, u_char *phdr, uint32_t *pflags, struct llentry **plle) argument 284 ether_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument [all...] |
H A D | if_lagg.c | 1145 const struct sockaddr *dst, struct route *ro) 1153 return ((*lp->lp_output)(ifp, m, dst, ro)); 1350 struct lagg_reqopts *ro = (struct lagg_reqopts *)data; local 1411 ro->ro_opts = sc->sc_opts; 1417 ro->ro_opts |= LAGG_OPT_LACP_TXTEST; 1419 ro->ro_opts |= LAGG_OPT_LACP_RXTEST; 1421 ro->ro_opts |= LAGG_OPT_LACP_STRICT; 1423 ro->ro_opts |= LAGG_OPT_LACP_FAST_TIMO; 1425 ro->ro_active = sc->sc_active; 1427 ro 1144 lagg_port_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument [all...] |
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount_013_pos.ksh | 78 log_note "Verify '-o ro -v <dataset> <path>' verbose RO" 79 log_must ${helper},ro -v $fs $mntpoint
|
/freebsd-current/share/examples/libifconfig/ |
H A D | status.c | 306 printf("\t\tflags=%x", ls->ro->ro_opts); 308 printf("\t\tflowid_shift: %d\n", ls->ro->ro_flowid_shift); 310 printf("\t\trr_limit: %d\n", ls->ro->ro_bkt); 313 printf("\t\tactive ports: %d\n", ls->ro->ro_active); 314 printf("\t\tflapping: %u\n", ls->ro->ro_flapping);
|
/freebsd-current/sys/dev/mmc/ |
H A D | mmcsd.c | 111 bool ro; member in struct:mmcsd_part 180 const char *name, u_int cnt, off_t media_size, bool ro); 237 bool comp, ro; local 366 ro = mmc_get_read_only(dev); 368 device_get_unit(dev), mmc_get_media_size(dev) * sector_size, ro); 394 ro | ((ext_csd[EXT_CSD_BOOT_WP_STATUS] & 398 ro | ((ext_csd[EXT_CSD_BOOT_WP_STATUS] & 406 MMCSD_FMT_RPMB, 0, size, ro); 426 MMCSD_FMT_GP, i, size * erase_size * wp_size, ro); 479 off_t media_size, bool ro) 478 mmcsd_add_part(struct mmcsd_softc *sc, u_int type, const char *name, u_int cnt, off_t media_size, bool ro) argument [all...] |
/freebsd-current/usr.sbin/bhyve/ |
H A D | pci_virtio_9p.c | 254 bool ro; local 257 ro = get_config_bool_node_default(nvl, "ro", false); 303 if (l9p_backend_fs_init(&sc->vsc_fs_backend, rootfd, ro) != 0) {
|
/freebsd-current/contrib/netbsd-tests/fs/tmpfs/ |
H A D | t_mount.sh | 63 test_mount -o ro 65 atf_fail "read-only option (ro) does not work"
|
/freebsd-current/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_import/ |
H A D | zpool_import_errata3.ksh | 69 log_must zfs mount -o ro $POOL_NAME/testfs
|