Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_ndd.c148 nd_param_t *ndp; in rge_param_get() local
152 ndp = (nd_param_t *)cp; in rge_param_get()
167 nd_param_t *ndp; in rge_param_set() local
172 ndp = (nd_param_t *)cp; in rge_param_set()
174 if (new_value < ndp->ndp_min || new_value > ndp->ndp_max) in rge_param_set()
178 ndp->ndp_info += 1; in rge_param_set()
191 nd_param_t *ndp; in rge_param_register() local
213 *ndp = *tmplp; in rge_param_register()
241 if (pval >= ndp->ndp_min && pval <= ndp->ndp_max) in rge_param_register()
409 nd_param_t *ndp; in rge_nd_ioctl() local
[all …]
/illumos-gate/usr/src/uts/common/io/ntxn/
H A Dunm_ndd.c146 nd_param_t *ndp; in unm_param_get() local
148 ndp = (nd_param_t *)(uintptr_t)cp; in unm_param_get()
164 nd_param_t *ndp; in unm_param_set() local
172 if (new_value < ndp->ndp_min || new_value > ndp->ndp_max) in unm_param_set()
175 ndp->ndp_val = new_value; in unm_param_set()
176 ndp->ndp_info += 1; in unm_param_set()
189 nd_param_t *ndp; in unm_param_register() local
211 *ndp = *tmplp; in unm_param_register()
212 nm = &ndp->ndp_name[0]; in unm_param_register()
239 if (pval >= ndp->ndp_min && pval <= ndp->ndp_max) in unm_param_register()
[all …]
/illumos-gate/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_hca.c253 ibnex_node_data_t *ndp; in ibnex_hca_bus_unconfig() local
264 for (ndp = ibnex.ibnex_port_node_head; in ibnex_hca_bus_unconfig()
265 ndp; ndp = ndp->node_next) { in ibnex_hca_bus_unconfig()
268 port_node = &ndp->node_data.port_node; in ibnex_hca_bus_unconfig()
271 ndp->node_dip = NULL; in ibnex_hca_bus_unconfig()
272 ndp->node_state = in ibnex_hca_bus_unconfig()
281 for (ndp = ibnex.ibnex_port_node_head; in ibnex_hca_bus_unconfig()
282 ndp; ndp = ndp->node_next) { in ibnex_hca_bus_unconfig()
286 dip = ndp->node_dip; in ibnex_hca_bus_unconfig()
291 ndp->node_dip = NULL; in ibnex_hca_bus_unconfig()
[all …]
H A Dibnex.c1558 ibnex_node_data_t *ndp; in ibnex_bus_unconfig() local
1575 for (ndp = ibnex.ibnex_ioc_node_head; in ibnex_bus_unconfig()
1576 ndp; ndp = ndp->node_next) { in ibnex_bus_unconfig()
1577 dip = ndp->node_dip; in ibnex_bus_unconfig()
1582 for (ndp = ibnex.ibnex_pseudo_node_head; in ibnex_bus_unconfig()
1583 ndp; ndp = ndp->node_next) { in ibnex_bus_unconfig()
1584 dip = ndp->node_dip; in ibnex_bus_unconfig()
/illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/
H A Dclusters.c756 markOrphan(fd, c, ndp); in orphanChain()
966 struct pcdir *ndp = NULL; in updateOrphanedChainMetadata() local
979 return (ndp); in updateOrphanedChainMetadata()
1017 updateDirEnt_Name(ndp, newName); in updateOrphanedChainMetadata()
1020 return (ndp); in updateOrphanedChainMetadata()
1038 struct pcdir *ndp = NULL; in splitChain() local
1042 *newdp = ndp; in splitChain()
1191 struct pcdir *ndp = NULL; in relinkFATOrphans() local
1210 updateDirEnt_Size(ndp, newSize); in relinkFATOrphans()
1211 updateDirEnt_Start(ndp, c); in relinkFATOrphans()
[all …]
H A Ddir.c1018 struct pcdir *ndp; in newDirEnt() local
1020 if ((ndp = (struct pcdir *)calloc(1, sizeof (struct pcdir))) == NULL) { in newDirEnt()
1023 return (ndp); in newDirEnt()
1026 (void) memcpy(ndp, copyme, sizeof (struct pcdir)); in newDirEnt()
1027 ndp->pcd_ext[CHKNAME_C] = 'C'; in newDirEnt()
1028 ndp->pcd_ext[CHKNAME_H] = 'H'; in newDirEnt()
1029 ndp->pcd_ext[CHKNAME_K] = 'K'; in newDirEnt()
1030 updateDirEnt_CreatTime(ndp); in newDirEnt()
1031 updateDirEnt_ModTimes(ndp); in newDirEnt()
1032 return (ndp); in newDirEnt()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_cmd.c462 struct dirent64 *ndp; in nfscmd_convdirplus() local
483 ndp = (struct dirent64 *)newdata; in nfscmd_convdirplus()
493 *ndp = *dp; in nfscmd_convdirplus()
496 oname = ndp->d_name; in nfscmd_convdirplus()
513 ndp->d_name[ilen] = '\0'; in nfscmd_convdirplus()
518 ndp->d_reclen = DIRENT64_RECLEN(strlen(ndp->d_name) + 1); in nfscmd_convdirplus()
519 nsize += ndp->d_reclen; in nfscmd_convdirplus()
521 ndp = nextdp(ndp); in nfscmd_convdirplus()
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A DMakefile29 OBJS= config.o main.o ndp.o tables.o trace.o
30 SVCMETHOD= svc-ndp
31 MANIFEST= ndp.xml
/illumos-gate/usr/src/cmd/backup/restore/
H A Ddirs.c477 dcvt(struct odirect *odp, struct direct *ndp) in dcvt() argument
480 (void) bzero((char *)ndp, sizeof (*ndp)); in dcvt()
481 ndp->d_ino = odp->d_ino; in dcvt()
484 assert(sizeof (ndp->d_name) > sizeof (odp->d_name)); in dcvt()
485 (void) strncpy(ndp->d_name, odp->d_name, sizeof (odp->d_name)); in dcvt()
486 ndp->d_name[sizeof (odp->d_name)] = '\0'; in dcvt()
488 ndp->d_namlen = strlen(ndp->d_name); in dcvt()
491 assert(DIRSIZ(ndp) == (ulong_t)ndp->d_reclen); in dcvt()
493 ndp->d_reclen = (ushort_t)DIRSIZ(ndp); in dcvt()
/illumos-gate/usr/src/lib/libmapid/common/
H A Dmapid.c893 char *ndp; in trim_wspace() local
904 for (ndp = dp; *ndp != '\0'; ndp++) { in trim_wspace()
905 if (!isspace(*ndp)) in trim_wspace()
913 if (*ndp == '\0') in trim_wspace()
919 for (r = ndp; *r != '\0'; r++) { in trim_wspace()
928 return (ndp); in trim_wspace()
947 return (ndp); in trim_wspace()
/illumos-gate/usr/src/common/ctf/
H A Dctf_decl.c72 ctf_decl_node_t *cdp, *ndp; in ctf_decl_fini() local
77 cdp != NULL; cdp = ndp) { in ctf_decl_fini()
78 ndp = ctf_list_next(cdp); in ctf_decl_fini()
/illumos-gate/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c927 struct dcnode *dp, *ndp; in decompvp() local
979 ndp = dcnode_alloc(); in decompvp()
980 ndp->dc_subvp = vp; in decompvp()
982 ndp->dc_hdr = hdr; in decompvp()
983 ndp->dc_hdrsize = hdrsize; in decompvp()
988 ndp->dc_zmax = ZMAXBUF(bsize); in decompvp()
995 ndp->dc_bufcache = *cpp; in decompvp()
1005 dcnode_recycle(ndp); in decompvp()
1006 kmem_cache_free(dcnode_cache, ndp); in decompvp()
1009 dcinsert(ndp); in decompvp()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/
H A DMakefile33 ndd ndp $(SYNCPROG)
47 in.rwhod in.telnetd in.tftpd ipaddrsel ndp route
50 in.tftpd ipaddrsel ndp route
78 ipaddrsel ndp route \
/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_decl.c96 dt_decl_t *ndp; in dt_decl_free() local
98 for (; ddp != NULL; ddp = ndp) { in dt_decl_free()
99 ndp = ddp->dd_next; in dt_decl_free()
389 dt_decl_t *ndp = ddp; in dt_decl_array() local
397 while (ndp->dd_next != NULL && ndp->dd_next->dd_kind == CTF_K_ARRAY) in dt_decl_array()
398 ndp = ndp->dd_next; /* skip to bottom-most array declaration */ in dt_decl_array()
400 if (ndp != ddp) { in dt_decl_array()
406 ddp->dd_next = ndp->dd_next; in dt_decl_array()
407 ndp->dd_next = ddp; in dt_decl_array()
/illumos-gate/usr/src/man/man4p/
H A DMakefile33 ndp.4p \
70 NDP.4p := LINKSRC = ndp.4p
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip_ndp.c462 ndp_g_t *ndp; in ncec_delete() local
466 ndp = ipst->ips_ndp4; in ncec_delete()
468 ndp = ipst->ips_ndp6; in ncec_delete()
512 if (ndp->ndp_g_walker > 0) { in ncec_delete()
745 ndp_g_t *ndp; in ncec_lookup_illgrp() local
749 ndp = ipst->ips_ndp6; in ncec_lookup_illgrp()
751 ndp = ipst->ips_ndp4; in ncec_lookup_illgrp()
956 ndp->ndp_g_walker++; in ncec_walk_common()
976 ndp->ndp_g_walker--; in ncec_walk_common()
977 if (ndp->ndp_g_walker_cleanup && ndp->ndp_g_walker == 0) { in ncec_walk_common()
[all …]
H A Drts.c120 static boolean_t rts_param_register(IDP *ndp, rtsparam_t *rtspa, int cnt);
778 rts_param_register(IDP *ndp, rtsparam_t *rtspa, int cnt) in rts_param_register() argument
782 if (!nd_load(ndp, rtspa->rts_param_name, in rts_param_register()
784 nd_free(ndp); in rts_param_register()
/illumos-gate/usr/src/test/net-tests/tests/ipv6/
H A Dlink-local.ksh127 svcadm disable -s ndp
132 svcadm enable -s ndp
/illumos-gate/usr/src/uts/common/io/
H A Dwinlockio.c707 SegProc *ndp; in winlockmap_dup() local
723 ndp = seglock_alloc_specific(lp, in winlockmap_dup()
725 ASSERT(ndp != sdp); in winlockmap_dup()
728 ASSERT(ndp->lockseg == NULL); in winlockmap_dup()
729 ndp->lockseg = new_dhp; in winlockmap_dup()
732 ASSERT(ndp->unlockseg == NULL); in winlockmap_dup()
733 ndp->unlockseg = new_dhp; in winlockmap_dup()
735 ndp->flag |= TRASHPAGE; in winlockmap_dup()
739 *newpvt = (void *)ndp; in winlockmap_dup()
/illumos-gate/usr/src/pkg/manifests/
H A Dsystem-kernel.man4p.inc22 link path=usr/share/man/man4p/NDP.4p target=ndp.4p
39 file path=usr/share/man/man4p/ndp.4p
H A Dsystem-network-routing.p5m37 file path=lib/svc/manifest/network/routing/ndp.xml group=sys mode=0444
42 file path=lib/svc/method/svc-ndp mode=0555
/illumos-gate/usr/src/uts/common/io/xge/drv/
H A Dxgell.c2412 ret = nd_getset(wq, lldev->ndp, mp); in xgell_m_ioctl()
2417 ret = nd_getset(wq, lldev->ndp, mp); in xgell_m_ioctl()
2774 if (nd_load(&lldev->ndp, "pciconf", xgell_pciconf_get, NULL, in xgell_device_register()
2778 if (nd_load(&lldev->ndp, "about", xgell_about_get, NULL, in xgell_device_register()
2782 if (nd_load(&lldev->ndp, "stats", xgell_stats_get, NULL, in xgell_device_register()
2786 if (nd_load(&lldev->ndp, "bar0", xgell_bar0_get, xgell_bar0_set, in xgell_device_register()
2790 if (nd_load(&lldev->ndp, "debug_level", xgell_debug_level_get, in xgell_device_register()
2794 if (nd_load(&lldev->ndp, "debug_module_mask", in xgell_device_register()
2841 nd_free(&lldev->ndp); in xgell_device_register()
2848 nd_free(&lldev->ndp); in xgell_device_register()
[all …]
/illumos-gate/usr/src/cmd/svc/configd/
H A Drc_node.c1227 uu_list_node_init(&ndp->rnd_notify, &ndp->rnd_notify.rcn_list_node, in rc_notify_deletion()
1229 ndp->rnd_notify.rcn_delete = ndp; in rc_notify_deletion()
1231 (void) snprintf(ndp->rnd_fmri, sizeof (ndp->rnd_fmri), in rc_notify_deletion()
4199 rc_notify_deletion(ndp, in rc_notify_node_delete()
4204 ndp = NULL; in rc_notify_node_delete()
4207 if (ndp != NULL) in rc_notify_node_delete()
4208 uu_free(ndp); in rc_notify_node_delete()
4697 rc_notify_delete_t *ndp; in rc_node_delete() local
4919 ndp = uu_zalloc(sizeof (*ndp)); in rc_node_delete()
4920 if (ndp == NULL) { in rc_node_delete()
[all …]
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c160 struct direct *dp, *ndp = 0; in fsck_readdir() local
248 if (ndp == NULL) { in fsck_readdir()
310 ndp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
311 if (dircheck(idesc, ndp) == 0) in fsck_readdir()
/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_stream.c1001 dblk_t *dp, *ndp; in copyb() local
1018 ndp = nbp->b_datap; in copyb()
1030 base = ndp->db_base + unaligned; in copyb()
1031 bcopy(dp->db_base, ndp->db_base + unaligned, size); in copyb()

12