Home
last modified time | relevance | path

Searched +full:2 +full:nd (Results 1 – 25 of 1038) sorted by relevance

12345678910>>...42

/freebsd/sys/fs/nfsserver/
H A Dnfs_nfsdserv.c15 * 2. Redistributions in binary form must reproduce the above copyright
40 * nfs version 2, 3 and 4 server calls to vnode ops
43 * 2 - do the vnode ops for the request, usually by calling a nfsvno_XXX()
79 "Enable Linux style NFSv4.2 server (non-RFC compliant)");
100 "Enable NFSv4.2 Allocate operation");
116 static void nfsrvd_symlinksub(struct nfsrv_descript *nd, struct nameidata *ndp,
122 static void nfsrvd_mkdirsub(struct nfsrv_descript *nd, struct nameidata *ndp,
132 nfsrvd_access(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_access() argument
142 if (nd->nd_repstat) { in nfsrvd_access()
143 nfsrv_postopattr(nd, 1, &nva); in nfsrvd_access()
[all …]
H A Dnfs_nfsdkrpc.c15 * 2. Redistributions in binary form must reproduce the above copyright
56 * Mapping of old NFS Version 2 RPC numbers to generic numbers.
126 struct nfsrv_descript nd; in nfssvc_program() local
136 memset(&nd, 0, sizeof(nd)); in nfssvc_program()
144 nd.nd_procnum = newnfs_nfsv3_procid[rqst->rq_proc]; in nfssvc_program()
145 nd.nd_flag = ND_NFSV2; in nfssvc_program()
152 nd.nd_procnum = rqst->rq_proc; in nfssvc_program()
153 nd.nd_flag = ND_NFSV3; in nfssvc_program()
161 nd in nfssvc_program()
401 nfs_proc(struct nfsrv_descript * nd,u_int32_t xid,SVCXPRT * xprt,struct nfsrvcache ** rpp) nfs_proc() argument
[all...]
H A Dnfs_nfsdsubs.c15 * 2. Redistributions in binary form must reproduce the above copyright
115 * safest thing to do is filter them appropriately. For Version 2, the
118 * so I have decided to not do this for Version 2.
1374 nfsrv_wcc(struct nfsrv_descript *nd, int before_ret, in nfsrv_wcc() argument
1386 tl += 2; in nfsrv_wcc()
1388 tl += 2; in nfsrv_wcc()
1391 nfsrv_postopattr(nd, after_ret, after_nvap); in nfsrv_wcc()
1395 nfsrv_postopattr(struct nfsrv_descript *nd, int after_ret, in nfsrv_postopattr() argument
1405 nfsrv_fillattr(nd, after_nvap); in nfsrv_postopattr()
1414 nfsrv_fillattr(struct nfsrv_descript *nd, struct nfsvattr *nvap) in nfsrv_fillattr() argument
[all …]
H A Dnfs_nfsdport.c15 * 2. Redistributions in binary form must reproduce the above copyright
224 * not running. The setting must be a power of 2, with the current limit of
249 printf("nfsd: vfs.nfsd.srvmaxio must be a power of 2\n"); in sysctl_srvmaxio()
392 nh->nh_seqcount /= 2; in nfsrv_sequential_heuristic()
407 struct nfsrv_descript *nd, struct thread *p, int vpislocked, in nfsvno_getattr() argument
438 (nd->nd_flag & ND_NFSV4) == 0 || in nfsvno_getattr()
444 error = nfsrv_proxyds(vp, 0, 0, nd->nd_cred, p, in nfsvno_getattr()
453 error = VOP_GETATTR(vp, &nvap->na_vattr, nd->nd_cred); in nfsvno_getattr()
497 * 2 - The owner is to be given access irrespective of mode bits for some
619 savedit = 2; in nfsvno_setattr()
[all …]
H A Dnfs_nfsdsocket.c15 * 2. Redistributions in binary form must reproduce the above copyright
429 static void nfsrvd_compound(struct nfsrv_descript *nd, int isdgram,
437 1, 0, 0, 2, 2, 0, 0, 0, 0, 0, 0 };
539 nfsrvd_dorpc(struct nfsrv_descript *nd, int isdgram, u_char *tag, int taglen, in nfsrvd_dorpc() argument
555 md = nd->nd_md; in nfsrvd_dorpc()
556 dpos = nd->nd_dpos; in nfsrvd_dorpc()
563 if (!(nd->nd_flag & ND_NFSV4)) { in nfsrvd_dorpc()
564 KASSERT(nd->nd_repstat == 0, ("nfsrvd_dorpc")); in nfsrvd_dorpc()
569 if ((nd->nd_flag & ND_NFSV3) && nfsrv_mallocmget_limit()) { in nfsrvd_dorpc()
570 nd->nd_repstat = NFSERR_DELAY; in nfsrvd_dorpc()
[all …]
H A Dnfs_nfsdstate.c2 * SPDX-License-Identifier: BSD-2-Clause
12 * 2. Redistributions in binary form must reproduce the above copyright
171 static int nfsrv_checkgrace(struct nfsrv_descript *nd, struct nfsclient *clp,
176 static int nfsrv_cbcallargs(struct nfsrv_descript *nd, struct nfsclient *clp,
190 static int nfsrv_notsamecredname(int op, struct nfsrv_descript *nd,
194 static int nfsrv_checkseqid(struct nfsrv_descript *nd, u_int32_t seqid,
211 static int nfsrv_freesession(struct nfsrv_descript *nd, struct nfsdsession *sep,
213 static int nfsv4_setcbsequence(struct nfsrv_descript *nd, struct nfsclient *clp,
216 static int nfsrv_addlayout(struct nfsrv_descript *nd, struct nfslayout **lypp,
229 static void nfsrv_flexlayouterr(struct nfsrv_descript *nd, uint32_t *layp,
[all …]
/freebsd/contrib/googletest/googletest/test/
H A Dgoogletest-listener-test.cc270 new EventRecordingListener("2nd")); in main()
279 GTEST_FLAG_SET(repeat, 2); in main()
287 "2nd.OnTestProgramStart", in main()
290 "2nd.OnTestIterationStart(0)", in main()
293 "2nd.OnEnvironmentsSetUpStart", in main()
297 "2nd.OnEnvironmentsSetUpEnd", in main()
301 "2nd.OnTestCaseStart", in main()
304 "2nd.OnTestStart", in main()
309 "2nd.OnTestPartResult", in main()
313 "2nd.OnTestEnd", in main()
[all …]
/freebsd/sys/fs/nfsclient/
H A Dnfs_clrpcops.c15 * 2. Redistributions in binary form must reproduce the above copyright
99 NFSDSP_NOTFOUND = 2,
242 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_null() local
244 NFSCL_REQSTART(nd, NFSPROC_NULL, vp, NULL); in nfsrpc_null()
245 error = nfscl_request(nd, vp, p, cred); in nfsrpc_null()
246 if (nd->nd_repstat && !error) in nfsrpc_null()
247 error = nd->nd_repstat; in nfsrpc_null()
248 m_freem(nd->nd_mrep); in nfsrpc_null()
306 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_accessrpc() local
324 NFSCL_REQSTART(nd, NFSPROC_ACCESS, vp, cred); in nfsrpc_accessrpc()
[all …]
H A Dnfs_clcomsubs.c15 * 2. Redistributions in binary form must reproduce the above copyright
55 nfsm_uiombuf(struct nfsrv_descript *nd, struct uio *uiop, int siz) in nfsm_uiombuf() argument
70 mp = mp2 = nd->nd_mb; in nfsm_uiombuf()
71 mcp = nd->nd_bpos; in nfsm_uiombuf()
73 KASSERT((nd->nd_flag & ND_EXTPG) != 0 || mcp == in nfsm_uiombuf()
81 if ((nd->nd_flag & ND_EXTPG) != 0) in nfsm_uiombuf()
82 mlen = nd->nd_bextpgsiz; in nfsm_uiombuf()
86 if ((nd->nd_flag & ND_EXTPG) != 0) { in nfsm_uiombuf()
88 nd->nd_maxextsiz, &nd->nd_bextpg); in nfsm_uiombuf()
90 mp->m_epg_pa[nd->nd_bextpg]); in nfsm_uiombuf()
[all …]
H A Dnfs_clkrpc.c15 * 2. Redistributions in binary form must reproduce the above copyright
67 struct nfsrv_descript nd; in nfscb_program() local
73 memset(&nd, 0, sizeof(nd)); in nfscb_program()
80 nd.nd_procnum = rqst->rq_proc; in nfscb_program()
81 nd.nd_flag = (ND_NFSCB | ND_NFSV4); in nfscb_program()
88 nd.nd_mrep = rqst->rq_args; in nfscb_program()
90 newnfs_realign(&nd.nd_mrep, M_WAITOK); in nfscb_program()
91 nd.nd_md = nd.nd_mrep; in nfscb_program()
92 nd.nd_dpos = mtod(nd.nd_md, caddr_t); in nfscb_program()
93 nd.nd_nam = svc_getrpccaller(rqst); in nfscb_program()
[all …]
/freebsd/sys/nfs/
H A Dnfs_diskless.c15 * 2. Redistributions in binary form must reproduce the above copyright
97 nfs_parse_options(const char *envopts, struct nfs_args *nd) in nfs_parse_options() argument
108 nd->flags |= NFSMNT_SOFT; in nfs_parse_options()
110 nd->flags |= NFSMNT_INT; in nfs_parse_options()
112 nd->flags |= NFSMNT_NOCONN; in nfs_parse_options()
114 nd->flags |= NFSMNT_NOLOCKD; in nfs_parse_options()
116 nd->flags |= NFSMNT_NOCTO; in nfs_parse_options()
118 nd->flags &= ~(NFSMNT_NFSV3 | NFSMNT_NFSV4); in nfs_parse_options()
120 nd->flags &= ~NFSMNT_NFSV4; in nfs_parse_options()
121 nd->flags |= NFSMNT_NFSV3; in nfs_parse_options()
[all …]
/freebsd/contrib/one-true-awk/testdir/
H A Dpenicil.p7 R1: ring4 pointing 45 put N at 2
12 bond left from N ; C
14 bond length .1 left from C ; CH2
15 bond length .1 left
18 bond 20 from R2.V2 ; CH3
19 bond 90 from R2.V2 ; CH3
20 bond 90 from R2.V3 ; H
22 .cend
25 R1: ring4 pointing 45 put N at 2
30 bond left from N ; C
[all …]
/freebsd/contrib/netbsd-tests/usr.bin/sed/
H A Dt_sed.sh14 # 2. Redistributions in binary form must reproduce the above copyright
84 -x "printf 'A\nB\nC\nD\n' | sed '1,3d'"
86 -x "printf 'A\nB\nC\nD\n' | sed '2,4d'"
89 -x "printf 'A\nB\nC\nD\nE\n' | sed '1,2d;4,5d'"
92 -x "printf 'A\nB\nC\nD\nE\n' | sed '1,3d;3,5d'"
94 atf_check -o inline:"B\nB\nC\nD\n" \
95 -x "printf 'A\nB\nC\nD\n' | sed '1,3s/A/B/;1,3n;1,3s/B/C/'"
96 atf_check -o inline:"B\nC\nC\nD\n" \
97 -x "printf 'A\nB\nC\nD\n' | sed '1,3s/A/B/;1,3n;2,3s/B/C/'"
101 -x "printf 'A\nB\nC\nD\n' | sed '/A/,/C/d'"
[all …]
/freebsd/sys/fs/nfs/
H A Dnfs_commonkrpc.c15 * 2. Redistributions in binary form must reproduce the above copyright
107 static int nfs_dsretries = 2;
116 "Buffer reservation size 2 < x < 64");
303 if (pktscale < 2) in newnfs_connect()
304 pktscale = 2; in newnfs_connect()
324 if (error != 0 && pktscale > 2) { in newnfs_connect()
366 pktscale <= 2) in newnfs_connect()
369 } while (error != 0 && pktscale > 2); in newnfs_connect()
392 * will be set to "nm_retry * nm_timeo / 2", so in newnfs_connect()
393 * we only want to do 2 reconnect timeout in newnfs_connect()
[all …]
H A Dnfs_commonsubs.c15 * 2. Redistributions in binary form must reproduce the above copyright
106 * 2 - uses cfh and sfh
110 * 2 - uses a cfh and wants pre-op attributes
124 { 0, 2, 0, 1, LK_EXCLUSIVE, 1, 1 }, /* Commit */
125 { 1, 2, 1, 1, LK_EXCLUSIVE, 1, 1 }, /* Create */
130 { 2, 1, 1, 1, LK_EXCLUSIVE, 1, 1 }, /* Link */
134 { 1, 2, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Lookup */
135 { 1, 2, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Lookupp */
147 { 0, 2, 1, 1, LK_EXCLUSIVE, 1, 1 }, /* Remove */
148 { 2, 1, 1, 1, LK_EXCLUSIVE, 1, 1 }, /* Rename */
[all …]
H A Dnfsm_subs.h15 * 2. Redistributions in binary form must reproduce the above copyright
58 nfsm_build(struct nfsrv_descript *nd, int siz) in nfsm_build() argument
63 if ((nd->nd_flag & ND_EXTPG) == 0 && in nfsm_build()
64 siz > M_TRAILINGSPACE(nd->nd_mb)) { in nfsm_build()
69 nd->nd_bpos = mtod(mb2, char *); in nfsm_build()
70 nd->nd_mb->m_next = mb2; in nfsm_build()
71 nd->nd_mb = mb2; in nfsm_build()
72 } else if ((nd->nd_flag & ND_EXTPG) != 0) { in nfsm_build()
73 if (siz > nd->nd_bextpgsiz) { in nfsm_build()
75 nd->nd_bpos = (char *)(void *) in nfsm_build()
[all …]
/freebsd/sys/kern/
H A Dvfs_syscalls.c17 * 2. Redistributions in binary form must reproduce the above copyright
88 MALLOC_DEFINE(M_FADVISE, "fadvise", "posix_fadvise(2) information");
190 struct nameidata nd; in sys_quotactl() local
198 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_quotactl()
200 if ((error = namei(&nd)) != 0) in sys_quotactl()
202 NDFREE_PNBUF(&nd); in sys_quotactl()
203 mp = nd.ni_vp->v_mount; in sys_quotactl()
205 vput(nd.ni_vp); in sys_quotactl()
234 * that 'max_size' should be a bitmask, i.e. 2^n - 1 for some non-zero
328 struct nameidata nd; in kern_statfs() local
[all …]
/freebsd/sys/contrib/device-tree/Bindings/net/dsa/
H A Dmt7530.txt45 2. PHY of port 0 or port 4: PHY interfaces with an external MAC like 2nd GMAC
47 Note: On a MT7621 SOC with integrated switch: 2nd GMAC can only connected to
52 1. Port 5 is disabled and isolated: An external phy can interface to the 2nd
54 In the case of a build-in MT7530 switch, port 5 shares the RGMII bus with 2nd
56 2. Port 5 is muxed to PHY of port 0/4: Port 0/4 interfaces with 2nd GMAC.
63 4. Port 5 is muxed to GMAC5 and interfaces with the 2nd GAMC as 2nd CPU port.
64 Currently a 2nd CPU port is not supported by DSA code.
67 1. normal: The PHY can only connect to 2nd GMAC but not to the switch
68 2. swapped: RGMII TX, RX are swapped; external phy interface with the switch as
69 a ethernet port. But can't interface to the 2nd GMAC.
[all …]
/freebsd/sys/dev/qat/qat_api/include/dc/
H A Dcpa_dc_chain.h48 /**< 2 operations for chaining:
50 * 2nd operation is to perform hash on compressed text
51 **< 2 entries in CpaDcChainSessionSetupData array:
53 * 2nd entry is for hash setup data*/
55 /**< 2 operations for chaining:
57 * 2nd operation is to perform encryption on compressed text
58 **< 2 entries in CpaDcChainSessionSetupData array:
60 * 2nd entry is for encryption setup data*/
61 CPA_DC_CHAIN_COMPRESS_THEN_HASH_ENCRYPT = 2,
62 /**< 2 operations for chaining:
[all …]
/freebsd/lib/libcalendar/
H A Dcalendar.c2 * SPDX-License-Identifier: BSD-2-Clause
12 * 2. Redistributions in binary form must reproduce the above copyright
199 int nd; /* Number of days--return value */ in ndaysgi() local
218 if ((nd = ndaysji(idt)) == -1) in ndaysgi()
221 nd = (nd - 10 - (idt->y - 1600) / 100 + (idt->y - 1600) / 400); in ndaysgi()
222 else if (nd > nswitch) in ndaysgi()
223 nd -= 10; in ndaysgi()
224 return (nd); in ndaysgi()
236 week(int nd, int *y) in week() argument
241 gdate(nd, &dt); in week()
[all …]
/freebsd/contrib/bc/tests/dc/errors/
H A D29.txt1 15 4%0:b [2nd] 1:b 0;b 1;b X
3 3460:b [2nd] 1:b 0;b p bpR
4 .2 1%pR
6 15 4%0:b [2nd] 1:b 0;b p 1;b X
9 1bpb [2nd] 1:u 0;b p 1;b X
10 2
11 [1st] 0:b [2nd] 1:b 0;b p S;b p
/freebsd/usr.bin/netstat/
H A Dnhgrp.c2 * SPDX-License-Identifier: BSD-2-Clause
11 * 2. Redistributions in binary form must reproduce the above copyright
107 buffer[2] = ':'; in print_padding()
193 dump_nhgrp_sysctl(int fibnum, int af, struct nhops_dump *nd) in dump_nhgrp_sysctl() argument
205 mib[2] = 0; in dump_nhgrp_sysctl()
232 nhg_size *= 2; in dump_nhgrp_sysctl()
244 nd->nh_buf = buf; in dump_nhgrp_sysctl()
245 nd->nh_count = nhg_count; in dump_nhgrp_sysctl()
246 nd->nh_map = nhg_map; in dump_nhgrp_sysctl()
252 struct nhops_dump nd; in print_nhgrp_sysctl() local
[all …]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DInterfaceStubFunctionsConsumer.cpp26 enum RootDeclOrigin { TopLevel = 0, FromTU = 1, IsLate = 2 };
41 bool WriteNamedDecl(const NamedDecl *ND, MangledSymbols &Symbols, int RDO) { in WriteNamedDecl() argument
49 auto isVisible = [](const NamedDecl *ND) -> bool { in WriteNamedDecl() argument
50 return ND->getVisibility() == DefaultVisibility; in WriteNamedDecl()
53 auto ignoreDecl = [this, isVisible](const NamedDecl *ND) -> bool { in WriteNamedDecl() argument
54 if (!isVisible(ND)) in WriteNamedDecl()
57 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) { in WriteNamedDecl()
68 if (const FunctionDecl *FD = dyn_cast<FunctionDecl>(ND)) { in WriteNamedDecl()
85 auto getParentFunctionDecl = [](const NamedDecl *ND) -> const NamedDecl * { in WriteNamedDecl() argument
86 if (const VarDecl *VD = dyn_cast<VarDecl>(ND)) in WriteNamedDecl()
[all …]
/freebsd/lib/libc/db/test/
H A Drun.test22 for t in 1 2 3 4 5 6 7 8 9 10 11 12 13 20; do
33 for t in 1 2 3 7 8 9 10 12 13; do
37 for t in 1 2 3 8 13 20; do
41 for t in 1 2 3 4 5 6 7 10 11; do
83 printf("p\nk%d\nd%s\ng\nk%d\n", i, $0, i);
97 echo "Test 2: btree, hash: small key, medium data pairs"
117 echo "Test 2: recno: small key, medium data pairs"
121 printf("p\nk%d\nd%s\ng\nk%d\n", i, $0, i);
178 printf("p\nk%d\nD%s\ng\nk%d\n", i, $0, i);
227 printf("p\nk%d\nd%s\n", i, $0);
[all …]
/freebsd/sys/contrib/device-tree/src/arm64/mediatek/
H A Dmt8173-elm-hana.dtsi20 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
31 /* Lenovo Ideapad C330 uses G2Touch touchscreen as a 2nd source touchscreen */
43 * Lenovo 100e Chromebook 2nd Gen (MTK) and Lenovo 300e Chromebook 2nd
47 trackpad2: trackpad@2c {

12345678910>>...42