Home
last modified time | relevance | path

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

12

/titanic_41/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()
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 …]
/titanic_41/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()
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 …]
/titanic_41/usr/src/uts/common/io/ib/ibnex/
H A Dibnex_hca.c248 ibnex_node_data_t *ndp; in ibnex_hca_bus_unconfig() local
259 for (ndp = ibnex.ibnex_port_node_head; in ibnex_hca_bus_unconfig()
260 ndp; ndp = ndp->node_next) { in ibnex_hca_bus_unconfig()
263 port_node = &ndp->node_data.port_node; in ibnex_hca_bus_unconfig()
266 ndp->node_dip = NULL; in ibnex_hca_bus_unconfig()
267 ndp->node_state = in ibnex_hca_bus_unconfig()
276 for (ndp = ibnex.ibnex_port_node_head; in ibnex_hca_bus_unconfig()
277 ndp; ndp = ndp->node_next) { in ibnex_hca_bus_unconfig()
280 port_node = &ndp->node_data.port_node; in ibnex_hca_bus_unconfig()
281 dip = ndp->node_dip; in ibnex_hca_bus_unconfig()
[all …]
H A Dibnex.c1553 ibnex_node_data_t *ndp; in ibnex_bus_unconfig() local
1570 for (ndp = ibnex.ibnex_ioc_node_head; in ibnex_bus_unconfig()
1571 ndp; ndp = ndp->node_next) { in ibnex_bus_unconfig()
1572 dip = ndp->node_dip; in ibnex_bus_unconfig()
1577 for (ndp = ibnex.ibnex_pseudo_node_head; in ibnex_bus_unconfig()
1578 ndp; ndp = ndp->node_next) { in ibnex_bus_unconfig()
1579 dip = ndp->node_dip; in ibnex_bus_unconfig()
/titanic_41/usr/src/uts/common/fs/nfs/
H A Dnfs_cmd.c423 struct dirent64 *ndp; in nfscmd_convdirplus() local
444 ndp = (struct dirent64 *)newdata; in nfscmd_convdirplus()
454 *ndp = *dp; in nfscmd_convdirplus()
457 oname = ndp->d_name; in nfscmd_convdirplus()
474 ndp->d_name[ilen] = '\0'; in nfscmd_convdirplus()
479 ndp->d_reclen = DIRENT64_RECLEN(strlen(ndp->d_name) + 1); in nfscmd_convdirplus()
480 nsize += ndp->d_reclen; in nfscmd_convdirplus()
482 ndp = nextdp(ndp); in nfscmd_convdirplus()
/titanic_41/usr/src/cmd/fs.d/pcfs/fsck/
H A Dclusters.c749 orphanChain(int fd, int32_t c, struct pcdir *ndp) in orphanChain() argument
757 markOrphan(fd, c, ndp); in orphanChain()
762 (void) markInUse(fd, c, ndp, NULL, 0, VISIBLE, &tmpl); in orphanChain()
967 struct pcdir *ndp = NULL; in updateOrphanedChainMetadata() local
980 return (ndp); in updateOrphanedChainMetadata()
1002 ((ndp = newDirEnt(dp)) != NULL)) { in updateOrphanedChainMetadata()
1013 updateDirEnt_Size(ndp, (uint32_t)remainder); in updateOrphanedChainMetadata()
1015 updateDirEnt_Start(ndp, nextInChain(endCluster)); in updateOrphanedChainMetadata()
1017 updateDirEnt_Start(ndp, endCluster); in updateOrphanedChainMetadata()
1018 updateDirEnt_Name(ndp, newName); in updateOrphanedChainMetadata()
[all …]
H A Ddir.c1020 struct pcdir *ndp; in newDirEnt() local
1022 if ((ndp = (struct pcdir *)calloc(1, sizeof (struct pcdir))) == NULL) { in newDirEnt()
1025 return (ndp); in newDirEnt()
1028 (void) memcpy(ndp, copyme, sizeof (struct pcdir)); in newDirEnt()
1029 ndp->pcd_ext[CHKNAME_C] = 'C'; in newDirEnt()
1030 ndp->pcd_ext[CHKNAME_H] = 'H'; in newDirEnt()
1031 ndp->pcd_ext[CHKNAME_K] = 'K'; in newDirEnt()
1032 updateDirEnt_CreatTime(ndp); in newDirEnt()
1033 updateDirEnt_ModTimes(ndp); in newDirEnt()
1034 return (ndp); in newDirEnt()
/titanic_41/usr/src/cmd/cmd-inet/usr.lib/in.ndpd/
H A DMakefile28 OBJS= config.o main.o ndp.o tables.o trace.o
30 SVCMETHOD= svc-ndp
31 MANIFEST= ndp.xml
/titanic_41/usr/src/cmd/backup/restore/
H A Ddirs.c495 dcvt(struct odirect *odp, struct direct *ndp) in dcvt() argument
498 (void) bzero((char *)ndp, sizeof (*ndp)); in dcvt()
499 ndp->d_ino = odp->d_ino; in dcvt()
502 assert(sizeof (ndp->d_name) > sizeof (odp->d_name)); in dcvt()
503 (void) strncpy(ndp->d_name, odp->d_name, sizeof (odp->d_name)); in dcvt()
504 ndp->d_name[sizeof (odp->d_name)] = '\0'; in dcvt()
506 ndp->d_namlen = strlen(ndp->d_name); in dcvt()
509 assert(DIRSIZ(ndp) == (ulong_t)ndp->d_reclen); in dcvt()
511 ndp->d_reclen = (ushort_t)DIRSIZ(ndp); in dcvt()
/titanic_41/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()
/titanic_41/usr/src/common/ctf/
H A Dctf_decl.c74 ctf_decl_node_t *cdp, *ndp; in ctf_decl_fini() local
79 cdp != NULL; cdp = ndp) { in ctf_decl_fini()
80 ndp = ctf_list_next(cdp); in ctf_decl_fini()
/titanic_41/usr/src/uts/common/fs/dcfs/
H A Ddc_vnops.c925 struct dcnode *dp, *ndp; in decompvp() local
977 ndp = dcnode_alloc(); in decompvp()
978 ndp->dc_subvp = vp; in decompvp()
980 ndp->dc_hdr = hdr; in decompvp()
981 ndp->dc_hdrsize = hdrsize; in decompvp()
986 ndp->dc_zmax = ZMAXBUF(bsize); in decompvp()
990 *cpp = kmem_cache_create("dcbuf_cache", ndp->dc_zmax, 0, NULL, in decompvp()
993 ndp->dc_bufcache = *cpp; in decompvp()
1003 dcnode_recycle(ndp); in decompvp()
1004 kmem_cache_free(dcnode_cache, ndp); in decompvp()
[all …]
/titanic_41/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()
H A Ddt_consume.c2577 char *newdata, *ndp; in dt_unring_buf() local
2583 newdata = ndp = dt_alloc(dtp, buf->dtbd_size + misalign); in dt_unring_buf()
2590 bzero(ndp, misalign); in dt_unring_buf()
2591 ndp += misalign; in dt_unring_buf()
2593 bcopy(buf->dtbd_data + buf->dtbd_oldest, ndp, in dt_unring_buf()
2595 ndp += buf->dtbd_size - buf->dtbd_oldest; in dt_unring_buf()
2597 bcopy(buf->dtbd_data, ndp, buf->dtbd_oldest); in dt_unring_buf()
/titanic_41/usr/src/uts/common/inet/ip/
H A Dip_ndp.c418 nce_remove(ndp_g_t *ndp, ncec_t *ncec, ncec_t **free_nce_list) in nce_remove() argument
423 ASSERT(MUTEX_HELD(&ndp->ndp_g_lock)); in nce_remove()
424 ASSERT(ndp->ndp_g_walker == 0); in nce_remove()
458 ndp_g_t *ndp; in ncec_delete() local
462 ndp = ipst->ips_ndp4; in ncec_delete()
464 ndp = ipst->ips_ndp6; in ncec_delete()
498 mutex_enter(&ndp->ndp_g_lock); in ncec_delete()
505 mutex_exit(&ndp->ndp_g_lock); in ncec_delete()
508 if (ndp->ndp_g_walker > 0) { in ncec_delete()
512 ndp->ndp_g_walker_cleanup = B_TRUE; in ncec_delete()
[all …]
H A Drts.c119 static boolean_t rts_param_register(IDP *ndp, rtsparam_t *rtspa, int cnt);
776 rts_param_register(IDP *ndp, rtsparam_t *rtspa, int cnt) in rts_param_register() argument
780 if (!nd_load(ndp, rtspa->rts_param_name, in rts_param_register()
782 nd_free(ndp); in rts_param_register()
/titanic_41/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()
/titanic_41/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()
2799 if (nd_load(&lldev->ndp, "devconfig", xgell_devconfig_get, NULL, in xgell_device_register()
2841 nd_free(&lldev->ndp); in xgell_device_register()
[all …]
H A Dxgell.h361 caddr_t ndp; member
/titanic_41/usr/src/pkg/manifests/
H A Dsystem-network-routing.mf45 file path=lib/svc/manifest/network/routing/ndp.xml group=sys mode=0444
49 file path=lib/svc/method/svc-ndp mode=0555
/titanic_41/usr/src/cmd/svc/configd/
H A Drc_node.c1232 rc_notify_deletion(rc_notify_delete_t *ndp, const char *service, in rc_notify_deletion() argument
1237 uu_list_node_init(&ndp->rnd_notify, &ndp->rnd_notify.rcn_list_node, in rc_notify_deletion()
1239 ndp->rnd_notify.rcn_delete = ndp; in rc_notify_deletion()
1241 (void) snprintf(ndp->rnd_fmri, sizeof (ndp->rnd_fmri), in rc_notify_deletion()
1253 (void) uu_list_insert_before(rc_notify_list, NULL, ndp); in rc_notify_deletion()
4162 rc_notify_node_delete(rc_notify_delete_t *ndp, rc_node_t *np_arg) in rc_notify_node_delete() argument
4205 rc_notify_deletion(ndp, in rc_notify_node_delete()
4210 ndp = NULL; in rc_notify_node_delete()
4213 if (ndp != NULL) in rc_notify_node_delete()
4214 uu_free(ndp); in rc_notify_node_delete()
[all …]
/titanic_41/usr/src/cmd/fs.d/ufs/fsck/
H A Ddir.c162 struct direct *dp, *ndp = 0; in fsck_readdir() local
250 if (ndp == NULL) { in fsck_readdir()
312 ndp = (struct direct *)(bp->b_un.b_buf + idesc->id_loc); in fsck_readdir()
313 if (dircheck(idesc, ndp) == 0) in fsck_readdir()
/titanic_41/usr/src/cmd/fm/fmd/common/
H A Dfmd_conf.c867 fmd_conf_defer_t *cdp, *ndp; in fmd_conf_close() local
869 for (cdp = cfp->cf_defer; cdp != NULL; cdp = ndp) { in fmd_conf_close()
870 ndp = cdp->cd_next; in fmd_conf_close()
/titanic_41/usr/src/stand/lib/sock/
H A Dsocket.c1353 unsigned char *ndp; in copyb() local
1360 ndp = nbp->b_datap; in copyb()
1362 nbp->b_rptr = ndp + (bp->b_rptr - bp->b_datap); in copyb()
/titanic_41/usr/src/uts/common/os/
H A Dinstance.c885 in_drv_t *dp, *ndp; in e_ddi_unorphan_instance_nos() local
909 ndp = dp->ind_next; in e_ddi_unorphan_instance_nos()
913 dp = ndp; in e_ddi_unorphan_instance_nos()

12