Home
last modified time | relevance | path

Searched refs:ndp (Results 1 – 16 of 16) sorted by relevance

/f-stack/freebsd/kern/
H A Dvfs_lookup.c538 ndp->ni_cnd.cn_cred = ndp->ni_cnd.cn_thread->td_ucred; in namei()
618 (error == 0 ? ndp->ni_vp : NULL), false, ndp); in namei()
674 bcopy(ndp->ni_next, cp + linklen, ndp->ni_pathlen); in namei()
1111 ndp->ni_startdir = ndp->ni_dvp; in lookup()
1172 if (ndp->ni_dvp != ndp->ni_vp) { in lookup()
1197 error = nameicap_check_dotdot(ndp, ndp->ni_vp); in lookup()
1235 ndp->ni_startdir = ndp->ni_dvp; in lookup()
1276 nameicap_tracker_add(ndp, ndp->ni_vp); in lookup()
1303 if (ndp->ni_vp == ndp->ni_dvp) in lookup()
1497 (ndp->ni_cnd.cn_flags & LOCKLEAF) && ndp->ni_vp)
[all …]
H A Dvfs_cache.c3762 ndp = fpl->ndp; in cache_fpl_handle_root()
3895 ndp = fpl->ndp; in cache_fpl_aborted_impl()
4020 ndp = fpl->ndp; in cache_can_fplookup()
4054 ndp = fpl->ndp; in cache_fplookup_dirfd()
4093 ndp = fpl->ndp; in cache_fplookup_partial_setup()
4214 ndp = fpl->ndp; in cache_fplookup_final_modifying()
4398 ndp = fpl->ndp; in cache_fplookup_modifying()
4580 ndp = fpl->ndp; in cache_fplookup_noentry()
4756 ndp = fpl->ndp; in cache_fplookup_dotdot()
4865 ndp = fpl->ndp; in cache_symlink_resolve()
[all …]
H A Dvfs_vnops.c260 vput(ndp->ni_dvp); in vn_open_cred()
264 NDREINIT(ndp); in vn_open_cred()
274 error = VOP_CREATE(ndp->ni_dvp, &ndp->ni_vp, in vn_open_cred()
276 VOP_VPUT_PAIR(ndp->ni_dvp, error == 0 ? &ndp->ni_vp : in vn_open_cred()
282 NDREINIT(ndp); in vn_open_cred()
288 vp = ndp->ni_vp; in vn_open_cred()
290 if (ndp->ni_dvp == ndp->ni_vp) in vn_open_cred()
293 vput(ndp->ni_dvp); in vn_open_cred()
295 vp = ndp->ni_vp; in vn_open_cred()
315 vp = ndp->ni_vp; in vn_open_cred()
[all …]
H A Dkern_descrip.c2953 fgetvp_lookup_smr(int fd, struct nameidata *ndp, struct vnode **vpp, bool *fsearch) in fgetvp_lookup_smr() argument
2966 rights = *ndp->ni_rightsneeded; in fgetvp_lookup_smr()
2986 if (!filecaps_copy(&fde->fde_caps, &ndp->ni_filecaps, false)) { in fgetvp_lookup_smr()
3005 if (!cap_rights_contains(&ndp->ni_filecaps.fc_rights, &rights) || in fgetvp_lookup_smr()
3006 ndp->ni_filecaps.fc_fcntls != CAP_FCNTL_ALL || in fgetvp_lookup_smr()
3007 ndp->ni_filecaps.fc_nioctls != -1) { in fgetvp_lookup_smr()
3009 ndp->ni_lcf |= NI_LCF_STRICTRELATIVE; in fgetvp_lookup_smr()
3019 fgetvp_lookup_smr(int fd, struct nameidata *ndp, struct vnode **vpp, bool *fsearch) in fgetvp_lookup_smr() argument
3048 filecaps_fill(&ndp->ni_filecaps); in fgetvp_lookup_smr()
/f-stack/lib/
H A Dff_vfs_ops.c50 NDFREE(struct nameidata *ndp, const u_int flags) in NDFREE() argument
100 ndp->ni_cnd.cn_nameiop = op;
101 ndp->ni_cnd.cn_flags = flags;
102 ndp->ni_segflg = segflg;
103 ndp->ni_dirp = namep;
104 ndp->ni_dirfd = dirfd;
105 ndp->ni_startdir = startdir;
106 ndp->ni_strictrelative = 0;
108 ndp->ni_rightsneeded = *rightsp;
111 filecaps_init(&ndp->ni_filecaps);
[all …]
/f-stack/freebsd/sys/
H A Dnamei.h211 #define NDINIT(ndp, op, flags, segflg, namep, td) \ argument
217 #define NDINIT_ATVP(ndp, op, flags, segflg, namep, vp, td) \ argument
241 struct nameidata *_ndp = (ndp); \
258 #define NDREINIT(ndp) do { \ argument
259 struct nameidata *_ndp = (ndp); \
278 #define NDFREE(ndp, flags) do { \ argument
279 struct nameidata *_ndp = (ndp); \
291 #define NDFREE_NOTHING(ndp) do { } while (0) argument
292 #define NDVALIDATE(ndp) do { } while (0) argument
295 int namei(struct nameidata *ndp);
[all …]
H A Dfile.h283 int fgetvp_lookup_smr(int fd, struct nameidata *ndp, struct vnode **vpp, bool *fsearch);
H A Dvnode.h745 int vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp);
746 int vn_open_cred(struct nameidata *ndp, int *flagp, int cmode,
/f-stack/dpdk/drivers/net/nfb/
H A Dnfb_rx.h144 struct ndp_rx_queue *ndp = queue; in nfb_eth_ndp_rx() local
151 const uint16_t buf_size = ndp->buf_size; in nfb_eth_ndp_rx()
158 if (unlikely(ndp->queue == NULL || nb_pkts == 0)) { in nfb_eth_ndp_rx()
163 timestamping_enabled = ndp->flags & NFB_TIMESTAMP_FLAG; in nfb_eth_ndp_rx()
166 i = rte_pktmbuf_alloc_bulk(ndp->mb_pool, mbufs, nb_pkts); in nfb_eth_ndp_rx()
170 num_rx = ndp_rx_burst_get(ndp->queue, packets, nb_pkts); in nfb_eth_ndp_rx()
199 mbuf->port = ndp->in_port; in nfb_eth_ndp_rx()
229 ndp_rx_burst_put(ndp->queue); in nfb_eth_ndp_rx()
231 ndp->rx_pkts += num_rx; in nfb_eth_ndp_rx()
232 ndp->rx_bytes += num_bytes; in nfb_eth_ndp_rx()
H A Dnfb_tx.h127 struct ndp_tx_queue *ndp = queue; in nfb_eth_ndp_tx() local
137 if (unlikely(ndp->queue == NULL || nb_pkts == 0)) { in nfb_eth_ndp_tx()
147 num_tx = ndp_tx_burst_get(ndp->queue, packets, nb_pkts); in nfb_eth_ndp_tx()
186 ndp_tx_burst_flush(ndp->queue); in nfb_eth_ndp_tx()
188 ndp->tx_pkts += num_tx; in nfb_eth_ndp_tx()
189 ndp->err_pkts += nb_pkts - num_tx; in nfb_eth_ndp_tx()
190 ndp->tx_bytes += num_bytes; in nfb_eth_ndp_tx()
/f-stack/tools/
H A DMakefile1 …il libmemstat libxo libnetgraph sysctl ifconfig route top netstat ngctl ipfw arp traffic knictl ndp
15 ln -sf ${PREFIX_BIN}/f-stack/ndp ${PREFIX_BIN}/ff_ndp
H A DREADME.md278 # ndp chapter
281 ndp -C <f-stack proc_id> [-nt] hostname
282 ndp -C <f-stack proc_id> [-nt] -a | -c | -p | -r | -H | -P | -R
283 ndp -C <f-stack proc_id> [-nt] -A wait
284 ndp -C <f-stack proc_id> [-nt] -d hostname
285 ndp -C <f-stack proc_id> [-nt] -f filename
286 ndp -C <f-stack proc_id> [-nt] -i interface [flags...]
287 ndp -C <f-stack proc_id> [-nt] -I [interface|delete]
288 ndp -C <f-stack proc_id> [-nt] -s nodename etheraddr [temp] [proxy]
290 For more details, see [Manual page](https://www.freebsd.org/cgi/man.cgi?ndp).
/f-stack/tools/ndp/
H A DMakefile18 PROG= ndp
/f-stack/lib/include/sys/
H A Dvnode.h136 int vn_open(struct nameidata *ndp, int *flagp, int cmode, struct file *fp);
/f-stack/doc/
H A DF-Stack_Release_Note.md35 - Add ndp tool for ipv6 neighbor. @chopin11
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-uahcx-defs.h2469 …uint32_t ndp : 8; /**< NumberDownstreamPorts. These bits specify the num… member
2473 uint32_t ndp : 8;