/freebsd-current/contrib/lib9p/backend/ |
H A D | fs.h | 35 int l9p_backend_fs_init(struct l9p_backend **backendp, int rootfd, bool ro);
|
/freebsd-current/sbin/ifconfig/ |
H A D | iflagg.c | 95 struct lagg_reqopts ro = {}; local 97 ro.ro_opts = LAGG_OPT_FLOWIDSHIFT; 98 strlcpy(ro.ro_ifname, ctx->ifname, sizeof(ro.ro_ifname)); 99 ro.ro_flowid_shift = (int)strtol(val, NULL, 10); 100 if (ro.ro_flowid_shift & ~LAGG_OPT_FLOWIDSHIFT_MASK) 103 if (ioctl_ctx(ctx, SIOCSLAGGOPTS, &ro) != 0) 110 struct lagg_reqopts ro = {}; local 112 strlcpy(ro.ro_ifname, ctx->ifname, sizeof(ro 125 struct lagg_reqopts ro = {}; local 214 struct lagg_reqopts *ro; local [all...] |
/freebsd-current/contrib/lib9p/example/ |
H A D | server.c | 45 bool ro = false; local 58 ro = true; 77 if (l9p_backend_fs_init(&fs_backend, rootfd, ro) != 0)
|
/freebsd-current/lib/libifconfig/ |
H A D | libifconfig_lagg.c | 49 struct lagg_reqopts ro; member in struct:_ifconfig_lagg_status 77 ls->l.ro = &ls->ro; 84 strlcpy(ls->ro.ro_ifname, name, sizeof(ls->ro.ro_ifname)); 85 ifconfig_ioctlwrap(h, AF_LOCAL, SIOCGLAGGOPTS, &ls->ro);
|
/freebsd-current/sys/netinet/ |
H A D | sctp_os_bsd.h | 202 #define SCTP_ROUTE_IS_REAL_LOOP(ro) ((ro)->ro_nh && (ro)->ro_nh->nh_ifa && (ro)->ro_nh->nh_ifa->ifa_ifp && (ro)->ro_nh->nh_ifa->ifa_ifp->if_type == IFT_LOOP) 208 #define SCTP_GET_IFN_VOID_FROM_ROUTE(ro) (void *)ro->ro_nh->nh_ifp 209 #define SCTP_GET_IF_INDEX_FROM_ROUTE(ro) (ro)->ro_nh->nh_ifp->if_index 210 #define SCTP_ROUTE_HAS_VALID_IFN(ro) ((r [all...] |
H A D | ip_output.c | 205 const struct sockaddr *gw, struct route *ro, bool stamp_tag) 268 error = (*ifp->if_output)(ifp, m, gw, ro); 288 rt_update_ro_flags(struct route *ro, const struct nhop_object *nh) argument 292 ro->ro_flags &= ~ (RT_REJECT|RT_BLACKHOLE|RT_HAS_GW); 294 ro->ro_flags |= (nh_flags & NHF_REJECT) ? RT_REJECT : 0; 295 ro->ro_flags |= (nh_flags & NHF_BLACKHOLE) ? RT_BLACKHOLE : 0; 296 ro->ro_flags |= (nh_flags & NHF_GATEWAY) ? RT_HAS_GW : 0; 304 * If route ro is present and has ro_rt initialized, route lookup would be 305 * skipped and ro->ro_rt would be used. If ro i 204 ip_output_send(struct inpcb *inp, struct ifnet *ifp, struct mbuf *m, const struct sockaddr *gw, struct route *ro, bool stamp_tag) argument 312 ip_output(struct mbuf *m, struct mbuf *opt, struct route *ro, int flags, struct ip_moptions *imo, struct inpcb *inp) argument [all...] |
H A D | sctp_timer.c | 343 if (alt->ro.ro_nh == NULL) { 344 if (alt->ro._s_addr) { 345 sctp_free_ifa(alt->ro._s_addr); 346 alt->ro._s_addr = NULL; 351 (alt->ro.ro_nh != NULL) && 939 if (net->ro._s_addr != NULL) { 940 sctp_free_ifa(net->ro._s_addr); 941 net->ro._s_addr = NULL; 946 RO_NHFREE(&net->ro); 1283 SCTPDBG_ADDR(SCTP_DEBUG_ASCONF1, &stcb->asoc.deleted_primary->ro [all...] |
H A D | sctp_output.h | 63 sctp_route_t *ro, struct sctp_nets *net, 66 int sctp_v6src_match_nexthop(struct sockaddr_in6 *src6, sctp_route_t *ro); 68 int sctp_v4src_match_nexthop(struct sctp_ifa *sifa, sctp_route_t *ro);
|
/freebsd-current/sys/net/ |
H A D | route.h | 387 #define RO_INVALIDATE_CACHE(ro) do { \ 388 if ((ro)->ro_lle != NULL) { \ 389 LLE_FREE((ro)->ro_lle); \ 390 (ro)->ro_lle = NULL; \ 392 if ((ro)->ro_nh != NULL) { \ 393 NH_FREE((ro)->ro_nh); \ 394 (ro)->ro_nh = NULL; \ 398 #define RO_GET_FAMILY(ro, dst) ((ro) != NULL && \ 399 (ro) [all...] |
H A D | if_infiniband.c | 229 const struct sockaddr *dst, struct route *ro, uint8_t *phdr, 263 int af = RO_GET_FAMILY(ro, dst); 283 if (ro != NULL && (ro->ro_flags & RT_HAS_GW) != 0) 302 const struct sockaddr *dst, struct route *ro) 318 if (ro != NULL) { 320 if (ro->ro_prepend != NULL) { 321 phdr = ro->ro_prepend; 322 hlen = ro->ro_plen; 324 if ((ro 228 infiniband_resolve_addr(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro, uint8_t *phdr, uint32_t *pflags, struct llentry **plle) argument 301 infiniband_output(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument [all...] |
H A D | if_loop.c | 93 const struct sockaddr *dst, struct route *ro); 209 struct route *ro) 226 if (ro != NULL && ro->ro_flags & (RT_REJECT|RT_BLACKHOLE)) { 228 return (ro->ro_flags & RT_BLACKHOLE ? 0 : EHOSTUNREACH); 242 af = RO_GET_FAMILY(ro, dst); 208 looutput(struct ifnet *ifp, struct mbuf *m, const struct sockaddr *dst, struct route *ro) argument
|
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | objdir-writable.mk | 14 all: no-objdir ro-objdir explicit-objdir 27 ro-objdir:
|
/freebsd-current/cddl/lib/libdtrace/ |
H A D | sctp.d | 141 p->asoc.primary_destination->ro._s_addr == NULL ? "<unknown>" : 142 p->asoc.primary_destination->ro._s_addr->address.sa.sa_family == AF_INET ? 143 inet_ntoa(&p->asoc.primary_destination->ro._s_addr->address.sin.sin_addr.s_addr) : 144 p->asoc.primary_destination->ro._s_addr->address.sa.sa_family == AF_INET6 ? 145 inet_ntoa6(&p->asoc.primary_destination->ro._s_addr->address.sin6.sin6_addr) : 149 p->asoc.primary_destination->ro._l_addr.sa.sa_family == AF_INET ? 150 inet_ntoa(&p->asoc.primary_destination->ro._l_addr.sin.sin_addr.s_addr) : 151 p->asoc.primary_destination->ro._l_addr.sa.sa_family == AF_INET6 ? 152 inet_ntoa6(&p->asoc.primary_destination->ro._l_addr.sin6.sin6_addr) :
|
/freebsd-current/tests/sys/geom/class/uzip/ |
H A D | 1_test.sh | 25 mount -o ro /dev/${us0}.uzip "${mntpoint}" || exit 1
|
/freebsd-current/lib/libmp/tests/ |
H A D | legacy_test.c | 98 short ro; local 109 mp_sdiv(c42, 5, t0, &ro); 111 t2 = mp_itom(ro); // Simpler to use common testmcmp() 115 mp_sdiv(c10, 8, t0, &ro); 117 t2 = mp_itom(ro); // Simpler to use common testmcmp()
|
/freebsd-current/tools/test/stress2/misc/ |
H A D | mountu.sh | 31 # Change mount point from rw to ro with a file mapped rw 92 mount -u -o ro $mntpoint 2>/dev/null || mount -fu -o ro $mntpoint 115 mount -u -o ro $mntpoint 2>/dev/null || 116 mount -fu -o ro $mntpoint 2>/dev/null 141 mount -u -o ro $mntpoint 2>/dev/null || mount -fu -o ro $mntpoint 164 mount -u -o ro $mntpoint 2>/dev/null || mount -fu -o ro $mntpoint 180 UFS/NFS/msdosfs reclaim vnode on rw->ro force [all...] |
H A D | snap4.sh | 48 mount -o ro /dev/md$mdstart $mntpoint
|
H A D | mountro5.sh | 30 # Toggle a tmpfs file system rw / ro. 53 mount -fu -o ro $mntpoint
|
H A D | mountro6.sh | 30 # Test rw->ro remount when there is a text vnode mapping. 49 mount -u -o ro $mntpoint || s=1
|
H A D | mountro4.sh | 45 mount -u -o ro $mntpoint 46 touch $f2 2>/dev/null && { echo "ufs: ro failed"; s=1; } 63 mount -u -o ro $mntpoint 64 touch $f2 2>/dev/null && { echo "tmpfs: ro failed"; s=1; } 87 mount -u -o ro $mntpoint 88 touch $f2 2>/dev/null && { echo "msdosfs: ro failed"; s=1; }
|
H A D | snap2-1.sh | 52 mount -o ro /dev/md$mdstart $mntpoint
|
H A D | snap5-1.sh | 55 mount -o ro /dev/md$mdstart $mnt2 || exit 5
|
H A D | snap5.sh | 46 mount -o ro /dev/md$mdstart $mnt2
|
/freebsd-current/tools/regression/tmpfs/ |
H A D | t_mount | 51 test_mount -o ro
|
/freebsd-current/contrib/netbsd-tests/usr.bin/ld/ |
H A D | t_script.sh | 140 ld -r -T test.x -Map test.map -o test.ro test.o 141 extract_section_names test.ro >test.secs 142 extract_symbol_names test.ro >test.syms
|