Lines Matching defs:lwp

102 	struct nfs_args *argp, struct lwp *l);
106 static int nfs_boot_getfh(struct nfs_dlmount *ndm, struct lwp *);
115 nfs_boot_init(struct nfs_diskless *nd, struct lwp *lwp)
141 error = nfs_bootstatic(nd, lwp, &flags);
151 error = nfs_bootdhcp(nd, lwp, &flags);
157 error = nfs_bootparam(nd, lwp, &flags);
167 nfs_boot_setmtu(nd->nd_ifp, nd->nd_mtu, lwp);
183 error = nfs_boot_getfh(&nd->nd_root, lwp);
186 nfs_boot_cleanup(nd, lwp);
195 nfs_boot_cleanup(struct nfs_diskless *nd, struct lwp *lwp)
198 nfs_boot_deladdress(nd->nd_ifp, lwp, nd->nd_myip.s_addr);
199 nfs_boot_ifupdown(nd->nd_ifp, lwp, 0);
204 nfs_boot_ifupdown(struct ifnet *ifp, struct lwp *lwp, int up)
217 error = socreate(AF_INET, &so, SOCK_DGRAM, 0, lwp, NULL);
228 error = ifioctl(so, SIOCGIFFLAGS, (void *)&ireq, lwp);
237 error = ifioctl(so, SIOCSIFFLAGS, &ireq, lwp);
252 nfs_boot_setmtu(struct ifnet *ifp, int mtu, struct lwp *lwp)
265 error = socreate(AF_INET, &so, SOCK_DGRAM, 0, lwp, NULL);
274 error = ifioctl(so, SIOCGIFMTU, (void *)&ireq, lwp);
282 error = ifioctl(so, SIOCSIFMTU, &ireq, lwp);
294 nfs_boot_setaddress(struct ifnet *ifp, struct lwp *lwp,
306 error = socreate(AF_INET, &so, SOCK_DGRAM, 0, lwp, NULL);
337 error = ifioctl(so, SIOCAIFADDR, (void *)&iareq, lwp);
351 nfs_boot_deladdress(struct ifnet *ifp, struct lwp *lwp, uint32_t addr)
363 error = socreate(AF_INET, &so, SOCK_DGRAM, 0, lwp, NULL);
375 error = ifioctl(so, SIOCDIFADDR, &ifr, lwp);
409 nfs_boot_sobind_ipport(struct socket *so, uint16_t port, struct lwp *l)
437 void *context, struct lwp *lwp)
476 m, NULL, 0, lwp);
586 nfs_boot_getfh(struct nfs_dlmount *ndm, struct lwp *l)
679 struct nfs_args *argp, struct lwp *lwp)
703 IPPROTO_UDP, &mdsin->sin_port, lwp);
714 RPCMNT_MOUNT, &m, NULL, lwp);