Searched defs:nd (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libast/common/misc/
H A Dftwalk.c62 int nd; local
95 nd = 0;
101 dd[nd++] = x;
102 if (nd >= elementsof(dd))
108 while (nd > 0)
109 dd[--nd]->info |= FTS_DD;
119 nd = 0;
130 dd[nd++] = x;
131 if (nd >= elementsof(dd))
149 while (nd >
[all...]
/osnet-11/usr/src/lib/lvm/libmeta/common/
H A Dmeta_set_med.c165 md_mnnode_desc *nd; local
204 nd = sd->sd_nodelist;
205 while (nd) {
206 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
209 nd->nd_nodename, NULL, sp->setname);
212 nd = nd->nd_next;
260 nd = sd->sd_nodelist;
262 while (nd) {
263 if (clnt_lock_set(nd
746 md_mnnode_desc *nd; local
[all...]
H A Dmeta_set_drv.c44 md_mnnode_desc *nd; local
50 nd = sd->sd_nodelist;
51 while (nd) {
52 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
53 nd = nd->nd_next;
58 nd->nd_nodename, ep))
60 nd = nd->nd_next;
219 md_mnnode_desc *nd; local
1242 md_mnnode_desc *nd; local
[all...]
H A Dmeta_set_prv.c364 md_mnnode_desc *nd; local
367 nd = sd->sd_nodelist;
368 while (nd) {
369 if (strcmp(nd->nd_nodename, node) == 0) {
370 return (nd->nd_nodeid);
372 nd = nd->nd_next;
636 md_mnnode_desc *nd; local
650 nd = sd->sd_nodelist;
651 while (nd) {
[all...]
H A Dmeta_set_tkr.c56 md_mnnode_desc *nd; local
106 nd = sd->sd_nodelist;
107 while (nd) {
109 if (forceflg && strcmp(mynode(), nd->nd_nodename)
111 nd = nd->nd_next;
116 if (strcmp(mynode(), nd->nd_nodename) == 0) {
117 nd = nd->nd_next;
121 if (!(nd
[all...]
H A Dmeta_hotspares.c780 md_mnnode_desc *nd; local
782 for (nd = sd->sd_nodelist; nd; nd = nd->nd_next) {
783 if (nd->nd_nodeid == curside)
785 if (del_name(sp, nd->nd_nodeid, key, &first_error) == -1) {
920 md_mnnode_desc *nd; local
922 for (nd = sd->sd_nodelist; nd; n
[all...]
H A Dmeta_set_hst.c280 md_mnnode_desc *nd, *ndm = NULL; local
320 nd = Zalloc(sizeof (*nd));
321 (void) strcpy(nd->nd_nodename, node_v[i]);
322 nd->nd_ctime = now;
323 nd->nd_flags = (MD_MN_NODE_ALIVE |
329 nd->nd_nodeid = nl2->msl_node_id;
330 (void) strcpy(nd->nd_priv_ic,
343 sd->sd_nodelist = nd;
344 } else if (nd
736 md_mnnode_desc *nd, *saved_nd_next; local
863 md_mnnode_desc *nd, *saved_nd_next; local
980 md_mnnode_desc *nd; local
1174 md_mnnode_desc *nd; local
1242 md_mnnode_desc *nd; local
1548 md_mnnode_desc *nd; local
2085 md_mnnode_desc *nd, *nd_curr, *nd_prev; local
3753 md_mnnode_desc *nd; local
[all...]
H A Dmeta_db.c716 md_mnnode_desc *nd; local
729 nd = sd->sd_nodelist;
730 while (nd) {
731 if (force && strcmp(nd->nd_nodename,
733 nd = nd->nd_next;
737 if (!(nd->nd_flags & MD_MN_NODE_ALIVE)) {
738 nd = nd->nd_next;
742 if (clnt_lock_set(nd
[all...]
H A Dmeta_metad.c3224 md_mnnode_desc *nd,
3246 args->nodedescs = nd;
3221 clnt_upd_nr_flags( char *hostname, mdsetname_t *sp, md_mnnode_desc *nd, uint_t flag_action, uint_t flags, md_error_t *ep ) argument
H A Dmeta_mn_handlers.c303 * When the 2nd node asks all nodes if the md is
307 * In order to not keep the 2nd node from proceeding,
378 md_mnnode_desc *nd; local
409 nd = sd->sd_nodelist;
410 while (nd) {
411 if (nd->nd_flags & MD_MN_NODE_ALIVE)
413 nd = nd->nd_next;
429 nd = sd->sd_nodelist;
430 while (nd) {
[all...]
H A Dmeta_name.c548 md_mnnode_desc *nd; local
551 nd = sd->sd_nodelist;
552 while (nd) {
553 sd->sd_nodelist = nd->nd_next;
554 Free(nd);
555 nd = sd->sd_nodelist;
747 md_mnnode_desc *nd, *nd_prev = 0; local
786 nd = Zalloc(sizeof (*nd));
788 nd_prev->nd_next = nd;
[all...]
H A Dmeta_set.c695 md_mnnode_desc *nd; local
721 nd = sd->sd_nodelist;
723 (nd != (struct md_mnnode_desc *)NULL)) {
724 *sideno = nd->nd_nodeid;
726 while (nd) {
731 if ((*sideno == nd->nd_nodeid) &&
732 (nd->nd_next !=
735 nd->nd_next->nd_nodeid;
738 nd = nd
1058 md_mnnode_desc *nd; local
1554 md_mnnode_desc *nd; local
2134 md_mnnode_desc *nd; local
2337 md_mnnode_desc *nd, *nd2, my_nd; local
2970 md_mnnode_desc *nd, my_nd; local
3401 md_mnnode_desc *nd; local
3498 md_mnnode_desc *nd, *nd2; local
4487 md_mnnode_desc *master_nodelist, *nd, *nd2, *ndtail; local
5464 md_mnnode_desc *nd, *nd2; local
5861 md_mnnode_desc *nd, *nd2; local
[all...]
/osnet-11/usr/src/cmd/hal/tools/
H A Dhal-device.c75 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) argument
560 old_type = libhal_device_get_property_type(hal_ctx, nd->real_udi, p->key, &error);
565 if (!libhal_device_remove_property(hal_ctx, nd->real_udi, p->key, &error)) {
576 if (!libhal_device_set_property_bool(hal_ctx, nd->real_udi, p->key, p->v.bool_value, &error)) {
583 if (!libhal_device_set_property_int(hal_ctx, nd->real_udi, p->key, p->v.int_value, &error)) {
590 if (!libhal_device_set_property_uint64(hal_ctx, nd->real_udi, p->key, p->v.uint64_value, &error)) {
597 if (!libhal_device_set_property_double(hal_ctx, nd->real_udi, p->key, p->v.double_value, &error)) {
605 if (!libhal_device_set_property_string(hal_ctx, nd->real_udi, p->key, p->v.str_value, &error)) {
613 if (!libhal_device_property_strlist_append(hal_ctx, nd
[all...]
/osnet-11/usr/src/lib/libnsl/rpc/
H A Dsvc_door.c183 bool_t nd; local
195 } else if ((why = __gss_authenticate(r, msg, &nd)) != AUTH_OK) {
/osnet-11/usr/src/cmd/hal/hald/solaris/
H A Ddevinfo_usb.c125 HalDevice *d, *nd = NULL; local
193 if ((nd = devinfo_usb_if_add (d, node, if_devfs_path,
195 d = nd;
196 nd = NULL;
223 nd = devinfo_usb_scsa2usb_add (d, node);
225 nd = devinfo_usb_printer_add (d, node);
232 nd = devinfo_usb_input_add(d, node);
239 nd = devinfo_usb_video4linux_add(d, node);
244 if (nd != NULL) {
245 return (nd);
[all...]
/osnet-11/usr/src/lib/pylibbe/common/
H A Dlibbe_py.c1303 PyObject *d, *m, *nd, *cd; local
1310 nd = PyDict_New();
1312 if (!d || !nd || PyDict_SetItemString(d, "errorname", nd) < 0)
1317 adderrnum(nd, cd, BE_SUCCESS, "BE_SUCCESS");
1318 adderrnum(nd, cd, BE_ERR_ACCESS, "BE_ERR_ACCESS");
1319 adderrnum(nd, cd, BE_ERR_ACTIVATE_CURR, "BE_ERR_ACTIVATE_CURR");
1320 adderrnum(nd, cd, BE_ERR_AUTONAME, "BE_ERR_AUTONAME");
1321 adderrnum(nd, cd, BE_ERR_BE_NOENT, "BE_ERR_BE_NOENT");
1322 adderrnum(nd, c
[all...]
/osnet-11/usr/src/lib/libshell/common/sh/
H A Dnvtype.c850 int i,j,k,m,n,nd=0,nref=0,iref=0,inherit=0; local
875 nd++;
909 nd = dp->ndisc;
928 if(nd)
929 nd++;
931 pp = newof(NiL, Namtype_t, 1, nnodes*NV_MINSZ + offset + size + (nnodes+nd)*sizeof(char*) + iref*sizeof(struct Namref)+k);
948 help = &pp->names[nd];
950 cp = (char*)&pp->names[nd+nnodes];
952 mnodes = newof(NiL, Namval_t*, nd+1, 0);
953 nd
[all...]
/osnet-11/usr/src/grub/grub2/grub-core/io/
H A Dgzio.c879 unsigned nd; /* number of distance codes */ local
893 nd = 1 + ((unsigned) b & 0x1f); /* number of distance codes */
898 if (nl > 286 || nd > 30)
924 n = nl + nd;
997 if (huft_build (ll + nl, nd, 0, cpdist, cpdext, &gzio->td, &gzio->bd) != 0)
/osnet-11/usr/src/grub/grub2/grub-core/video/readers/
H A Dpng.c436 int nl, nd, nb, i, prev; local
444 nd = DEFLATE_HDIST_BASE + grub_png_get_bits (data, 5);
447 if ((nl > DEFLATE_HLIT_MAX) || (nd > DEFLATE_HDIST_MAX) ||
473 for (i = 0; i < nl + nd; i++)
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dgunzip.c948 unsigned nd; /* number of distance codes */ local
962 nd = 1 + ((unsigned) b & 0x1f); /* number of distance codes */
967 if (nl > 286 || nd > 30)
992 n = nl + nd;
1067 if ((i = huft_build (ll + nl, nd, 0, cpdist, cpdext, &td, &bd)) != 0)
/osnet-11/usr/src/lib/libdladm/common/
H A Dusage.c293 add_desc_item(ea_object_t *o, net_desc_t *nd) argument
298 (void) strncpy(nd->net_desc_name, o->eo_item.ei_string,
302 (void) strncpy(nd->net_desc_devname,
308 nd->net_desc_protocol = o->eo_item.ei_uint8;
311 nd->net_desc_dsfield = o->eo_item.ei_uint8;
316 nd->net_desc_sport = o->eo_item.ei_uint16;
319 nd->net_desc_dport = o->eo_item.ei_uint16;
322 nd->net_desc_sap = o->eo_item.ei_uint16;
325 nd->net_desc_vlan_tpid = o->eo_item.ei_uint16;
328 nd
384 add_desc_to_tbl(net_table_t *net_table, net_desc_t *nd) argument
634 net_desc_t *nd; local
648 get_ndesc(net_table_t *net_table, net_desc_t *nd) argument
770 net_desc_t *nd; local
1192 net_desc_t *nd; local
1317 net_desc_t *nd; local
[all...]

Completed in 84 milliseconds