Home
last modified time | relevance | path

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

12345678910>>...41

/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()
80 "Enable Linux style NFSv4.2 server (non-RFC compliant)");
101 "Enable NFSv4.2 Allocate operation");
117 static void nfsrvd_symlinksub(struct nfsrv_descript *nd, struct nameidata *ndp,
123 static void nfsrvd_mkdirsub(struct nfsrv_descript *nd, struct nameidata *ndp,
133 nfsrvd_access(struct nfsrv_descript *nd, __unused int isdgram, in nfsrvd_access() argument
143 if (nd->nd_repstat) { in nfsrvd_access()
144 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.
134 struct nfsrv_descript nd; in nfssvc_program() local
144 memset(&nd, 0, sizeof(nd)); in nfssvc_program()
152 nd.nd_procnum = newnfs_nfsv3_procid[rqst->rq_proc]; in nfssvc_program()
153 nd.nd_flag = ND_NFSV2; in nfssvc_program()
160 nd.nd_procnum = rqst->rq_proc; in nfssvc_program()
161 nd.nd_flag = ND_NFSV3; in nfssvc_program()
169 nd.nd_procnum = rqst->rq_proc; in nfssvc_program()
170 nd.nd_flag = ND_NFSV4; in nfssvc_program()
[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
280 * not running. The setting must be a power of 2, with the current limit of
306 printf("nfsd: vfs.nfsd.srvmaxio must be a power of 2\n"); in sysctl_srvmaxio()
498 nh->nh_seqcount /= 2; in nfsrv_sequential_heuristic()
513 struct nfsrv_descript *nd, struct thread *p, int vpislocked, in nfsvno_getattr() argument
544 (nd->nd_flag & ND_NFSV4) == 0 || in nfsvno_getattr()
550 error = nfsrv_proxyds(vp, 0, 0, nd->nd_cred, p, in nfsvno_getattr()
559 error = VOP_GETATTR(vp, &nvap->na_vattr, nd->nd_cred); in nfsvno_getattr()
603 * 2 - The owner is to be given access irrespective of mode bits for some
725 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,
249 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_null() local
251 NFSCL_REQSTART(nd, NFSPROC_NULL, vp, NULL); in nfsrpc_null()
252 error = nfscl_request(nd, vp, p, cred); in nfsrpc_null()
253 if (nd->nd_repstat && !error) in nfsrpc_null()
254 error = nd->nd_repstat; in nfsrpc_null()
255 m_freem(nd->nd_mrep); in nfsrpc_null()
313 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_accessrpc() local
331 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
101 nfs_parse_options(const char *envopts, struct nfs_args *nd) in nfs_parse_options() argument
112 nd->flags |= NFSMNT_SOFT; in nfs_parse_options()
114 nd->flags |= NFSMNT_INT; in nfs_parse_options()
116 nd->flags |= NFSMNT_NOCONN; in nfs_parse_options()
118 nd->flags |= NFSMNT_NOLOCKD; in nfs_parse_options()
120 nd->flags |= NFSMNT_NOCTO; in nfs_parse_options()
122 nd->flags &= ~(NFSMNT_NFSV3 | NFSMNT_NFSV4); in nfs_parse_options()
124 nd->flags &= ~NFSMNT_NFSV4; in nfs_parse_options()
125 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");
304 if (pktscale < 2) in newnfs_connect()
305 pktscale = 2; in newnfs_connect()
325 if (error != 0 && pktscale > 2) { in newnfs_connect()
367 pktscale <= 2) in newnfs_connect()
370 } while (error != 0 && pktscale > 2); in newnfs_connect()
393 * will be set to "nm_retry * nm_timeo / 2", so in newnfs_connect()
394 * 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
123 * 2 - uses cfh and sfh
127 * 2 - uses a cfh and wants pre-op attributes
141 { 0, 2, 0, 1, LK_EXCLUSIVE, 1, 1 }, /* Commit */
142 { 1, 2, 1, 1, LK_EXCLUSIVE, 1, 1 }, /* Create */
147 { 2, 1, 1, 1, LK_EXCLUSIVE, 1, 1 }, /* Link */
151 { 1, 2, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Lookup */
152 { 1, 2, 0, 0, LK_EXCLUSIVE, 1, 1 }, /* Lookupp */
164 { 0, 2, 1, 1, LK_EXCLUSIVE, 1, 1 }, /* Remove */
165 { 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 = PHYS_TO_DMAP(mb2->m_epg_pa[0]); in nfsm_build()
[all …]
/freebsd/sys/kern/
H A Dvfs_syscalls.c17 * 2. Redistributions in binary form must reproduce the above copyright
90 MALLOC_DEFINE(M_FADVISE, "fadvise", "posix_fadvise(2) information");
192 struct nameidata nd; in sys_quotactl() local
200 NDINIT(&nd, LOOKUP, FOLLOW | LOCKLEAF | AUDITVNODE1, UIO_USERSPACE, in sys_quotactl()
202 if ((error = namei(&nd)) != 0) in sys_quotactl()
204 NDFREE_PNBUF(&nd); in sys_quotactl()
205 mp = nd.ni_vp->v_mount; in sys_quotactl()
207 vput(nd.ni_vp); in sys_quotactl()
236 * 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/sbin/ifconfig/
H A Daf_nd6.c2 * SPDX-License-Identifier: BSD-2-Clause
11 * 2. Redistributions in binary form must reproduce the above copyright
58 [2] = "PREFER_SOURCE",
77 struct in6_ndireq nd = {}; in setnd6flags() local
80 strlcpy(nd.ifname, ctx->ifname, sizeof(nd.ifname)); in setnd6flags()
81 error = ioctl_ctx(ctx, SIOCGIFINFO_IN6, &nd); in setnd6flags()
87 nd.ndi.flags &= ~(-d); in setnd6flags()
89 nd.ndi.flags |= d; in setnd6flags()
90 error = ioctl_ctx(ctx, SIOCSIFINFO_IN6, (caddr_t)&nd); in setnd6flags()
142 struct in6_ndireq nd = {}; in nd6_status() local
[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/bin/ed/
H A Dre.c4 * SPDX-License-Identifier: BSD-2-Clause
14 * 2. Redistributions in binary form must reproduce the above copyright
84 char *nd; in extract_pattern() local
87 for (nd = ibufp; *nd != delimiter && *nd != '\n'; nd++) in extract_pattern()
88 switch (*nd) { in extract_pattern()
92 if ((nd = parse_char_class(nd + 1)) == NULL) { in extract_pattern()
98 if (*++nd == '\n') { in extract_pattern()
104 len = nd - ibufp; in extract_pattern()
108 ibufp = nd; in extract_pattern()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DASTImporterLookupTable.cpp104 void ASTImporterLookupTable::add(DeclContext *DC, NamedDecl *ND) { in add() argument
105 DeclList &Decls = LookupTable[DC][ND->getDeclName()]; in add()
107 Decls.insert(ND); in add()
110 void ASTImporterLookupTable::remove(DeclContext *DC, NamedDecl *ND) { in remove() argument
111 const DeclarationName Name = ND->getDeclName(); in remove()
113 bool EraseResult = Decls.remove(ND); in remove()
119 "Trying to remove not contained Decl '{0}' of type {1} from a {2}", in remove()
120 Name.getAsString(), ND->getDeclKindName(), DC->getDeclKindName()) in remove()
127 void ASTImporterLookupTable::add(NamedDecl *ND) { in add() argument
128 assert(ND); in add()
[all …]
/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 …]

12345678910>>...41