| /illumos-gate/usr/src/uts/common/io/rge/ |
| H A D | rge_ndd.c | 148 nd_param_t *ndp; in rge_param_get() local 152 ndp = (nd_param_t *)cp; in rge_param_get() 153 (void) mi_mpprintf(mp, "%d", ndp->ndp_val); 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() 177 ndp->ndp_val = (int)new_value; in rge_param_set() 178 ndp->ndp_info += 1; in rge_param_set() 191 nd_param_t *ndp; in rge_param_register() local 212 ndp = &rgep->nd_params[tmplp->ndp_info]; in rge_param_register() [all …]
|
| /illumos-gate/usr/src/uts/common/io/ntxn/ |
| H A D | unm_ndd.c | 146 nd_param_t *ndp; in unm_param_get() local 148 ndp = (nd_param_t *)(uintptr_t)cp; in unm_param_get() 149 (void) mi_mpprintf(mp, "%d", ndp->ndp_val); in unm_param_get() 164 nd_param_t *ndp; in unm_param_set() local 168 ndp = (nd_param_t *)(uintptr_t)cp; in unm_param_set() 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 210 ndp = &adapter->nd_params[tmplp->ndp_info]; in unm_param_register() [all …]
|
| /illumos-gate/usr/src/uts/common/io/ib/ibnex/ |
| H A D | ibnex_hca.c | 253 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() 285 port_node = &ndp->node_data.port_node; in ibnex_hca_bus_unconfig() 286 dip = ndp->node_dip; in ibnex_hca_bus_unconfig() [all …]
|
| H A D | ibnex.c | 1559 ibnex_node_data_t *ndp; in ibnex_bus_unconfig() local 1576 for (ndp = ibnex.ibnex_ioc_node_head; in ibnex_bus_unconfig() 1577 ndp; ndp = ndp->node_next) { in ibnex_bus_unconfig() 1578 dip = ndp->node_dip; in ibnex_bus_unconfig() 1583 for (ndp = ibnex.ibnex_pseudo_node_head; in ibnex_bus_unconfig() 1584 ndp; ndp = ndp->node_next) { in ibnex_bus_unconfig() 1585 dip = ndp->node_dip; in ibnex_bus_unconfig()
|
| /illumos-gate/usr/src/cmd/fs.d/pcfs/fsck/ |
| H A D | clusters.c | 759 orphanChain(int fd, int32_t c, struct pcdir *ndp) in orphanChain() argument 767 markOrphan(fd, c, ndp); in orphanChain() 772 (void) markInUse(fd, c, ndp, NULL, 0, VISIBLE, &tmpl); in orphanChain() 977 struct pcdir *ndp = NULL; in updateOrphanedChainMetadata() local 990 return (ndp); in updateOrphanedChainMetadata() 1012 ((ndp = newDirEnt(dp)) != NULL)) { in updateOrphanedChainMetadata() 1023 updateDirEnt_Size(ndp, (uint32_t)remainder); in updateOrphanedChainMetadata() 1025 updateDirEnt_Start(ndp, nextInChain(endCluster)); in updateOrphanedChainMetadata() 1027 updateDirEnt_Start(ndp, endCluster); in updateOrphanedChainMetadata() 1028 updateDirEnt_Name(ndp, newName); in updateOrphanedChainMetadata() [all …]
|
| H A D | dir.c | 1018 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 D | nfs_cmd.c | 462 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 D | Makefile | 29 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 D | dirs.c | 477 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 D | mapid.c | 893 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/uts/common/fs/dcfs/ |
| H A D | dc_vnops.c | 927 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() 992 *cpp = kmem_cache_create("dcbuf_cache", ndp->dc_zmax, 0, NULL, in decompvp() 995 ndp->dc_bufcache = *cpp; in decompvp() 1005 dcnode_recycle(ndp); in decompvp() 1006 kmem_cache_free(dcnode_cache, ndp); in decompvp() [all …]
|
| /illumos-gate/usr/src/common/ctf/ |
| H A D | ctf_decl.c | 72 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/cmd/cmd-inet/usr.sbin/ |
| H A D | Makefile | 33 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 D | dt_decl.c | 96 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/uts/common/inet/ip/ |
| H A D | ip_ndp.c | 422 nce_remove(ndp_g_t *ndp, ncec_t *ncec, ncec_t **free_nce_list) in nce_remove() argument 427 ASSERT(MUTEX_HELD(&ndp->ndp_g_lock)); in nce_remove() 428 ASSERT(ndp->ndp_g_walker == 0); in nce_remove() 462 ndp_g_t *ndp; in ncec_delete() local 466 ndp = ipst->ips_ndp4; in ncec_delete() 468 ndp = ipst->ips_ndp6; in ncec_delete() 502 mutex_enter(&ndp->ndp_g_lock); in ncec_delete() 509 mutex_exit(&ndp->ndp_g_lock); in ncec_delete() 512 if (ndp->ndp_g_walker > 0) { in ncec_delete() 516 ndp->ndp_g_walker_cleanup = B_TRUE; in ncec_delete() [all …]
|
| /illumos-gate/usr/src/test/net-tests/tests/ipv6/ |
| H A D | link-local.ksh | 127 svcadm disable -s ndp 132 svcadm enable -s ndp
|
| /illumos-gate/usr/src/pkg/manifests/ |
| H A D | system-kernel.man4p.inc | 22 link path=usr/share/man/man4p/NDP.4p target=ndp.4p 39 file path=usr/share/man/man4p/ndp.4p
|
| H A D | system-network-routing.p5m | 37 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/man/man4p/ |
| H A D | Makefile | 33 ndp.4p \
|
| H A D | Manlink | 28 ndp.4p
|
| /illumos-gate/usr/src/uts/common/io/xge/drv/ |
| H A D | xgell.c | 2411 ret = nd_getset(wq, lldev->ndp, mp); in xgell_m_ioctl() 2416 ret = nd_getset(wq, lldev->ndp, mp); in xgell_m_ioctl() 2773 if (nd_load(&lldev->ndp, "pciconf", xgell_pciconf_get, NULL, in xgell_device_register() 2777 if (nd_load(&lldev->ndp, "about", xgell_about_get, NULL, in xgell_device_register() 2781 if (nd_load(&lldev->ndp, "stats", xgell_stats_get, NULL, in xgell_device_register() 2785 if (nd_load(&lldev->ndp, "bar0", xgell_bar0_get, xgell_bar0_set, in xgell_device_register() 2789 if (nd_load(&lldev->ndp, "debug_level", xgell_debug_level_get, in xgell_device_register() 2793 if (nd_load(&lldev->ndp, "debug_module_mask", in xgell_device_register() 2798 if (nd_load(&lldev->ndp, "devconfig", xgell_devconfig_get, NULL, in xgell_device_register() 2840 nd_free(&lldev->ndp); in xgell_device_register() [all …]
|
| /illumos-gate/usr/src/cmd/svc/configd/ |
| H A D | rc_node.c | 1222 rc_notify_deletion(rc_notify_delete_t *ndp, const char *service, in rc_notify_deletion() argument 1227 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() 1243 (void) uu_list_insert_before(rc_notify_list, NULL, ndp); in rc_notify_deletion() 4156 rc_notify_node_delete(rc_notify_delete_t *ndp, rc_node_t *np_arg) in rc_notify_node_delete() argument 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() [all …]
|
| /illumos-gate/usr/src/cmd/fs.d/ufs/fsck/ |
| H A D | dir.c | 160 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/boot/common/ |
| H A D | load_elf.c | 325 int ndp; in __elfN() local 701 ndp = php->p_filesz / sizeof (Elf_Dyn); in __elfN() 702 if (ndp == 0) in __elfN() 715 for (i = 0; i < ndp; i++) { in __elfN()
|
| /illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/ |
| H A D | fake_stream.c | 1001 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()
|