Home
last modified time | relevance | path

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

12345678910>>...44

/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_
300 nfsrv_setclient(struct nfsrv_descript * nd,struct nfsclient ** new_clpp,nfsquad_t * clientidp,nfsquad_t * confirmp,NFSPROC_T * p) nfsrv_setclient() argument
663 nfsrv_getclient(nfsquad_t clientid,int opflags,struct nfsclient ** clpp,struct nfsdsession * nsep,nfsquad_t confirm,uint32_t cbprogram,struct nfsrv_descript * nd,NFSPROC_T * p) nfsrv_getclient() argument
915 nfsrv_destroyclient(struct nfsrv_descript * nd,nfsquad_t clientid,NFSPROC_T * p) nfsrv_destroyclient() argument
1821 nfsrv_lockctrl(vnode_t vp,struct nfsstate ** new_stpp,struct nfslock ** new_lopp,struct nfslockconflict * cfp,nfsquad_t clientid,nfsv4stateid_t * stateidp,__unused struct nfsexstuff * exp,struct nfsrv_descript * nd,NFSPROC_T * p) nfsrv_lockctrl() argument
2547 nfsrv_opencheck(nfsquad_t clientid,nfsv4stateid_t * stateidp,struct nfsstate * new_stp,vnode_t vp,struct nfsrv_descript * nd,NFSPROC_T * p,int repstat) nfsrv_opencheck() argument
2800 nfsrv_openctrl(struct nfsrv_descript * nd,vnode_t vp,struct nfsstate ** new_stpp,nfsquad_t clientid,nfsv4stateid_t * stateidp,nfsv4stateid_t * delegstateidp,u_int32_t * rflagsp,struct nfsexstuff * exp,NFSPROC_T * p,u_quad_t filerev) nfsrv_openctrl() argument
3445 nfsrv_openupdate(vnode_t vp,struct nfsstate * new_stp,nfsquad_t clientid,nfsv4stateid_t * stateidp,struct nfsrv_descript * nd,NFSPROC_T * p,int * retwriteaccessp) nfsrv_openupdate() argument
3595 nfsrv_delegupdate(struct nfsrv_descript * nd,nfsquad_t clientid,nfsv4stateid_t * stateidp,vnode_t vp,int op,struct ucred * cred,NFSPROC_T * p,int * retwriteaccessp) nfsrv_delegupdate() argument
4016 nfsrv_checkseqid(struct nfsrv_descript * nd,u_int32_t seqid,struct nfsstate * stp,struct nfsrvcache * op) nfsrv_checkseqid() argument
4075 nfsrv_getclientipaddr(struct nfsrv_descript * nd,struct nfsclient * clp) nfsrv_getclientipaddr() argument
4376 nfsrv_checkgrace(struct nfsrv_descript * nd,struct nfsclient * clp,u_int32_t flags) nfsrv_checkgrace() argument
4447 struct nfsrv_descript *nd; nfsrv_docallback() local
4698 nfsrv_cbcallargs(struct nfsrv_descript * nd,struct nfsclient * clp,uint32_t callback,int op,const char * optag,struct nfsdsession ** sepp,int * slotposp) nfsrv_cbcallargs() argument
5455 nfsrv_checkremove(vnode_t vp,int remove,struct nfsrv_descript * nd,nfsquad_t clientid,NFSPROC_T * p) nfsrv_checkremove() argument
5677 nfsrv_checksetattr(vnode_t vp,struct nfsrv_descript * nd,nfsv4stateid_t * stateidp,struct nfsvattr * nvap,nfsattrbit_t * attrbitp,struct nfsexstuff * exp,NFSPROC_T * p) nfsrv_checksetattr() argument
5724 nfsrv_checkgetattr(struct nfsrv_descript * nd,vnode_t vp,struct nfsvattr * nvap,nfsattrbit_t * attrbitp,NFSPROC_T * p) nfsrv_checkgetattr() argument
5870 nfsrv_notsamecredname(int op,struct nfsrv_descript * nd,struct nfsclient * clp) nfsrv_notsamecredname() argument
6267 nfsrv_checksequence(struct nfsrv_descript * nd,uint32_t sequenceid,uint32_t * highest_slotidp,uint32_t * target_highest_slotidp,int cache_this,uint32_t * sflagsp,NFSPROC_T * p) nfsrv_checksequence() argument
6329 nfsrv_checkreclaimcomplete(struct nfsrv_descript * nd,int onefs) nfsrv_checkreclaimcomplete() argument
6363 nfsrv_cache_session(struct nfsrv_descript * nd,struct mbuf ** m) nfsrv_cache_session() argument
6441 nfsrv_destroysession(struct nfsrv_descript * nd,uint8_t * sessionid) nfsrv_destroysession() argument
6479 nfsrv_bindconnsess(struct nfsrv_descript * nd,uint8_t * sessionid,int * foreaftp) nfsrv_bindconnsess() argument
6557 nfsrv_freesession(struct nfsrv_descript * nd,struct nfsdsession * sep,uint8_t * sessionid,bool locked,SVCXPRT ** old_xprtp) nfsrv_freesession() argument
6620 nfsrv_freestateid(struct nfsrv_descript * nd,nfsv4stateid_t * stateidp,NFSPROC_T * p) nfsrv_freestateid() argument
6665 nfsrv_teststateid(struct nfsrv_descript * nd,nfsv4stateid_t * stateidp,NFSPROC_T * p) nfsrv_teststateid() argument
6691 nfsv4_setcbsequence(struct nfsrv_descript * nd,struct nfsclient * clp,int dont_replycache,struct nfsdsession ** sepp,int * slotposp) nfsv4_setcbsequence() argument
6781 nfsrv_layoutcommit(struct nfsrv_descript * nd,vnode_t vp,int layouttype,int hasnewoff,uint64_t newoff,uint64_t offset,uint64_t len,int hasnewmtime,struct timespec * newmtimep,int reclaim,nfsv4stateid_t * stateidp,int maxcnt,char * layp,int * hasnewsizep,uint64_t * newsizep,struct ucred * cred,NFSPROC_T * p) nfsrv_layoutcommit() argument
6802 nfsrv_layoutget(struct nfsrv_descript * nd,vnode_t vp,struct nfsexstuff * exp,int layouttype,int * iomode,uint64_t * offset,uint64_t * len,uint64_t minlen,nfsv4stateid_t * stateidp,int maxcnt,int * retonclose,int * layoutlenp,char * layp,struct ucred * cred,NFSPROC_T * p) nfsrv_layoutget() argument
6950 nfsrv_filelayout(struct nfsrv_descript * nd,int iomode,fhandle_t * fhp,fhandle_t * dsfhp,char * devid,fsid_t fs) nfsrv_filelayout() argument
6998 nfsrv_flexlayout(struct nfsrv_descript * nd,int iomode,int mirrorcnt,fhandle_t * fhp,fhandle_t * dsfhp,char * devid,fsid_t fs) nfsrv_flexlayout() argument
7063 nfsrv_flexlayouterr(struct nfsrv_descript * nd,uint32_t * layp,int maxcnt,NFSPROC_T * p) nfsrv_flexlayouterr() argument
7295 nfsrv_layoutreturn(struct nfsrv_descript * nd,vnode_t vp,int layouttype,int iomode,uint64_t offset,uint64_t len,int reclaim,int kind,nfsv4stateid_t * stateidp,int maxcnt,uint32_t * layp,int * fndp,struct ucred * cred,NFSPROC_T * p) nfsrv_layoutreturn() argument
7427 nfsrv_addlayout(struct nfsrv_descript * nd,struct nfslayout ** lypp,nfsv4stateid_t * stateidp,char * layp,int * layoutlenp,NFSPROC_T * p) nfsrv_addlayout() argument
7715 struct nameidata nd; nfsrv_setdsserver() local
8632 struct nameidata nd; nfsrv_mdscopymr() local
8915 nfsrv_checkmachcred(int op,struct nfsrv_descript * nd,struct nfsclient * clp) nfsrv_checkmachcred() argument
8935 nfsrv_issuedelegation(struct vnode * vp,struct nfsclient * clp,struct nfsrv_descript * nd,int delegate,int writedeleg,int readonly,u_quad_t filerev,uint64_t rdonly,struct nfsstate ** new_delegp,struct nfsstate * new_stp,struct nfslockfile * lfp,uint32_t * rflagsp,nfsv4stateid_t * delegstateidp) nfsrv_issuedelegation() argument
9017 nfsrv_removedeleg(fhandle_t * fhp,struct nfsrv_descript * nd,NFSPROC_T * p) nfsrv_removedeleg() argument
[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,
245 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_null() local
247 NFSCL_REQSTART(nd, NFSPROC_NULL, vp, NULL); in nfsrpc_null()
248 error = nfscl_request(nd, vp, p, cred); in nfsrpc_null()
249 if (nd->nd_repstat && !error) in nfsrpc_null()
250 error = nd->nd_repstat; in nfsrpc_null()
251 m_freem(nd->nd_mrep); in nfsrpc_null()
309 struct nfsrv_descript nfsd, *nd = &nfsd; in nfsrpc_accessrpc() local
327 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");
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
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
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
330 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",
81 struct in6_ndireq nd = {}; in setnd6flags() local
84 strlcpy(nd.ifname, ctx->ifname, sizeof(nd.ifname)); in setnd6flags()
85 error = ioctl_ctx(ctx, SIOCGIFINFO_IN6, &nd); in setnd6flags()
91 nd.ndi.flags &= ~(-d); in setnd6flags()
93 nd.ndi.flags |= d; in setnd6flags()
94 error = ioctl_ctx(ctx, SIOCSIFINFO_IN6, (caddr_t)&nd); in setnd6flags()
146 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/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/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>>...44