/titanic_41/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_set.c | 671 md_mnnode_desc *nd; in meta_getnextside_devinfo() local 697 nd = sd->sd_nodelist; in meta_getnextside_devinfo() 699 (nd != (struct md_mnnode_desc *)NULL)) { in meta_getnextside_devinfo() 700 *sideno = nd->nd_nodeid; in meta_getnextside_devinfo() 702 while (nd) { in meta_getnextside_devinfo() 707 if ((*sideno == nd->nd_nodeid) && in meta_getnextside_devinfo() 708 (nd->nd_next != in meta_getnextside_devinfo() 711 nd->nd_next->nd_nodeid; in meta_getnextside_devinfo() 714 nd = nd->nd_next; in meta_getnextside_devinfo() 716 if (nd == NULL) { in meta_getnextside_devinfo() [all …]
|
H A D | meta_set_hst.c | 281 md_mnnode_desc *nd, *ndm = NULL; in create_multinode_set_on_hosts() local 321 nd = Zalloc(sizeof (*nd)); in create_multinode_set_on_hosts() 322 (void) strcpy(nd->nd_nodename, node_v[i]); in create_multinode_set_on_hosts() 323 nd->nd_ctime = now; in create_multinode_set_on_hosts() 324 nd->nd_flags = (MD_MN_NODE_ALIVE | in create_multinode_set_on_hosts() 330 nd->nd_nodeid = nl2->msl_node_id; in create_multinode_set_on_hosts() 331 (void) strcpy(nd->nd_priv_ic, in create_multinode_set_on_hosts() 344 sd->sd_nodelist = nd; in create_multinode_set_on_hosts() 345 } else if (nd->nd_nodeid < sd->sd_nodelist->nd_nodeid) { in create_multinode_set_on_hosts() 347 nd->nd_next = sd->sd_nodelist; in create_multinode_set_on_hosts() [all …]
|
H A D | meta_set_drv.c | 47 md_mnnode_desc *nd; in check_setnodes_againstdrivelist() local 53 nd = sd->sd_nodelist; in check_setnodes_againstdrivelist() 54 while (nd) { in check_setnodes_againstdrivelist() 55 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) { in check_setnodes_againstdrivelist() 56 nd = nd->nd_next; in check_setnodes_againstdrivelist() 61 nd->nd_nodename, ep)) in check_setnodes_againstdrivelist() 63 nd = nd->nd_next; in check_setnodes_againstdrivelist() 222 md_mnnode_desc *nd; in meta_set_adddrives() local 255 nd = sd->sd_nodelist; in meta_set_adddrives() 256 while (nd) { in meta_set_adddrives() [all …]
|
H A D | meta_set_med.c | 165 md_mnnode_desc *nd; in meta_set_addmeds() local 204 nd = sd->sd_nodelist; in meta_set_addmeds() 205 while (nd) { in meta_set_addmeds() 206 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) { in meta_set_addmeds() 209 nd->nd_nodename, NULL, sp->setname); in meta_set_addmeds() 212 nd = nd->nd_next; in meta_set_addmeds() 260 nd = sd->sd_nodelist; in meta_set_addmeds() 262 while (nd) { in meta_set_addmeds() 263 if (clnt_lock_set(nd->nd_nodename, sp, ep)) { in meta_set_addmeds() 268 nd = nd->nd_next; in meta_set_addmeds() [all …]
|
H A D | meta_set_tkr.c | 56 md_mnnode_desc *nd; in upd_dr_dbinfo() local 107 nd = sd->sd_nodelist; in upd_dr_dbinfo() 108 while (nd) { in upd_dr_dbinfo() 110 if (forceflg && strcmp(mynode(), nd->nd_nodename) in upd_dr_dbinfo() 112 nd = nd->nd_next; in upd_dr_dbinfo() 117 if (strcmp(mynode(), nd->nd_nodename) == 0) { in upd_dr_dbinfo() 118 nd = nd->nd_next; in upd_dr_dbinfo() 122 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) { in upd_dr_dbinfo() 123 nd = nd->nd_next; in upd_dr_dbinfo() 127 if (clnt_lock_set(nd->nd_nodename, sp, ep)) { in upd_dr_dbinfo() [all …]
|
H A D | meta_set_prv.c | 275 md_mnnode_desc *nd; in getnodeside() local 278 nd = sd->sd_nodelist; in getnodeside() 279 while (nd) { in getnodeside() 280 if (strcmp(nd->nd_nodename, node) == 0) { in getnodeside() 281 return (nd->nd_nodeid); in getnodeside() 283 nd = nd->nd_next; in getnodeside() 547 md_mnnode_desc *nd; in resync_genid() local 561 nd = sd->sd_nodelist; in resync_genid() 562 while (nd) { in resync_genid() 563 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) { in resync_genid() [all …]
|
H A D | meta_db.c | 716 md_mnnode_desc *nd; in update_dbinfo_on_drives() local 729 nd = sd->sd_nodelist; in update_dbinfo_on_drives() 730 while (nd) { in update_dbinfo_on_drives() 731 if (force && strcmp(nd->nd_nodename, in update_dbinfo_on_drives() 733 nd = nd->nd_next; in update_dbinfo_on_drives() 737 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) { in update_dbinfo_on_drives() 738 nd = nd->nd_next; in update_dbinfo_on_drives() 742 if (clnt_lock_set(nd->nd_nodename, sp, ep)) in update_dbinfo_on_drives() 744 nd = nd->nd_next; in update_dbinfo_on_drives() 763 nd = sd->sd_nodelist; in update_dbinfo_on_drives() [all …]
|
/titanic_41/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_41/usr/src/cmd/lvm/util/ |
H A D | metadb.c | 269 md_mnnode_desc *nd; in chngdb() local 359 nd = sd->sd_nodelist; in chngdb() 360 while (nd) { in chngdb() 362 strcmp(nd->nd_nodename, mynode()) != 0) { in chngdb() 363 nd = nd->nd_next; in chngdb() 367 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) { in chngdb() 368 nd = nd->nd_next; in chngdb() 372 if (clnt_lock_set(nd->nd_nodename, sp, ep)) { in chngdb() 376 nd = nd->nd_next; in chngdb() 382 nd = sd->sd_nodelist; in chngdb() [all …]
|
H A D | metaset.c | 105 md_mnnode_desc *nd; in printset() local 143 nd = sd->sd_nodelist; in printset() 144 while (nd) { in printset() 168 if (!(nd->nd_flags & MD_MN_NODE_OK)) { in printset() 169 nd = nd->nd_next; in printset() 172 if ((nd->nd_flags & MD_MN_NODE_ALIVE) && in printset() 173 (nd->nd_flags & MD_MN_NODE_OWN)) { in printset() 177 nd->nd_nodename, gettext("multi-owner"), in printset() 179 } else if ((!(nd->nd_flags & MD_MN_NODE_ALIVE)) && in printset() 180 (nd->nd_flags & MD_MN_NODE_OWN)) { in printset() [all …]
|
/titanic_41/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_41/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 …]
|
/titanic_41/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_41/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_41/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_41/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_41/usr/src/uts/common/io/lvm/stripe/ |
H A D | stripe.c | 1265 stripe_replace_dev(md_dev64_t dev, void *junk, int ci, ms_new_dev_t *nd, in stripe_replace_dev() argument 1313 if ((nd != NULL) && (nd->nd_hs_id == 0)) { in stripe_replace_dev() 1330 nd->nd_labeled) in stripe_replace_dev() 1331 nd->nd_start_blk = 0; in stripe_replace_dev() 1333 nd->nd_nblks -= nd->nd_start_blk; in stripe_replace_dev() 1335 if (dev_size > nd->nd_nblks) { in stripe_replace_dev() 1380 if (nd == NULL) { in stripe_replace_dev() 1402 if (nd->nd_hs_id != 0) in stripe_replace_dev() 1404 this_dev = md_resolve_bydevid(mnum, nd->nd_dev, nd->nd_key); in stripe_replace_dev() 1422 if ((nd != NULL) && (nd->nd_hs_id != 0)) { in stripe_replace_dev() [all …]
|
/titanic_41/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_41/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_41/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_41/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_41/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_41/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_41/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_41/usr/src/tools/scripts/ |
H A D | checkpaths.sh | 65 *sparc|*sparc-nd) 68 *i386|*i386-nd)
|