Home
last modified time | relevance | path

Searched refs:nd (Results 26 – 50 of 848) sorted by relevance

12345678910>>...34

/netbsd/sys/fs/nfs/server/
H A Dnfs_fha_new.c135 struct nfsrv_descript lnd, *nd; in fhanew_get_fh() local
143 nd = &lnd; in fhanew_get_fh()
145 nd->nd_md = *md; in fhanew_get_fh()
146 nd->nd_dpos = *dpos; in fhanew_get_fh()
167 *md = nd->nd_md; in fhanew_get_fh()
168 *dpos = nd->nd_dpos; in fhanew_get_fh()
201 nd = &lnd; in fhanew_get_offset()
202 nd->nd_md = *md; in fhanew_get_offset()
203 nd->nd_dpos = *dpos; in fhanew_get_offset()
214 *md = nd->nd_md; in fhanew_get_offset()
[all …]
H A Dnfs_nfsdstate.c475 NFSEXITCODE2(error, nd); in nfsrv_setclient()
499 if ((nd == NULL || (nd->nd_flag & ND_NFSV41) == 0 || in nfsrv_getclient()
531 if (nd != NULL && (nd->nd_flag & ND_NFSV41) != 0 && in nfsrv_getclient()
620 nd->nd_xprt->xp_p2 = in nfsrv_getclient()
3810 if (op != nd->nd_rp) in nfsrv_checkseqid()
4121 nd->nd_repstat = 0; in nfsrv_docallback()
4133 nd->nd_mreq = nd->nd_mb = m; in nfsrv_docallback()
4251 if (nd->nd_repstat) in nfsrv_docallback()
5414 if (nd->nd_cred->cr_uid == clp->lc_uid || nd->nd_cred->cr_uid == 0) in nfsrv_notsamecredname()
5810 nd->nd_xprt->xp_p2 = in nfsrv_checksequence()
[all …]
/netbsd/tests/lib/libppath/
H A Dt_ppath.c433 prop_object_t nd = NULL, ond; in ATF_TC_BODY() local
488 ond = nd; in ATF_TC_BODY()
493 ATF_CHECK_EQ(nd, ond); in ATF_TC_BODY()
548 prop_object_release(nd); in ATF_TC_BODY()
624 ond = nd; in ATF_TC_BODY()
632 ATF_CHECK_EQ(nd, ond); in ATF_TC_BODY()
682 prop_object_release(nd); in ATF_TC_BODY()
703 prop_object_t nd = NULL; in ATF_TC_BODY() local
776 prop_object_release(nd); in ATF_TC_BODY()
797 prop_object_t nd = NULL; in ATF_TC_BODY() local
[all …]
/netbsd/external/cddl/osnet/sys/kern/
H A Dddi.c150 struct nameidata nd; in do_rmdirp() local
163 error = namei(&nd); in do_rmdirp()
170 nd.ni_vp->v_mountedhere || in do_rmdirp()
171 nd.ni_vp == nd.ni_dvp) { in do_rmdirp()
172 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in do_rmdirp()
173 if (nd.ni_vp == nd.ni_dvp) in do_rmdirp()
174 vrele(nd.ni_dvp); in do_rmdirp()
176 vput(nd.ni_dvp); in do_rmdirp()
177 vput(nd.ni_vp); in do_rmdirp()
181 error = VOP_RMDIR(nd.ni_dvp, nd.ni_vp, &nd.ni_cnd); in do_rmdirp()
[all …]
/netbsd/sys/arch/xen/x86/
H A Dautoconf.c184 dom0_bootstatic_callback(struct nfs_diskless *nd) in dom0_bootstatic_callback() argument
187 struct ifnet *ifp = nd->nd_ifp; in dom0_bootstatic_callback()
195 xcp.xcp_netinfo.xi_root = nd->nd_root.ndm_host; in dom0_bootstatic_callback()
204 nd->nd_myip.s_addr = ntohl(xcp.xcp_netinfo.xi_ip[0]); in dom0_bootstatic_callback()
205 nd->nd_gwip.s_addr = ntohl(xcp.xcp_netinfo.xi_ip[2]); in dom0_bootstatic_callback()
206 nd->nd_mask.s_addr = ntohl(xcp.xcp_netinfo.xi_ip[3]); in dom0_bootstatic_callback()
208 sin = (struct sockaddr_in *) &nd->nd_root.ndm_saddr; in dom0_bootstatic_callback()
214 if (nd->nd_myip.s_addr) in dom0_bootstatic_callback()
216 if (nd->nd_gwip.s_addr) in dom0_bootstatic_callback()
218 if (nd->nd_mask.s_addr) in dom0_bootstatic_callback()
/netbsd/sys/kern/
H A Dvfs_vnops.c231 vp = nd.ni_vp; in vn_open()
246 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in vn_open()
247 if (nd.ni_dvp == nd.ni_vp) in vn_open()
273 error = VOP_CREATE(nd.ni_dvp, &nd.ni_vp, in vn_open()
280 vp = nd.ni_vp; in vn_open()
282 vput(nd.ni_dvp); in vn_open()
284 VOP_ABORTOP(nd.ni_dvp, &nd.ni_cnd); in vn_open()
285 if (nd.ni_dvp == nd.ni_vp) in vn_open()
290 vp = nd.ni_vp; in vn_open()
305 vp = nd.ni_vp; in vn_open()
[all …]
H A Dsubr_emul.c105 struct nameidata nd; in emul_find_interp() local
126 nd.ni_erootdir = epp->ep_emul_root; in emul_find_interp()
128 nd.ni_next = epp->ep_esch->es_emul->e_path; in emul_find_interp()
132 NDINIT(&nd, LOOKUP, flags, pb); in emul_find_interp()
133 error = namei(&nd); in emul_find_interp()
141 epp->ep_interp = nd.ni_vp; in emul_find_interp()
/netbsd/sys/nfs/
H A Dnfs_bootdhcp.c242 struct ifnet *ifp = nd->nd_ifp; in nfs_bootdhcp()
259 error = bootpc_call(nd, lwp, flags); in nfs_bootdhcp()
272 nd->nd_mask.s_addr, INADDR_ANY); in nfs_bootdhcp()
486 struct ifnet *ifp = nd->nd_ifp; in bootpc_call()
695 struct nfs_diskless *nd, int *flags) in bootp_extract() argument
834 nd->nd_myip = bootp->bp_yiaddr; in bootp_extract()
839 nd->nd_mask = netmask; in bootp_extract()
844 nd->nd_gwip = gateway; in bootp_extract()
849 nd->nd_mtu = myinterfacemtu; in bootp_extract()
858 struct nfs_dlmount *ndm = &nd->nd_root; in bootp_extract()
[all …]
H A Dnfs_boot.c135 nd->nd_ifp = ifp; in nfs_boot_init()
151 error = nfs_bootdhcp(nd, lwp, &flags); in nfs_boot_init()
166 if (nd->nd_mtu >= IP_MIN_MTU ) in nfs_boot_init()
167 nfs_boot_setmtu(nd->nd_ifp, nd->nd_mtu, lwp); in nfs_boot_init()
173 if (nd->nd_gwip.s_addr) in nfs_boot_init()
174 nfs_boot_defrt(&nd->nd_gwip); in nfs_boot_init()
177 if (nd->nd_nomount) in nfs_boot_init()
186 nfs_boot_cleanup(nd, lwp); in nfs_boot_init()
198 nfs_boot_deladdress(nd->nd_ifp, lwp, nd->nd_myip.s_addr); in nfs_boot_cleanup()
199 nfs_boot_ifupdown(nd->nd_ifp, lwp, 0); in nfs_boot_cleanup()
[all …]
H A Dnfs_bootparam.c107 nfs_bootparam(struct nfs_diskless *nd, struct lwp *lwp, int *flags) in nfs_bootparam() argument
109 struct ifnet *ifp = nd->nd_ifp; in nfs_bootparam()
145 nd->nd_myip.s_addr = my_ip.s_addr; in nfs_bootparam()
190 error = bp_getfile(sin, "root", &nd->nd_root, lwp); in nfs_bootparam()
213 nd->nd_gwip = sin->sin_addr; in nfs_bootparam()
227 nd->nd_mask.s_addr = mask; in nfs_bootparam()
229 printf("nfs_boot: my_mask=%s\n", inet_ntoa(nd->nd_mask)); in nfs_bootparam()
255 nd->nd_gwip = gw_ip; in nfs_bootparam()
/netbsd/sys/dev/raidframe/
H A Drf_fifo.c117 RF_DiskQueueData_t *nd; in rf_FifoDequeue() local
122 nd = q->hq_head; in rf_FifoDequeue()
126 nd->next = NULL; in rf_FifoDequeue()
131 nd = q->lq_head; in rf_FifoDequeue()
135 nd->next = NULL; in rf_FifoDequeue()
140 nd->raidPtr->raidid, (long) nd); in rf_FifoDequeue()
145 nd = NULL; in rf_FifoDequeue()
147 return (nd); in rf_FifoDequeue()
H A Drf_engine.c773 nd = local_nq; in DAGExecutionThread()
781 nd->next = term_nq; in DAGExecutionThread()
782 term_nq = nd; in DAGExecutionThread()
786 nd->next = fire_nq; in DAGExecutionThread()
787 fire_nq = nd; in DAGExecutionThread()
794 nd->next = term_nq; in DAGExecutionThread()
795 term_nq = nd; in DAGExecutionThread()
800 fire_nq = nd; in DAGExecutionThread()
812 nd = term_nq; in DAGExecutionThread()
814 nd->next = NULL; in DAGExecutionThread()
[all …]
/netbsd/crypto/external/bsd/openssl/lib/liblegacy/
H A Dmkinc15 nd=$(dirname "$i" | sed -e s,${BUILD}/,,)
16 if [ "$nd" != "$d" ]; then
20 fn=$(echo $nd | tr '/' '_')
21 proto=$nd
23 d=$nd
/netbsd/crypto/external/bsd/openssl/lib/libapps/
H A Dmkinc15 nd=$(dirname "$i" | sed -e s,${BUILD}/,,)
16 if [ "$nd" != "$d" ]; then
20 fn=$(echo $nd | tr '/' '_')
21 proto=$nd
23 d=$nd
/netbsd/external/gpl2/groff/dist/src/roff/troff/
H A Dnode.cpp2266 n2 = nd; in merge_glyph_node()
2268 if (nd) { in merge_glyph_node()
2549 if (nd) in last_char_node()
2704 nd = n->add_self(nd, p); in add_self()
2706 nd = nd->add_italic_correction(&not_interested); in add_self()
2978 : n(nd) in zero_width_node()
3643 bp->nd = rest->nd; in get_breakpoints()
3687 bp->nd = rest->nd; in get_breakpoints()
4453 if (code != nd->code || npoints != nd->npoints || sz != nd->sz in same()
4454 || gcol != nd->gcol || fcol != nd->fcol) in same()
[all …]
/netbsd/crypto/external/bsd/openssl/lib/libcommon/
H A Dmkinc15 nd=$(dirname "$i" | sed -e s,${BUILD}/,,)
16 if [ "$nd" != "$d" ]; then
20 fn=$(echo $nd | tr '/' '_')
21 proto=$nd
23 d=$nd
/netbsd/external/bsd/dhcpcd/dist/hooks/
H A D50-ypbind42 nd="$(best_domain)"
43 if [ $? = 0 ] && [ "$nd" != "$(domainname)" ]; then
44 domainname "$nd"
54 nd="$(best_domain)"
58 if [ -z "$nd" ]; then
62 elif [ "$nd" != "$(domainname)" ]; then
63 domainname "$nd"
H A D20-resolv.conf83 eval rdnsstime=\$nd${i}_rdnss${j}_lifetime
87 eval rdnss=\$nd${i}_rdnss${j}_servers
91 eval dnssltime=\$nd${i}_dnssl${j}_lifetime
95 eval dnssl=\$nd${i}_dnssl${j}_search
112 eval acquired=\$nd${i}_acquired
114 eval now=\$nd${i}_now
/netbsd/crypto/external/bsd/openssl/lib/libdefault/
H A Dmkinc15 nd=$(dirname "$i" | sed -e s,${BUILD}/,,)
16 if [ "$nd" != "$d" ]; then
20 fn=$(echo $nd | tr '/' '_')
21 proto=$nd
23 d=$nd
/netbsd/lib/libc/gdtoa/
H A Dstrtod.c200 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
201 if (nd < 9)
205 nd0 = nd;
218 if (!nd) {
235 if (nd++ < 9)
239 if (nd++ < 9)
286 if (!nd) {
341 nd0 = nd;
342 k = nd < DBL_DIG + 2 ? nd : DBL_DIG + 2;
352 if (nd <= DBL_DIG
[all …]
H A Dstrtodg.c402 for(nd = nf = 0; (c = *s) >= '0' && c <= '9'; nd++, s++)
403 if (nd < 9)
405 else if (nd < 16)
407 nd0 = nd;
422 if (!nd) {
439 if (nd++ < 9)
443 if (nd++ < 9)
492 if (!nd) {
547 nd0 = nd;
548 k = nd < DBL_DIG + 1 ? nd : DBL_DIG + 1;
[all …]
/netbsd/sys/rump/librump/rumpvfs/
H A Drump_vfs.c246 struct nameidata nd; in rump_namei() local
253 NDINIT(&nd, op, flags, pb); in rump_namei()
254 rv = namei(&nd); in rump_namei()
262 *dvpp = nd.ni_dvp; in rump_namei()
268 *vpp = nd.ni_vp; in rump_namei()
270 if (nd.ni_vp) { in rump_namei()
272 vput(nd.ni_vp); in rump_namei()
274 vrele(nd.ni_vp); in rump_namei()
282 memcpy(cnp, &nd.ni_cnd, sizeof(*cnp)); in rump_namei()
/netbsd/sys/fs/nfs/client/
H A Dnfs_clport.c738 if (nd->nd_flag & ND_NFSV3) { in nfscl_wcc_data()
765 nd->nd_flag |= ND_NOMOREDATA; in nfscl_wcc_data()
791 if (nd->nd_flag & ND_NOMOREDATA) in nfscl_postop_attr()
793 if (nd->nd_flag & ND_NFSV3) { in nfscl_postop_attr()
801 if (!nd->nd_repstat) { in nfscl_postop_attr()
805 nd->nd_flag |= ND_NOMOREDATA; in nfscl_postop_attr()
809 } else if (!nd->nd_repstat) { in nfscl_postop_attr()
951 if (nd->nd_flag & ND_NFSV4) in nfscl_request()
1309 struct nameidata nd; in nfssvc_nfscl() local
1356 vput(nd.ni_vp); in nfssvc_nfscl()
[all …]
/netbsd/external/bsd/unbound/dist/services/
H A Dview.c174 struct config_strlist* nd; in views_apply_cfg() local
179 for(nd = cv->local_zones_nodefault; nd; in views_apply_cfg()
180 nd = nd->next) { in views_apply_cfg()
182 nd_str = strdup(nd->str); in views_apply_cfg()
/netbsd/external/bsd/ntp/dist/libntp/
H A Dntp_calgps.c288 TcNtpDatum * nd in gpsntp_to_calendar() argument
294 nd->days + DAY_NTP_STARTS + ntpcal_daysec_to_date( in gpsntp_to_calendar()
295 cd, nd->secs)); in gpsntp_to_calendar()
333 TcNtpDatum * nd in ntpfp_from_ntpdatum() argument
338 retv.l_uf = nd->frac; in ntpfp_from_ntpdatum()
339 retv.l_ui = nd->days * (uint32_t)SECSPERDAY in ntpfp_from_ntpdatum()
340 + nd->secs; in ntpfp_from_ntpdatum()
486 TNtpDatum nd; in gpscal_to_calendar() local
489 nd = gpsntp_from_gpscal_ex(wd, FALSE); in gpscal_to_calendar()
490 gpsntp_to_calendar(cd, &nd); in gpscal_to_calendar()

12345678910>>...34