/titanic_50/usr/src/uts/common/inet/ |
H A D | nd.c | 42 ND *nd; in nd_free() local 44 if ((nd = (ND *)(*nd_pparam)) != NULL) { in nd_free() 45 if (nd->nd_tbl) in nd_free() 46 mi_free((char *)nd->nd_tbl); in nd_free() 47 mi_free((char *)nd); in nd_free() 58 ND *nd; in nd_getset() local 65 nd = (ND *)nd_param; in nd_getset() 85 for (nde = nd->nd_tbl; ; nde++) { in nd_getset() 173 ND *nd; in nd_get_names() local 178 nd = (ND *)nd_param; in nd_get_names() [all …]
|
/titanic_50/usr/src/cmd/mdb/common/modules/neti/ |
H A D | neti.c | 48 struct net_data nd, *p; in netinfolist() local 69 if (mdb_vread((void *)&nd, sizeof (nd), (uintptr_t)p) == -1) { in netinfolist() 73 if (!nd.netd_info.netp_name) { in netinfolist() 75 nd.netd_info.netp_name); in netinfolist() 79 (uintptr_t)nd.netd_info.netp_name) == -1) { in netinfolist() 81 nd.netd_info.netp_name); in netinfolist() 87 nd.netd_hooks, str); in netinfolist() 89 p = LIST_NEXT(&nd, netd_list); in netinfolist()
|
/titanic_50/usr/src/lib/libast/common/misc/ |
H A D | ftwalk.c | 62 int nd; in ftwalk() local 95 nd = 0; in ftwalk() 101 dd[nd++] = x; in ftwalk() 102 if (nd >= elementsof(dd)) in ftwalk() 108 while (nd > 0) in ftwalk() 109 dd[--nd]->info |= FTS_DD; in ftwalk() 119 nd = 0; in ftwalk() 130 dd[nd++] = x; in ftwalk() 131 if (nd >= elementsof(dd)) in ftwalk() 149 while (nd > 0) in ftwalk() [all …]
|
H A D | fts.c | 66 int nd; \ 84 int nd; /* popdir() count */ \ 477 while (fts->nd > 0) in popdirs() 479 for (s = buf; s < e && fts->nd > 0; fts->nd--) in popdirs() 938 f->nd = f->fts_info & ~FTS_DNX; in fts_read() 939 if (f->nd || !(fts->flags & FTS_NOPREORDER)) in fts_read() 958 if (!fts->dir || f->nd || f->status == FTS_SKIP) in fts_read() 1160 fts->nd = 0; in fts_read() 1180 fts->nd++; in fts_read() 1196 if (fts->nd > 0) in fts_read() [all …]
|
/titanic_50/usr/src/lib/libdladm/common/ |
H A D | usage.c | 293 add_desc_item(ea_object_t *o, net_desc_t *nd) in add_desc_item() argument 298 (void) strncpy(nd->net_desc_name, o->eo_item.ei_string, in add_desc_item() 302 (void) strncpy(nd->net_desc_devname, in add_desc_item() 308 nd->net_desc_protocol = o->eo_item.ei_uint8; in add_desc_item() 311 nd->net_desc_dsfield = o->eo_item.ei_uint8; in add_desc_item() 316 nd->net_desc_sport = o->eo_item.ei_uint16; in add_desc_item() 319 nd->net_desc_dport = o->eo_item.ei_uint16; in add_desc_item() 322 nd->net_desc_sap = o->eo_item.ei_uint16; in add_desc_item() 325 nd->net_desc_vlan_tpid = o->eo_item.ei_uint16; in add_desc_item() 328 nd->net_desc_vlan_tci = o->eo_item.ei_uint16; in add_desc_item() [all …]
|
/titanic_50/usr/src/lib/libm/common/R/ |
H A D | fmodf.c | 46 int hx, ix, iy, iz, k, ny, nd; in fmodf() local 79 nd = k - ny; in fmodf() 81 nd += 1; in fmodf() 83 nd -= 1; in fmodf() 90 nd = k - ny; in fmodf() 112 k = nd >> 2; in fmodf() 113 nd -= k << 2; in fmodf() 140 while (nd--) { in fmodf()
|
/titanic_50/usr/src/lib/libm/common/C/ |
H A D | fmod.c | 46 int nd, k, ny; in fmod() local 78 nd = k - ny; in fmod() 80 nd += 1; in fmod() 82 nd -= 1; in fmod() 90 nd = k - ny; in fmod() 96 while (nd--) { in fmod()
|
/titanic_50/usr/src/lib/libm/common/m9x/ |
H A D | remquof.c | 58 int hx, ix, iy, iz, k, ny, nd, m, sq; in fmodquof() local 96 nd = k - ny; in fmodquof() 98 nd += 1; in fmodquof() 100 nd -= 1; in fmodquof() 106 nd = k - ny; in fmodquof() 127 k = nd >> 2; in fmodquof() 128 nd -= (k << 2); in fmodquof() 159 iz = (k << 2) + nd; in fmodquof() 170 while (nd--) { in fmodquof()
|
/titanic_50/usr/src/uts/common/io/hxge/ |
H A D | hxge_ndd.c | 1282 ND *nd; in hxge_nd_load() local 1288 if ((nd = (ND *) * pparam) == NULL) { in hxge_nd_load() 1289 if ((nd = (ND *) KMEM_ZALLOC(sizeof (ND), KM_NOSLEEP)) == NULL) in hxge_nd_load() 1291 *pparam = (caddr_t)nd; in hxge_nd_load() 1293 if (nd->nd_tbl) { in hxge_nd_load() 1294 for (nde = nd->nd_tbl; nde->nde_name; nde++) { in hxge_nd_load() 1299 if (nd->nd_free_count <= 1) { in hxge_nd_load() 1300 if ((nde = (NDE *) KMEM_ZALLOC(nd->nd_size + in hxge_nd_load() 1303 nd->nd_free_count += NDE_ALLOC_COUNT; in hxge_nd_load() 1304 if (nd->nd_tbl) { in hxge_nd_load() [all …]
|
/titanic_50/usr/src/cmd/hal/tools/ |
H A D | hal-device.c | 75 int add_properties(LibHalContext *hal_ctx, new_dev_t *nd, lh_prop_t *prop); 545 int add_properties(LibHalContext *hal_ctx, new_dev_t *nd, lh_prop_t *prop) in add_properties() argument 560 old_type = libhal_device_get_property_type(hal_ctx, nd->real_udi, p->key, &error); in add_properties() 565 if (!libhal_device_remove_property(hal_ctx, nd->real_udi, p->key, &error)) { in add_properties() 576 if (!libhal_device_set_property_bool(hal_ctx, nd->real_udi, p->key, p->v.bool_value, &error)) { in add_properties() 583 if (!libhal_device_set_property_int(hal_ctx, nd->real_udi, p->key, p->v.int_value, &error)) { in add_properties() 590 …if (!libhal_device_set_property_uint64(hal_ctx, nd->real_udi, p->key, p->v.uint64_value, &error)) { in add_properties() 597 …if (!libhal_device_set_property_double(hal_ctx, nd->real_udi, p->key, p->v.double_value, &error)) { in add_properties() 605 if (!libhal_device_set_property_string(hal_ctx, nd->real_udi, p->key, p->v.str_value, &error)) { in add_properties() 613 if (!libhal_device_property_strlist_append(hal_ctx, nd->real_udi, p->key, *s, &error)) { in add_properties() [all …]
|
/titanic_50/usr/src/uts/intel/io/intel_nhm/ |
H A D | dimm_topo.c | 196 int nd; in inhm_dimmlist() local 221 nd = 0; in inhm_dimmlist() 225 dimmlist[nd] = inhm_dimm(dimmp, node, i, in inhm_dimmlist() 227 nd++; in inhm_dimmlist() 231 if (nd) { in inhm_dimmlist() 233 "memory-dimms", dimmlist, nd); in inhm_dimmlist() 234 for (j = 0; j < nd; j++) in inhm_dimmlist()
|
/titanic_50/usr/src/cmd/lp/model/netpr/ |
H A D | net.c | 265 netpr_response(int nd) in netpr_response() argument 277 if ((read(nd, &c, 1) != 1)) { in netpr_response() 316 netpr_send_message(int nd, char *fmt, ...) in netpr_send_message() argument 338 nw = write(nd, pa, ctr); in netpr_send_message() 365 return (netpr_response(nd)); in netpr_send_message()
|
/titanic_50/usr/src/cmd/hal/hald/solaris/ |
H A D | devinfo_usb.c | 126 HalDevice *d, *nd = NULL; in devinfo_usb_add() local 192 if ((nd = devinfo_usb_if_add (d, node, if_devfs_path, in devinfo_usb_add() 194 d = nd; in devinfo_usb_add() 195 nd = NULL; in devinfo_usb_add() 222 nd = devinfo_usb_scsa2usb_add (d, node); in devinfo_usb_add() 224 nd = devinfo_usb_printer_add (d, node); in devinfo_usb_add() 229 nd = devinfo_usb_input_add(d, node); in devinfo_usb_add() 234 nd = devinfo_usb_video4linux_add(d, node); in devinfo_usb_add() 239 if (nd != NULL) { in devinfo_usb_add() 240 return (nd); in devinfo_usb_add()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | exacct.c | 1226 exacct_attach_netdesc_item(net_desc_t *nd, ea_object_t *record, int res) in exacct_attach_netdesc_item() argument 1232 (void) ea_attach_item(record, nd->nd_name, in exacct_attach_netdesc_item() 1233 strlen(nd->nd_name) + 1, EXT_STRING | EXD_NET_DESC_NAME); in exacct_attach_netdesc_item() 1236 (void) ea_attach_item(record, nd->nd_devname, in exacct_attach_netdesc_item() 1237 strlen(nd->nd_devname) + 1, EXT_STRING | in exacct_attach_netdesc_item() 1241 (void) ea_attach_item(record, &nd->nd_ehost, in exacct_attach_netdesc_item() 1242 sizeof (nd->nd_ehost), EXT_RAW | EXD_NET_DESC_EHOST); in exacct_attach_netdesc_item() 1245 (void) ea_attach_item(record, &nd->nd_edest, in exacct_attach_netdesc_item() 1246 sizeof (nd->nd_edest), EXT_RAW | EXD_NET_DESC_EDEST); in exacct_attach_netdesc_item() 1249 (void) ea_attach_item(record, &nd->nd_vlan_tpid, in exacct_attach_netdesc_item() [all …]
|
/titanic_50/usr/src/uts/intel/io/intel_nb5000/ |
H A D | intel_nbdrv.c | 227 int nd; in inb_dimmlist() local 238 nd = 0; in inb_dimmlist() 242 dimmlist[nd] = inb_dimm(dimmp, i, (uint32_t)j); in inb_dimmlist() 243 nd++; in inb_dimmlist() 247 if (nd) { in inb_dimmlist() 249 "memory-dimms", dimmlist, nd); in inb_dimmlist() 250 for (j = 0; j < nd; j++) in inb_dimmlist()
|
/titanic_50/usr/src/tools/scripts/ |
H A D | checkpaths.sh | 65 *sparc|*sparc-nd) 68 *i386|*i386-nd)
|
H A D | nightly | 1034 TOOLS_PROTO_REL=proto/root_${MACH}-nd 1107 if [ -f $TMPDIR/wsdiff-nd.results ]; then 1108 mv $TMPDIR/wsdiff-nd.results $LLOG 1416 rm -rf $ROOT-nd.prev 1418 mv $ROOT-nd $ROOT-nd.prev 1815 checkroot=$ROOT-nd 1900 rm -rf $NIGHTLY_PARENT_ROOT-nd/* 1901 mkdir -p $NIGHTLY_PARENT_ROOT-nd 1902 cd $ROOT-nd 1904 ( cd $NIGHTLY_PARENT_ROOT-nd; umask 0; tar xpf - ) ) 2>&1 | [all …]
|
H A D | nightly.sh | 1036 TOOLS_PROTO_REL=proto/root_${MACH}-nd 1109 if [ -f $TMPDIR/wsdiff-nd.results ]; then 1110 mv $TMPDIR/wsdiff-nd.results $LLOG 1414 rm -rf $ROOT-nd.prev 1416 mv $ROOT-nd $ROOT-nd.prev 1805 checkroot=$ROOT-nd 1890 rm -rf $NIGHTLY_PARENT_ROOT-nd/* 1891 mkdir -p $NIGHTLY_PARENT_ROOT-nd 1892 cd $ROOT-nd 1894 ( cd $NIGHTLY_PARENT_ROOT-nd; umask 0; tar xpf - ) ) 2>&1 | [all …]
|
/titanic_50/usr/src/uts/common/fs/udfs/ |
H A D | udf_vnops.c | 1096 struct dirent64 *nd; in udf_readdir() local 1135 nd = (struct dirent64 *)outbuf; in udf_readdir() 1142 if (((caddr_t)nd + len) >= end_outb) { in udf_readdir() 1146 nd->d_ino = ip->i_icb_lbano; in udf_readdir() 1147 nd->d_reclen = (uint16_t)len; in udf_readdir() 1148 nd->d_off = 0x10; in udf_readdir() 1149 nd->d_name[0] = '.'; in udf_readdir() 1150 bzero(&nd->d_name[1], DIRENT64_NAMELEN(len) - 1); in udf_readdir() 1151 nd = (struct dirent64 *)((char *)nd + nd->d_reclen); in udf_readdir() 1168 if (((caddr_t)nd + len) >= end_outb) { in udf_readdir() [all …]
|
/titanic_50/usr/src/lib/libshell/common/sh/ |
H A D | nvtype.c | 825 int i,j,k,m,n,nd=0,nref=0,iref=0,inherit=0; in nv_mktype() local 844 nd++; in nv_mktype() 878 nd = dp->ndisc; in nv_mktype() 897 if(nd) in nv_mktype() 898 nd++; in nv_mktype() 900 …pp = newof(NiL, Namtype_t, 1, nnodes*NV_MINSZ + offset + size + (nnodes+nd)*sizeof(char*) + iref*s… in nv_mktype() 917 help = &pp->names[nd]; in nv_mktype() 919 cp = (char*)&pp->names[nd+nnodes]; in nv_mktype() 921 mnodes = newof(NiL, Namval_t*, nd+1, 0); in nv_mktype() 922 nd = 0; in nv_mktype() [all …]
|
/titanic_50/usr/src/uts/common/io/ |
H A D | neti_impl.c | 126 net_handle_t nd; in net_protocol_lookup() local 135 nd = net_find(protocol, nts); in net_protocol_lookup() 136 if (nd != NULL) in net_protocol_lookup() 137 atomic_inc_32((uint_t *)&nd->netd_refcnt); in net_protocol_lookup() 139 return (nd); in net_protocol_lookup()
|
H A D | neti_stack.c | 148 struct net_data *nd; in neti_stack_shutdown() local 158 LIST_FOREACH(nd, &nts->nts_netd_head, netd_list) { in neti_stack_shutdown() 159 nd->netd_condemned = 1; in neti_stack_shutdown() 216 struct net_data *nd; in neti_stack_fini() local 227 LIST_FOREACH(nd, &nts->nts_netd_head, netd_list) { in neti_stack_fini() 228 nd->netd_condemned = 2; in neti_stack_fini()
|
/titanic_50/usr/src/uts/common/inet/ipnet/ |
H A D | ipnet.c | 387 ipnet_populate_if(net_handle_t nd, ipnet_stack_t *ips, boolean_t isv6) in ipnet_populate_if() argument 406 if (nd == NULL) in ipnet_populate_if() 415 for (phyif = net_phygetnext(nd, 0); phyif != 0; in ipnet_populate_if() 416 phyif = net_phygetnext(nd, phyif)) { in ipnet_populate_if() 417 if (net_getifname(nd, phyif, name, LIFNAMSIZ) != 0) in ipnet_populate_if() 420 (void) net_getlifflags(nd, phyif, 0, &ifflags); in ipnet_populate_if() 432 for (lif = net_lifgetnext(nd, phyif, 0); lif != 0; in ipnet_populate_if() 433 lif = net_lifgetnext(nd, phyif, lif)) { in ipnet_populate_if() 438 if (net_getlifflags(nd, phyif, lif, &ifflags) != 0 || in ipnet_populate_if() 444 ipnet_add_ifaddr(lif, ipnetif, nd); in ipnet_populate_if() [all …]
|
/titanic_50/usr/src/grub/grub-0.97/stage2/ |
H A D | gunzip.c | 948 unsigned nd; /* number of distance codes */ in init_dynamic_block() local 962 nd = 1 + ((unsigned) b & 0x1f); /* number of distance codes */ in init_dynamic_block() 967 if (nl > 286 || nd > 30) in init_dynamic_block() 992 n = nl + nd; in init_dynamic_block() 1067 if ((i = huft_build (ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0) in init_dynamic_block()
|
/titanic_50/usr/src/uts/sun/io/eri/ |
H A D | eri.c | 4382 ND *nd; in eri_nd_free() local 4384 if ((nd = (void *)(*nd_pparam)) != NULL) { in eri_nd_free() 4385 if (nd->nd_tbl) in eri_nd_free() 4386 kmem_free(nd->nd_tbl, nd->nd_size); in eri_nd_free() 4387 kmem_free(nd, sizeof (ND)); in eri_nd_free() 4398 ND *nd; in eri_nd_getset() local 4407 nd = (void *)nd_param; in eri_nd_getset() 4428 for (nde = nd->nd_tbl; /* */; nde++) { in eri_nd_getset() 4521 ND *nd; in eri_nd_load() local 4527 if ((nd = (void *)(*nd_pparam)) == NULL) { in eri_nd_load() [all …]
|